Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2024 Changes in this version + type CRDClient interface + Delete func(ctx context.Context, name string) error + Ensure func(ctx context.Context, crd v1.CustomResourceDefinition) error + Get func(ctx context.Context, name string) (*v1.CustomResourceDefinition, error) + type CRDWrapper struct + func (w *CRDWrapper) Delete(ctx context.Context, name string) error + func (w *CRDWrapper) Ensure(ctx context.Context, crd v1.CustomResourceDefinition) error + func (w *CRDWrapper) Get(ctx context.Context, name string) (*v1.CustomResourceDefinition, error) + type CRDWrapperConfig struct + Client *apiextensionsv1.ApiextensionsV1Client + Log logr.Logger + PollInterval time.Duration + Timeout time.Duration + func DefaultCRDWrapperConfig() CRDWrapperConfig + type Config struct + Burst int + ImpersonateUser string + QPS float32 + RestConfig *rest.Config + type Set struct + func NewSet(cfg Config) (*Set, error) + func (c *Set) APIExtensionsV1() *apiextensionsv1.ApiextensionsV1Client + func (c *Set) Dynamic() *dynamic.DynamicClient + func (c *Set) Kubernetes() *kubernetes.Clientset + func (c *Set) RESTConfig() *rest.Config + func (c *Set) WithImpersonation(user string) (*Set, error) + func (s *Set) CRD(cfg CRDWrapperConfig) *CRDWrapper