local

package
v0.0.99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2020 License: UPL-1.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGenericSecret

func CreateGenericSecret(newSecret corev1.Secret, kubeClientSet kubernetes.Interface) error

CreateGenericSecret will create a secret in the specified cluster - this is intended to be used to create secrets in the management cluster

func CreateVmis

func CreateVmis(binding *v1beta1v8o.VerrazzanoBinding, vmoClientSet vmoclientset.Interface, vmiLister vmolisters.VerrazzanoMonitoringInstanceLister, verrazzanoURI string, enableMonitoringStorage string) error

CreateVmis creates/updates Verrazzano Monitoring Instances for a given binding.

func DeleteConfigMaps

func DeleteConfigMaps(binding *v1beta1v8o.VerrazzanoBinding, kubeClientSet kubernetes.Interface, configMapLister corev1listers.ConfigMapLister) error

DeleteConfigMaps deletes config maps for a given binding in the management cluster.

func DeleteSecret

func DeleteSecret(kubeClientSet kubernetes.Interface, secret *corev1.Secret) error

DeleteSecret deletes an existing secret

func DeleteSecrets

func DeleteSecrets(binding *v1beta1v8o.VerrazzanoBinding, kubeClientSet kubernetes.Interface, secretLister corev1listers.SecretLister) error

DeleteSecrets deletes secrets for a given binding in the management cluster.

func DeleteVmis

DeleteVmis deletes Verrazzano Monitoring Instances for a given binding.

func GetSecret

func GetSecret(name string, namespace string, kubeClientSet kubernetes.Interface) (*corev1.Secret, error)

GetSecret will retrieve a secret from the specified cluster and namespace. This is intended to be used in the management cluster.

func GetSecretByUID

func GetSecretByUID(kubeClientSet kubernetes.Interface, ns string, uid string) (*corev1.Secret, bool, error)

GetSecretByUID gets the secret by the Kubernetes UID

func UpdateAcmeDNSSecret added in v0.0.99

func UpdateAcmeDNSSecret(binding *v1beta1v8o.VerrazzanoBinding, kubeClientSet kubernetes.Interface, secretLister corev1listers.SecretLister, name string, verrazzanoURI string) error

UpdateAcmeDNSSecret updates the AcmeDnsSecret, which is used for "bring your own dns" installs, to contain the DNS entries for the model/binding. This is one of the required steps for the monitoring endpoints to work.

func UpdateConfigMaps added in v0.0.99

func UpdateConfigMaps(binding *v1beta1v8o.VerrazzanoBinding, kubeClientSet kubernetes.Interface, configMapLister corev1listers.ConfigMapLister) error

UpdateConfigMaps updates config maps for a given binding in the management cluster.

func UpdateSecret

func UpdateSecret(kubeClientSet kubernetes.Interface, secret *corev1.Secret) error

UpdateSecret updates an existing secret

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL