Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientsets ¶
type Clientsets struct { kubernetes.Clientset // contains filtered or unexported fields }
Clientsets -> Creates a new composition clientset
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*Clientsets, error)
func (*Clientsets) ResourceSyncRuleV1 ¶
func (c *Clientsets) ResourceSyncRuleV1(namespace string) ResourceSyncRuleInterface
ResourceSyncRuleV1 -> extends the clientset to include ResourceSyncRuleInterface
type ResourceSyncRuleClientset ¶
type ResourceSyncRuleClientset interface {
ResourceSyncRule(namespace string) ResourceSyncRuleInterface
}
type ResourceSyncRuleInterface ¶
type ResourceSyncRuleInterface interface { List(ctx context.Context, ops metav1.ListOptions) (*clusterregistryv1alpha1.ResourceSyncRuleList, error) Get(ctx context.Context, name string, ops metav1.GetOptions) (*clusterregistryv1alpha1.ResourceSyncRule, error) Create(ctx context.Context, rule *unstructured.Unstructured, ops metav1.CreateOptions) (*clusterregistryv1alpha1.ResourceSyncRule, error) Patch(ctx context.Context, name string, pt k8stypes.PatchType, data []byte, ops metav1.PatchOptions) (*clusterregistryv1alpha1.ResourceSyncRule, error) TemplateToSyncRule(kind, ns, app, name, disable string) *unstructured.Unstructured }
Click to show internal directories.
Click to hide internal directories.