v1

package
v0.0.0-...-d099f21 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the eliatra v1 API group +kubebuilder:object:generate=true +groupName=opensearch.eliatra.io

Index

Constants

View Source
const (
	PhasePending = "PENDING"
	PhaseRunning = "RUNNING"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "opensearch.eliatra.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 Action

type Action struct {
	Alias *Alias `json:"alias,omitempty"`
	// Allocate the index to a node with a specific attribute set
	Allocation *Allocation `json:"allocation,omitempty"`
	// Closes the managed index.
	Close *Close `json:"close,omitempty"`
	// Deletes a managed index.
	Delete *Delete `json:"delete,omitempty"`
	// Reduces the number of Lucene segments by merging the segments of individual shards.
	ForceMerge *ForceMerge `json:"forceMerge,omitempty"`
	// Set the priority for the index in a specific state.
	IndexPriority *IndexPriority `json:"indexPriority,omitempty"`
	//Name          string        `json:"name,omitempty"`
	Notification *Notification `json:"notification,omitempty"`
	// Opens a managed index.
	Open *Open `json:"open,omitempty"`
	// Sets a managed index to be read only.
	ReadOnly *string `json:"readOnly,omitempty"`
	// Sets a managed index to be writeable.
	ReadWrite *string `json:"readWrite,omitempty"`
	// Sets the number of replicas to assign to an index.
	ReplicaCount *ReplicaCount `json:"replicaCount,omitempty"`
	// The retry configuration for the action.
	Retry *Retry `json:"retry,omitempty"`
	// Rolls an alias over to a new index when the managed index meets one of the rollover conditions.
	Rollover *Rollover `json:"rollover,omitempty"`
	// Periodically reduce data granularity by rolling up old data into summarized indexes.
	Rollup *Rollup `json:"rollup,omitempty"`
	// Allows you to reduce the number of primary shards in your indexes
	Shrink *Shrink `json:"shrink,omitempty"`
	// Back up your cluster’s indexes and state
	Snapshot *Snapshot `json:"snapshot,omitempty"`
	// The timeout period for the action.
	Timeout *string `json:"timeout,omitempty"`
}

Actions are the steps that the policy sequentially executes on entering a specific state.

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.

func (*Action) DeepCopyInto

func (in *Action) DeepCopyInto(out *Action)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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"`
	// SubPath of the referenced volume to mount.
	SubPath string `json:"subPath,omitempty"`
	// 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"`
	// EmptyDir to use to populate the volume
	EmptyDir *corev1.EmptyDirVolumeSource `json:"emptyDir,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 Alias

type Alias struct {
	// Allocate the index to a node with a specified attribute.
	Actions []AliasAction `json:"actions"`
}

func (*Alias) DeepCopy

func (in *Alias) DeepCopy() *Alias

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alias.

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AliasAction

type AliasAction struct {
	Add    *AliasDetails `json:"add,omitempty"`
	Remove *AliasDetails `json:"remove,omitempty"`
}

func (*AliasAction) DeepCopy

func (in *AliasAction) DeepCopy() *AliasAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasAction.

func (*AliasAction) DeepCopyInto

func (in *AliasAction) DeepCopyInto(out *AliasAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AliasDetails

type AliasDetails struct {
	// The name of the index that the alias points to.
	Index *string `json:"index,omitempty"`
	// The name of the alias.
	Aliases []string `json:"aliases,omitempty"`
	// Limit search to an associated shard value
	Routing *string `json:"routing,omitempty"`
	// Specify the index that accepts any write operations to the alias.
	IsWriteIndex *bool `json:"isWriteIndex,omitempty"`
}

func (*AliasDetails) DeepCopy

func (in *AliasDetails) DeepCopy() *AliasDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasDetails.

func (*AliasDetails) DeepCopyInto

func (in *AliasDetails) DeepCopyInto(out *AliasDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Allocation

type Allocation struct {
	// Allocate the index to a node with a specified attribute.
	Exclude string `json:"exclude"`
	// Allocate the index to a node with any of the specified attributes.
	Include string `json:"include"`
	// Don’t allocate the index to a node with any of the specified attributes.
	Require string `json:"require"`
	// Wait for the policy to execute before allocating the index to a node with a specified attribute.
	WaitFor string `json:"waitFor"`
}

func (*Allocation) DeepCopy

func (in *Allocation) DeepCopy() *Allocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Allocation.

func (*Allocation) DeepCopyInto

func (in *Allocation) DeepCopyInto(out *Allocation)

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 Close

type Close struct{}

func (*Close) DeepCopy

func (in *Close) DeepCopy() *Close

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Close.

func (*Close) DeepCopyInto

func (in *Close) DeepCopyInto(out *Close)

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"`
	// AvailableNodes is the number of available instances.
	AvailableNodes int32            `json:"availableNodes,omitempty"`
	Health         OpenSearchHealth `json:"health,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"`
	Conditions  []string `json:"conditions,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 Condition

type Condition struct {
	// The cron job that triggers the transition if no other transition happens first.
	Cron *Cron `json:"cron,omitempty"`
	// The minimum document count of the index required to transition.
	MinDocCount *int64 `json:"minDocCount,omitempty"`
	// The minimum age of the index required to transition.
	MinIndexAge *string `json:"minIndexAge,omitempty"`
	// The minimum age required after a rollover has occurred to transition to the next state.
	MinRolloverAge *string `json:"minRolloverAge,omitempty"`
	// The minimum size of the total primary shard storage (not counting replicas) required to transition.
	MinSize *string `json:"minSize,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (in *ConfMgmt) DeepCopy() *ConfMgmt

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfMgmt.

func (*ConfMgmt) DeepCopyInto

func (in *ConfMgmt) DeepCopyInto(out *ConfMgmt)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Cron

type Cron struct {
	// The cron expression that triggers the transition.
	Expression string `json:"expression"`
	// The timezone that triggers the transition.
	Timezone string `json:"timezone"`
}

func (*Cron) DeepCopy

func (in *Cron) DeepCopy() *Cron

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cron.

func (*Cron) DeepCopyInto

func (in *Cron) DeepCopyInto(out *Cron)

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

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 Delete

type Delete struct{}

func (*Delete) DeepCopy

func (in *Delete) DeepCopy() *Delete

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Delete.

func (*Delete) DeepCopyInto

func (in *Delete) DeepCopyInto(out *Delete)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Destination

type Destination struct {
	Slack         *DestinationURL `json:"slack,omitempty"`
	Amazon        *DestinationURL `json:"amazon,omitempty"`
	Chime         *DestinationURL `json:"chime,omitempty"`
	CustomWebhook *DestinationURL `json:"customWebhook,omitempty"`
}

func (*Destination) DeepCopy

func (in *Destination) DeepCopy() *Destination

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.

func (*Destination) DeepCopyInto

func (in *Destination) DeepCopyInto(out *Destination)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DestinationURL

type DestinationURL struct {
	URL string `json:"url,omitempty"`
}

func (*DestinationURL) DeepCopy

func (in *DestinationURL) DeepCopy() *DestinationURL

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationURL.

func (*DestinationURL) DeepCopyInto

func (in *DestinationURL) DeepCopyInto(out *DestinationURL)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ErrorNotification

type ErrorNotification struct {
	// The destination URL.
	Destination *Destination `json:"destination,omitempty"`
	Channel     string       `json:"channel,omitempty"`
	// The text of the message
	MessageTemplate *MessageTemplate `json:"messageTemplate,omitempty"`
}

func (*ErrorNotification) DeepCopy

func (in *ErrorNotification) DeepCopy() *ErrorNotification

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorNotification.

func (*ErrorNotification) DeepCopyInto

func (in *ErrorNotification) DeepCopyInto(out *ErrorNotification)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ForceMerge

type ForceMerge struct {
	// The number of segments to reduce the shard to.
	MaxNumSegments int64 `json:"maxNumSegments"`
}

func (*ForceMerge) DeepCopy

func (in *ForceMerge) DeepCopy() *ForceMerge

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForceMerge.

func (*ForceMerge) DeepCopyInto

func (in *ForceMerge) DeepCopyInto(out *ForceMerge)

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"`
	// Adds support for annotations in services
	Annotations map[string]string `json:"annotations,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 ISMTemplate

type ISMTemplate struct {
	// Index patterns on which this policy has to be applied
	IndexPatterns []string `json:"indexPatterns"`
	// Priority of the template, defaults to 0
	Priority int `json:"priority,omitempty"`
}

func (*ISMTemplate) DeepCopy

func (in *ISMTemplate) DeepCopy() *ISMTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISMTemplate.

func (*ISMTemplate) DeepCopyInto

func (in *ISMTemplate) DeepCopyInto(out *ISMTemplate)

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

func (in *ImageSpec) DeepCopy() *ImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ImageSpec) GetImage

func (s ImageSpec) GetImage() string

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 IndexPriority

type IndexPriority struct {
	// The priority for the index as soon as it enters a state.
	Priority int64 `json:"priority"`
}

func (*IndexPriority) DeepCopy

func (in *IndexPriority) DeepCopy() *IndexPriority

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexPriority.

func (*IndexPriority) DeepCopyInto

func (in *IndexPriority) DeepCopyInto(out *IndexPriority)

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 MessageTemplate

type MessageTemplate struct {
	Source string `json:"source,omitempty"`
}

func (*MessageTemplate) DeepCopy

func (in *MessageTemplate) DeepCopy() *MessageTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageTemplate.

func (*MessageTemplate) DeepCopyInto

func (in *MessageTemplate) DeepCopyInto(out *MessageTemplate)

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"`
	Pdb                       *PdbConfig                        `json:"pdb,omitempty"`
}

