Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Type ActionType Group string Kind string Name string Namespace string Original *unstructured.Unstructured Updated *unstructured.Unstructured Error string }
type ActionType ¶
type ActionType string
const ( Create ActionType = "Create" Unchanged ActionType = "Unchanged" Delete ActionType = "Delete" Update ActionType = "Update" Skip ActionType = "Skip" Error ActionType = "Error" )
type Applier ¶
type Applier interface {
Run(ctx context.Context, invInfo inventory.Info, objects object.UnstructuredSet, options apply.ApplierOptions) <-chan event.Event
}
type ClusterPlanner ¶
type ClusterPlanner struct {
// contains filtered or unexported fields
}
func NewClusterPlanner ¶
func NewClusterPlanner(f util.Factory) (*ClusterPlanner, error)
func (*ClusterPlanner) BuildPlan ¶
func (r *ClusterPlanner) BuildPlan(ctx context.Context, inv inventory.Info, objects []*unstructured.Unstructured, o Options) (*Plan, error)
type Options ¶
type Options struct {
ServerSideOptions common.ServerSideOptions
}
type ResourceFetcher ¶
type ResourceFetcher interface {
FetchResource(ctx context.Context, id object.ObjMetadata) (*unstructured.Unstructured, bool, error)
}
func NewResourceFetcher ¶
func NewResourceFetcher(f util.Factory) (ResourceFetcher, error)
Click to show internal directories.
Click to hide internal directories.