Documentation ¶
Overview ¶
Copyright (c) 2021, 2022, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
Index ¶
- func BuildDNSDomain(client client.Client, vz *vzapi.Verrazzano) (string, error)
- func CheckExternalIPsArgs(installArgs []vzapi.InstallArgs, argsKeyName, compName string) error
- func FindVolumeTemplate(templateName string, templates []vzapi.VolumeClaimSpecTemplate) (*v1.PersistentVolumeClaimSpec, bool)
- func GetDNSSuffix(client client.Client, vz *vzapi.Verrazzano) (string, error)
- func GetEnvName(vz *vzapi.Verrazzano) string
- func GetIngressIP(client client.Client, vz *vzapi.Verrazzano) (string, error)
- func GetServiceType(cr *vzapi.Verrazzano) (vzapi.IngressType, error)
- func GetWildcardDomain(dnsConfig *vzapi.DNSComponent) string
- func IsApplicationOperatorEnabled(vz *vzapi.Verrazzano) bool
- func IsAuthProxyEnabled(vz *vzapi.Verrazzano) bool
- func IsCertManagerEnabled(vz *vzapi.Verrazzano) bool
- func IsConsoleEnabled(vz *vzapi.Verrazzano) bool
- func IsElasticsearchEnabled(vz *vzapi.Verrazzano) bool
- func IsExternalDNSEnabled(vz *vzapi.Verrazzano) bool
- func IsFluentdEnabled(vz *vzapi.Verrazzano) bool
- func IsGrafanaEnabled(vz *vzapi.Verrazzano) bool
- func IsIstioEnabled(vz *vzapi.Verrazzano) bool
- func IsJaegerOperatorEnabled(vz *vzapi.Verrazzano) bool
- func IsKeycloakEnabled(vz *vzapi.Verrazzano) bool
- func IsKialiEnabled(vz *vzapi.Verrazzano) bool
- func IsKibanaEnabled(vz *vzapi.Verrazzano) bool
- func IsKubeStateMetricsEnabled(vz *vzapi.Verrazzano) bool
- func IsNGINXEnabled(vz *vzapi.Verrazzano) bool
- func IsPrometheusAdapterEnabled(vz *vzapi.Verrazzano) bool
- func IsPrometheusEnabled(vz *vzapi.Verrazzano) bool
- func IsPrometheusNodeExporterEnabled(vz *vzapi.Verrazzano) bool
- func IsPrometheusOperatorEnabled(vz *vzapi.Verrazzano) bool
- func IsPrometheusPushgatewayEnabled(vz *vzapi.Verrazzano) bool
- func IsRancherEnabled(vz *vzapi.Verrazzano) bool
- func IsVMOEnabled(vz *vzapi.Verrazzano) bool
- func ValidateRoleBindingSubject(subject v1.Subject, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDNSDomain ¶
BuildDNSDomain Constructs the full DNS subdomain for the deployment
func CheckExternalIPsArgs ¶ added in v1.3.0
func CheckExternalIPsArgs(installArgs []vzapi.InstallArgs, argsKeyName, compName string) error
This 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 FindVolumeTemplate ¶
func FindVolumeTemplate(templateName string, templates []vzapi.VolumeClaimSpecTemplate) (*v1.PersistentVolumeClaimSpec, bool)
FindVolumeTemplate Find a named VolumeClaimTemplate in the list
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 GetIngressIP ¶
GetIngressIP Returns the ingress IP of the LoadBalancer - port of install scripts function get_verrazzano_ingress_ip in config.sh
func GetServiceType ¶
func GetServiceType(cr *vzapi.Verrazzano) (vzapi.IngressType, error)
Identify the service type, LB vs NodePort
func GetWildcardDomain ¶
func GetWildcardDomain(dnsConfig *vzapi.DNSComponent) string
GetWildcardDomain Get the wildcard domain from the Verrazzano config
func IsApplicationOperatorEnabled ¶ added in v1.3.0
func IsApplicationOperatorEnabled(vz *vzapi.Verrazzano) bool
IsApplicationOperatorEnabled returns false only if Application Operator is explicitly disabled in the CR
func IsAuthProxyEnabled ¶ added in v1.3.0
func IsAuthProxyEnabled(vz *vzapi.Verrazzano) bool
IsAuthProxyEnabled returns false only if Auth Proxy is explicitly disabled in the CR
func IsCertManagerEnabled ¶ added in v1.3.0
func IsCertManagerEnabled(vz *vzapi.Verrazzano) bool
IsCertManagerEnabled - Returns false only if CertManager is explictly disabled by the user
func IsConsoleEnabled ¶
func IsConsoleEnabled(vz *vzapi.Verrazzano) bool
IsConsoleEnabled - Returns false only if explicitly disabled in the CR
func IsElasticsearchEnabled ¶
func IsElasticsearchEnabled(vz *vzapi.Verrazzano) bool
IsElasticsearchEnabled - Returns false only if explicitly disabled in the CR
func IsExternalDNSEnabled ¶
func IsExternalDNSEnabled(vz *vzapi.Verrazzano) bool
IsExternalDNSEnabled Indicates if the external-dns service is expected to be deployed, true if OCI DNS is configured
func IsFluentdEnabled ¶
func IsFluentdEnabled(vz *vzapi.Verrazzano) bool
IsFluentdEnabled - Returns false only if explicitly disabled in the CR
func IsGrafanaEnabled ¶
func IsGrafanaEnabled(vz *vzapi.Verrazzano) bool
IsGrafanaEnabled - Returns false only if explicitly disabled in the CR
func IsIstioEnabled ¶
func IsIstioEnabled(vz *vzapi.Verrazzano) bool
IsIstioEnabled - Returns false only if explicitly disabled in the CR
func IsJaegerOperatorEnabled ¶ added in v1.3.0
func IsJaegerOperatorEnabled(vz *vzapi.Verrazzano) bool
IsJaegerOperatorEnabled returns true only if the Jaeger Operator is explicitly enabled in the CR
func IsKeycloakEnabled ¶
func IsKeycloakEnabled(vz *vzapi.Verrazzano) bool
IsKeycloakEnabled - Returns false only if explicitly disabled in the CR
func IsKialiEnabled ¶
func IsKialiEnabled(vz *vzapi.Verrazzano) bool
IsKialiEnabled - Returns false only if explicitly disabled in the CR
func IsKibanaEnabled ¶
func IsKibanaEnabled(vz *vzapi.Verrazzano) bool
IsKibanaEnabled - Returns false only if explicitly disabled in the CR
func IsKubeStateMetricsEnabled ¶ added in v1.3.0
func IsKubeStateMetricsEnabled(vz *vzapi.Verrazzano) bool
IsKubeStateMetricsEnabled returns true only if Kube State Metrics is explicitly enabled in the CR
func IsNGINXEnabled ¶
func IsNGINXEnabled(vz *vzapi.Verrazzano) bool
IsNGINXEnabled - Returns false only if explicitly disabled in the CR
func IsPrometheusAdapterEnabled ¶ added in v1.3.0
func IsPrometheusAdapterEnabled(vz *vzapi.Verrazzano) bool
IsPrometheusAdapterEnabled returns true only if the Prometheus Adapter is explicitly enabled in the CR
func IsPrometheusEnabled ¶
func IsPrometheusEnabled(vz *vzapi.Verrazzano) bool
IsPrometheusEnabled - Returns false only if explicitly disabled in the CR
func IsPrometheusNodeExporterEnabled ¶ added in v1.3.0
func IsPrometheusNodeExporterEnabled(vz *vzapi.Verrazzano) bool
IsPrometheusNodeExporterEnabled returns true only if the Prometheus Node-Exporter is explicitly enabled in the CR
func IsPrometheusOperatorEnabled ¶ added in v1.3.0
func IsPrometheusOperatorEnabled(vz *vzapi.Verrazzano) bool
IsPrometheusOperatorEnabled returns true only if the Prometheus Operator is explicitly enabled in the CR
func IsPrometheusPushgatewayEnabled ¶ added in v1.3.0
func IsPrometheusPushgatewayEnabled(vz *vzapi.Verrazzano) bool
IsPrometheusPushgatewayEnabled returns true only if the Prometheus Pushgateway is explicitly enabled in the CR
func IsRancherEnabled ¶
func IsRancherEnabled(vz *vzapi.Verrazzano) bool
IsRancherEnabled - Returns false only if explicitly disabled in the CR
func IsVMOEnabled ¶ added in v1.3.0
func IsVMOEnabled(vz *vzapi.Verrazzano) bool
IsVMOEnabled - Returns false if all VMO components are disabled
Types ¶
This section is empty.