Documentation ¶
Index ¶
- func CreateClusterRoleBindingFromYaml(client client.Client, crbTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateClusterRoleFromYaml(client client.Client, crTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateConfigMapFromYaml(client client.Client, cmTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateDeployFromYaml(client client.Client, dplyTmpl, image string, replicas int32, ...) error
- func CreateJobFromYaml(client client.Client, jobTmpl, image string, ctx interface{}) error
- func CreateNamespaceFromYaml(cli client.Client, crTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateNginxIngressCommonResource(cli client.Client) error
- func CreateNginxIngressSpecificResource(client client.Client, poolname string, externalIPs *[]string, ...) error
- func CreateRoleBindingFromYaml(client client.Client, rbTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateRoleFromYaml(client client.Client, rTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateServiceAccountFromYaml(client client.Client, saTmpl string, ownerRefs []metav1.OwnerReference) error
- func CreateServiceFromYaml(client client.Client, svcTmpl string, externalIPs *[]string, ctx interface{}) error
- func CreateValidatingWebhookConfigurationFromYaml(client client.Client, vwcTmpl string, ownerRef *metav1.OwnerReference, ...) error
- func DeleteClusterRoleBindingFromYaml(client client.Client, crbTmpl string) error
- func DeleteClusterRoleFromYaml(client client.Client, crTmpl string) error
- func DeleteConfigMapFromYaml(client client.Client, cmTmpl string) error
- func DeleteDeployFromYaml(client client.Client, dplyTmpl string, ctx interface{}) error
- func DeleteJobFromYaml(client client.Client, jobTmpl string, cleanup bool, ctx interface{}) error
- func DeleteNamespaceFromYaml(client client.Client, crTmpl string) error
- func DeleteNginxIngressCommonResource(client client.Client) error
- func DeleteNginxIngressSpecificResource(client client.Client, poolname string, cleanup bool) error
- func DeleteRoleBindingFromYaml(client client.Client, rbTmpl string) error
- func DeleteRoleFromYaml(client client.Client, rTmpl string) error
- func DeleteServiceAccountFromYaml(client client.Client, saTmpl string) error
- func DeleteServiceFromYaml(client client.Client, svcTmpl string, ctx interface{}) error
- func DeleteValidatingWebhookConfigurationFromYaml(client client.Client, vwcTmpl string, ctx interface{}) error
- func IsIngressNamespaceReady(cli client.Client) bool
- func RecreateNginxWebhookJob(client client.Client, poolname string, image string) error
- func ScaleNginxIngressControllerDeploymment(client client.Client, poolname string, replicas int32) error
- func SubsituteTemplate(tmpl string, context interface{}) (string, error)
- func UpdateDeployFromYaml(cli client.Client, dplyTmpl, image string, replicas *int32, ctx interface{}) error
- func UpdateNginxIngressControllerDeploymment(client client.Client, poolname string, replicas int32, image string) error
- func UpdateNginxServiceExternalIPs(client client.Client, poolname string, externalIPs []string) error
- func UpdateServiceFromYaml(cli client.Client, svcTmpl string, externalIPs *[]string, ctx interface{}) error
- func YamlToObject(yamlContent []byte) (k8sruntime.Object, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterRoleBindingFromYaml ¶
func CreateClusterRoleBindingFromYaml(client client.Client, crbTmpl string, ownerRefs []metav1.OwnerReference) error
CreateClusterRoleBindingFromYaml creates the ClusterRoleBinding from the yaml template.
func CreateClusterRoleFromYaml ¶
func CreateClusterRoleFromYaml(client client.Client, crTmpl string, ownerRefs []metav1.OwnerReference) error
CreateClusterRoleFromYaml creates the ClusterRole from the yaml template.
func CreateConfigMapFromYaml ¶
func CreateConfigMapFromYaml(client client.Client, cmTmpl string, ownerRefs []metav1.OwnerReference) error
CreateConfigMapFromYaml creates the ConfigMap from the yaml template.
func CreateDeployFromYaml ¶
func CreateDeployFromYaml(client client.Client, dplyTmpl, image string, replicas int32, ownerRef *metav1.OwnerReference, ctx interface{}) error
CreateDeployFromYaml creates the Deployment from the yaml template.
func CreateJobFromYaml ¶
CreateJobFromYaml creates the Job from the yaml template.
func CreateNamespaceFromYaml ¶
func CreateNamespaceFromYaml(cli client.Client, crTmpl string, ownerRefs []metav1.OwnerReference) error
CreateNamespaceFromYaml creates the Namespace from the yaml template.
func CreateRoleBindingFromYaml ¶
func CreateRoleBindingFromYaml(client client.Client, rbTmpl string, ownerRefs []metav1.OwnerReference) error
CreateRoleBindingFromYaml creates the RoleBinding from the yaml template.
func CreateRoleFromYaml ¶
func CreateRoleFromYaml(client client.Client, rTmpl string, ownerRefs []metav1.OwnerReference) error
CreateRoleFromYaml creates the Role from the yaml template.
func CreateServiceAccountFromYaml ¶
func CreateServiceAccountFromYaml(client client.Client, saTmpl string, ownerRefs []metav1.OwnerReference) error
CreateServiceAccountFromYaml creates the ServiceAccount from the yaml template.
func CreateServiceFromYaml ¶
func CreateServiceFromYaml(client client.Client, svcTmpl string, externalIPs *[]string, ctx interface{}) error
CreateServiceFromYaml creates the Service from the yaml template.
func CreateValidatingWebhookConfigurationFromYaml ¶
func CreateValidatingWebhookConfigurationFromYaml(client client.Client, vwcTmpl string, ownerRef *metav1.OwnerReference, ctx interface{}) error
CreateValidatingWebhookConfigurationFromYaml creates the validatingwebhookconfiguration from the yaml template.
func DeleteClusterRoleBindingFromYaml ¶
DeleteClusterRoleBindingFromYaml deletes the ClusterRoleBinding from the yaml template.
func DeleteClusterRoleFromYaml ¶
DeleteClusterRoleFromYaml deletes the ClusterRole from the yaml template.
func DeleteConfigMapFromYaml ¶
DeleteConfigMapFromYaml deletes the ConfigMap from the yaml template.
func DeleteDeployFromYaml ¶
DeleteDeployFromYaml delete the Deployment from the yaml template.
func DeleteJobFromYaml ¶
DeleteJobFromYaml deletes the Job from the yaml template.
func DeleteNamespaceFromYaml ¶
DeleteNamespaceFromYaml deletes the Namespace from the yaml template.
func DeleteRoleBindingFromYaml ¶
DeleteRoleBindingFromYaml delete the RoleBinding from the yaml template.
func DeleteRoleFromYaml ¶
DeleteRoleFromYaml deletes the Role from the yaml template.
func DeleteServiceAccountFromYaml ¶
DeleteServiceAccountFromYaml deletes the ServiceAccount from the yaml template.
func DeleteServiceFromYaml ¶
DeleteServiceFromYaml deletes the Service from the yaml template.
func DeleteValidatingWebhookConfigurationFromYaml ¶
func DeleteValidatingWebhookConfigurationFromYaml(client client.Client, vwcTmpl string, ctx interface{}) error
DeleteValidatingWebhookConfigurationFromYaml delete the validatingwebhookconfiguration from the yaml template.
func IsIngressNamespaceReady ¶ added in v0.6.0
func RecreateNginxWebhookJob ¶ added in v0.6.0
func SubsituteTemplate ¶
SubsituteTemplate fills out the template based on the context
func UpdateDeployFromYaml ¶
func UpdateDeployFromYaml(cli client.Client, dplyTmpl, image string, replicas *int32, ctx interface{}) error
UpdateDeployFromYaml updates the Deployment from the yaml template.
func UpdateNginxIngressControllerDeploymment ¶ added in v0.6.0
func UpdateNginxServiceExternalIPs ¶ added in v0.6.0
func UpdateServiceFromYaml ¶ added in v0.6.0
func UpdateServiceFromYaml(cli client.Client, svcTmpl string, externalIPs *[]string, ctx interface{}) error
UpdateServiceFromYaml updates the Service from the yaml template.
func YamlToObject ¶
func YamlToObject(yamlContent []byte) (k8sruntime.Object, error)
YamlToObject deserializes object in yaml format to a runtime.Object
Types ¶
This section is empty.