func (*NodePool) DeepCopy

func (in *NodePool) DeepCopy() *NodePool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePool.

func (*NodePool) DeepCopyInto

func (in *NodePool) DeepCopyInto(out *NodePool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Notification

type Notification struct {
	Destination     string          `json:"destination"`
	MessageTemplate MessageTemplate `json:"messageTemplate"`
}

func (*Notification) DeepCopy

func (in *Notification) DeepCopy() *Notification

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notification.

func (*Notification) DeepCopyInto

func (in *Notification) DeepCopyInto(out *Notification)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Open

type Open struct{}

func (*Open) DeepCopy

func (in *Open) DeepCopy() *Open

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Open.

func (*Open) DeepCopyInto

func (in *Open) DeepCopyInto(out *Open)

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="health",type="string",JSONPath=".status.health" +kubebuilder:printcolumn:name="nodes",type="integer",JSONPath=".status.availableNodes",description="Available nodes" +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

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 OpenSearchHealth

type OpenSearchHealth string

OpenSearchHealth is the health of the cluster as returned by the health API.

const (
	OpenSearchRedHealth     OpenSearchHealth = "red"
	OpenSearchYellowHealth  OpenSearchHealth = "yellow"
	OpenSearchGreenHealth   OpenSearchHealth = "green"
	OpenSearchUnknownHealth OpenSearchHealth = "unknown"
)

Possible traffic light states OpenSearch health can have.

type OpenSearchISMPolicy

type OpenSearchISMPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OpenSearchISMPolicySpec   `json:"spec,omitempty"`
	Status            OpensearchISMPolicyStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:shortName=ismp;ismpolicy +kubebuilder:subresource:status

func (*OpenSearchISMPolicy) DeepCopy

func (in *OpenSearchISMPolicy) DeepCopy() *OpenSearchISMPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchISMPolicy.

func (*OpenSearchISMPolicy) DeepCopyInto

func (in *OpenSearchISMPolicy) DeepCopyInto(out *OpenSearchISMPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenSearchISMPolicy) DeepCopyObject

func (in *OpenSearchISMPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpenSearchISMPolicyList

type OpenSearchISMPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OpenSearchISMPolicy `json:"items"`
}

+kubebuilder:object:root=true ISMPolicyList contains a list of ISMPolicy

func (*OpenSearchISMPolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchISMPolicyList.

func (*OpenSearchISMPolicyList) DeepCopyInto

func (in *OpenSearchISMPolicyList) DeepCopyInto(out *OpenSearchISMPolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenSearchISMPolicyList) DeepCopyObject

func (in *OpenSearchISMPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpenSearchISMPolicySpec

type OpenSearchISMPolicySpec struct {
	OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster,omitempty"`
	// The default starting state for each index that uses this policy.
	DefaultState string `json:"defaultState"`
	// A human-readable description of the policy.
	Description       string             `json:"description"`
	ErrorNotification *ErrorNotification `json:"errorNotification,omitempty"`
	// Specify an ISM template pattern that matches the index to apply the policy.
	ISMTemplate *ISMTemplate `json:"ismTemplate,omitempty"`
	PolicyID    string       `json:"policyId,omitempty"`
	// The states that you define in the policy.
	States []State `json:"states"`
}

ISMPolicySpec is the specification for the ISM policy for OS.

func (*OpenSearchISMPolicySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchISMPolicySpec.

func (*OpenSearchISMPolicySpec) DeepCopyInto

func (in *OpenSearchISMPolicySpec) DeepCopyInto(out *OpenSearchISMPolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroupList.

func (*OpensearchActionGroupList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroupSpec.

func (*OpensearchActionGroupSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchActionGroupStatus.

func (*OpensearchActionGroupStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchClusterSelector.

func (*OpensearchClusterSelector) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpensearchClusterSelector) ObjectKey

type OpensearchComponentTemplate

type OpensearchComponentTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OpensearchComponentTemplateSpec   `json:"spec,omitempty"`
	Status OpensearchComponentTemplateStatus `json:"status,omitempty"`
}

OpensearchComponentTemplate is the schema for the OpenSearch component templates API

func (*OpensearchComponentTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchComponentTemplate.

func (*OpensearchComponentTemplate) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpensearchComponentTemplate) DeepCopyObject

func (in *OpensearchComponentTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpensearchComponentTemplateList

type OpensearchComponentTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OpensearchComponentTemplate `json:"items"`
}

OpensearchComponentTemplateList contains a list of OpensearchComponentTemplate

func (*OpensearchComponentTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchComponentTemplateList.

func (*OpensearchComponentTemplateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpensearchComponentTemplateList) DeepCopyObject

func (in *OpensearchComponentTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpensearchComponentTemplateSpec

type OpensearchComponentTemplateSpec struct {
	OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"`

	// The name of the component template. Defaults to metadata.name
	// +immutable
	Name string `json:"name,omitempty"`

	// The template that should be applied
	Template OpensearchIndexSpec `json:"template"`

	// Version number used to manage the component template externally
	Version int `json:"version,omitempty"`

	// If true, then indices can be automatically created using this template
	AllowAutoCreate bool `json:"allowAutoCreate,omitempty"`

	// Optional user metadata about the component template
	Meta *apiextensionsv1.JSON `json:"_meta,omitempty"`
}

func (*OpensearchComponentTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchComponentTemplateSpec.

func (*OpensearchComponentTemplateSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpensearchComponentTemplateState

type OpensearchComponentTemplateState string
const (
	OpensearchComponentTemplatePending OpensearchComponentTemplateState = "PENDING"
	OpensearchComponentTemplateCreated OpensearchComponentTemplateState = "CREATED"
	OpensearchComponentTemplateError   OpensearchComponentTemplateState = "ERROR"
	OpensearchComponentTemplateIgnored OpensearchComponentTemplateState = "IGNORED"
)

type OpensearchComponentTemplateStatus

type OpensearchComponentTemplateStatus struct {
	State                     OpensearchComponentTemplateState `json:"state,omitempty"`
	Reason                    string                           `json:"reason,omitempty"`
	ExistingComponentTemplate *bool                            `json:"existingComponentTemplate,omitempty"`
	ManagedCluster            *types.UID                       `json:"managedCluster,omitempty"`
	// Name of the currently managed component template
	ComponentTemplateName string `json:"componentTemplateName,omitempty"`
}

func (*OpensearchComponentTemplateStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchComponentTemplateStatus.

func (*OpensearchComponentTemplateStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpensearchISMPolicyState

type OpensearchISMPolicyState string
const (
	OpensearchISMPolicyPending OpensearchISMPolicyState = "PENDING"
	OpensearchISMPolicyCreated OpensearchISMPolicyState = "CREATED"
	OpensearchISMPolicyError   OpensearchISMPolicyState = "ERROR"
	OpensearchISMPolicyIgnored OpensearchISMPolicyState = "IGNORED"
)

type OpensearchISMPolicyStatus

type OpensearchISMPolicyStatus struct {
	State             OpensearchISMPolicyState `json:"state,omitempty"`
	Reason            string                   `json:"reason,omitempty"`
	ExistingISMPolicy *bool                    `json:"existingISMPolicy,omitempty"`
	ManagedCluster    *types.UID               `json:"managedCluster,omitempty"`
	PolicyId          string                   `json:"policyId,omitempty"`
}

OpensearchISMPolicyStatus defines the observed state of OpensearchISMPolicy

func (*OpensearchISMPolicyStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchISMPolicyStatus.

func (*OpensearchISMPolicyStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpensearchIndexAliasSpec

type OpensearchIndexAliasSpec struct {
	// The name of the index that the alias points to.
	Index string `json:"index,omitempty"`

	// The name of the alias.
	Alias string `json:"alias,omitempty"`

	// Query used to limit documents the alias can access.
	Filter *apiextensionsv1.JSON `json:"filter,omitempty"`

	// Value used to route indexing and search operations to a specific shard.
	Routing string `json:"routing,omitempty"`

	// If true, the index is the write index for the alias
	IsWriteIndex bool `json:"isWriteIndex,omitempty"`
}

Describes the specs of an index alias

func (*OpensearchIndexAliasSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchIndexAliasSpec.

func (*OpensearchIndexAliasSpec) DeepCopyInto

func (in *OpensearchIndexAliasSpec) DeepCopyInto(out *OpensearchIndexAliasSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpensearchIndexSpec

type OpensearchIndexSpec struct {
	// Configuration options for the index
	Settings *apiextensionsv1.JSON `json:"settings,omitempty"`

	// Mapping for fields in the index
	Mappings *apiextensionsv1.JSON `json:"mappings,omitempty"`

	// Aliases to add
	Aliases map[string]OpensearchIndexAliasSpec `json:"aliases,omitempty"`
}

Describes the specs of an index

func (*OpensearchIndexSpec) DeepCopy

func (in *OpensearchIndexSpec) DeepCopy() *OpensearchIndexSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchIndexSpec.

func (*OpensearchIndexSpec) DeepCopyInto

func (in *OpensearchIndexSpec) DeepCopyInto(out *OpensearchIndexSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpensearchIndexTemplate

type OpensearchIndexTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OpensearchIndexTemplateSpec   `json:"spec,omitempty"`
	Status OpensearchIndexTemplateStatus `json:"status,omitempty"`
}

OpensearchIndexTemplate is the schema for the OpenSearch index templates API

func (*OpensearchIndexTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchIndexTemplate.

func (*OpensearchIndexTemplate) DeepCopyInto

func (in *OpensearchIndexTemplate) DeepCopyInto(out *OpensearchIndexTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpensearchIndexTemplate) DeepCopyObject

func (in *OpensearchIndexTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpensearchIndexTemplateList

type OpensearchIndexTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OpensearchIndexTemplate `json:"items"`
}

OpensearchIndexTemplateList contains a list of OpensearchIndexTemplate

func (*OpensearchIndexTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchIndexTemplateList.

func (*OpensearchIndexTemplateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpensearchIndexTemplateList) DeepCopyObject

func (in *OpensearchIndexTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpensearchIndexTemplateSpec

type OpensearchIndexTemplateSpec struct {
	OpensearchRef corev1.LocalObjectReference `json:"opensearchCluster"`

	// The name of the index template. Defaults to metadata.name
	// +immutable
	Name string `json:"name,omitempty"`

	// Array of wildcard expressions used to match the names of indices during creation
	IndexPatterns []string `json:"indexPatterns"`

	// The template that should be applied
	Template OpensearchIndexSpec `json:"template,omitempty"`

	// An ordered list of component template names. Component templates are merged in the order specified,
	// meaning that the last component template specified has the highest precedence
	ComposedOf []string `json:"composedOf,omitempty"`

	// Priority to determine index template precedence when a new data stream or index is created.
	// The index template with the highest priority is chosen
	Priority int `json:"priority,omitempty"`

	// Version number used to manage the component template externally
	Version int `json:"version,omitempty"`

	// Optional user metadata about the index template
	Meta *apiextensionsv1.JSON `json:"_meta,omitempty"`
}

func (*OpensearchIndexTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchIndexTemplateSpec.

func (*OpensearchIndexTemplateSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpensearchIndexTemplateState

type OpensearchIndexTemplateState string
const (
	OpensearchIndexTemplatePending OpensearchIndexTemplateState = "PENDING"
	OpensearchIndexTemplateCreated OpensearchIndexTemplateState = "CREATED"
	OpensearchIndexTemplateError   OpensearchIndexTemplateState = "ERROR"
	OpensearchIndexTemplateIgnored OpensearchIndexTemplateState = "IGNORED"
)

type OpensearchIndexTemplateStatus

type OpensearchIndexTemplateStatus struct {
	State                 OpensearchIndexTemplateState `json:"state,omitempty"`
	Reason                string                       `json:"reason,omitempty"`
	ExistingIndexTemplate *bool                        `json:"existingIndexTemplate,omitempty"`
	ManagedCluster        *types.UID                   `json:"managedCluster,omitempty"`
	// Name of the currently managed index template
	IndexTemplateName string `json:"indexTemplateName,omitempty"`
}

func (*OpensearchIndexTemplateStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchIndexTemplateStatus.

func (*OpensearchIndexTemplateStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

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

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBinding.

func (*OpensearchUserRoleBinding) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBindingList.

func (*OpensearchUserRoleBindingList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBindingSpec.

func (*OpensearchUserRoleBindingSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchUserRoleBindingStatus.

func (*OpensearchUserRoleBindingStatus) DeepCopyInto

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

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

func (in *PVCSource) DeepCopy() *PVCSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCSource.

func (*PVCSource) DeepCopyInto

func (in *PVCSource) DeepCopyInto(out *PVCSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PdbConfig

type PdbConfig struct {
	Enable         bool                `json:"enable,omitempty"`
	MinAvailable   *intstr.IntOrString `json:"minAvailable,omitempty"`
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
}

func (*PdbConfig) DeepCopy

func (in *PdbConfig) DeepCopy() *PdbConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PdbConfig.

func (*PdbConfig) DeepCopyInto

func (in *PdbConfig) DeepCopyInto(out *PdbConfig)

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 ReplicaCount

type ReplicaCount struct {
	NumberOfReplicas int64 `json:"numberOfReplicas"`
}

func (*ReplicaCount) DeepCopy

func (in *ReplicaCount) DeepCopy() *ReplicaCount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaCount.

func (*ReplicaCount) DeepCopyInto

func (in *ReplicaCount) DeepCopyInto(out *ReplicaCount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Retry

type Retry struct {
	// The backoff policy type to use when retrying.
	Backoff string `json:"backoff,omitempty"`
	// The number of retry counts.
	Count int64 `json:"count"`
	// The time to wait between retries.
	Delay string `json:"delay,omitempty"`
}

func (*Retry) DeepCopy

func (in *Retry) DeepCopy() *Retry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retry.

func (*Retry) DeepCopyInto

func (in *Retry) DeepCopyInto(out *Retry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rollover

type Rollover struct {
	// The minimum number of documents required to roll over the index.
	MinDocCount *int64 `json:"minDocCount,omitempty"`
	// The minimum age required to roll over the index.
	MinIndexAge *string `json:"minIndexAge,omitempty"`
	// The minimum storage size of a single primary shard required to roll over the index.
	MinPrimaryShardSize *string `json:"minPrimaryShardSize,omitempty"`
	// The minimum size of the total primary shard storage (not counting replicas) required to roll over the index.
	MinSize *string `json:"minSize,omitempty"`
}

func (*Rollover) DeepCopy

func (in *Rollover) DeepCopy() *Rollover

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rollover.

func (*Rollover) DeepCopyInto

func (in *Rollover) DeepCopyInto(out *Rollover)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rollup

type Rollup struct{}

func (*Rollup) DeepCopy

func (in *Rollup) DeepCopy() *Rollup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rollup.

func (*Rollup) DeepCopyInto

func (in *Rollup) DeepCopyInto(out *Rollup)

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

func (in *Security) DeepCopy() *Security

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security.

func (*Security) DeepCopyInto

func (in *Security) DeepCopyInto(out *Security)

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 Shrink

type Shrink struct {
	// If true, executes the shrink action even if there are no replicas.
	ForceUnsafe *bool `json:"forceUnsafe,omitempty"`
	// The maximum size in bytes of a shard for the target index.
	MaxShardSize *string `json:"maxShardSize"`
	// The maximum number of primary shards in the shrunken index.
	NumNewShards *int `json:"numNewShards,omitempty"`
	// Percentage of the number of original primary shards to shrink.
	PercentageOfSourceShards *int64 `json:"percentageOfSourceShards,omitempty"`
	// The name of the shrunken index.
	TargetIndexNameTemplate *string `json:"targetIndexNameTemplate,omitempty"`
}

func (*Shrink) DeepCopy

func (in *Shrink) DeepCopy() *Shrink

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Shrink.

func (*Shrink) DeepCopyInto

func (in *Shrink) DeepCopyInto(out *Shrink)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Snapshot

type Snapshot struct {
	// The repository name that you register through the native snapshot API operations.
	Repository string `json:"repository"`
	// The name of the snapshot.
	Snapshot string `json:"snapshot"`
}

func (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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 State

type State struct {
	// The actions to execute after entering a state.
	Actions []Action `json:"actions"`
	// The name of the state.
	Name string `json:"name"`
	// The next states and the conditions required to transition to those states. If no transitions exist, the policy assumes that it’s complete and can now stop managing the index
	Transitions []Transition `json:"transitions,omitempty"`
}

func (*State) DeepCopy

func (in *State) DeepCopy() *State

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new State.

func (*State) DeepCopyInto

func (in *State) DeepCopyInto(out *State)

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

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

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

func (in *TlsConfig) DeepCopy() *TlsConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsConfig.

func (*TlsConfig) DeepCopyInto

func (in *TlsConfig) DeepCopyInto(out *TlsConfig)

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

type TlsSecret struct {
	SecretName string  `json:"secretName"`
	Key        *string `json:"key,omitempty"`
}

Reference to a secret

func (*TlsSecret) DeepCopy

func (in *TlsSecret) DeepCopy() *TlsSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsSecret.

func (*TlsSecret) DeepCopyInto

func (in *TlsSecret) DeepCopyInto(out *TlsSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Transition

type Transition struct {
	// conditions for the transition.
	Conditions Condition `json:"conditions"`
	// The name of the state to transition to if the conditions are met.
	StateName string `json:"stateName"`
}

func (*Transition) DeepCopy

func (in *Transition) DeepCopy() *Transition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transition.

func (*Transition) DeepCopyInto

func (in *Transition) DeepCopyInto(out *Transition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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