v1

package
v0.0.0-...-affaa53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL