Documentation ¶
Index ¶
Constants ¶
View Source
const (
PodType = "pod"
)
Variables ¶
View Source
var (
ErrKubectlConnection = errors.New("kubectl connection error")
)
Functions ¶
This section is empty.
Types ¶
type Base ¶ added in v0.39.0
type Base struct {
// contains filtered or unexported fields
}
func (*Base) IsStatusCheckComplete ¶ added in v0.39.0
func (*Base) ReportSinceLastUpdated ¶ added in v0.39.0
type Deployment ¶
type Deployment struct { *Base // 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) UpdateStatus ¶
func (d *Deployment) UpdateStatus(details string, err error)
type Pod ¶ added in v0.39.0
type Pod struct {
*Base
}
func (*Pod) CheckStatus ¶ added in v0.39.0
func (p *Pod) CheckStatus(ctx context.Context, runCtx *runcontext.RunContext)
Click to show internal directories.
Click to hide internal directories.