v1

package
v0.0.0-...-31fc70c Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the kibanaapi v1 API group +kubebuilder:object:generate=true +groupName=kibanaapi.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: "kibanaapi.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

This section is empty.

Types

type KibanaRoleElasticsearch

type KibanaRoleElasticsearch struct {
	// Indices is the indice privileges
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Indices []KibanaRoleElasticsearchIndice `json:"indices,omitempty"`

	// Cluster is the cluster privilege
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Cluster []string `json:"cluster,omitempty"`

	// RunAs is the privilege like users
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	RunAs []string `json:"runAs,omitempty"`
}

func (*KibanaRoleElasticsearch) DeepCopy

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

func (*KibanaRoleElasticsearch) DeepCopyInto

func (in *KibanaRoleElasticsearch) DeepCopyInto(out *KibanaRoleElasticsearch)

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

type KibanaRoleElasticsearchIndice

type KibanaRoleElasticsearchIndice 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"`
}

func (*KibanaRoleElasticsearchIndice) DeepCopy

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

func (*KibanaRoleElasticsearchIndice) DeepCopyInto

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

type KibanaRoleKibana

type KibanaRoleKibana struct {
	// Base is the base privilege
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Base []string `json:"base,omitempty"`

	// Feature ontains privileges for specific features
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Feature map[string][]string `json:"feature,omitempty"`

	// Spaces is the list of space o apply the privileges to
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Spaces []string `json:"spaces,omitempty"`
}

func (*KibanaRoleKibana) DeepCopy

func (in *KibanaRoleKibana) DeepCopy() *KibanaRoleKibana

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

func (*KibanaRoleKibana) DeepCopyInto

func (in *KibanaRoleKibana) DeepCopyInto(out *KibanaRoleKibana)

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

type KibanaRoleTransientMetadata

type KibanaRoleTransientMetadata struct {

	// Enabled permit to enable transient metadata
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Enabled bool `json:"enabled,omitempty"`
}

func (*KibanaRoleTransientMetadata) DeepCopy

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

func (*KibanaRoleTransientMetadata) DeepCopyInto

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

type KibanaSpaceObjectParameter

type KibanaSpaceObjectParameter struct {
	// Tpye is the object type to copy
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Type string `json:"type"`

	// ID is the object to copy
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	ID string `json:"id"`
}

func (*KibanaSpaceObjectParameter) DeepCopy

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

func (*KibanaSpaceObjectParameter) DeepCopyInto

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

type KibanaUserSpaceCopy

type KibanaUserSpaceCopy struct {

	// OriginUserSpace is the user space name from copy objects
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	OriginUserSpace string `json:"originUserSpace"`

	// IncludeReferences is set to true to copy all references
	// Default to true
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	IncludeReferences *bool `json:"includeReferences,omitempty"`

	// Overwrite is set to true to overwrite existing objects
	// Default to true
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Overwrite *bool `json:"overwrite,omitempty"`

	// CreateNewCopies is set to true to create new copy of objects
	// Default to false
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	CreateNewCopies *bool `json:"createNewCopies,omitempty"`

	// ForceUpdateWhenReconcile is set to true to force to sync objects each time the operator reconcile
	// Default to false
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	ForceUpdateWhenReconcile *bool `json:"forceUpdate,omitempty"`

	// KibanaObjects is the list of object to copy
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	KibanaObjects []KibanaSpaceObjectParameter `json:"objects"`
}

func (*KibanaUserSpaceCopy) DeepCopy

func (in *KibanaUserSpaceCopy) DeepCopy() *KibanaUserSpaceCopy

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

func (*KibanaUserSpaceCopy) DeepCopyInto

func (in *KibanaUserSpaceCopy) DeepCopyInto(out *KibanaUserSpaceCopy)

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

func (KibanaUserSpaceCopy) IsCreateNewCopy

func (o KibanaUserSpaceCopy) IsCreateNewCopy() bool

IsCreateNewCopy is true if create new copy

func (KibanaUserSpaceCopy) IsForceUpdate

func (o KibanaUserSpaceCopy) IsForceUpdate() bool

IsForceUpdate is true if force update

func (KibanaUserSpaceCopy) IsIncludeReference

func (o KibanaUserSpaceCopy) IsIncludeReference() bool

IsIncludeReferences return true if include reference

func (KibanaUserSpaceCopy) IsOverwrite

func (o KibanaUserSpaceCopy) IsOverwrite() bool

IsOverwrite is true if overwrite

type LogstashPipeline

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

	Spec   LogstashPipelineSpec   `json:"spec,omitempty"`
	Status LogstashPipelineStatus `json:"status,omitempty"`
}

LogstashPipeline is the Schema for the logstashpipelines 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 (*LogstashPipeline) DeepCopy

func (in *LogstashPipeline) DeepCopy() *LogstashPipeline

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

func (*LogstashPipeline) DeepCopyInto

func (in *LogstashPipeline) DeepCopyInto(out *LogstashPipeline)

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

func (*LogstashPipeline) DeepCopyObject

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

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

func (*LogstashPipeline) GetExternalName

func (o *LogstashPipeline) GetExternalName() string

GetRoleName return the role name If name is empty, it use the ressource name

func (*LogstashPipeline) GetStatus

GetStatus return the status object

type LogstashPipelineList

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

LogstashPipelineList contains a list of LogstashPipeline

func (*LogstashPipelineList) DeepCopy

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

func (*LogstashPipelineList) DeepCopyInto

