Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceInfo ¶
type ResourceInfo struct { Obj *unstructured.Unstructured Type resrc.Type ManageableBy resrc.ManageableBy }
type ResourceListsTransformer ¶
type ResourceListsTransformer struct{}
func NewResourceListsTransformer ¶
func NewResourceListsTransformer() *ResourceListsTransformer
func (*ResourceListsTransformer) Match ¶
func (t *ResourceListsTransformer) Match(ctx context.Context, info *ResourceInfo) (matched bool, err error)
func (*ResourceListsTransformer) Transform ¶
func (t *ResourceListsTransformer) Transform(ctx context.Context, info *ResourceInfo) ([]*unstructured.Unstructured, error)
func (*ResourceListsTransformer) Type ¶
func (t *ResourceListsTransformer) Type() Type
type ResourceTransformer ¶
type ResourceTransformer interface { Match(ctx context.Context, resourceInfo *ResourceInfo) (matched bool, err error) Transform(ctx context.Context, matchedResourceInfo *ResourceInfo) (output []*unstructured.Unstructured, err error) Type() Type }
Click to show internal directories.
Click to hide internal directories.