Documentation ¶
Index ¶
- type GatewayResource
- type GatewayResourceStatus
- func (s *GatewayResourceStatus) IsEmpty() bool
- func (s *GatewayResourceStatus) IsError() bool
- func (s *GatewayResourceStatus) IsHostnameOccupied() bool
- func (s *GatewayResourceStatus) IsInProgress() bool
- func (s *GatewayResourceStatus) IsSuccessful() bool
- func (s *GatewayResourceStatus) IsTargetServiceOccupied() bool
- func (g *GatewayResourceStatus) String() string
- type StatusCode
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) IsEmpty ¶
func (s *GatewayResourceStatus) IsEmpty() bool
func (*GatewayResourceStatus) IsError ¶
func (s *GatewayResourceStatus) IsError() bool
func (*GatewayResourceStatus) IsHostnameOccupied ¶
func (s *GatewayResourceStatus) IsHostnameOccupied() bool
func (*GatewayResourceStatus) IsInProgress ¶
func (s *GatewayResourceStatus) IsInProgress() bool
func (*GatewayResourceStatus) IsSuccessful ¶
func (s *GatewayResourceStatus) IsSuccessful() bool
func (*GatewayResourceStatus) IsTargetServiceOccupied ¶
func (s *GatewayResourceStatus) IsTargetServiceOccupied() bool
func (*GatewayResourceStatus) String ¶
func (g *GatewayResourceStatus) String() string
type StatusCode ¶
type StatusCode int
const ( Empty StatusCode = iota InProgress Successful Error HostnameOccupied TargetServiceOccupied )
func (StatusCode) IsEmpty ¶
func (s StatusCode) IsEmpty() bool
func (StatusCode) IsError ¶
func (s StatusCode) IsError() bool
func (StatusCode) IsHostnameOccupied ¶
func (s StatusCode) IsHostnameOccupied() bool
func (StatusCode) IsInProgress ¶
func (s StatusCode) IsInProgress() bool
func (StatusCode) IsSuccessful ¶
func (s StatusCode) IsSuccessful() bool
func (StatusCode) IsTargetServiceOccupied ¶
func (s StatusCode) IsTargetServiceOccupied() bool
func (*StatusCode) String ¶
func (c *StatusCode) String() string
Click to show internal directories.
Click to hide internal directories.