Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayResource ¶
type GatewayResource struct { Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Uid types.UID `json:"uid,omitempty"` }
func (*GatewayResource) String ¶
func (r *GatewayResource) String() string
type GatewayResourceStatus ¶
type GatewayResourceStatus struct { Code StatusCode `json:"code"` Resource GatewayResource `json:"resource,omitempty"` LastError string `json:"lastError,omitempty"` }
func (*GatewayResourceStatus) IsDone ¶
func (s *GatewayResourceStatus) IsDone() bool
func (*GatewayResourceStatus) IsEmpty ¶
func (s *GatewayResourceStatus) IsEmpty() bool
func (*GatewayResourceStatus) IsError ¶
func (s *GatewayResourceStatus) IsError() bool
func (*GatewayResourceStatus) IsInProgress ¶
func (s *GatewayResourceStatus) IsInProgress() bool
func (*GatewayResourceStatus) String ¶
func (g *GatewayResourceStatus) String() string
type StatusCode ¶
type StatusCode int
const ( Empty StatusCode = iota InProgress Done Error )
func (StatusCode) IsDone ¶
func (s StatusCode) IsDone() bool
func (StatusCode) IsEmpty ¶
func (s StatusCode) IsEmpty() bool
func (StatusCode) IsError ¶
func (s StatusCode) IsError() bool
func (StatusCode) IsInProgress ¶
func (s StatusCode) IsInProgress() bool
func (*StatusCode) String ¶
func (c *StatusCode) String() string
Click to show internal directories.
Click to hide internal directories.