Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTimeout = 2 * time.Second
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Environment ¶
type Environment struct { HTTPClient *http.Client Timeout time.Duration // contains filtered or unexported fields }
func NewEnvironment ¶
func NewEnvironment() *Environment
func (*Environment) SetPrimaryStatus ¶
func (e *Environment) SetPrimaryStatus(ctx context.Context, isPrimary bool)
func (*Environment) Type ¶
func (e *Environment) Type() string
Click to show internal directories.
Click to hide internal directories.