Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyEvent ¶
type ApplyEvent struct { Type ApplyEventType Operation ApplyEventOperation Object runtime.Object }
type ApplyEventOperation ¶ added in v0.1.1
type ApplyEventOperation int
const ( ServersideApplied ApplyEventOperation = iota Created Unchanged Configured )
func (ApplyEventOperation) String ¶ added in v0.1.1
func (i ApplyEventOperation) String() string
type ApplyEventType ¶
type ApplyEventType int
const ( ApplyEventResourceUpdate ApplyEventType = iota ApplyEventCompleted )
func (ApplyEventType) String ¶ added in v0.1.1
func (i ApplyEventType) String() string
type DeleteEvent ¶ added in v0.1.1
type DeleteEvent struct { Type DeleteEventType Operation DeleteEventOperation Object runtime.Object }
type DeleteEventOperation ¶ added in v0.12.0
type DeleteEventOperation int
const ( Deleted DeleteEventOperation = iota DeleteSkipped )
func (DeleteEventOperation) String ¶ added in v0.12.0
func (i DeleteEventOperation) String() string
type DeleteEventType ¶ added in v0.1.1
type DeleteEventType int
const ( DeleteEventResourceUpdate DeleteEventType = iota DeleteEventCompleted )
func (DeleteEventType) String ¶ added in v0.1.1
func (i DeleteEventType) String() string
type ErrorEvent ¶
type ErrorEvent struct {
Err error
}
type Event ¶
type Event struct { // Type is the type of event. Type Type // InitEvent contains information about which resources will // be applied/pruned. InitEvent InitEvent // ErrorEvent contains information about any errors encountered. ErrorEvent ErrorEvent // ApplyEvent contains information about progress pertaining to // applying a resource to the cluster. ApplyEvent ApplyEvent // StatusEvents contains information about the status of one of // the applied resources. StatusEvent event.Event // PruneEvent contains information about objects that have been // pruned. PruneEvent PruneEvent // DeleteEvent contains information about object that have been // deleted. DeleteEvent DeleteEvent }
Event is the type of the objects that will be returned through the channel that is returned from a call to Run. It contains information about progress and errors encountered during the process of doing apply, waiting for status and doing a prune.
type InitEvent ¶ added in v0.6.0
type InitEvent struct {
ResourceGroups []ResourceGroup
}
type PruneEvent ¶
type PruneEvent struct { Type PruneEventType Operation PruneEventOperation Object runtime.Object }
type PruneEventOperation ¶ added in v0.12.0
type PruneEventOperation int
const ( Pruned PruneEventOperation = iota PruneSkipped )
func (PruneEventOperation) String ¶ added in v0.12.0
func (i PruneEventOperation) String() string
type PruneEventType ¶
type PruneEventType int
const ( PruneEventResourceUpdate PruneEventType = iota PruneEventCompleted )
func (PruneEventType) String ¶ added in v0.1.1
func (i PruneEventType) String() string
type ResourceAction ¶ added in v0.6.0
type ResourceAction int
const ( ApplyAction ResourceAction = iota PruneAction )
func (ResourceAction) String ¶ added in v0.6.0
func (i ResourceAction) String() string
type ResourceGroup ¶ added in v0.6.0
type ResourceGroup struct { Action ResourceAction Identifiers []object.ObjMetadata }
Click to show internal directories.
Click to hide internal directories.