v1alpha1

package
v0.0.0-...-4c4f3c2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the elk v1alpha1 API group +kubebuilder:object:generate=true +groupName=elk.k8s.webcenter.fr

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "elk.k8s.webcenter.fr", Version: "v1alpha1"}

	// 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 ElasticsearchComponentTemplate

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

	Spec   ElasticsearchComponentTemplateSpec   `json:"spec,omitempty"`
	Status ElasticsearchComponentTemplateStatus `json:"status,omitempty"`
}

ElasticsearchComponentTemplate is the Schema for the elasticsearchcomponenttemplates API

func (*ElasticsearchComponentTemplate) DeepCopy

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

func (*ElasticsearchComponentTemplate) DeepCopyInto

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

func (*ElasticsearchComponentTemplate) DeepCopyObject

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

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

func (*ElasticsearchComponentTemplate) GetObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchComponentTemplate) GetStatus

func (h *ElasticsearchComponentTemplate) GetStatus() any

GetStatus permit to get the current status

func (*ElasticsearchComponentTemplate) ToComponentTemplate

ToComponentTemplate permit to convert current spec to component template spec

type ElasticsearchComponentTemplateList

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

ElasticsearchComponentTemplateList contains a list of ElasticsearchComponentTemplate

func (*ElasticsearchComponentTemplateList) DeepCopy

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

func (*ElasticsearchComponentTemplateList) DeepCopyInto

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

func (*ElasticsearchComponentTemplateList) DeepCopyObject

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

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

type ElasticsearchComponentTemplateSpec

type ElasticsearchComponentTemplateSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Settings is the component setting
	// +optional
	Settings string `json:"settings,omitempty"`

	// Mappings is the component mapping
	// +optional
	Mappings string `json:"mappings,omitempty"`

	// Aliases is the component aliases
	// +optional
	Aliases string `json:"aliases,omitempty"`
}

ElasticsearchComponentTemplateSpec defines the desired state of ElasticsearchComponentTemplate +k8s:openapi-gen=true

func (*ElasticsearchComponentTemplateSpec) DeepCopy

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

func (*ElasticsearchComponentTemplateSpec) DeepCopyInto

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

type ElasticsearchComponentTemplateStatus

type ElasticsearchComponentTemplateStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchComponentTemplateStatus defines the observed state of ElasticsearchComponentTemplate

func (*ElasticsearchComponentTemplateStatus) DeepCopy

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

func (*ElasticsearchComponentTemplateStatus) DeepCopyInto

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

type ElasticsearchILM

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

	Spec   ElasticsearchILMSpec   `json:"spec,omitempty"`
	Status ElasticsearchILMStatus `json:"status,omitempty"`
}

ElasticsearchILM is the Schema for the elasticsearchilms API

func (*ElasticsearchILM) DeepCopy

func (in *ElasticsearchILM) DeepCopy() *ElasticsearchILM

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

func (*ElasticsearchILM) DeepCopyInto

func (in *ElasticsearchILM) DeepCopyInto(out *ElasticsearchILM)

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

func (*ElasticsearchILM) DeepCopyObject

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

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

func (*ElasticsearchILM) GetObjectMeta

func (h *ElasticsearchILM) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchILM) GetStatus

func (h *ElasticsearchILM) GetStatus() any

GetStatus permit to get the current status

type ElasticsearchILMList

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

ElasticsearchILMList contains a list of ElasticsearchILM

func (*ElasticsearchILMList) DeepCopy

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

func (*ElasticsearchILMList) DeepCopyInto

func (in *ElasticsearchILMList) DeepCopyInto(out *ElasticsearchILMList)

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

func (*ElasticsearchILMList) DeepCopyObject

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

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

type ElasticsearchILMSpec

type ElasticsearchILMSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Policy is the raw policy on JSON
	Policy string `json:"policy"`
}

ElasticsearchILMSpec defines the desired state of ElasticsearchILM +k8s:openapi-gen=true

func (*ElasticsearchILMSpec) DeepCopy

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

func (*ElasticsearchILMSpec) DeepCopyInto

func (in *ElasticsearchILMSpec) DeepCopyInto(out *ElasticsearchILMSpec)

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

type ElasticsearchILMStatus

type ElasticsearchILMStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchILMStatus defines the observed state of ElasticsearchILM

func (*ElasticsearchILMStatus) DeepCopy

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

func (*ElasticsearchILMStatus) DeepCopyInto

func (in *ElasticsearchILMStatus) DeepCopyInto(out *ElasticsearchILMStatus)

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

type ElasticsearchIndexTemplate

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

	Spec   ElasticsearchIndexTemplateSpec   `json:"spec,omitempty"`
	Status ElasticsearchIndexTemplateStatus `json:"status,omitempty"`
}

ElasticsearchIndexTemplate is the Schema for the elasticsearchindextemplates API

func (*ElasticsearchIndexTemplate) DeepCopy

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

func (*ElasticsearchIndexTemplate) DeepCopyInto

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

func (*ElasticsearchIndexTemplate) DeepCopyObject

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

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

func (*ElasticsearchIndexTemplate) GetObjectMeta

func (h *ElasticsearchIndexTemplate) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchIndexTemplate) GetStatus

func (h *ElasticsearchIndexTemplate) GetStatus() any

GetStatus permit to get the current status

func (*ElasticsearchIndexTemplate) ToIndexTemplate

type ElasticsearchIndexTemplateData

type ElasticsearchIndexTemplateData struct {

	// Settings is the template setting as JSON string
	// +optional
	Settings string `json:"settings,omitempty"`

	// Mappings is the template mapping as JSON string
	// +optional
	Mappings string `json:"mappings,omitempty"`

	// Aliases is the template alias as JSON string
	// +optional
	Aliases string `json:"aliases,omitempty"`
}

ElasticsearchIndexTemplateData is the template specification

func (*ElasticsearchIndexTemplateData) DeepCopy

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

func (*ElasticsearchIndexTemplateData) DeepCopyInto

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

type ElasticsearchIndexTemplateList

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

ElasticsearchIndexTemplateList contains a list of ElasticsearchIndexTemplate

func (*ElasticsearchIndexTemplateList) DeepCopy

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

func (*ElasticsearchIndexTemplateList) DeepCopyInto

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

func (*ElasticsearchIndexTemplateList) DeepCopyObject

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

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

type ElasticsearchIndexTemplateSpec

type ElasticsearchIndexTemplateSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// IndexPatterns is the list of index to apply this template
	IndexPatterns []string `json:"index_patterns,omitempty"`

	//ComposedOf is the list of component templates
	// +optional
	ComposedOf []string `json:"composed_of,omitempty"`

	//Priority is the priority to apply this template
	// +optional
	Priority int `json:"priority,omitempty"`

	// The version
	// +optional
	Version int `json:"version,omitempty"`

	// Template is the template specification
	// +optional
	Template *ElasticsearchIndexTemplateData `json:"template,omitempty"`

	// Meta is extended info as JSON string
	// +optional
	Meta string `json:"_meta,omitempty"`

	// AllowAutoCreate permit to allow auto create index
	// +optional
	AllowAutoCreate bool `json:"allow_auto_create,omitempty"`
}

ElasticsearchIndexTemplateSpec defines the desired state of ElasticsearchIndexTemplate +k8s:openapi-gen=true

func (*ElasticsearchIndexTemplateSpec) DeepCopy

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

func (*ElasticsearchIndexTemplateSpec) DeepCopyInto

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

type ElasticsearchIndexTemplateStatus

type ElasticsearchIndexTemplateStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchIndexTemplateStatus defines the observed state of ElasticsearchIndexTemplate

func (*ElasticsearchIndexTemplateStatus) DeepCopy

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

func (*ElasticsearchIndexTemplateStatus) DeepCopyInto

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

type ElasticsearchRefSpec

