Versions in this module Expand all Collapse all v0 v0.15.0 Jan 3, 2025 Changes in this version + func NewAPIServerProvider() (provider.Provider, error) + func NewAPIServerProviderWithConfig(kubeConfig clientcmd.ClientConfig) (provider.Provider, error) + func NewAPIServerProviderWithOptions(config *APIServerProviderConfig) (provider.Provider, error) + type APIServerProvider struct + func (p *APIServerProvider) CreateK8sResource(kind, name, namespace string, body interface{}) error + func (p *APIServerProvider) CreateProviderForContext(context string) (provider.Provider, error) + func (p *APIServerProvider) DeleteK8sResources(kind, name, namespace string) error + func (p *APIServerProvider) FindGVR(kind string) (schema.GroupVersionResource, error) + func (p *APIServerProvider) GetClientset() (kubernetes.Interface, error) + func (p *APIServerProvider) GetDiscoveryClient() (discovery.DiscoveryInterface, error) + func (p *APIServerProvider) GetDynamicClient() (dynamic.Interface, error) + func (p *APIServerProvider) GetGVRCacheSnapshot() map[string]schema.GroupVersionResource + func (p *APIServerProvider) GetGVRList() (map[string]schema.GroupVersionResource, error) + func (p *APIServerProvider) GetK8sResources(kind, fieldSelector, labelSelector, namespace string) (interface{}, error) + func (p *APIServerProvider) GetOpenAPIResourceSpecs() (map[string][]string, error) + func (p *APIServerProvider) PatchK8sResource(kind, name, namespace string, body interface{}) error + type APIServerProviderConfig struct + Clientset kubernetes.Interface + DryRun bool + DynamicClient dynamic.Interface + type GroupVersion interface + Schema func(contentType string) ([]byte, error)