v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=dbaas.ovh.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: dbaas.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type LogsInput

type LogsInput struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogsInputSpec   `json:"spec,omitempty"`
	Status            LogsInputStatus `json:"status,omitempty"`
}

func (*LogsInput) DeepCopy

func (in *LogsInput) DeepCopy() *LogsInput

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

func (*LogsInput) DeepCopyInto

func (in *LogsInput) DeepCopyInto(out *LogsInput)

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

func (*LogsInput) DeepCopyObject

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

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

func (*LogsInput) SetupWebhookWithManager

func (r *LogsInput) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*LogsInput) ValidateCreate

func (r *LogsInput) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LogsInput) ValidateDelete

func (r *LogsInput) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LogsInput) ValidateUpdate

func (r *LogsInput) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LogsInputList

type LogsInputList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of LogsInput CRD objects
	Items []LogsInput `json:"items,omitempty"`
}

LogsInputList is a list of LogsInputs

func (*LogsInputList) DeepCopy

func (in *LogsInputList) DeepCopy() *LogsInputList

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

func (*LogsInputList) DeepCopyInto

func (in *LogsInputList) DeepCopyInto(out *LogsInputList)

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

func (*LogsInputList) DeepCopyObject

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

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

type LogsInputSpec

type LogsInputSpec struct {
	State *LogsInputSpecResource `json:"state,omitempty" tf:"-"`

	Resource LogsInputSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*LogsInputSpec) DeepCopy

func (in *LogsInputSpec) DeepCopy() *LogsInputSpec

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

func (*LogsInputSpec) DeepCopyInto

func (in *LogsInputSpec) DeepCopyInto(out *LogsInputSpec)

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

type LogsInputSpecConfiguration

type LogsInputSpecConfiguration struct {
	// Flowgger configuration
	// +optional
	Flowgger *LogsInputSpecConfigurationFlowgger `json:"flowgger,omitempty" tf:"flowgger"`
	// Logstash configuration
	// +optional
	Logstash *LogsInputSpecConfigurationLogstash `json:"logstash,omitempty" tf:"logstash"`
}

func (*LogsInputSpecConfiguration) DeepCopy

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

func (*LogsInputSpecConfiguration) DeepCopyInto

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

type LogsInputSpecConfigurationCodec

type LogsInputSpecConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (LogsInputSpecConfigurationCodec) Decode

func (LogsInputSpecConfigurationCodec) Encode

func (LogsInputSpecConfigurationCodec) IsEmpty

type LogsInputSpecConfigurationFlowgger

type LogsInputSpecConfigurationFlowgger struct {
	// Type of format to decode
	LogFormat *string `json:"logFormat" tf:"log_format"`
	// Indicates how messages are delimited
	LogFraming *string `json:"logFraming" tf:"log_framing"`
}

func (*LogsInputSpecConfigurationFlowgger) DeepCopy

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

func (*LogsInputSpecConfigurationFlowgger) DeepCopyInto

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

type LogsInputSpecConfigurationFlowggerCodec

type LogsInputSpecConfigurationFlowggerCodec struct {
}

+k8s:deepcopy-gen=false

func (LogsInputSpecConfigurationFlowggerCodec) Decode

func (LogsInputSpecConfigurationFlowggerCodec) Encode

func (LogsInputSpecConfigurationFlowggerCodec) IsEmpty

type LogsInputSpecConfigurationLogstash

type LogsInputSpecConfigurationLogstash struct {
	// The filter section of logstash.conf
	// +optional
	FilterSection *string `json:"filterSection,omitempty" tf:"filter_section"`
	// The filter section of logstash.conf
	InputSection *string `json:"inputSection" tf:"input_section"`
	// The list of customs Grok patterns
	// +optional
	PatternSection *string `json:"patternSection,omitempty" tf:"pattern_section"`
}

func (*LogsInputSpecConfigurationLogstash) DeepCopy

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

func (*LogsInputSpecConfigurationLogstash) DeepCopyInto

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

type LogsInputSpecConfigurationLogstashCodec

