Documentation ¶
Overview ¶
Copyright (c) 2021, 2023, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
Index ¶
- Variables
- func BuildDNSDomain(client client.Client, vz *vzapi.Verrazzano) (string, error)
- func CheckExternalIPsArgs(installArgs []vzapi.InstallArgs, overrides []vzapi.Overrides, ...) error
- func CheckExternalIPsOverridesArgs(overrides []v1beta1.Overrides, jsonPath, compName string, namespace string) error
- func CheckExternalIPsOverridesArgsWithPaths(overrides []v1beta1.Overrides, ...) error
- func FindVolumeTemplate(templateName string, object runtime.Object) (*v1.PersistentVolumeClaimSpec, bool)
- func GetDNSSuffix(client client.Client, vz *vzapi.Verrazzano) (string, error)
- func GetEnvName(vz *vzapi.Verrazzano) string
- func GetExternalIP(client client.Client, serviceType vzapi.IngressType, name, namespace string) (string, error)
- func GetIngressClassName(vz *vzapi.Verrazzano) string
- func GetIngressIP(client client.Client, vz *vzapi.Verrazzano) (string, error)
- func GetIngressServiceType(cr *vzapi.Verrazzano) (vzapi.IngressType, error)
- func GetWildcardDomain(DNS interface{}) string
- func ValidateRoleBindingSubject(subject v1.Subject, name string) error
Constants ¶
This section is empty.
Variables ¶
var GetControllerRuntimeClient = validators.GetClient
Functions ¶
func BuildDNSDomain ¶
BuildDNSDomain Constructs the full DNS subdomain for the deployment
func CheckExternalIPsArgs ¶ added in v1.3.0
func CheckExternalIPsArgs(installArgs []vzapi.InstallArgs, overrides []vzapi.Overrides, argsKeyName, jsonPath, compName, namespace string) error
CheckExternalIPsArgs method goes through the key-value pair to detect the presence of the specific key for the corresponding component that holds the external IP address It also checks whether IP addresses are valid and provided in a List format
func CheckExternalIPsOverridesArgs ¶ added in v1.4.0
func CheckExternalIPsOverridesArgs(overrides []v1beta1.Overrides, jsonPath, compName string, namespace string) error
CheckExternalIPsOverridesArgs method goes through the key-value pair to detect the presence of the specific key for the corresponding component that holds the external IP address It also checks whether IP addresses are valid and provided in a List format
func CheckExternalIPsOverridesArgsWithPaths ¶ added in v1.4.0
func CheckExternalIPsOverridesArgsWithPaths(overrides []v1beta1.Overrides, jsonBasePath, serviceTypePath, serviceTypeValue, externalIPPath, compName, namespace string) error
CheckExternalIPsOverridesArgsWithPaths method goes through the key-value pair to detect the presence of the specific keys for the corresponding component that holds the Service type and external IP address It checks whether the service is of a specific type. It also checks whether IP addresses are valid and provided in a List format
func FindVolumeTemplate ¶
func FindVolumeTemplate(templateName string, object runtime.Object) (*v1.PersistentVolumeClaimSpec, bool)
FindVolumeTemplate Find a named VolumeClaimTemplate in the list for v1beta1.
func GetDNSSuffix ¶
GetDNSSuffix Returns the DNS suffix for the Verrazzano installation - port of install script function get_dns_suffix from config.sh
func GetEnvName ¶
func GetEnvName(vz *vzapi.Verrazzano) string
GetEnvName Returns the configured environment name, or "default" if not specified in the configuration
func GetExternalIP ¶ added in v1.4.0
func GetExternalIP(client client.Client, serviceType vzapi.IngressType, name, namespace string) (string, error)
GetExternalIP Returns the ingress IP of the service given the service type, name, and namespace
func GetIngressClassName ¶ added in v1.4.0
func GetIngressClassName(vz *vzapi.Verrazzano) string
GetIngressClassName gets the ingress class name or default of "nginx" if not specified
func GetIngressIP ¶
GetIngressIP Returns the ingress IP of the LoadBalancer - port of install scripts function get_verrazzano_ingress_ip in config.sh
func GetIngressServiceType ¶ added in v1.4.0
func GetIngressServiceType(cr *vzapi.Verrazzano) (vzapi.IngressType, error)
Identify the service type, LB vs NodePort
func GetWildcardDomain ¶
func GetWildcardDomain(DNS interface{}) string
GetWildcardDomain Get the wildcard domain from the Verrazzano config
Types ¶
This section is empty.