Documentation ¶
Index ¶
- func CreateCustomResourceClients(apiserver string, kubeconfig string, ...) (map[string]interface{}, error)
- func CreateDiscoveryClient(apiserver string, kubeconfig string) (*discovery.DiscoveryClient, error)
- func CreateDynamicClient(apiserver string, kubeconfig string) (*dynamic.DynamicClient, error)
- func CreateKubeClient(apiserver string, kubeconfig string) (clientset.Interface, error)
- func GVRFromType(resourceName string, expectedType interface{}) *schema.GroupVersionResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomResourceClients ¶
func CreateCustomResourceClients(apiserver string, kubeconfig string, factories ...customresource.RegistryFactory) (map[string]interface{}, error)
CreateCustomResourceClients creates a custom resource clientset.
func CreateDiscoveryClient ¶
func CreateDiscoveryClient(apiserver string, kubeconfig string) (*discovery.DiscoveryClient, error)
CreateDiscoveryClient creates a Kubernetes discovery client.
func CreateDynamicClient ¶
func CreateDynamicClient(apiserver string, kubeconfig string) (*dynamic.DynamicClient, error)
CreateDynamicClient creates a Kubernetes dynamic client.
func CreateKubeClient ¶
CreateKubeClient creates a Kubernetes clientset and a custom resource clientset.
func GVRFromType ¶
func GVRFromType(resourceName string, expectedType interface{}) *schema.GroupVersionResource
GVRFromType returns the GroupVersionResource for a given type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.