func (in *LogstashPipelineList) DeepCopyInto(out *LogstashPipelineList)

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

func (*LogstashPipelineList) DeepCopyObject

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

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

type LogstashPipelineSpec

type LogstashPipelineSpec struct {

	// KibanaRef is the Kibana ref to connect on.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	KibanaRef shared.KibanaRef `json:"kibanaRef"`

	// Name is the Logstash pipeline ID
	// If empty, it use the ressource name
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Name string `json:"name,omitempty"`

	// Description is the pipeline description
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Description string `json:"description,omitempty"`

	// Pipeline is the pipeline definition
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Pipeline string `json:"pipeline"`

	// Settings is the pipeline settings
	// It's a JSON string
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Settings string `json:"settings,omitempty"`
}

LogstashPipelineSpec defines the desired state of LogstashPipeline +k8s:openapi-gen=true

func (*LogstashPipelineSpec) DeepCopy

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

func (*LogstashPipelineSpec) DeepCopyInto

func (in *LogstashPipelineSpec) DeepCopyInto(out *LogstashPipelineSpec)

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

type LogstashPipelineStatus

type LogstashPipelineStatus struct {
	apis.BasicRemoteObjectStatus `json:",inline"`
}

LogstashPipelineStatus defines the observed state of LogstashPipeline

func (*LogstashPipelineStatus) DeepCopy

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

func (*LogstashPipelineStatus) DeepCopyInto

func (in *LogstashPipelineStatus) DeepCopyInto(out *LogstashPipelineStatus)

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 +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 (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

func (*Role) GetExternalName

func (o *Role) GetExternalName() string

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

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

type RoleSpec

type RoleSpec struct {

	// KibanaRef is the Kibana ref to connect on.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	KibanaRef shared.KibanaRef `json:"kibanaRef"`

	// Name is the role name
	// If empty, it use the ressource name
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Name string `json:"name,omitempty"`

	// Elasticsearch is the Elasticsearch right
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Elasticsearch *KibanaRoleElasticsearch `json:"elasticsearch,omitempty"`

	// Kibana is the Kibana right
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Kibana []KibanaRoleKibana `json:"kibana,omitempty"`

	// TransientMedata
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	TransientMedata *KibanaRoleTransientMetadata `json:"transientMetadata,omitempty"`

	// Metadata is optional meta-data
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// JSON string
	// +optional
	Metadata string `json:"metadata,omitempty"`
}

RoleSpec defines the desired state of Role +k8s:openapi-gen=true

func (*RoleSpec) DeepCopy

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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 UserSpace

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

	Spec   UserSpaceSpec   `json:"spec,omitempty"`
	Status UserSpaceStatus `json:"status,omitempty"`
}

UserSpace is the Schema for the userspaces 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 (*UserSpace) DeepCopy

func (in *UserSpace) DeepCopy() *UserSpace

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

func (*UserSpace) DeepCopyInto

func (in *UserSpace) DeepCopyInto(out *UserSpace)

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

func (*UserSpace) DeepCopyObject

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

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

func (*UserSpace) GetExternalName

func (o *UserSpace) GetExternalName() string

GetExternalName return the user space ID If name is empty, it use the ressource name

func (*UserSpace) GetStatus

func (o *UserSpace) GetStatus() object.RemoteObjectStatus

GetStatus return the status object

type UserSpaceList

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

UserSpaceList contains a list of UserSpace

func (*UserSpaceList) DeepCopy

func (in *UserSpaceList) DeepCopy() *UserSpaceList

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

func (*UserSpaceList) DeepCopyInto

func (in *UserSpaceList) DeepCopyInto(out *UserSpaceList)

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

func (*UserSpaceList) DeepCopyObject

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

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

type UserSpaceSpec

type UserSpaceSpec struct {

	// KibanaRef is the Kibana ref to connect on.
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	KibanaRef shared.KibanaRef `json:"kibanaRef"`

	// ID is the user space ID
	// If empty, it use the ressource name
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	ID string `json:"id,omitempty"`

	// Name is the user space name
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Name string `json:"name"`

	// Description is the user space description
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Description string `json:"description,omitempty"`

	// DisabledFeatures is the list of feature disabled on current user space
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	DisabledFeatures []string `json:"disabledFeatures,omitempty"`

	// Initials is the user space initials
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Initials string `json:"initials,omitempty"`

	// Color is the user space color
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Color string `json:"color,omitempty"`

	// CopyObjects permit to copy objects into current user space
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	KibanaUserSpaceCopies []KibanaUserSpaceCopy `json:"userSpaceCopies,omitempty"`
}

UserSpaceSpec defines the desired state of UserSpace +k8s:openapi-gen=true

func (*UserSpaceSpec) DeepCopy

func (in *UserSpaceSpec) DeepCopy() *UserSpaceSpec

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

func (*UserSpaceSpec) DeepCopyInto

func (in *UserSpaceSpec) DeepCopyInto(out *UserSpaceSpec)

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

type UserSpaceStatus

type UserSpaceStatus struct {
	apis.BasicRemoteObjectStatus `json:",inline"`
}

UserSpaceStatus defines the observed state of UserSpace

func (*UserSpaceStatus) DeepCopy

func (in *UserSpaceStatus) DeepCopy() *UserSpaceStatus

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

func (*UserSpaceStatus) DeepCopyInto

func (in *UserSpaceStatus) DeepCopyInto(out *UserSpaceStatus)

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