Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StateStrings ¶
func StateStrings() []string
StateStrings returns a slice of all String values of the enum
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetLastUpdateTime ¶
func (*Client) GetStaleContainers ¶
func (*Client) RefreshContainers ¶
func (c *Client) RefreshContainers()
type State ¶
type State int
func StateString ¶
StateString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (State) IsAState ¶
IsAState returns "true" if the value is listed in the enum definition. "false" otherwise
func (State) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for State
func (*State) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for State
Click to show internal directories.
Click to hide internal directories.