Documentation ¶
Index ¶
- func PrintClientErrorAndExit(err error)
- func TypeMetaToDynamicResource(gvk schema.GroupVersionKind) schema.GroupVersionResource
- type Client
- func (c *Client) ApplyResource(ctx context.Context, configVersion int, obj client.Object) error
- func (c *Client) ApplyResources(ctx context.Context, configVersion int, objs []client.Object) error
- func (c *Client) DeleteOldOdigosSystemObjects(ctx context.Context, resourceAndNamespace ResourceAndNs, configVersion int) error
- type ResourceAndNs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintClientErrorAndExit ¶
func PrintClientErrorAndExit(err error)
func TypeMetaToDynamicResource ¶
func TypeMetaToDynamicResource(gvk schema.GroupVersionKind) schema.GroupVersionResource
Types ¶
type Client ¶
type Client struct { kubernetes.Interface Dynamic *dynamic.DynamicClient ApiExtensions apiextensionsclient.Interface OdigosClient v1alpha1.OdigosV1alpha1Interface }
func (*Client) ApplyResource ¶
func (*Client) ApplyResources ¶
func (*Client) DeleteOldOdigosSystemObjects ¶
type ResourceAndNs ¶
type ResourceAndNs struct { Resource schema.GroupVersionResource Namespace string }
func GetManagedResources ¶
func GetManagedResources(odigosNamespace string) []ResourceAndNs
Click to show internal directories.
Click to hide internal directories.