Documentation ¶
Index ¶
- func Contains(s []string, e string) bool
- func GetCohMicroRequestMemory() string
- func GetComponentNamespace(componentName string, binding *v1beta1v8o.VerrazzanoBinding) (string, error)
- func GetElasticsearchDataNodeRequestMemory() string
- func GetElasticsearchIngestNodeRequestMemory() string
- func GetElasticsearchMasterNodeReplicas() int32
- func GetElasticsearchMasterNodeRequestMemory() string
- func GetFilebeatImage() string
- func GetFluentdImage() string
- func GetGrafanaRequestMemory() string
- func GetHelidonMicroRequestMemory() string
- func GetJournalbeatImage() string
- func GetKibanaRequestMemory() string
- func GetLocalBindingLabels(binding *v1beta1v8o.VerrazzanoBinding) map[string]string
- func GetManagedBindingLabels(binding *v1beta1v8o.VerrazzanoBinding, managedClusterName string) map[string]string
- func GetManagedClusterNamespaceForSystem() string
- func GetManagedClustersForVerrazzanoBinding(mbPair *types.ModelBindingPair, ...) (map[string]*ManagedClusterConnection, error)
- func GetManagedClustersNotForVerrazzanoBinding(mbPair *types.ModelBindingPair, ...) map[string]*ManagedClusterConnection
- func GetManagedLabelsNoBinding(managedClusterName string) map[string]string
- func GetManagedNamespaceForBinding(binding *v1beta1v8o.VerrazzanoBinding) string
- func GetNodeExporterImage() string
- func GetPrometheusRequestMemory() string
- func GetPromtheusPusherImage() string
- func GetServiceAccountNameForSystem() string
- func GetTestWlsFrontendImage() string
- func GetVmiNameForBinding(bindingName string) string
- func GetVmiURI(bindingName string, verrazzanoURI string) string
- func GetWeblogicOperatorImage() string
- func GetWlsMicroRequestMemory() string
- func IsClusterInBinding(clusterName string, allMbPairs map[string]*types.ModelBindingPair) bool
- func New64Val(value int64) *int64
- func NewVal(value int32) *int32
- type DeploymentHelper
- type ManagedClusterConnection
- type Manifest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCohMicroRequestMemory ¶ added in v0.0.99
func GetCohMicroRequestMemory() string
GetCohMicroRequestMemory returns the Coherence micro operator memory request resource.
func GetComponentNamespace ¶ added in v0.0.42
func GetComponentNamespace(componentName string, binding *v1beta1v8o.VerrazzanoBinding) (string, error)
GetComponentNamespace finds the namespace for the component from the given binding placements.
func GetElasticsearchDataNodeRequestMemory ¶ added in v0.0.99
func GetElasticsearchDataNodeRequestMemory() string
GetElasticsearchDataNodeRequestMemory returns the Elasticsearch data memory request resource.
func GetElasticsearchIngestNodeRequestMemory ¶ added in v0.0.99
func GetElasticsearchIngestNodeRequestMemory() string
GetElasticsearchIngestNodeRequestMemory returns the Elasticsearch injest memory request resource.
func GetElasticsearchMasterNodeReplicas ¶ added in v0.0.99
func GetElasticsearchMasterNodeReplicas() int32
GetElasticsearchMasterNodeReplicas returns the Elasticsearch master replicas.
func GetElasticsearchMasterNodeRequestMemory ¶ added in v0.0.99
func GetElasticsearchMasterNodeRequestMemory() string
GetElasticsearchMasterNodeRequestMemory returns the Elasticsearch master memory request resource.
func GetFilebeatImage ¶
func GetFilebeatImage() string
GetFilebeatImage returns the Filebeats image.
func GetFluentdImage ¶ added in v0.0.42
func GetFluentdImage() string
GetFluentdImage returns the Fluentd image.
func GetGrafanaRequestMemory ¶ added in v0.0.99
func GetGrafanaRequestMemory() string
GetGrafanaRequestMemory returns the Grafana memory request resource.
func GetHelidonMicroRequestMemory ¶ added in v0.0.99
func GetHelidonMicroRequestMemory() string
GetHelidonMicroRequestMemory returns the Helidon App micro operator memory request resource.
func GetJournalbeatImage ¶
func GetJournalbeatImage() string
GetJournalbeatImage returns the Journabeats image.
func GetKibanaRequestMemory ¶ added in v0.0.99
func GetKibanaRequestMemory() string
GetKibanaRequestMemory returns the Kibana memory request resource.
func GetLocalBindingLabels ¶
func GetLocalBindingLabels(binding *v1beta1v8o.VerrazzanoBinding) map[string]string
GetLocalBindingLabels returns binding labels for local cluster.
func GetManagedBindingLabels ¶
func GetManagedBindingLabels(binding *v1beta1v8o.VerrazzanoBinding, managedClusterName string) map[string]string
GetManagedBindingLabels returns binding labels for managed cluster.
func GetManagedClusterNamespaceForSystem ¶
func GetManagedClusterNamespaceForSystem() string
GetManagedClusterNamespaceForSystem returns the system namespace for Verrazzano.
func GetManagedClustersForVerrazzanoBinding ¶
func GetManagedClustersForVerrazzanoBinding(mbPair *types.ModelBindingPair, availableManagedClusterConnections map[string]*ManagedClusterConnection) ( map[string]*ManagedClusterConnection, error)
GetManagedClustersForVerrazzanoBinding returns a filtered set of only those applicable to a given VerrazzanoBinding given a map of available ManagedClusterConnections.
func GetManagedClustersNotForVerrazzanoBinding ¶
func GetManagedClustersNotForVerrazzanoBinding(mbPair *types.ModelBindingPair, availableManagedClusterConnections map[string]*ManagedClusterConnection) map[string]*ManagedClusterConnection
GetManagedClustersNotForVerrazzanoBinding returns a filtered set of those NOT applicable to a given VerrazzanoBinding given a map of available ManagedClusterConnections.
func GetManagedLabelsNoBinding ¶
GetManagedLabelsNoBinding return labels for managed cluster with no binding.
func GetManagedNamespaceForBinding ¶
func GetManagedNamespaceForBinding(binding *v1beta1v8o.VerrazzanoBinding) string
GetManagedNamespaceForBinding return the namespace for a given binding.
func GetNodeExporterImage ¶
func GetNodeExporterImage() string
GetNodeExporterImage returns the Node Exporter image.
func GetPrometheusRequestMemory ¶ added in v0.0.99
func GetPrometheusRequestMemory() string
GetPrometheusRequestMemory returns the Prometheus memory request resource.
func GetPromtheusPusherImage ¶
func GetPromtheusPusherImage() string
GetPromtheusPusherImage returns the Prometheus Pusher image.
func GetServiceAccountNameForSystem ¶
func GetServiceAccountNameForSystem() string
GetServiceAccountNameForSystem return the system service account for Verrazzano.
func GetTestWlsFrontendImage ¶
func GetTestWlsFrontendImage() string
GetTestWlsFrontendImage returns a dummy application image for tests.
func GetVmiNameForBinding ¶
GetVmiNameForBinding returns a Verrazzano Monitoring Instance name.
func GetWeblogicOperatorImage ¶
func GetWeblogicOperatorImage() string
GetWeblogicOperatorImage returns the WebLogic Kubernetes Operator image.
func GetWlsMicroRequestMemory ¶ added in v0.0.99
func GetWlsMicroRequestMemory() string
GetWlsMicroRequestMemory returns the Weblogic micro operator memory request resource.
func IsClusterInBinding ¶
func IsClusterInBinding(clusterName string, allMbPairs map[string]*types.ModelBindingPair) bool
IsClusterInBinding checks if a cluster was found in a binding.
Types ¶
type DeploymentHelper ¶ added in v0.0.99
DeploymentHelper defines an interface for deployments.
type ManagedClusterConnection ¶
type ManagedClusterConnection struct { KubeClient kubernetes.Interface KubeExtClientSet apiextensionsclient.Interface VerrazzanoOperatorClientSet clientset.Interface WlsOprClientSet wlsoprclientset.Interface DomainClientSet domclientset.Interface HelidonClientSet helidonclientset.Interface CohOprClientSet cohoprclientset.Interface CohClusterClientSet cohcluclientset.Interface IstioClientSet istioClientset.Interface IstioAuthClientSet istioAuthClientset.Interface KubeConfig string Lock sync.RWMutex DeploymentLister appslistersv1.DeploymentLister DeploymentInformer cache.SharedIndexInformer PodLister corelistersv1.PodLister PodInformer cache.SharedIndexInformer ServiceAccountLister corelistersv1.ServiceAccountLister ServiceAccountInformer cache.SharedIndexInformer NamespaceLister corelistersv1.NamespaceLister NamespaceInformer cache.SharedIndexInformer SecretLister corelistersv1.SecretLister SecretInformer cache.SharedIndexInformer ClusterRoleLister rbaclistersv1.ClusterRoleLister ClusterRoleInformer cache.SharedIndexInformer ClusterRoleBindingLister rbaclistersv1.ClusterRoleBindingLister ClusterRoleBindingInformer cache.SharedIndexInformer WlsOperatorLister wlsoprlister.WlsOperatorLister WlsOperatorInformer cache.SharedIndexInformer DomainLister domlister.DomainLister DomainInformer cache.SharedIndexInformer HelidonLister helidionlister.HelidonAppLister HelidonInformer cache.SharedIndexInformer CohOperatorLister cohoprlister.CohClusterLister CohOperatorInformer cache.SharedIndexInformer CohClusterLister cohclulister.CoherenceClusterLister CohClusterInformer cache.SharedIndexInformer IstioGatewayLister istioLister.GatewayLister IstioGatewayInformer cache.SharedIndexInformer IstioVirtualServiceLister istioLister.VirtualServiceLister IstioVirtualServiceInformer cache.SharedIndexInformer IstioServiceEntryLister istioLister.ServiceEntryLister IstioServiceEntryInformer cache.SharedIndexInformer ConfigMapLister corelistersv1.ConfigMapLister ConfigMapInformer cache.SharedIndexInformer DaemonSetLister appslistersv1.DaemonSetLister DaemonSetInformer cache.SharedIndexInformer ServiceLister corelistersv1.ServiceLister ServiceInformer cache.SharedIndexInformer }
ManagedClusterConnection maintains the connection details to a ManagedCluster.
type Manifest ¶
type Manifest struct { WlsMicroOperatorImage string `json:"wlsMicroOperatorImage"` WlsMicroOperatorCrd string `json:"wlsMicroOperatorCrd"` HelidonAppOperatorImage string `json:"helidonAppOperatorImage"` HelidonAppOperatorCrd string `json:"helidonAppOperatorCrd"` CohClusterOperatorImage string `json:"cohClusterOperatorImage"` CohClusterOperatorCrd string `json:"cohClusterOperatorCrd"` }
Manifest maintains the concrete set of images for components the Verrazzano Operator launches.
func LoadManifest ¶
LoadManifest loads and verifies the Verrazzano Operator Manifest.