type ElasticsearchRefSpec struct {
	// Name is the Elasticsearch name object
	// If empty, it use Adresses and secretName to connect on external elasticsearch (not managed by ECK)
	Name string `json:"name,omitempty"`

	// Addresses is the list of Elasticsearch addresses
	Addresses []string `json:"addresses,omitempty"`

	// SecretName is the secret that contain the setting to connect on Elasticsearch that is not managed by ECK.
	// It need to contain only one entry. The user is the key, and the password is the data
	SecretName string `json:"secretName,omitempty"`
}

func (*ElasticsearchRefSpec) DeepCopy

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

func (*ElasticsearchRefSpec) DeepCopyInto

func (in *ElasticsearchRefSpec) DeepCopyInto(out *ElasticsearchRefSpec)

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

func (ElasticsearchRefSpec) GetElasticsearchRef

func (h ElasticsearchRefSpec) GetElasticsearchRef() ElasticsearchRefSpec

GetElasticsearchRef permit to Get infos to connect on Elasticsearch

func (ElasticsearchRefSpec) IsManagedByECK

func (h ElasticsearchRefSpec) IsManagedByECK() bool

IsManagedByECK permit to know if Elasticsearch is managed by ECK

type ElasticsearchRole

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

	Spec   ElasticsearchRoleSpec   `json:"spec,omitempty"`
	Status ElasticsearchRoleStatus `json:"status,omitempty"`
}

ElasticsearchRole is the Schema for the elasticsearchroles API

func (*ElasticsearchRole) DeepCopy

func (in *ElasticsearchRole) DeepCopy() *ElasticsearchRole

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

func (*ElasticsearchRole) DeepCopyInto

func (in *ElasticsearchRole) DeepCopyInto(out *ElasticsearchRole)

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

func (*ElasticsearchRole) DeepCopyObject

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

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

func (*ElasticsearchRole) GetObjectMeta

func (h *ElasticsearchRole) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchRole) GetStatus

func (h *ElasticsearchRole) GetStatus() any

GetStatus permit to get the current status

func (*ElasticsearchRole) ToRole

ToComponentTemplate permit to convert current spec to component template spec

type ElasticsearchRoleList

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

ElasticsearchRoleList contains a list of ElasticsearchRole

func (*ElasticsearchRoleList) DeepCopy

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

func (*ElasticsearchRoleList) DeepCopyInto

func (in *ElasticsearchRoleList) DeepCopyInto(out *ElasticsearchRoleList)

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

func (*ElasticsearchRoleList) DeepCopyObject

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

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

type ElasticsearchRoleSpec

type ElasticsearchRoleSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Cluster is a list of cluster privileges
	// +optional
	Cluster []string `json:"cluster,omitempty"`

	// Indices is the list of indices permissions
	// +optional
	Indices []ElasticsearchRoleSpecIndicesPermissions `json:"indices,omitempty"`

	// Applications is the list of application privilege
	// +optional
	Applications []ElasticsearchRoleSpecApplicationPrivileges `json:"applications,omitempty"`

	// RunAs is the list of users that the owners of this role can impersonate
	// +optional
	RunAs []string `json:"run_as,omitempty"`

	// Global  defining global privileges
	// JSON string
	// +optional
	Global string `json:"global,omitempty"`

	// Metadata is optional meta-data
	// JSON string
	// +optional
	Metadata string `json:"metadata,omitempty"`

	// JSON string
	// +optional
	TransientMetadata string `json:"transient_metadata,omitempty"`
}

ElasticsearchRoleSpec defines the desired state of ElasticsearchRole +k8s:openapi-gen=true

func (*ElasticsearchRoleSpec) DeepCopy

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

func (*ElasticsearchRoleSpec) DeepCopyInto

func (in *ElasticsearchRoleSpec) DeepCopyInto(out *ElasticsearchRoleSpec)

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

type ElasticsearchRoleSpecApplicationPrivileges

type ElasticsearchRoleSpecApplicationPrivileges struct {
	Application string `json:"application"`

	// +optional
	Privileges []string `json:"privileges,omitempty"`

	// +optional
	Resources []string `json:"resources,omitempty"`
}

ElasticsearchRoleSpecApplicationPrivileges is the application privileges object

func (*ElasticsearchRoleSpecApplicationPrivileges) DeepCopy

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

func (*ElasticsearchRoleSpecApplicationPrivileges) DeepCopyInto

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

type ElasticsearchRoleSpecIndicesPermissions

type ElasticsearchRoleSpecIndicesPermissions struct {
	Names      []string `json:"names"`
	Privileges []string `json:"privileges"`

	// JSON string
	// +optional
	FieldSecurity string `json:"field_security,omitempty"`

	// +optional
	Query string `json:"query,omitempty"`
}

ElasticsearchRoleSpecIndicesPermissions is the indices permission object

func (*ElasticsearchRoleSpecIndicesPermissions) DeepCopy

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

func (*ElasticsearchRoleSpecIndicesPermissions) DeepCopyInto

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

type ElasticsearchRoleStatus

type ElasticsearchRoleStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchRoleStatus defines the observed state of ElasticsearchRole

func (*ElasticsearchRoleStatus) DeepCopy

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

func (*ElasticsearchRoleStatus) DeepCopyInto

func (in *ElasticsearchRoleStatus) DeepCopyInto(out *ElasticsearchRoleStatus)

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

type ElasticsearchSLM

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

	Spec   ElasticsearchSLMSpec   `json:"spec,omitempty"`
	Status ElasticsearchSLMStatus `json:"status,omitempty"`
}

ElasticsearchSLM is the Schema for the elasticsearchslms API

func (*ElasticsearchSLM) DeepCopy

func (in *ElasticsearchSLM) DeepCopy() *ElasticsearchSLM

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

func (*ElasticsearchSLM) DeepCopyInto

func (in *ElasticsearchSLM) DeepCopyInto(out *ElasticsearchSLM)

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

func (*ElasticsearchSLM) DeepCopyObject

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

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

func (*ElasticsearchSLM) GetObjectMeta

func (h *ElasticsearchSLM) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchSLM) GetStatus

func (h *ElasticsearchSLM) GetStatus() any

GetStatus permit to get the current status

func (*ElasticsearchSLM) ToPolicy

type ElasticsearchSLMConfig

type ElasticsearchSLMConfig struct {

	// +optional
	ExpendWildcards string `json:"expand_wildcards,omitempty"`

	// +optional
	IgnoreUnavailable bool `json:"ignore_unavailable,omitempty"`

	// +optional
	IncludeGlobalState bool `json:"include_global_state,omitempty"`

	// +optional
	Indices []string `json:"indices,omitempty"`

	// +optional
	FeatureStates []string `json:"feature_states,omitempty"`

	// +optional
	Metadata map[string]string `json:"metadata,omitempty"`

	// +optional
	Partial bool `json:"partial,omitempty"`
}

ElasticsearchSLMConfig is the config sub section

func (*ElasticsearchSLMConfig) DeepCopy

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

func (*ElasticsearchSLMConfig) DeepCopyInto

func (in *ElasticsearchSLMConfig) DeepCopyInto(out *ElasticsearchSLMConfig)

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

type ElasticsearchSLMList

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

ElasticsearchSLMList contains a list of ElasticsearchSLM

func (*ElasticsearchSLMList) DeepCopy

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

func (*ElasticsearchSLMList) DeepCopyInto

func (in *ElasticsearchSLMList) DeepCopyInto(out *ElasticsearchSLMList)

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

func (*ElasticsearchSLMList) DeepCopyObject

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

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

type ElasticsearchSLMRetention

type ElasticsearchSLMRetention struct {

	// +optional
	ExpireAfter string `json:"expire_after,omitempty"`

	// +optional
	MaxCount int64 `json:"max_count,omitempty"`

	// +optional
	MinCount int64 `json:"min_count,omitempty"`
}

ElasticsearchSLMRetention is the retention sub section

func (*ElasticsearchSLMRetention) DeepCopy

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

func (*ElasticsearchSLMRetention) DeepCopyInto

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

type ElasticsearchSLMSpec

type ElasticsearchSLMSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Schedule is schedule policy
	Schedule string `json:"schedule"`

	// Name is the template name to generte final name
	Name string `json:"name"`

	// Repository is the target repository to store backup
	Repository string `json:"repository"`

	// Config is the config backup
	Config ElasticsearchSLMConfig `json:"config"`

	//Retention is the retention policy
	// +optional
	Retention *ElasticsearchSLMRetention `json:"retention,omitempty"`
}

ElasticsearchSLMSpec defines the desired state of ElasticsearchSLM +k8s:openapi-gen=true

func (*ElasticsearchSLMSpec) DeepCopy

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

func (*ElasticsearchSLMSpec) DeepCopyInto

func (in *ElasticsearchSLMSpec) DeepCopyInto(out *ElasticsearchSLMSpec)

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

type ElasticsearchSLMStatus

type ElasticsearchSLMStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchSLMStatus defines the observed state of ElasticsearchSLM

func (*ElasticsearchSLMStatus) DeepCopy

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

func (*ElasticsearchSLMStatus) DeepCopyInto

func (in *ElasticsearchSLMStatus) DeepCopyInto(out *ElasticsearchSLMStatus)

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

type ElasticsearchSnapshotRepository

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

	Spec   ElasticsearchSnapshotRepositorySpec   `json:"spec,omitempty"`
	Status ElasticsearchSnapshotRepositoryStatus `json:"status,omitempty"`
}

ElasticsearchSnapshotRepository is the Schema for the elasticsearchsnapshotrepositories API

func (*ElasticsearchSnapshotRepository) DeepCopy

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

func (*ElasticsearchSnapshotRepository) DeepCopyInto

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

func (*ElasticsearchSnapshotRepository) DeepCopyObject

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

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

func (*ElasticsearchSnapshotRepository) GetObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchSnapshotRepository) GetStatus

func (h *ElasticsearchSnapshotRepository) GetStatus() any

GetStatus permit to get the current status

type ElasticsearchSnapshotRepositoryList

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

ElasticsearchSnapshotRepositoryList contains a list of ElasticsearchSnapshotRepository

func (*ElasticsearchSnapshotRepositoryList) DeepCopy

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

func (*ElasticsearchSnapshotRepositoryList) DeepCopyInto

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

func (*ElasticsearchSnapshotRepositoryList) DeepCopyObject

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

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

type ElasticsearchSnapshotRepositorySpec

type ElasticsearchSnapshotRepositorySpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Type the Snapshot repository type
	Type string `json:"type"`

	// The config of snapshot repository
	// +optional
	Settings string `json:"settings,omitempty"`
}

ElasticsearchSnapshotRepositorySpec defines the desired state of ElasticsearchSnapshotRepository +k8s:openapi-gen=true

func (*ElasticsearchSnapshotRepositorySpec) DeepCopy

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

func (*ElasticsearchSnapshotRepositorySpec) DeepCopyInto

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

type ElasticsearchSnapshotRepositoryStatus

type ElasticsearchSnapshotRepositoryStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchSnapshotRepositoryStatus defines the observed state of ElasticsearchSnapshotRepository

func (*ElasticsearchSnapshotRepositoryStatus) DeepCopy

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

func (*ElasticsearchSnapshotRepositoryStatus) DeepCopyInto

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

type ElasticsearchWatcher

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

	Spec   ElasticsearchWatcherSpec   `json:"spec,omitempty"`
	Status ElasticsearchWatcherStatus `json:"status,omitempty"`
}

ElasticsearchWatcher is the Schema for the elasticsearchwatchers API

func (*ElasticsearchWatcher) DeepCopy

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

func (*ElasticsearchWatcher) DeepCopyInto

func (in *ElasticsearchWatcher) DeepCopyInto(out *ElasticsearchWatcher)

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

func (*ElasticsearchWatcher) DeepCopyObject

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

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

func (*ElasticsearchWatcher) GetObjectMeta

func (h *ElasticsearchWatcher) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*ElasticsearchWatcher) GetStatus

func (h *ElasticsearchWatcher) GetStatus() any

GetStatus permit to get the current status

func (*ElasticsearchWatcher) ToWatch

