Documentation ¶
Index ¶
- func GetDynamicAndDiscoveryClient() (discovery.DiscoveryInterface, dynamic.Interface, error)
- func GetGenericK8sClient() (*kubernetes.Clientset, error)
- func GetKubeConfig() (*rest.Config, error)
- func GetServerEndpoint(portalScope, agentType string) (string, error)
- func GetTLSCert(secretName string) (string, error)
- func InfraResource(manifest string, namespace string) (*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDynamicAndDiscoveryClient ¶
func GetDynamicAndDiscoveryClient() (discovery.DiscoveryInterface, dynamic.Interface, error)
GetDynamicAndDiscoveryClient This function returns dynamic client and discovery client
func GetGenericK8sClient ¶
func GetGenericK8sClient() (*kubernetes.Clientset, error)
func GetKubeConfig ¶
func GetServerEndpoint ¶
This function returns the endpoint of the server by which external agents can communicate. The order of generating the endpoint is based on different network type: - Ingress - LoadBalancer > NodePort > ClusterIP
func GetTLSCert ¶
func InfraResource ¶
func InfraResource(manifest string, namespace string) (*unstructured.Unstructured, error)
InfraResource This function handles cluster operations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.