Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the elasticsearchapi v1 API group +kubebuilder:object:generate=true +groupName=elasticsearchapi.k8s.webcenter.fr
Index ¶
- Variables
- func SetupLicenceIndexer(k8sManager manager.Manager) (err error)
- func SetupUserIndexexer(k8sManager manager.Manager) (err error)
- type ComponentTemplate
- func (in *ComponentTemplate) DeepCopy() *ComponentTemplate
- func (in *ComponentTemplate) DeepCopyInto(out *ComponentTemplate)
- func (in *ComponentTemplate) DeepCopyObject() runtime.Object
- func (o *ComponentTemplate) GetExternalName() string
- func (o *ComponentTemplate) GetStatus() object.RemoteObjectStatus
- func (o *ComponentTemplate) IsRawTemplate() bool
- type ComponentTemplateList
- type ComponentTemplateSpec
- type ComponentTemplateStatus
- type IndexLifecyclePolicy
- func (in *IndexLifecyclePolicy) DeepCopy() *IndexLifecyclePolicy
- func (in *IndexLifecyclePolicy) DeepCopyInto(out *IndexLifecyclePolicy)
- func (in *IndexLifecyclePolicy) DeepCopyObject() runtime.Object
- func (o *IndexLifecyclePolicy) GetExternalName() string
- func (o *IndexLifecyclePolicy) GetStatus() object.RemoteObjectStatus
- type IndexLifecyclePolicyList
- type IndexLifecyclePolicySpec
- type IndexLifecyclePolicyStatus
- type IndexTemplate
- func (in *IndexTemplate) DeepCopy() *IndexTemplate
- func (in *IndexTemplate) DeepCopyInto(out *IndexTemplate)
- func (in *IndexTemplate) DeepCopyObject() runtime.Object
- func (o *IndexTemplate) GetExternalName() string
- func (o *IndexTemplate) GetStatus() object.RemoteObjectStatus
- func (o *IndexTemplate) IsRawTemplate() bool
- type IndexTemplateData
- type IndexTemplateList
- type IndexTemplateSpec
- type IndexTemplateStatus
- type License
- type LicenseList
- type LicenseSpec
- type LicenseStatus
- type Role
- type RoleList
- type RoleMapping
- type RoleMappingList
- type RoleMappingSpec
- type RoleMappingStatus
- type RoleSpec
- type RoleSpecApplicationPrivileges
- type RoleSpecIndicesPermissions
- type RoleStatus
- type SLMConfig
- type SLMRetention
- type SnapshotLifecyclePolicy
- func (in *SnapshotLifecyclePolicy) DeepCopy() *SnapshotLifecyclePolicy
- func (in *SnapshotLifecyclePolicy) DeepCopyInto(out *SnapshotLifecyclePolicy)
- func (in *SnapshotLifecyclePolicy) DeepCopyObject() runtime.Object
- func (o *SnapshotLifecyclePolicy) GetExternalName() string
- func (o *SnapshotLifecyclePolicy) GetStatus() object.RemoteObjectStatus
- type SnapshotLifecyclePolicyList
- type SnapshotLifecyclePolicySpec
- type SnapshotLifecyclePolicyStatus
- type SnapshotRepository
- func (in *SnapshotRepository) DeepCopy() *SnapshotRepository
- func (in *SnapshotRepository) DeepCopyInto(out *SnapshotRepository)
- func (in *SnapshotRepository) DeepCopyObject() runtime.Object
- func (o *SnapshotRepository) GetExternalName() string
- func (o *SnapshotRepository) GetStatus() object.RemoteObjectStatus
- type SnapshotRepositoryList
- type SnapshotRepositorySpec
- type SnapshotRepositoryStatus
- type User
- type UserList
- type UserSpec
- type UserStatus
- type Watch
- type WatchList
- type WatchSpec
- type WatchStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "elasticsearchapi.k8s.webcenter.fr", 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 ¶
func SetupLicenceIndexer ¶
SetupLicenceIndexer setuyp the indexer for licence
func SetupUserIndexexer ¶
SetupUserIndexexer setup indexer for User
Types ¶
type ComponentTemplate ¶
type ComponentTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ComponentTemplateSpec `json:"spec,omitempty"` Status ComponentTemplateStatus `json:"status,omitempty"` }
ComponentTemplate is the Schema for the componenttemplates API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ComponentTemplate) DeepCopy ¶
func (in *ComponentTemplate) DeepCopy() *ComponentTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTemplate.
func (*ComponentTemplate) DeepCopyInto ¶
func (in *ComponentTemplate) DeepCopyInto(out *ComponentTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentTemplate) DeepCopyObject ¶
func (in *ComponentTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ComponentTemplate) GetExternalName ¶
func (o *ComponentTemplate) GetExternalName() string
GetExternalName return the component template name If name is empty, it use the ressource name
func (*ComponentTemplate) GetStatus ¶
func (o *ComponentTemplate) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
func (*ComponentTemplate) IsRawTemplate ¶
func (o *ComponentTemplate) IsRawTemplate() bool
IsRawTemplate return true if raw template is set
type ComponentTemplateList ¶
type ComponentTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ComponentTemplate `json:"items"` }
ComponentTemplateList contains a list of ComponentTemplate
func (*ComponentTemplateList) DeepCopy ¶
func (in *ComponentTemplateList) DeepCopy() *ComponentTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTemplateList.
func (*ComponentTemplateList) DeepCopyInto ¶
func (in *ComponentTemplateList) DeepCopyInto(out *ComponentTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentTemplateList) DeepCopyObject ¶
func (in *ComponentTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentTemplateSpec ¶
type ComponentTemplateSpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom component template name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Settings is the component setting // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Settings string `json:"settings,omitempty"` // Mappings is the component mapping // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Mappings string `json:"mappings,omitempty"` // Aliases is the component aliases // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Aliases string `json:"aliases,omitempty"` // Template is the raw template // You can use it instead to set settings, mappings or aliases // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Template string `json:"rawTemplate,omitempty"` }
ComponentTemplateSpec defines the desired state of ComponentTemplate +k8s:openapi-gen=true
func (*ComponentTemplateSpec) DeepCopy ¶
func (in *ComponentTemplateSpec) DeepCopy() *ComponentTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTemplateSpec.
func (*ComponentTemplateSpec) DeepCopyInto ¶
func (in *ComponentTemplateSpec) DeepCopyInto(out *ComponentTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentTemplateStatus ¶
type ComponentTemplateStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
ComponentTemplateStatus defines the observed state of ComponentTemplate
func (*ComponentTemplateStatus) DeepCopy ¶
func (in *ComponentTemplateStatus) DeepCopy() *ComponentTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTemplateStatus.
func (*ComponentTemplateStatus) DeepCopyInto ¶
func (in *ComponentTemplateStatus) DeepCopyInto(out *ComponentTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexLifecyclePolicy ¶
type IndexLifecyclePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IndexLifecyclePolicySpec `json:"spec,omitempty"` Status IndexLifecyclePolicyStatus `json:"status,omitempty"` }
IndexLifecyclePolicy is the Schema for the indexlifecyclepolicies API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*IndexLifecyclePolicy) DeepCopy ¶
func (in *IndexLifecyclePolicy) DeepCopy() *IndexLifecyclePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexLifecyclePolicy.
func (*IndexLifecyclePolicy) DeepCopyInto ¶
func (in *IndexLifecyclePolicy) DeepCopyInto(out *IndexLifecyclePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexLifecyclePolicy) DeepCopyObject ¶
func (in *IndexLifecyclePolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IndexLifecyclePolicy) GetExternalName ¶
func (o *IndexLifecyclePolicy) GetExternalName() string
GetExternalName return the index lifecycle policy name If name is empty, it use the ressource name
func (*IndexLifecyclePolicy) GetStatus ¶
func (o *IndexLifecyclePolicy) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
type IndexLifecyclePolicyList ¶
type IndexLifecyclePolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IndexLifecyclePolicy `json:"items"` }
IndexLifecyclePolicyList contains a list of IndexLifecyclePolicy
func (*IndexLifecyclePolicyList) DeepCopy ¶
func (in *IndexLifecyclePolicyList) DeepCopy() *IndexLifecyclePolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexLifecyclePolicyList.
func (*IndexLifecyclePolicyList) DeepCopyInto ¶
func (in *IndexLifecyclePolicyList) DeepCopyInto(out *IndexLifecyclePolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexLifecyclePolicyList) DeepCopyObject ¶
func (in *IndexLifecyclePolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IndexLifecyclePolicySpec ¶
type IndexLifecyclePolicySpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom index lifecycle policy name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Policy is the raw policy on JSON // +operator-sdk:csv:customresourcedefinitions:type=spec Policy string `json:"policy"` }
IndexLifecyclePolicySpec defines the desired state of IndexLifecyclePolicy +k8s:openapi-gen=true
func (*IndexLifecyclePolicySpec) DeepCopy ¶
func (in *IndexLifecyclePolicySpec) DeepCopy() *IndexLifecyclePolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexLifecyclePolicySpec.
func (*IndexLifecyclePolicySpec) DeepCopyInto ¶
func (in *IndexLifecyclePolicySpec) DeepCopyInto(out *IndexLifecyclePolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexLifecyclePolicyStatus ¶
type IndexLifecyclePolicyStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
IndexLifecyclePolicyStatus defines the observed state of IndexLifecyclePolicy
func (*IndexLifecyclePolicyStatus) DeepCopy ¶
func (in *IndexLifecyclePolicyStatus) DeepCopy() *IndexLifecyclePolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexLifecyclePolicyStatus.
func (*IndexLifecyclePolicyStatus) DeepCopyInto ¶
func (in *IndexLifecyclePolicyStatus) DeepCopyInto(out *IndexLifecyclePolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplate ¶
type IndexTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IndexTemplateSpec `json:"spec,omitempty"` Status IndexTemplateStatus `json:"status,omitempty"` }
IndexTemplate is the Schema for the indextemplates API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*IndexTemplate) DeepCopy ¶
func (in *IndexTemplate) DeepCopy() *IndexTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplate.
func (*IndexTemplate) DeepCopyInto ¶
func (in *IndexTemplate) DeepCopyInto(out *IndexTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexTemplate) DeepCopyObject ¶
func (in *IndexTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IndexTemplate) GetExternalName ¶
func (o *IndexTemplate) GetExternalName() string
GetExternalName return the index template name If name is empty, it use the ressource name
func (*IndexTemplate) GetStatus ¶
func (o *IndexTemplate) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
func (*IndexTemplate) IsRawTemplate ¶
func (o *IndexTemplate) IsRawTemplate() bool
IsRawTemplate return true if raw template is set
type IndexTemplateData ¶
type IndexTemplateData struct { // Settings is the template setting as JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Settings string `json:"settings,omitempty"` // Mappings is the template mapping as JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Mappings string `json:"mappings,omitempty"` // Aliases is the template alias as JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Aliases string `json:"aliases,omitempty"` }
IndexTemplateData is the template specification
func (*IndexTemplateData) DeepCopy ¶
func (in *IndexTemplateData) DeepCopy() *IndexTemplateData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateData.
func (*IndexTemplateData) DeepCopyInto ¶
func (in *IndexTemplateData) DeepCopyInto(out *IndexTemplateData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplateList ¶
type IndexTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IndexTemplate `json:"items"` }
IndexTemplateList contains a list of IndexTemplate
func (*IndexTemplateList) DeepCopy ¶
func (in *IndexTemplateList) DeepCopy() *IndexTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateList.
func (*IndexTemplateList) DeepCopyInto ¶
func (in *IndexTemplateList) DeepCopyInto(out *IndexTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IndexTemplateList) DeepCopyObject ¶
func (in *IndexTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IndexTemplateSpec ¶
type IndexTemplateSpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom index template name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // IndexPatterns is the list of index to apply this template // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional IndexPatterns []string `json:"indexPatterns,omitempty"` //ComposedOf is the list of component templates // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ComposedOf []string `json:"composedOf,omitempty"` //Priority is the priority to apply this template // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Priority int `json:"priority,omitempty"` // The version // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Version int `json:"version,omitempty"` // Template is the template specification // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Template *IndexTemplateData `json:"template,omitempty"` // Meta is extended info as JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Meta string `json:"meta,omitempty"` // AllowAutoCreate permit to allow auto create index // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional AllowAutoCreate bool `json:"allowAutoCreate,omitempty"` // RawTemplate is the raw template // You can use it instead to set indexPatterns, composedOf, priority, template etc. // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional RawTemplate string `json:"rawTemplate,omitempty"` }
IndexTemplateSpec defines the desired state of IndexTemplate +k8s:openapi-gen=true
func (*IndexTemplateSpec) DeepCopy ¶
func (in *IndexTemplateSpec) DeepCopy() *IndexTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateSpec.
func (*IndexTemplateSpec) DeepCopyInto ¶
func (in *IndexTemplateSpec) DeepCopyInto(out *IndexTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IndexTemplateStatus ¶
type IndexTemplateStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
IndexTemplateStatus defines the observed state of IndexTemplate
func (*IndexTemplateStatus) DeepCopy ¶
func (in *IndexTemplateStatus) DeepCopy() *IndexTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexTemplateStatus.
func (*IndexTemplateStatus) DeepCopyInto ¶
func (in *IndexTemplateStatus) DeepCopyInto(out *IndexTemplateStatus)
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 +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".status.licenseType" +kubebuilder:printcolumn:name="expireAt",type="string",JSONPath=".status.expireAt" +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*License) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new License.
func (*License) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*License) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*License) GetExternalName ¶
GetExternalName permit to get the license name
func (*License) GetStatus ¶
func (o *License) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
func (*License) IsBasicLicense ¶
IsBasicLicense return true if is basic license
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 { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // SecretName is the secret that contain the license // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` // Basic permit to enable basic license // Default to true if secretRef not set // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Basic *bool `json:"isBasic,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 is the license type // +operator-sdk:csv:customresourcedefinitions:type=status LicenseType string `json:"licenseType,omitempty"` // ExpireAt is the expiration date // +operator-sdk:csv:customresourcedefinitions:type=status ExpireAt string `json:"expireAt,omitempty"` apis.BasicRemoteObjectStatus `json:",inline"` }
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 Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleSpec `json:"spec,omitempty"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the roles API +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Role) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Role) GetExternalName ¶
GetExternalName return the role name If name is empty, it use the ressource name
func (*Role) GetStatus ¶
func (o *Role) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of Role
func (*RoleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
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) GetExternalName ¶
func (o *RoleMapping) GetExternalName() string
GetExternalName return the role mapping name If name is empty, it use the ressource name
func (*RoleMapping) GetStatus ¶
func (o *RoleMapping) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
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 { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom role mapping name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Enabled permit to enable or disable the role mapping // Default to true // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Enabled bool `json:"enabled,omitempty"` // Roles is the list of role to map // +operator-sdk:csv:customresourcedefinitions:type=spec Roles []string `json:"roles"` // Rules is the mapping rules // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec Rules string `json:"rules"` // Metadata is the meta data // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Metadata string `json:"metadata,omitempty"` }
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 {
apis.BasicRemoteObjectStatus `json:",inline"`
}
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 RoleSpec ¶
type RoleSpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom role name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Cluster is a list of cluster privileges // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Cluster []string `json:"cluster,omitempty"` // Indices is the list of indices permissions // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Indices []RoleSpecIndicesPermissions `json:"indices,omitempty"` // Applications is the list of application privilege // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Applications []RoleSpecApplicationPrivileges `json:"applications,omitempty"` // RunAs is the list of users that the owners of this role can impersonate // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional RunAs []string `json:"runAs,omitempty"` // Global defining global privileges // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Global string `json:"global,omitempty"` // Metadata is optional meta-data // +operator-sdk:csv:customresourcedefinitions:type=spec // JSON string // +optional Metadata string `json:"metadata,omitempty"` // TransientMetadata // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional TransientMetadata string `json:"transientMetadata,omitempty"` }
RoleSpec defines the desired state of Role +k8s:openapi-gen=true
func (*RoleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpec.
func (*RoleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpecApplicationPrivileges ¶
type RoleSpecApplicationPrivileges struct { // Application // +operator-sdk:csv:customresourcedefinitions:type=spec Application string `json:"application"` // Privileges // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Privileges []string `json:"privileges,omitempty"` // Resources // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Resources []string `json:"resources,omitempty"` }
ElasticsearchRoleSpecApplicationPrivileges is the application privileges object
func (*RoleSpecApplicationPrivileges) DeepCopy ¶
func (in *RoleSpecApplicationPrivileges) DeepCopy() *RoleSpecApplicationPrivileges
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpecApplicationPrivileges.
func (*RoleSpecApplicationPrivileges) DeepCopyInto ¶
func (in *RoleSpecApplicationPrivileges) DeepCopyInto(out *RoleSpecApplicationPrivileges)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpecIndicesPermissions ¶
type RoleSpecIndicesPermissions struct { // Names // +operator-sdk:csv:customresourcedefinitions:type=spec Names []string `json:"names"` // Privileges // +operator-sdk:csv:customresourcedefinitions:type=spec Privileges []string `json:"privileges"` // FieldSecurity // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional FieldSecurity string `json:"fieldSecurity,omitempty"` // Query // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Query string `json:"query,omitempty"` // Allow to manage restricted index // Default to false // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional AllowRestrictedIndices bool `json:"allowRestrictedIndices,omitempty"` }
RoleSpecIndicesPermissions is the indices permission object
func (*RoleSpecIndicesPermissions) DeepCopy ¶
func (in *RoleSpecIndicesPermissions) DeepCopy() *RoleSpecIndicesPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpecIndicesPermissions.
func (*RoleSpecIndicesPermissions) DeepCopyInto ¶
func (in *RoleSpecIndicesPermissions) DeepCopyInto(out *RoleSpecIndicesPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleStatus ¶
type RoleStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
RoleStatus defines the observed state of Role
func (*RoleStatus) DeepCopy ¶
func (in *RoleStatus) DeepCopy() *RoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleStatus.
func (*RoleStatus) DeepCopyInto ¶
func (in *RoleStatus) DeepCopyInto(out *RoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SLMConfig ¶
type SLMConfig struct { // ExpendWildcards // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ExpendWildcards string `json:"expandWildcards,omitempty"` // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional IgnoreUnavailable bool `json:"ignoreUnavailable,omitempty"` // IncludeGlobalState // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional IncludeGlobalState bool `json:"includeGlobalState,omitempty"` // Indices // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Indices []string `json:"indices,omitempty"` // FeatureStates // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional FeatureStates []string `json:"featureStates,omitempty"` // Metadata // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Metadata map[string]string `json:"metadata,omitempty"` // Partial // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Partial bool `json:"partial,omitempty"` }
SLMConfig is the config sub section
func (*SLMConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLMConfig.
func (*SLMConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SLMRetention ¶
type SLMRetention struct { // ExpireAfter // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ExpireAfter string `json:"expireAfter,omitempty"` // MaxCount // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional MaxCount int64 `json:"maxCount,omitempty"` // MinCount // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional MinCount int64 `json:"minCount,omitempty"` }
func (*SLMRetention) DeepCopy ¶
func (in *SLMRetention) DeepCopy() *SLMRetention
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLMRetention.
func (*SLMRetention) DeepCopyInto ¶
func (in *SLMRetention) DeepCopyInto(out *SLMRetention)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotLifecyclePolicy ¶
type SnapshotLifecyclePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SnapshotLifecyclePolicySpec `json:"spec,omitempty"` Status SnapshotLifecyclePolicyStatus `json:"status,omitempty"` }
SnapshotLifecyclePolicy is the Schema for the snapshotlifecyclepolicies API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*SnapshotLifecyclePolicy) DeepCopy ¶
func (in *SnapshotLifecyclePolicy) DeepCopy() *SnapshotLifecyclePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotLifecyclePolicy.
func (*SnapshotLifecyclePolicy) DeepCopyInto ¶
func (in *SnapshotLifecyclePolicy) DeepCopyInto(out *SnapshotLifecyclePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotLifecyclePolicy) DeepCopyObject ¶
func (in *SnapshotLifecyclePolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnapshotLifecyclePolicy) GetExternalName ¶
func (o *SnapshotLifecyclePolicy) GetExternalName() string
GetExternalName return the snapshot lifecycle policy name If name is empty, it use the ressource name
func (*SnapshotLifecyclePolicy) GetStatus ¶
func (o *SnapshotLifecyclePolicy) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
type SnapshotLifecyclePolicyList ¶
type SnapshotLifecyclePolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SnapshotLifecyclePolicy `json:"items"` }
SnapshotLifecyclePolicyList contains a list of SnapshotLifecyclePolicy
func (*SnapshotLifecyclePolicyList) DeepCopy ¶
func (in *SnapshotLifecyclePolicyList) DeepCopy() *SnapshotLifecyclePolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotLifecyclePolicyList.
func (*SnapshotLifecyclePolicyList) DeepCopyInto ¶
func (in *SnapshotLifecyclePolicyList) DeepCopyInto(out *SnapshotLifecyclePolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotLifecyclePolicyList) DeepCopyObject ¶
func (in *SnapshotLifecyclePolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SnapshotLifecyclePolicySpec ¶
type SnapshotLifecyclePolicySpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // SnapshotLifecyclePolicyName is the custom snapshot lifecycle policy name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional SnapshotLifecyclePolicyName string `json:"snapshotLifecyclePolicyName,omitempty"` // Schedule is schedule policy // +operator-sdk:csv:customresourcedefinitions:type=spec Schedule string `json:"schedule"` // Name is the template name to generte final name // +operator-sdk:csv:customresourcedefinitions:type=spec Name string `json:"name"` // Repository is the target repository to store backup // +operator-sdk:csv:customresourcedefinitions:type=spec Repository string `json:"repository"` // Config is the config backup // +operator-sdk:csv:customresourcedefinitions:type=spec Config SLMConfig `json:"config"` //Retention is the retention policy // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Retention *SLMRetention `json:"retention,omitempty"` }
SnapshotLifecyclePolicySpec defines the desired state of SnapshotLifecyclePolicy +k8s:openapi-gen=true
func (*SnapshotLifecyclePolicySpec) DeepCopy ¶
func (in *SnapshotLifecyclePolicySpec) DeepCopy() *SnapshotLifecyclePolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotLifecyclePolicySpec.
func (*SnapshotLifecyclePolicySpec) DeepCopyInto ¶
func (in *SnapshotLifecyclePolicySpec) DeepCopyInto(out *SnapshotLifecyclePolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotLifecyclePolicyStatus ¶
type SnapshotLifecyclePolicyStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
SnapshotLifecyclePolicyStatus defines the observed state of SnapshotLifecyclePolicy
func (*SnapshotLifecyclePolicyStatus) DeepCopy ¶
func (in *SnapshotLifecyclePolicyStatus) DeepCopy() *SnapshotLifecyclePolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotLifecyclePolicyStatus.
func (*SnapshotLifecyclePolicyStatus) DeepCopyInto ¶
func (in *SnapshotLifecyclePolicyStatus) DeepCopyInto(out *SnapshotLifecyclePolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotRepository ¶
type SnapshotRepository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SnapshotRepositorySpec `json:"spec,omitempty"` Status SnapshotRepositoryStatus `json:"status,omitempty"` }
SnapshotRepository is the Schema for the snapshotrepositories API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*SnapshotRepository) DeepCopy ¶
func (in *SnapshotRepository) DeepCopy() *SnapshotRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotRepository.
func (*SnapshotRepository) DeepCopyInto ¶
func (in *SnapshotRepository) DeepCopyInto(out *SnapshotRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotRepository) DeepCopyObject ¶
func (in *SnapshotRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnapshotRepository) GetExternalName ¶
func (o *SnapshotRepository) GetExternalName() string
GetExternalName get the snapshot repository name If name is empty, it use the ressource name
func (*SnapshotRepository) GetStatus ¶
func (o *SnapshotRepository) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
type SnapshotRepositoryList ¶
type SnapshotRepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SnapshotRepository `json:"items"` }
SnapshotRepositoryList contains a list of SnapshotRepository
func (*SnapshotRepositoryList) DeepCopy ¶
func (in *SnapshotRepositoryList) DeepCopy() *SnapshotRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotRepositoryList.
func (*SnapshotRepositoryList) DeepCopyInto ¶
func (in *SnapshotRepositoryList) DeepCopyInto(out *SnapshotRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotRepositoryList) DeepCopyObject ¶
func (in *SnapshotRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SnapshotRepositorySpec ¶
type SnapshotRepositorySpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom snapshot repository name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Type the Snapshot repository type // +operator-sdk:csv:customresourcedefinitions:type=spec Type string `json:"type,omitempty"` // The config of snapshot repository // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Settings string `json:"settings,omitempty"` }
SnapshotRepositorySpec defines the desired state of SnapshotRepository +k8s:openapi-gen=true
func (*SnapshotRepositorySpec) DeepCopy ¶
func (in *SnapshotRepositorySpec) DeepCopy() *SnapshotRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotRepositorySpec.
func (*SnapshotRepositorySpec) DeepCopyInto ¶
func (in *SnapshotRepositorySpec) DeepCopyInto(out *SnapshotRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotRepositoryStatus ¶
type SnapshotRepositoryStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
SnapshotRepositoryStatus defines the observed state of SnapshotRepository
func (*SnapshotRepositoryStatus) DeepCopy ¶
func (in *SnapshotRepositoryStatus) DeepCopy() *SnapshotRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotRepositoryStatus.
func (*SnapshotRepositoryStatus) DeepCopyInto ¶
func (in *SnapshotRepositoryStatus) DeepCopyInto(out *SnapshotRepositoryStatus)
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 +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetExternalName ¶
GetExternalName return the expected user name It take ressource name if username is empty
func (*User) GetStatus ¶
func (o *User) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
func (*User) IsAutoGeneratePassword ¶
IsAutoGeneratePassword return true if it auto generate password
func (*User) IsProtected ¶
IsProtected return true if user is protected
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶
type UserSpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Enabled permit to enable user // Default to true // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Enabled bool `json:"enabled,omitempty"` // Username is the user name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Username string `json:"username,omitempty"` // Email is the email user // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Email string `json:"email,omitempty"` // FullName is the full name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional FullName string `json:"fullName,omitempty"` // Metadata is the meta data // Is JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Metadata string `json:"metadata,omitempty"` // CredentialSecretRef permit to set password. Or you can use password hash // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional SecretRef *corev1.SecretKeySelector `json:"secretRef,omitempty"` // PasswordHash is the password as hash // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional PasswordHash string `json:"passwordHash,omitempty"` // Roles is the list of roles // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Roles []string `json:"roles,omitempty"` // IsProtected must be set when you manage protected account like kibana_system // Default to false // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional IsProtected *bool `json:"isProtected,omitempty"` // AutoGeneratePassword can permit to auto generate password if true. // Default to false // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional // +kubebuilder:default=false AutoGeneratePassword *bool `json:"autoGeneratePassword,omitempty"` }
UserSpec defines the desired state of User +k8s:openapi-gen=true
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { // PasswordHash is the current password hash // +operator-sdk:csv:customresourcedefinitions:type=status PasswordHash string `json:"passwordHash,omitempty"` apis.BasicRemoteObjectStatus `json:",inline"` }
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.
type Watch ¶
type Watch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WatchSpec `json:"spec,omitempty"` Status WatchStatus `json:"status,omitempty"` }
Watch is the Schema for the watches API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Watch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Watch.
func (*Watch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Watch) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Watch) GetExternalName ¶
GetExternalName return the watch name If name is empty, it use the ressource name
func (*Watch) GetStatus ¶
func (o *Watch) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
type WatchList ¶
type WatchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Watch `json:"items"` }
WatchList contains a list of Watch
func (*WatchList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchList.
func (*WatchList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WatchList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WatchSpec ¶
type WatchSpec struct { // ElasticsearchRef is the Elasticsearch ref to connect on. // +operator-sdk:csv:customresourcedefinitions:type=spec ElasticsearchRef shared.ElasticsearchRef `json:"elasticsearchRef"` // Name is the custom watch name // If empty, it use the ressource name // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Trigger // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec Trigger string `json:"trigger"` // Input // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec Input string `json:"input"` // Condition // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec Condition string `json:"condition"` // Transform // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Transform string `json:"transform,omitempty"` // ThrottlePeriod // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ThrottlePeriod string `json:"throttle_period,omitempty"` // ThrottlePeriodInMillis // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ThrottlePeriodInMillis int64 `json:"throttle_period_in_millis,omitempty"` // Actions // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec Actions string `json:"actions"` // Metadata // JSON string // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Metadata string `json:"metadata,omitempty"` }
WatchSpec defines the desired state of Watch +k8s:openapi-gen=true
func (*WatchSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchSpec.
func (*WatchSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WatchStatus ¶
type WatchStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
WatchStatus defines the observed state of Watch
func (*WatchStatus) DeepCopy ¶
func (in *WatchStatus) DeepCopy() *WatchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchStatus.
func (*WatchStatus) DeepCopyInto ¶
func (in *WatchStatus) DeepCopyInto(out *WatchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- componenttemplate_func.go
- componenttemplate_types.go
- groupversion_info.go
- indexlifecyclepolicy_func.go
- indexlifecyclepolicy_types.go
- indextemplate_func.go
- indextemplate_types.go
- license_func.go
- license_indexer.go
- license_types.go
- role_func.go
- role_types.go
- rolemapping_func.go
- rolemapping_types.go
- snapshotlifecyclepolicy_func.go
- snapshotlifecyclepolicy_types.go
- snapshotrepository_func.go
- snapshotrepository_types.go
- user_func.go
- user_indexer.go
- user_types.go
- watch_func.go
- watch_types.go
- zz_generated.deepcopy.go