type LogsInputSpecConfigurationLogstashCodec struct {
}

+k8s:deepcopy-gen=false

func (LogsInputSpecConfigurationLogstashCodec) Decode

func (LogsInputSpecConfigurationLogstashCodec) Encode

func (LogsInputSpecConfigurationLogstashCodec) IsEmpty

type LogsInputSpecResource

type LogsInputSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// IP blocks
	// +optional
	AllowedNetworks []string `json:"allowedNetworks,omitempty" tf:"allowed_networks"`
	// Input configuration
	Configuration *LogsInputSpecConfiguration `json:"configuration" tf:"configuration"`
	// Input creation
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// Input description
	Description *string `json:"description" tf:"description"`
	// Input engine ID
	EngineID *string `json:"engineID" tf:"engine_id"`
	// Port
	// +optional
	ExposedPort *string `json:"exposedPort,omitempty" tf:"exposed_port"`
	// Hostname
	// +optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname"`
	// Input ID
	// +optional
	InputID *string `json:"inputID,omitempty" tf:"input_id"`
	// Indicate if input need to be restarted
	// +optional
	IsRestartRequired *bool `json:"isRestartRequired,omitempty" tf:"is_restart_required"`
	// Number of instance running
	// +optional
	NbInstance *int64 `json:"nbInstance,omitempty" tf:"nb_instance"`
	// Input IP address
	// +optional
	PublicAddress *string `json:"publicAddress,omitempty" tf:"public_address"`
	ServiceName   *string `json:"serviceName" tf:"service_name"`
	// Input SSL certificate
	// +optional
	SslCertificate *string `json:"-" sensitive:"true" tf:"ssl_certificate"`
	// init: configuration required, pending: ready to start, running: available
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// Associated Graylog stream
	StreamID *string `json:"streamID" tf:"stream_id"`
	// Input title
	Title *string `json:"title" tf:"title"`
	// Input last update
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
}

func (*LogsInputSpecResource) DeepCopy

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

func (*LogsInputSpecResource) DeepCopyInto

func (in *LogsInputSpecResource) DeepCopyInto(out *LogsInputSpecResource)

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

type LogsInputStatus

type LogsInputStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*LogsInputStatus) DeepCopy

func (in *LogsInputStatus) DeepCopy() *LogsInputStatus

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

func (*LogsInputStatus) DeepCopyInto

func (in *LogsInputStatus) DeepCopyInto(out *LogsInputStatus)

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

type LogsOutputGraylogStream

type LogsOutputGraylogStream struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogsOutputGraylogStreamSpec   `json:"spec,omitempty"`
	Status            LogsOutputGraylogStreamStatus `json:"status,omitempty"`
}

func (*LogsOutputGraylogStream) DeepCopy

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

func (*LogsOutputGraylogStream) DeepCopyInto

func (in *LogsOutputGraylogStream) DeepCopyInto(out *LogsOutputGraylogStream)

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

func (*LogsOutputGraylogStream) DeepCopyObject

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

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

func (*LogsOutputGraylogStream) SetupWebhookWithManager

func (r *LogsOutputGraylogStream) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*LogsOutputGraylogStream) ValidateCreate

func (r *LogsOutputGraylogStream) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LogsOutputGraylogStream) ValidateDelete

func (r *LogsOutputGraylogStream) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LogsOutputGraylogStream) ValidateUpdate

func (r *LogsOutputGraylogStream) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LogsOutputGraylogStreamList

type LogsOutputGraylogStreamList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of LogsOutputGraylogStream CRD objects
	Items []LogsOutputGraylogStream `json:"items,omitempty"`
}

LogsOutputGraylogStreamList is a list of LogsOutputGraylogStreams

func (*LogsOutputGraylogStreamList) DeepCopy

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

func (*LogsOutputGraylogStreamList) DeepCopyInto

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

func (*LogsOutputGraylogStreamList) DeepCopyObject

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

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

type LogsOutputGraylogStreamSpec

