Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SplitChangesRestFunc func(ctldiff.Change) bool = nil // does not match any changes as it may be placed in the middle
Functions ¶
This section is empty.
Types ¶
type AddOrUpdateChange ¶
type AddOrUpdateChange struct {
// contains filtered or unexported fields
}
func (AddOrUpdateChange) Apply ¶
func (c AddOrUpdateChange) Apply() error
func (AddOrUpdateChange) IsDoneApplying ¶
func (c AddOrUpdateChange) IsDoneApplying() (ctlresm.DoneApplyState, error)
type AddOrUpdateChangeOpts ¶
type AddOrUpdateChangeOpts struct {
DefaultUpdateStrategy string
}
type ClusterChange ¶
type ClusterChange struct {
// contains filtered or unexported fields
}
func NewClusterChange ¶
func NewClusterChange(change ctldiff.Change, opts ClusterChangeOpts, identifiedResources ctlres.IdentifiedResources, changeFactory ctldiff.ChangeFactory, ui UI) ClusterChange
func (ClusterChange) ApplyDescription ¶
func (c ClusterChange) ApplyDescription() string
func (ClusterChange) ApplyOp ¶
func (c ClusterChange) ApplyOp() ApplyOp
func (ClusterChange) IsDoneApplyingOp ¶
func (c ClusterChange) IsDoneApplyingOp() DoneWaitingOp
func (ClusterChange) WaitDescription ¶
func (c ClusterChange) WaitDescription() string
type ClusterChangeFactory ¶
type ClusterChangeFactory struct {
// contains filtered or unexported fields
}
func NewClusterChangeFactory ¶
func NewClusterChangeFactory( opts ClusterChangeOpts, identifiedResources ctlres.IdentifiedResources, changeFactory ctldiff.ChangeFactory, ui UI, ) ClusterChangeFactory
func (ClusterChangeFactory) NewClusterChange ¶
func (f ClusterChangeFactory) NewClusterChange(change ctldiff.Change) ClusterChange
type ClusterChangeOpts ¶
type ClusterChangeOpts struct { ApplyIgnored bool Wait bool WaitIgnored bool AddOrUpdateChangeOpts }
type ClusterChangeSet ¶
type ClusterChangeSet struct {
// contains filtered or unexported fields
}
func NewClusterChangeSet ¶
func NewClusterChangeSet(changes []ctldiff.Change, opts ClusterChangeSetOpts, clusterChangeFactory ClusterChangeFactory, ui UI) ClusterChangeSet
func (ClusterChangeSet) Apply ¶
func (c ClusterChangeSet) Apply() error
type ClusterChangeSetOpts ¶ added in v0.8.0
type DeleteChange ¶
type DeleteChange struct {
// contains filtered or unexported fields
}
func (DeleteChange) Apply ¶
func (c DeleteChange) Apply() error
func (DeleteChange) IsDoneApplying ¶
func (c DeleteChange) IsDoneApplying() (ctlresm.DoneApplyState, error)
type DoneWaitingOp ¶
type DoneWaitingOp struct {
// contains filtered or unexported fields
}
func (DoneWaitingOp) Execute ¶
func (op DoneWaitingOp) Execute() (ctlresm.DoneApplyState, error)
func (DoneWaitingOp) IsNoop ¶
func (op DoneWaitingOp) IsNoop() bool
type SpecificResource ¶
type SpecificResource interface {
IsDoneApplying() ctlresm.DoneApplyState
}
type SplitChanges ¶
type SplitChanges struct {
// contains filtered or unexported fields
}
func (SplitChanges) ChangesByFunc ¶
func (r SplitChanges) ChangesByFunc() [][]ctldiff.Change
Click to show internal directories.
Click to hide internal directories.