func (h *ElasticsearchWatcher) ToWatch() (*olivere.XPackWatch, error)

type ElasticsearchWatcherList

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

ElasticsearchWatcherList contains a list of ElasticsearchWatcher

func (*ElasticsearchWatcherList) DeepCopy

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

func (*ElasticsearchWatcherList) DeepCopyInto

func (in *ElasticsearchWatcherList) DeepCopyInto(out *ElasticsearchWatcherList)

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

func (*ElasticsearchWatcherList) DeepCopyObject

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

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

type ElasticsearchWatcherSpec

type ElasticsearchWatcherSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// JSON string
	Trigger string `json:"trigger"`

	// JSON string
	Input string `json:"input"`

	// JSON string
	Condition string `json:"condition"`

	// JSON string
	// +optional
	Transform string `json:"transform,omitempty"`

	// +optional
	ThrottlePeriod string `json:"throttle_period,omitempty"`

	// +optional
	ThrottlePeriodInMillis int64 `json:"throttle_period_in_millis,omitempty"`

	// JSON string
	Actions string `json:"actions"`

	// JSON string
	// +optional
	Metadata string `json:"metadata,omitempty"`
}

ElasticsearchWatcherSpec defines the desired state of ElasticsearchWatcher +k8s:openapi-gen=true

func (*ElasticsearchWatcherSpec) DeepCopy

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

func (*ElasticsearchWatcherSpec) DeepCopyInto

func (in *ElasticsearchWatcherSpec) DeepCopyInto(out *ElasticsearchWatcherSpec)

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

type ElasticsearchWatcherStatus

type ElasticsearchWatcherStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

ElasticsearchWatcherStatus defines the observed state of ElasticsearchWatcher

func (*ElasticsearchWatcherStatus) DeepCopy

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

func (*ElasticsearchWatcherStatus) DeepCopyInto

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

type License

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

	Spec   LicenseSpec   `json:"spec,omitempty"`
	Status LicenseStatus `json:"status,omitempty"`
}

License is the Schema for the licenses API

func (*License) DeepCopy

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto

func (in *License) DeepCopyInto(out *License)

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

func (*License) DeepCopyObject

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

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

func (*License) GetObjectMeta

func (h *License) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*License) GetStatus

func (h *License) GetStatus() any

GetStatus permit to get the current status

type LicenseList

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

LicenseList contains a list of License

func (*LicenseList) DeepCopy

func (in *LicenseList) DeepCopy() *LicenseList

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

func (*LicenseList) DeepCopyInto

func (in *LicenseList) DeepCopyInto(out *LicenseList)

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

func (*LicenseList) DeepCopyObject

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

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

type LicenseSpec

type LicenseSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// SecretName is the secret that contain the license
	SecretName string `json:"secretName,omitempty"`

	// Basic permit to enable basic license
	// +optional
	Basic bool `json:"basic,omitempty"`
}

LicenseSpec defines the desired state of License +k8s:openapi-gen=true

func (*LicenseSpec) DeepCopy

func (in *LicenseSpec) DeepCopy() *LicenseSpec

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

func (*LicenseSpec) DeepCopyInto

func (in *LicenseSpec) DeepCopyInto(out *LicenseSpec)

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

type LicenseStatus

type LicenseStatus struct {
	LicenseType string             `json:"licenseType"`
	ExpireAt    string             `json:"expireAt"`
	LicenseHash string             `json:"licenseHash"`
	Conditions  []metav1.Condition `json:"conditions"`
}

LicenseStatus defines the observed state of License

func (*LicenseStatus) DeepCopy

func (in *LicenseStatus) DeepCopy() *LicenseStatus

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

func (*LicenseStatus) DeepCopyInto

func (in *LicenseStatus) DeepCopyInto(out *LicenseStatus)

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

type RoleMapping

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

	Spec   RoleMappingSpec   `json:"spec,omitempty"`
	Status RoleMappingStatus `json:"status,omitempty"`
}

RoleMapping is the Schema for the rolemappings API

func (*RoleMapping) DeepCopy

