Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the opster v1 API group +kubebuilder:object:generate=true +groupName=opensearch.opster.io
Index ¶
- Constants
- Variables
- type AdditionalVolume
- type BootstrapConfig
- type ClusterSpec
- type ClusterStatus
- type ComponentStatus
- type ConfMgmt
- type DashboardsConfig
- type DashboardsServiceSpec
- type DashboardsTlsConfig
- type GeneralConfig
- type ImageSpec
- type IndexPermissionSpec
- type InitHelperConfig
- type KeystoreValue
- type MonitoringConfig
- type MonitoringConfigTLS
- type NodePool
- type OpenSearchCluster
- type OpenSearchClusterList
- type OpensearchActionGroup
- type OpensearchActionGroupList
- type OpensearchActionGroupSpec
- type OpensearchActionGroupState
- type OpensearchActionGroupStatus
- type OpensearchClusterSelector
- type OpensearchRole
- type OpensearchRoleList
- type OpensearchRoleSpec
- type OpensearchRoleState
- type OpensearchRoleStatus
- type OpensearchTenant
- type OpensearchTenantList
- type OpensearchTenantSpec
- type OpensearchTenantState
- type OpensearchTenantStatus
- type OpensearchUser
- type OpensearchUserList
- type OpensearchUserRoleBinding
- type OpensearchUserRoleBindingList
- type OpensearchUserRoleBindingSpec
- type OpensearchUserRoleBindingState
- type OpensearchUserRoleBindingStatus
- type OpensearchUserSpec
- type OpensearchUserState
- type OpensearchUserStatus
- type PVCSource
- type PersistenceConfig
- type PersistenceSource
- type Security
- type SecurityConfig
- type SnapshotRepoConfig
- type TenantPermissionsSpec
- type TlsCertificateConfig
- type TlsConfig
- type TlsConfigHttp
- type TlsConfigTransport
- type TlsSecret
Constants ¶
const ( PhasePending = "PENDING" PhaseRunning = "RUNNING" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "opensearch.opster.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AdditionalVolume ¶
type AdditionalVolume struct { // Name to use for the volume. Required. Name string `json:"name"` // Path in the container to mount the volume at. Required. Path string `json:"path"` // Secret to use populate the volume Secret *corev1.SecretVolumeSource `json:"secret,omitempty"` // ConfigMap to use to populate the volume ConfigMap *corev1.ConfigMapVolumeSource `json:"configMap,omitempty"` // Whether to restart the pods on content change RestartPods bool `json:"restartPods,omitempty"` }
func (*AdditionalVolume) DeepCopy ¶
func (in *AdditionalVolume) DeepCopy() *AdditionalVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalVolume.
func (*AdditionalVolume) DeepCopyInto ¶
func (in *AdditionalVolume) DeepCopyInto(out *AdditionalVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootstrapConfig ¶
type BootstrapConfig struct { Resources corev1.ResourceRequirements `json:"resources,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Jvm string `json:"jvm,omitempty"` // Extra items to add to the opensearch.yml, defaults to General.AdditionalConfig AdditionalConfig map[string]string `json:"additionalConfig,omitempty"` }
func (*BootstrapConfig) DeepCopy ¶
func (in *BootstrapConfig) DeepCopy() *BootstrapConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapConfig.
func (*BootstrapConfig) DeepCopyInto ¶
func (in *BootstrapConfig) DeepCopyInto(out *BootstrapConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file General GeneralConfig `json:"general,omitempty"` ConfMgmt ConfMgmt `json:"confMgmt,omitempty"` Bootstrap BootstrapConfig `json:"bootstrap,omitempty"` Dashboards DashboardsConfig `json:"dashboards,omitempty"` Security *Security `json:"security,omitempty"` NodePools []NodePool `json:"nodePools"` InitHelper InitHelperConfig `json:"initHelper,omitempty"` }
ClusterSpec defines the desired state of OpenSearchCluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase string `json:"phase,omitempty"` ComponentsStatus []ComponentStatus `json:"componentsStatus"` Version string `json:"version,omitempty"` Initialized bool `json:"initialized,omitempty"` }
ClusterStatus defines the observed state of Es
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentStatus ¶
type ComponentStatus struct { Component string `json:"component,omitempty"` Status string `json:"status,omitempty"` Description string `json:"description,omitempty"` }
func (*ComponentStatus) DeepCopy ¶
func (in *ComponentStatus) DeepCopy() *ComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
func (*ComponentStatus) DeepCopyInto ¶
func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfMgmt ¶
type ConfMgmt struct { AutoScaler bool `json:"autoScaler,omitempty"` VerUpdate bool `json:"VerUpdate,omitempty"` SmartScaler bool `json:"smartScaler,omitempty"` }
ConfMgmt defines which additional services will be deployed
func (*ConfMgmt) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfMgmt.
func (*ConfMgmt) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardsConfig ¶
type DashboardsConfig struct { *ImageSpec `json:",inline,omitempty"` Enable bool `json:"enable,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` Replicas int32 `json:"replicas"` Tls *DashboardsTlsConfig `json:"tls,omitempty"` Version string `json:"version"` // Base Path for Opensearch Clusters running behind a reverse proxy BasePath string `json:"basePath,omitempty"` // Additional properties for opensearch_dashboards.yaml AdditionalConfig map[string]string `json:"additionalConfig,omitempty"` // Secret that contains fields username and password for dashboards to use to login to opensearch, must only be supplied if a custom securityconfig is provided OpensearchCredentialsSecret corev1.LocalObjectReference `json:"opensearchCredentialsSecret,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` AdditionalVolumes []AdditionalVolume `json:"additionalVolumes,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Service DashboardsServiceSpec `json:"service,omitempty"` PluginsList []string `json:"pluginsList,omitempty"` // Set security context for the dashboards pods PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` // Set security context for the dashboards pods' container SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` }
func (*DashboardsConfig) DeepCopy ¶
func (in *DashboardsConfig) DeepCopy() *DashboardsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardsConfig.
func (*DashboardsConfig) DeepCopyInto ¶
func (in *DashboardsConfig) DeepCopyInto(out *DashboardsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardsServiceSpec ¶
type DashboardsServiceSpec struct { // +kubebuilder:validation:Enum=ClusterIP;NodePort;LoadBalancer // +kubebuilder:default=ClusterIP Type corev1.ServiceType `json:"type,omitempty"` LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"` }
func (*DashboardsServiceSpec) DeepCopy ¶
func (in *DashboardsServiceSpec) DeepCopy() *DashboardsServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardsServiceSpec.
func (*DashboardsServiceSpec) DeepCopyInto ¶
func (in *DashboardsServiceSpec) DeepCopyInto(out *DashboardsServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardsTlsConfig ¶
type DashboardsTlsConfig struct { // Enable HTTPS for Dashboards Enable bool `json:"enable,omitempty"` // Generate certificate, if false secret must be provided Generate bool `json:"generate,omitempty"` // foobar TlsCertificateConfig `json:",omitempty"` }
func (*DashboardsTlsConfig) DeepCopy ¶
func (in *DashboardsTlsConfig) DeepCopy() *DashboardsTlsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardsTlsConfig.
func (*DashboardsTlsConfig) DeepCopyInto ¶
func (in *DashboardsTlsConfig) DeepCopyInto(out *DashboardsTlsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeneralConfig ¶
type GeneralConfig struct { *ImageSpec `json:",inline,omitempty"` //+kubebuilder:default=9200 HttpPort int32 `json:"httpPort,omitempty"` //+kubebuilder:validation:Enum=Opensearch;Op;OP;os;opensearch Vendor string `json:"vendor,omitempty"` Version string `json:"version,omitempty"` ServiceAccount string `json:"serviceAccount,omitempty"` ServiceName string `json:"serviceName"` SetVMMaxMapCount bool `json:"setVMMaxMapCount,omitempty"` DefaultRepo *string `json:"defaultRepo,omitempty"` // Extra items to add to the opensearch.yml AdditionalConfig map[string]string `json:"additionalConfig,omitempty"` // Drain data nodes controls whether to drain data notes on rolling restart operations DrainDataNodes bool `json:"drainDataNodes,omitempty"` PluginsList []string `json:"pluginsList,omitempty"` Command string `json:"command,omitempty"` // Additional volumes to mount to all pods in the cluster AdditionalVolumes []AdditionalVolume `json:"additionalVolumes,omitempty"` Monitoring MonitoringConfig `json:"monitoring,omitempty"` // Populate opensearch keystore before startup Keystore []KeystoreValue `json:"keystore,omitempty"` SnapshotRepositories []SnapshotRepoConfig `json:"snapshotRepositories,omitempty"` // Set security context for the cluster pods PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` // Set security context for the cluster pods' container SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` }
func (*GeneralConfig) DeepCopy ¶
func (in *GeneralConfig) DeepCopy() *GeneralConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneralConfig.
func (*GeneralConfig) DeepCopyInto ¶
func (in *GeneralConfig) DeepCopyInto(out *GeneralConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct { Image *string `json:"image,omitempty"` ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` }
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ImageSpec) GetImagePullPolicy ¶
func (s ImageSpec) GetImagePullPolicy() (_ corev1.PullPolicy)
type IndexPermissionSpec ¶
type IndexPermissionSpec struct { IndexPatterns []string `json:"indexPatterns,omitempty"` DocumentLevelSecurity string `json:"dls,omitempty"` FieldLevelSecurity []string `json:"fls,omitempty"` AllowedActions []string `json:"allowedActions,omitempty"` }
func (*IndexPermissionSpec) DeepCopy ¶
func (in *IndexPermissionSpec) DeepCopy() *IndexPermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexPermissionSpec.
func (*IndexPermissionSpec) DeepCopyInto ¶
func (in *IndexPermissionSpec) DeepCopyInto(out *IndexPermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitHelperConfig ¶
type InitHelperConfig struct { *ImageSpec `json:",inline,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` Version *string `json:"version,omitempty"` }
func (*InitHelperConfig) DeepCopy ¶
func (in *InitHelperConfig) DeepCopy() *InitHelperConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitHelperConfig.
func (*InitHelperConfig) DeepCopyInto ¶
func (in *InitHelperConfig) DeepCopyInto(out *InitHelperConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeystoreValue ¶
type KeystoreValue struct { // Secret containing key value pairs Secret corev1.LocalObjectReference `json:"secret,omitempty"` // Key mappings from secret to keystore keys KeyMappings map[string]string `json:"keyMappings,omitempty"` }
func (*KeystoreValue) DeepCopy ¶
func (in *KeystoreValue) DeepCopy() *KeystoreValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeystoreValue.
func (*KeystoreValue) DeepCopyInto ¶
func (in *KeystoreValue) DeepCopyInto(out *KeystoreValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringConfig ¶
type MonitoringConfig struct { Enable bool `json:"enable,omitempty"` MonitoringUserSecret string `json:"monitoringUserSecret,omitempty"` ScrapeInterval string `json:"scrapeInterval,omitempty"` PluginURL string `json:"pluginUrl,omitempty"` TLSConfig *MonitoringConfigTLS `json:"tlsConfig,omitempty"` }
func (*MonitoringConfig) DeepCopy ¶
func (in *MonitoringConfig) DeepCopy() *MonitoringConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfig.
func (*MonitoringConfig) DeepCopyInto ¶
func (in *MonitoringConfig) DeepCopyInto(out *MonitoringConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringConfigTLS ¶
type MonitoringConfigTLS struct { ServerName string `json:"serverName,omitempty"` InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"` }
func (*MonitoringConfigTLS) DeepCopy ¶
func (in *MonitoringConfigTLS) DeepCopy() *MonitoringConfigTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfigTLS.
func (*MonitoringConfigTLS) DeepCopyInto ¶
func (in *MonitoringConfigTLS) DeepCopyInto(out *MonitoringConfigTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePool ¶
type NodePool struct { Component string `json:"component"` Replicas int32 `json:"replicas"` DiskSize string `json:"diskSize,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` Jvm string `json:"jvm,omitempty"` Roles []string `json:"roles"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` Persistence *PersistenceConfig `json:"persistence,omitempty"` AdditionalConfig map[string]string `json:"additionalConfig,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` PriorityClassName string `json:"priorityClassName,omitempty"` }
func (*NodePool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePool.
func (*NodePool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenSearchCluster ¶
type OpenSearchCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=os;opensearch Es is the Schema for the es API +kubebuilder:printcolumn:name="version",type="string",JSONPath=".status.version",description="Opensearch version" +kubebuilder:printcolumn:name="phase",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="age",type="date",JSONPath=".metadata.creationTimestamp"
func (*OpenSearchCluster) DeepCopy ¶
func (in *OpenSearchCluster) DeepCopy() *OpenSearchCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchCluster.
func (*OpenSearchCluster) DeepCopyInto ¶
func (in *OpenSearchCluster) DeepCopyInto(out *OpenSearchCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenSearchCluster) DeepCopyObject ¶
func (in *OpenSearchCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenSearchClusterList ¶
type OpenSearchClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenSearchCluster `json:"items"` }
+kubebuilder:object:root=true EsList contains a list of Es
func (*OpenSearchClusterList) DeepCopy ¶
func (in *OpenSearchClusterList) DeepCopy() *OpenSearchClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchClusterList.
func (*OpenSearchClusterList) DeepCopyInto ¶
func (in *OpenSearchClusterList) DeepCopyInto(out *OpenSearchClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenSearchClusterList) DeepCopyObject ¶
func (in *OpenSearchClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchActionGroup ¶
type OpensearchActionGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpensearchActionGroupSpec `json:"spec,omitempty"` Status OpensearchActionGroupStatus `json:"status,omitempty"` }
OpensearchActionGroup is the Schema for the opensearchactiongroups API
func (*OpensearchActionGroup) DeepCopy ¶
func (in *OpensearchActionGroup) DeepCopy() *OpensearchActionGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroup.
func (*OpensearchActionGroup) DeepCopyInto ¶
func (in *OpensearchActionGroup) DeepCopyInto(out *OpensearchActionGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchActionGroup) DeepCopyObject ¶
func (in *OpensearchActionGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchActionGroupList ¶
type OpensearchActionGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpensearchActionGroup `json:"items"` }
OpensearchActionGroupList contains a list of OpensearchActionGroup
func (*OpensearchActionGroupList) DeepCopy ¶
func (in *OpensearchActionGroupList) DeepCopy() *OpensearchActionGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroupList.
func (*OpensearchActionGroupList) DeepCopyInto ¶
func (in *OpensearchActionGroupList) DeepCopyInto(out *OpensearchActionGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchActionGroupList) DeepCopyObject ¶
func (in *OpensearchActionGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchActionGroupSpec ¶
type OpensearchActionGroupSpec struct { OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"` AllowedActions []string `json:"allowedActions"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` }
OpensearchActionGroupSpec defines the desired state of OpensearchActionGroup
func (*OpensearchActionGroupSpec) DeepCopy ¶
func (in *OpensearchActionGroupSpec) DeepCopy() *OpensearchActionGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroupSpec.
func (*OpensearchActionGroupSpec) DeepCopyInto ¶
func (in *OpensearchActionGroupSpec) DeepCopyInto(out *OpensearchActionGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchActionGroupState ¶
type OpensearchActionGroupState string
const ( OpensearchActionGroupPending OpensearchActionGroupState = "PENDING" OpensearchActionGroupCreated OpensearchActionGroupState = "CREATED" OpensearchActionGroupError OpensearchActionGroupState = "ERROR" OpensearchActionGroupIgnored OpensearchActionGroupState = "IGNORED" )
type OpensearchActionGroupStatus ¶
type OpensearchActionGroupStatus struct { State OpensearchActionGroupState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ExistingActionGroup *bool `json:"existingActionGroup,omitempty"` ManagedCluster *types.UID `json:"managedCluster,omitempty"` }
OpensearchActionGroupStatus defines the observed state of OpensearchActionGroup
func (*OpensearchActionGroupStatus) DeepCopy ¶
func (in *OpensearchActionGroupStatus) DeepCopy() *OpensearchActionGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroupStatus.
func (*OpensearchActionGroupStatus) DeepCopyInto ¶
func (in *OpensearchActionGroupStatus) DeepCopyInto(out *OpensearchActionGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchClusterSelector ¶
type OpensearchClusterSelector struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*OpensearchClusterSelector) DeepCopy ¶
func (in *OpensearchClusterSelector) DeepCopy() *OpensearchClusterSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchClusterSelector.
func (*OpensearchClusterSelector) DeepCopyInto ¶
func (in *OpensearchClusterSelector) DeepCopyInto(out *OpensearchClusterSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchClusterSelector) ObjectKey ¶
func (o *OpensearchClusterSelector) ObjectKey() types.NamespacedName
type OpensearchRole ¶
type OpensearchRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpensearchRoleSpec `json:"spec,omitempty"` Status OpensearchRoleStatus `json:"status,omitempty"` }
OpensearchRole is the Schema for the opensearchroles API
func (*OpensearchRole) DeepCopy ¶
func (in *OpensearchRole) DeepCopy() *OpensearchRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchRole.
func (*OpensearchRole) DeepCopyInto ¶
func (in *OpensearchRole) DeepCopyInto(out *OpensearchRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchRole) DeepCopyObject ¶
func (in *OpensearchRole) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchRoleList ¶
type OpensearchRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpensearchRole `json:"items"` }
OpensearchRoleList contains a list of OpensearchRole
func (*OpensearchRoleList) DeepCopy ¶
func (in *OpensearchRoleList) DeepCopy() *OpensearchRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchRoleList.
func (*OpensearchRoleList) DeepCopyInto ¶
func (in *OpensearchRoleList) DeepCopyInto(out *OpensearchRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchRoleList) DeepCopyObject ¶
func (in *OpensearchRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchRoleSpec ¶
type OpensearchRoleSpec struct { OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"` ClusterPermissions []string `json:"clusterPermissions,omitempty"` IndexPermissions []IndexPermissionSpec `json:"indexPermissions,omitempty"` TenantPermissions []TenantPermissionsSpec `json:"tenantPermissions,omitempty"` }
OpensearchRoleSpec defines the desired state of OpensearchRole
func (*OpensearchRoleSpec) DeepCopy ¶
func (in *OpensearchRoleSpec) DeepCopy() *OpensearchRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchRoleSpec.
func (*OpensearchRoleSpec) DeepCopyInto ¶
func (in *OpensearchRoleSpec) DeepCopyInto(out *OpensearchRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchRoleState ¶
type OpensearchRoleState string
const ( OpensearchRoleStatePending OpensearchRoleState = "PENDING" OpensearchRoleStateCreated OpensearchRoleState = "CREATED" OpensearchRoleStateError OpensearchRoleState = "ERROR" OpensearchRoleIgnored OpensearchRoleState = "IGNORED" )
type OpensearchRoleStatus ¶
type OpensearchRoleStatus struct { State OpensearchRoleState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ExistingRole *bool `json:"existingRole,omitempty"` ManagedCluster *types.UID `json:"managedCluster,omitempty"` }
OpensearchRoleStatus defines the observed state of OpensearchRole
func (*OpensearchRoleStatus) DeepCopy ¶
func (in *OpensearchRoleStatus) DeepCopy() *OpensearchRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchRoleStatus.
func (*OpensearchRoleStatus) DeepCopyInto ¶
func (in *OpensearchRoleStatus) DeepCopyInto(out *OpensearchRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchTenant ¶
type OpensearchTenant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpensearchTenantSpec `json:"spec,omitempty"` Status OpensearchTenantStatus `json:"status,omitempty"` }
OpensearchTenant is the Schema for the opensearchtenants API
func (*OpensearchTenant) DeepCopy ¶
func (in *OpensearchTenant) DeepCopy() *OpensearchTenant
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchTenant.
func (*OpensearchTenant) DeepCopyInto ¶
func (in *OpensearchTenant) DeepCopyInto(out *OpensearchTenant)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchTenant) DeepCopyObject ¶
func (in *OpensearchTenant) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchTenantList ¶
type OpensearchTenantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpensearchTenant `json:"items"` }
OpensearchTenantList contains a list of OpensearchTenant
func (*OpensearchTenantList) DeepCopy ¶
func (in *OpensearchTenantList) DeepCopy() *OpensearchTenantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchTenantList.
func (*OpensearchTenantList) DeepCopyInto ¶
func (in *OpensearchTenantList) DeepCopyInto(out *OpensearchTenantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchTenantList) DeepCopyObject ¶
func (in *OpensearchTenantList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchTenantSpec ¶
type OpensearchTenantSpec struct { OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"` Description string `json:"description,omitempty"` }
OpensearchTenantSpec defines the desired state of OpensearchTenant
func (*OpensearchTenantSpec) DeepCopy ¶
func (in *OpensearchTenantSpec) DeepCopy() *OpensearchTenantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchTenantSpec.
func (*OpensearchTenantSpec) DeepCopyInto ¶
func (in *OpensearchTenantSpec) DeepCopyInto(out *OpensearchTenantSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchTenantState ¶
type OpensearchTenantState string
const ( OpensearchTenantPending OpensearchTenantState = "PENDING" OpensearchTenantCreated OpensearchTenantState = "CREATED" OpensearchTenantError OpensearchTenantState = "ERROR" OpensearchTenantIgnored OpensearchTenantState = "IGNORED" )
type OpensearchTenantStatus ¶
type OpensearchTenantStatus struct { State OpensearchTenantState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ExistingTenant *bool `json:"existingTenant,omitempty"` ManagedCluster *types.UID `json:"managedCluster,omitempty"` }
OpensearchTenantStatus defines the observed state of OpensearchTenant
func (*OpensearchTenantStatus) DeepCopy ¶
func (in *OpensearchTenantStatus) DeepCopy() *OpensearchTenantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchTenantStatus.
func (*OpensearchTenantStatus) DeepCopyInto ¶
func (in *OpensearchTenantStatus) DeepCopyInto(out *OpensearchTenantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchUser ¶
type OpensearchUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpensearchUserSpec `json:"spec,omitempty"` Status OpensearchUserStatus `json:"status,omitempty"` }
OpensearchUser is the Schema for the opensearchusers API
func (*OpensearchUser) DeepCopy ¶
func (in *OpensearchUser) DeepCopy() *OpensearchUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUser.
func (*OpensearchUser) DeepCopyInto ¶
func (in *OpensearchUser) DeepCopyInto(out *OpensearchUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchUser) DeepCopyObject ¶
func (in *OpensearchUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchUserList ¶
type OpensearchUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpensearchUser `json:"items"` }
OpensearchUserList contains a list of OpensearchUser
func (*OpensearchUserList) DeepCopy ¶
func (in *OpensearchUserList) DeepCopy() *OpensearchUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserList.
func (*OpensearchUserList) DeepCopyInto ¶
func (in *OpensearchUserList) DeepCopyInto(out *OpensearchUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchUserList) DeepCopyObject ¶
func (in *OpensearchUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchUserRoleBinding ¶
type OpensearchUserRoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpensearchUserRoleBindingSpec `json:"spec,omitempty"` Status OpensearchUserRoleBindingStatus `json:"status,omitempty"` }
OpensearchUserRoleBinding is the Schema for the opensearchuserrolebindings API
func (*OpensearchUserRoleBinding) DeepCopy ¶
func (in *OpensearchUserRoleBinding) DeepCopy() *OpensearchUserRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBinding.
func (*OpensearchUserRoleBinding) DeepCopyInto ¶
func (in *OpensearchUserRoleBinding) DeepCopyInto(out *OpensearchUserRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchUserRoleBinding) DeepCopyObject ¶
func (in *OpensearchUserRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchUserRoleBindingList ¶
type OpensearchUserRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpensearchUserRoleBinding `json:"items"` }
OpensearchUserRoleBindingList contains a list of OpensearchUserRoleBinding
func (*OpensearchUserRoleBindingList) DeepCopy ¶
func (in *OpensearchUserRoleBindingList) DeepCopy() *OpensearchUserRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBindingList.
func (*OpensearchUserRoleBindingList) DeepCopyInto ¶
func (in *OpensearchUserRoleBindingList) DeepCopyInto(out *OpensearchUserRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpensearchUserRoleBindingList) DeepCopyObject ¶
func (in *OpensearchUserRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpensearchUserRoleBindingSpec ¶
type OpensearchUserRoleBindingSpec struct { OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"` Roles []string `json:"roles"` Users []string `json:"users,omitempty"` BackendRoles []string `json:"backendRoles,omitempty"` }
OpensearchUserRoleBindingSpec defines the desired state of OpensearchUserRoleBinding
func (*OpensearchUserRoleBindingSpec) DeepCopy ¶
func (in *OpensearchUserRoleBindingSpec) DeepCopy() *OpensearchUserRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBindingSpec.
func (*OpensearchUserRoleBindingSpec) DeepCopyInto ¶
func (in *OpensearchUserRoleBindingSpec) DeepCopyInto(out *OpensearchUserRoleBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchUserRoleBindingState ¶
type OpensearchUserRoleBindingState string
const ( OpensearchUserRoleBindingPending OpensearchUserRoleBindingState = "PENDING" OpensearchUserRoleBindingStateCreated OpensearchUserRoleBindingState = "CREATED" OpensearchUserRoleBindingStateError OpensearchUserRoleBindingState = "ERROR" )
type OpensearchUserRoleBindingStatus ¶
type OpensearchUserRoleBindingStatus struct { State OpensearchUserRoleBindingState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ManagedCluster *types.UID `json:"managedCluster,omitempty"` ProvisionedRoles []string `json:"provisionedRoles,omitempty"` ProvisionedUsers []string `json:"provisionedUsers,omitempty"` ProvisionedBackendRoles []string `json:"provisionedBackendRoles,omitempty"` }
OpensearchUserRoleBindingStatus defines the observed state of OpensearchUserRoleBinding
func (*OpensearchUserRoleBindingStatus) DeepCopy ¶
func (in *OpensearchUserRoleBindingStatus) DeepCopy() *OpensearchUserRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBindingStatus.
func (*OpensearchUserRoleBindingStatus) DeepCopyInto ¶
func (in *OpensearchUserRoleBindingStatus) DeepCopyInto(out *OpensearchUserRoleBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchUserSpec ¶
type OpensearchUserSpec struct { OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"` PasswordFrom corev1.SecretKeySelector `json:"passwordFrom"` OpendistroSecurityRoles []string `json:"opendistroSecurityRoles,omitempty"` BackendRoles []string `json:"backendRoles,omitempty"` Attributes map[string]string `json:"attributes,omitempty"` }
OpensearchUserSpec defines the desired state of OpensearchUser
func (*OpensearchUserSpec) DeepCopy ¶
func (in *OpensearchUserSpec) DeepCopy() *OpensearchUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserSpec.
func (*OpensearchUserSpec) DeepCopyInto ¶
func (in *OpensearchUserSpec) DeepCopyInto(out *OpensearchUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpensearchUserState ¶
type OpensearchUserState string
const ( OpensearchUserStatePending OpensearchUserState = "PENDING" OpensearchUserStateCreated OpensearchUserState = "CREATED" OpensearchUserStateError OpensearchUserState = "ERROR" )
type OpensearchUserStatus ¶
type OpensearchUserStatus struct { State OpensearchUserState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ManagedCluster *types.UID `json:"managedCluster,omitempty"` }
OpensearchUserStatus defines the observed state of OpensearchUser
func (*OpensearchUserStatus) DeepCopy ¶
func (in *OpensearchUserStatus) DeepCopy() *OpensearchUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserStatus.
func (*OpensearchUserStatus) DeepCopyInto ¶
func (in *OpensearchUserStatus) DeepCopyInto(out *OpensearchUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PVCSource ¶
type PVCSource struct { StorageClassName string `json:"storageClass,omitempty"` AccessModes []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"` }
func (*PVCSource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCSource.
func (*PVCSource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceConfig ¶
type PersistenceConfig struct {
PersistenceSource `json:","`
}
PersistencConfig defines options for data persistence
func (*PersistenceConfig) DeepCopy ¶
func (in *PersistenceConfig) DeepCopy() *PersistenceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfig.
func (*PersistenceConfig) DeepCopyInto ¶
func (in *PersistenceConfig) DeepCopyInto(out *PersistenceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceSource ¶
type PersistenceSource struct { PVC *PVCSource `json:"pvc,omitempty"` EmptyDir *corev1.EmptyDirVolumeSource `json:"emptyDir,omitempty"` HostPath *corev1.HostPathVolumeSource `json:"hostPath,omitempty"` }
func (*PersistenceSource) DeepCopy ¶
func (in *PersistenceSource) DeepCopy() *PersistenceSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceSource.
func (*PersistenceSource) DeepCopyInto ¶
func (in *PersistenceSource) DeepCopyInto(out *PersistenceSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Security ¶
type Security struct { Tls *TlsConfig `json:"tls,omitempty"` Config *SecurityConfig `json:"config,omitempty"` }
Security defines options for managing the opensearch-security plugin
func (*Security) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security.
func (*Security) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityConfig ¶
type SecurityConfig struct { // Secret that contains the differnt yml files of the opensearch-security config (config.yml, internal_users.yml, ...) SecurityconfigSecret corev1.LocalObjectReference `json:"securityConfigSecret,omitempty"` // TLS Secret that contains a client certificate (tls.key, tls.crt, ca.crt) with admin rights in the opensearch cluster. Must be set if transport certificates are provided by user and not generated AdminSecret corev1.LocalObjectReference `json:"adminSecret,omitempty"` // Secret that contains fields username and password to be used by the operator to access the opensearch cluster for node draining. Must be set if custom securityconfig is provided. AdminCredentialsSecret corev1.LocalObjectReference `json:"adminCredentialsSecret,omitempty"` }
func (*SecurityConfig) DeepCopy ¶
func (in *SecurityConfig) DeepCopy() *SecurityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityConfig.
func (*SecurityConfig) DeepCopyInto ¶
func (in *SecurityConfig) DeepCopyInto(out *SecurityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotRepoConfig ¶
type SnapshotRepoConfig struct { Name string `json:"name"` Type string `json:"type"` Settings map[string]string `json:"settings,omitempty"` }
func (*SnapshotRepoConfig) DeepCopy ¶
func (in *SnapshotRepoConfig) DeepCopy() *SnapshotRepoConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotRepoConfig.
func (*SnapshotRepoConfig) DeepCopyInto ¶
func (in *SnapshotRepoConfig) DeepCopyInto(out *SnapshotRepoConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantPermissionsSpec ¶
type TenantPermissionsSpec struct { TenantPatterns []string `json:"tenantPatterns,omitempty"` AllowedActions []string `json:"allowedActions,omitempty"` }
func (*TenantPermissionsSpec) DeepCopy ¶
func (in *TenantPermissionsSpec) DeepCopy() *TenantPermissionsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantPermissionsSpec.
func (*TenantPermissionsSpec) DeepCopyInto ¶
func (in *TenantPermissionsSpec) DeepCopyInto(out *TenantPermissionsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsCertificateConfig ¶
type TlsCertificateConfig struct { // Optional, name of a TLS secret that contains ca.crt, tls.key and tls.crt data. If ca.crt is in a different secret provide it via the caSecret field Secret corev1.LocalObjectReference `json:"secret,omitempty"` // Optional, secret that contains the ca certificate as ca.crt. If this and generate=true is set the existing CA cert from that secret is used to generate the node certs. In this case must contain ca.crt and ca.key fields CaSecret corev1.LocalObjectReference `json:"caSecret,omitempty"` }
func (*TlsCertificateConfig) DeepCopy ¶
func (in *TlsCertificateConfig) DeepCopy() *TlsCertificateConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsCertificateConfig.
func (*TlsCertificateConfig) DeepCopyInto ¶
func (in *TlsCertificateConfig) DeepCopyInto(out *TlsCertificateConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsConfig ¶
type TlsConfig struct { Transport *TlsConfigTransport `json:"transport,omitempty"` Http *TlsConfigHttp `json:"http,omitempty"` }
Configure tls usage for transport and http interface
func (*TlsConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsConfig.
func (*TlsConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsConfigHttp ¶
type TlsConfigHttp struct { // If set to true the operator will generate a CA and certificates for the cluster to use, if false secrets with existing certificates must be supplied Generate bool `json:"generate,omitempty"` TlsCertificateConfig `json:",omitempty"` }
func (*TlsConfigHttp) DeepCopy ¶
func (in *TlsConfigHttp) DeepCopy() *TlsConfigHttp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsConfigHttp.
func (*TlsConfigHttp) DeepCopyInto ¶
func (in *TlsConfigHttp) DeepCopyInto(out *TlsConfigHttp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsConfigTransport ¶
type TlsConfigTransport struct { // If set to true the operator will generate a CA and certificates for the cluster to use, if false secrets with existing certificates must be supplied Generate bool `json:"generate,omitempty"` // Configure transport node certificate PerNode bool `json:"perNode,omitempty"` TlsCertificateConfig `json:",omitempty"` // Allowed Certificate DNs for nodes, only used when existing certificates are provided NodesDn []string `json:"nodesDn,omitempty"` // DNs of certificates that should have admin access, mainly used for securityconfig updates via securityadmin.sh, only used when existing certificates are provided AdminDn []string `json:"adminDn,omitempty"` }
func (*TlsConfigTransport) DeepCopy ¶
func (in *TlsConfigTransport) DeepCopy() *TlsConfigTransport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsConfigTransport.
func (*TlsConfigTransport) DeepCopyInto ¶
func (in *TlsConfigTransport) DeepCopyInto(out *TlsConfigTransport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TlsSecret ¶
Reference to a secret
func (*TlsSecret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsSecret.
func (*TlsSecret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.