Documentation
¶
Index ¶
- Variables
- type Deployment
- func (d *Deployment) CheckStatus(ctx context.Context, runCtx *runcontext.RunContext)
- func (d *Deployment) Deadline() time.Duration
- func (d *Deployment) IsStatusCheckComplete() bool
- func (d *Deployment) Name() string
- func (d *Deployment) ReportSinceLastUpdated() string
- func (d *Deployment) Status() Status
- func (d *Deployment) String() string
- func (d *Deployment) UpdateStatus(details string, err error)
- type Status
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)
Click to show internal directories.
Click to hide internal directories.