v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 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) 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

Jump to

Keyboard shortcuts

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