func (in *RoleMapping) DeepCopy() *RoleMapping

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

func (*RoleMapping) DeepCopyInto

func (in *RoleMapping) DeepCopyInto(out *RoleMapping)

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

func (*RoleMapping) DeepCopyObject

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

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

func (*RoleMapping) GetObjectMeta

func (h *RoleMapping) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*RoleMapping) GetStatus

func (h *RoleMapping) GetStatus() any

GetStatus permit to get the current status

func (*RoleMapping) ToRoleMapping

func (h *RoleMapping) ToRoleMapping() (*olivere.XPackSecurityRoleMapping, error)

type RoleMappingList

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

RoleMappingList contains a list of RoleMapping

func (*RoleMappingList) DeepCopy

func (in *RoleMappingList) DeepCopy() *RoleMappingList

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

func (*RoleMappingList) DeepCopyInto

func (in *RoleMappingList) DeepCopyInto(out *RoleMappingList)

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

func (*RoleMappingList) DeepCopyObject

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

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

type RoleMappingSpec

type RoleMappingSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Enabled permit to enable or disable the role mapping
	Enabled bool `json:"enabled"`

	// Roles is the list of role to map
	Roles []string `json:"roles"`

	// Rules is the mapping rules
	// JSON string
	Rules string `json:"rules"`

	// Metadata is the meta data
	// JSON string
	// +optional
	Metadata string `json:"metadata"`
}

RoleMappingSpec defines the desired state of RoleMapping +k8s:openapi-gen=true

func (*RoleMappingSpec) DeepCopy

func (in *RoleMappingSpec) DeepCopy() *RoleMappingSpec

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

func (*RoleMappingSpec) DeepCopyInto

func (in *RoleMappingSpec) DeepCopyInto(out *RoleMappingSpec)

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

type RoleMappingStatus

type RoleMappingStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

RoleMappingStatus defines the observed state of RoleMapping

func (*RoleMappingStatus) DeepCopy

func (in *RoleMappingStatus) DeepCopy() *RoleMappingStatus

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

func (*RoleMappingStatus) DeepCopyInto

func (in *RoleMappingStatus) DeepCopyInto(out *RoleMappingStatus)

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

type User

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

	Spec   UserSpec   `json:"spec,omitempty"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the users API

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetObjectMeta

func (h *User) GetObjectMeta() metav1.ObjectMeta

GetObjectMeta permit to get the current ObjectMeta

func (*User) GetStatus

func (h *User) GetStatus() any

GetStatus permit to get the current status

func (*User) ToUser

ToUser permit to convert to User object

type UserList

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

UserList contains a list of User

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

type UserSecret

type UserSecret struct {

	// Name is the secret name
	Name string `json:"name"`

	// key is the key name on secret to read the effective password
	Key string `json:"key"`
}

func (*UserSecret) DeepCopy

func (in *UserSecret) DeepCopy() *UserSecret

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

func (*UserSecret) DeepCopyInto

func (in *UserSecret) DeepCopyInto(out *UserSecret)

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

type UserSpec

type UserSpec struct {
	ElasticsearchRefSpec `json:"elasticsearchRef"`

	// Enabled permit to enable user
	Enabled bool `json:"enabled"`

	// Email is the email user
	// +optional
	Email string `json:"email,omitempty"`

	// FullName is the full name
	// +optional
	FullName string `json:"full_name,omitempty"`

	// Metadata is the meta data
	// Is JSON string
	// +optional
	Metadata string `json:"metadata,omitempty"`

	// Secret permit to set password. Or you can use password hash
	// +optional
	Secret *UserSecret `json:"secret,omitempty"`

	// PasswordHash is the password as hash
	// +optional
	PasswordHash string `json:"password_hash,omitempty"`

	// Roles is the list of roles
	Roles []string `json:"roles"`
}

UserSpec defines the desired state of User +k8s:openapi-gen=true

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

type UserStatus struct {
	Conditions []metav1.Condition `json:"conditions"`

	PasswordHash string `json:"passwordHash"`
}

UserStatus defines the observed state of User

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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