Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubscriptionGVR ¶
func SubscriptionGVR(subscription workspace.SchemaVersion) schema.GroupVersionResource
Types ¶
type ApplyOptions ¶
type ApplyOptions struct { Options OwnerReferences []v1.OwnerReference }
type DeleteOptions ¶
type DeleteOptions struct { v1.DeletionPropagation Options }
type Operator ¶
type Operator interface { Apply(context.Context, ApplyOptions) error Delete(context.Context, DeleteOptions) error }
func NewAPIRuleOperator ¶
func NewAPIRuleOperator(c client.Client, fnName string, u ...unstructured.Unstructured) Operator
func NewGenericOperator ¶
func NewGenericOperator(c client.Client, u ...unstructured.Unstructured) Operator
func NewSubscriptionOperator ¶
func NewSubscriptionOperator(c client.Client, fnName, fnNamespace string, u ...unstructured.Unstructured) Operator
Source Files ¶
Click to show internal directories.
Click to hide internal directories.