Documentation ¶
Index ¶
- Variables
- func InvokeGetResource(appContextId string) error
- func InvokeInstallApp(appContextId string) error
- func InvokeUninstallApp(appContextId string) error
- type KubernetesClient
- func (c *KubernetesClient) GetCMClients() (certmanagerv1.CertmanagerV1Interface, corev1.CoreV1Interface, error)
- func (c *KubernetesClient) IsReachable() bool
- func (c *KubernetesClient) KubernetesClientSet() (*kubernetes.Clientset, error)
- func (c *KubernetesClient) ToRESTConfig() (*rest.Config, error)
- type RsyncInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var Testvars _testvars
Functions ¶
func InvokeGetResource ¶
func InvokeInstallApp ¶
InvokeInstallApp will make the grpc call to the resource synchronizer or rsync controller. rsync will deploy the resources in the app context to the clusters as prepared in the app context.
func InvokeUninstallApp ¶
Types ¶
type KubernetesClient ¶
func NewClient ¶
func NewClient(context string, configPath string, kubeConfig []byte) *KubernetesClient
func (*KubernetesClient) GetCMClients ¶
func (c *KubernetesClient) GetCMClients() (certmanagerv1.CertmanagerV1Interface, corev1.CoreV1Interface, error)
func (*KubernetesClient) IsReachable ¶
func (c *KubernetesClient) IsReachable() bool
func (*KubernetesClient) KubernetesClientSet ¶
func (c *KubernetesClient) KubernetesClientSet() (*kubernetes.Clientset, error)
func (*KubernetesClient) ToRESTConfig ¶
func (c *KubernetesClient) ToRESTConfig() (*rest.Config, error)
Click to show internal directories.
Click to hide internal directories.