v2

package
v0.0.0-...-d50d299 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v2 contains API Schema definitions for the es.eck v2 API group +kubebuilder:object:generate=true +groupName=config.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "es.eck.github.com", Version: "v2"}

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

type APIKeyAuthentication struct {
	// +kubebuilder:validation:MinLength=0
	APIKey string `json:"apiKey"`
}

APIKey Definition of APIKey authentication

func (*APIKeyAuthentication) DeepCopy

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

func (*APIKeyAuthentication) DeepCopyInto

func (in *APIKeyAuthentication) DeepCopyInto(out *APIKeyAuthentication)

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

type ElasticsearchAuthentication

type ElasticsearchAuthentication struct {
	// +optional
	UsernamePassword *UsernamePasswordAuthentication `json:"usernamePasswordSecret,omitempty"`
	ServiceAccount   *ServiceAccountAuthentication   `json:"serviceAccount,omitempty"`
	APIKey           *APIKeyAuthentication           `json:"apiKey,omitempty"`
}

ElasticsearchAuthentication Definition of Elasticsearch authentication

func (*ElasticsearchAuthentication) DeepCopy

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

func (*ElasticsearchAuthentication) DeepCopyInto

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

type ElasticsearchSpec

type ElasticsearchSpec struct {
	// +required
	Enabled bool `json:"enabled"`

	// +required
	// +kubebuilder:validation:MinLength=0
	Url string `json:"url"`
	// +optional
	Certificate *PublicCertificate `json:"certificate,omitempty"`

	// +optional
	Authentication *ElasticsearchAuthentication `json:"authentication,omitempty"`
}

ElasticsearchSpec Definition of target elasticsearch cluster

func (*ElasticsearchSpec) DeepCopy

func (in *ElasticsearchSpec) DeepCopy() *ElasticsearchSpec

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

func (*ElasticsearchSpec) DeepCopyInto

func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec)

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

type KibanaAuthentication

type KibanaAuthentication struct {
	// +optional
	UsernamePassword *UsernamePasswordAuthentication `json:"usernamePasswordSecret,omitempty"`
	ServiceAccount   *ServiceAccountAuthentication   `json:"serviceAccount,omitempty"`
	APIKey           *APIKeyAuthentication           `json:"apiKey,omitempty"`
}

KibanaAuthentication Definition of Kibana authentication

func (*KibanaAuthentication) DeepCopy

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

func (*KibanaAuthentication) DeepCopyInto

func (in *KibanaAuthentication) DeepCopyInto(out *KibanaAuthentication)

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

type KibanaSpec

type KibanaSpec struct {
	// +required
	Enabled bool `json:"enabled"`

	// +required
	// +kubebuilder:validation:MinLength=0
	Url string `json:"url,omitempty"`
	// +optional
	Certificate *PublicCertificate `json:"certificate,omitempty"`

	// +optional
	Authentication *KibanaAuthentication `json:"authentication,omitempty"`
}

KibanaSpec Definition of target elasticsearch cluster

func (*KibanaSpec) DeepCopy

func (in *KibanaSpec) DeepCopy() *KibanaSpec

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

func (*KibanaSpec) DeepCopyInto

func (in *KibanaSpec) DeepCopyInto(out *KibanaSpec)

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

type ProjectConfig

type ProjectConfig struct {
	metav1.TypeMeta `json:"type"`

	// ControllerManagerConfigurationSpec returns the configurations for controllers
	cfg.ControllerManagerConfigurationSpec `json:"manager"`

	Elasticsearch ElasticsearchSpec `json:"elasticsearch,omitempty"`
	Kibana        KibanaSpec        `json:"kibana,omitempty"`
}

func (*ProjectConfig) DeepCopy

func (in *ProjectConfig) DeepCopy() *ProjectConfig

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

func (*ProjectConfig) DeepCopyInto

func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)

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

func (*ProjectConfig) DeepCopyObject

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

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

type ProjectConfigStatus

type ProjectConfigStatus struct {
}

ProjectConfigStatus defines the observed state of ProjectConfig

func (*ProjectConfigStatus) DeepCopy

func (in *ProjectConfigStatus) DeepCopy() *ProjectConfigStatus

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

func (*ProjectConfigStatus) DeepCopyInto

func (in *ProjectConfigStatus) DeepCopyInto(out *ProjectConfigStatus)

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

type PublicCertificate

type PublicCertificate struct {
	// +required
	// +kubebuilder:validation:MinLength=0
	SecretName string `json:"secretName"`

	// +reqired
	// +kubebuilder:validation:MinLength=0
	CertificateKey string `json:"certificateKey"`
}

PublicCertificate Configuration for public certificate used for communication with target

func (*PublicCertificate) DeepCopy

func (in *PublicCertificate) DeepCopy() *PublicCertificate

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

func (*PublicCertificate) DeepCopyInto

func (in *PublicCertificate) DeepCopyInto(out *PublicCertificate)

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

type ServiceAccountAuthentication

type ServiceAccountAuthentication struct {
	// +kubebuilder:validation:MinLength=0
	ServiceAccount string `json:"serviceAccount"`
}

ServiceAccount Definition of service account authentication

func (*ServiceAccountAuthentication) DeepCopy

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

func (*ServiceAccountAuthentication) DeepCopyInto

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

type UsernamePasswordAuthentication

type UsernamePasswordAuthentication struct {
	// +kubebuilder:validation:MinLength=0
	SecretName string `json:"secretName"`

	// +kubebuilder:validation:MinLength=0
	UserName string `json:"userName"`
}

UsernamePasswordAuthentication Definition of Username/Password authentication

func (*UsernamePasswordAuthentication) DeepCopy

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

func (*UsernamePasswordAuthentication) DeepCopyInto

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