resource

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKubectlConnection = errors.New("kubectl connection error")
)

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	// contains filtered or unexported fields
}

func NewDeployment

func NewDeployment(name string, ns string, deadline time.Duration) *Deployment

func (*Deployment) CheckStatus added in v0.39.0

func (d *Deployment) CheckStatus(ctx context.Context, runCtx *runcontext.RunContext)

func (*Deployment) Deadline

func (d *Deployment) Deadline() time.Duration

func (*Deployment) IsStatusCheckComplete added in v1.10.0

func (d *Deployment) IsStatusCheckComplete() bool

func (*Deployment) Name

func (d *Deployment) Name() string

func (*Deployment) ReportSinceLastUpdated added in v1.7.1

func (d *Deployment) ReportSinceLastUpdated() string

func (*Deployment) Status

func (d *Deployment) Status() Status

func (*Deployment) String

func (d *Deployment) String() string

func (*Deployment) UpdateStatus

func (d *Deployment) UpdateStatus(details string, err error)

type Status

type Status struct {
	// contains filtered or unexported fields
}

func (Status) Equal added in v0.39.0

func (rs Status) Equal(other Status) bool

func (Status) Error

func (rs Status) Error() error

func (Status) String

func (rs Status) String() string

Jump to

Keyboard shortcuts

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