Documentation ¶
Index ¶
- func CreateOrUpdateAPIService(apiRegistrationClient *aggregator.Clientset, ...) error
- func CreateOrUpdateDeployment(client kubernetes.Interface, deploy *appsv1.Deployment) error
- func CreateOrUpdateSecret(KubeClientSet *kubernetes.Clientset, secret *corev1.Secret) error
- func CreateService(KubeClientSet *kubernetes.Clientset, service *corev1.Service) error
- func ParseTemplate(strTmpl string, obj interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateAPIService ¶
func CreateOrUpdateAPIService(apiRegistrationClient *aggregator.Clientset, apiservice *apiregistrationv1.APIService) error
CreateOrUpdateAPIService creates a ApiService if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
func CreateOrUpdateDeployment ¶
func CreateOrUpdateDeployment(client kubernetes.Interface, deploy *appsv1.Deployment) error
CreateOrUpdateDeployment creates a Deployment if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
func CreateOrUpdateSecret ¶
func CreateOrUpdateSecret(KubeClientSet *kubernetes.Clientset, secret *corev1.Secret) error
CreateOrUpdateSecret creates a Secret if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
func CreateService ¶
func CreateService(KubeClientSet *kubernetes.Clientset, service *corev1.Service) error
CreateService creates a Service if the target resource doesn't exist. If the resource exists already, return directly
func ParseTemplate ¶
ParseTemplate validates and parses passed as argument template
Types ¶
This section is empty.