type LogsOutputGraylogStreamSpec struct {
	State *LogsOutputGraylogStreamSpecResource `json:"state,omitempty" tf:"-"`

	Resource LogsOutputGraylogStreamSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*LogsOutputGraylogStreamSpec) DeepCopy

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

func (*LogsOutputGraylogStreamSpec) DeepCopyInto

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

type LogsOutputGraylogStreamSpecResource

type LogsOutputGraylogStreamSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Indicates if the current user can create alert on the stream
	// +optional
	CanAlert *bool `json:"canAlert,omitempty" tf:"can_alert"`
	// Cold storage compression method
	// +optional
	ColdStorageCompression *string `json:"coldStorageCompression,omitempty" tf:"cold_storage_compression"`
	// ColdStorage content
	// +optional
	ColdStorageContent *string `json:"coldStorageContent,omitempty" tf:"cold_storage_content"`
	// Is Cold storage enabled?
	// +optional
	ColdStorageEnabled *bool `json:"coldStorageEnabled,omitempty" tf:"cold_storage_enabled"`
	// Notify on new Cold storage archive
	// +optional
	ColdStorageNotifyEnabled *bool `json:"coldStorageNotifyEnabled,omitempty" tf:"cold_storage_notify_enabled"`
	// Cold storage retention in year
	// +optional
	ColdStorageRetention *int64 `json:"coldStorageRetention,omitempty" tf:"cold_storage_retention"`
	// ColdStorage destination
	// +optional
	ColdStorageTarget *string `json:"coldStorageTarget,omitempty" tf:"cold_storage_target"`
	// Stream creation
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// Stream description
	Description *string `json:"description" tf:"description"`
	// Enable ES indexing
	// +optional
	IndexingEnabled *bool `json:"indexingEnabled,omitempty" tf:"indexing_enabled"`
	// Maximum indexing size (in GB)
	// +optional
	IndexingMaxSize *int64 `json:"indexingMaxSize,omitempty" tf:"indexing_max_size"`
	// If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
	// +optional
	IndexingNotifyEnabled *bool `json:"indexingNotifyEnabled,omitempty" tf:"indexing_notify_enabled"`
	// Indicates if you are allowed to edit entry
	// +optional
	IsEditable *bool `json:"isEditable,omitempty" tf:"is_editable"`
	// Indicates if you are allowed to share entry
	// +optional
	IsShareable *bool `json:"isShareable,omitempty" tf:"is_shareable"`
	// Number of alert condition
	// +optional
	NbAlertCondition *int64 `json:"nbAlertCondition,omitempty" tf:"nb_alert_condition"`
	// Number of coldstored archives
	// +optional
	NbArchive *int64 `json:"nbArchive,omitempty" tf:"nb_archive"`
	// Parent stream ID
	// +optional
	ParentStreamID *string `json:"parentStreamID,omitempty" tf:"parent_stream_id"`
	// If set, pause indexing when maximum size is reach
	// +optional
	PauseIndexingOnMaxSize *bool `json:"pauseIndexingOnMaxSize,omitempty" tf:"pause_indexing_on_max_size"`
	// Retention ID
	// +optional
	RetentionID *string `json:"retentionID,omitempty" tf:"retention_id"`
	// The service name
	ServiceName *string `json:"serviceName" tf:"service_name"`
	// Stream ID
	// +optional
	StreamID *string `json:"streamID,omitempty" tf:"stream_id"`
	// Stream description
	Title *string `json:"title" tf:"title"`
	// Stream last update
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// Enable Websocket
	// +optional
	WebSocketEnabled *bool `json:"webSocketEnabled,omitempty" tf:"web_socket_enabled"`
}

func (*LogsOutputGraylogStreamSpecResource) DeepCopy

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

func (*LogsOutputGraylogStreamSpecResource) DeepCopyInto

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

type LogsOutputGraylogStreamStatus

type LogsOutputGraylogStreamStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*LogsOutputGraylogStreamStatus) DeepCopy

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

func (*LogsOutputGraylogStreamStatus) 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