Documentation ¶
Overview ¶
+groupName=dbaas.ovh.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type LogsInput
- func (in *LogsInput) DeepCopy() *LogsInput
- func (in *LogsInput) DeepCopyInto(out *LogsInput)
- func (in *LogsInput) DeepCopyObject() runtime.Object
- func (r *LogsInput) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *LogsInput) ValidateCreate() error
- func (r *LogsInput) ValidateDelete() error
- func (r *LogsInput) ValidateUpdate(old runtime.Object) error
- type LogsInputList
- type LogsInputSpec
- type LogsInputSpecConfiguration
- type LogsInputSpecConfigurationCodec
- type LogsInputSpecConfigurationFlowgger
- type LogsInputSpecConfigurationFlowggerCodec
- type LogsInputSpecConfigurationLogstash
- type LogsInputSpecConfigurationLogstashCodec
- type LogsInputSpecResource
- type LogsInputStatus
- type LogsOutputGraylogStream
- func (in *LogsOutputGraylogStream) DeepCopy() *LogsOutputGraylogStream
- func (in *LogsOutputGraylogStream) DeepCopyInto(out *LogsOutputGraylogStream)
- func (in *LogsOutputGraylogStream) DeepCopyObject() runtime.Object
- func (r *LogsOutputGraylogStream) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *LogsOutputGraylogStream) ValidateCreate() error
- func (r *LogsOutputGraylogStream) ValidateDelete() error
- func (r *LogsOutputGraylogStream) ValidateUpdate(old runtime.Object) error
- type LogsOutputGraylogStreamList
- type LogsOutputGraylogStreamSpec
- type LogsOutputGraylogStreamSpecResource
- type LogsOutputGraylogStreamStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInput.
func (*LogsInput) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogsInput) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogsInput) SetupWebhookWithManager ¶
func (*LogsInput) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*LogsInput) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *LogsInputSpecConfiguration) DeepCopy() *LogsInputSpecConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInputSpecConfiguration.
func (*LogsInputSpecConfiguration) DeepCopyInto ¶
func (in *LogsInputSpecConfiguration) DeepCopyInto(out *LogsInputSpecConfiguration)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LogsInputSpecConfigurationCodec) Encode ¶
func (LogsInputSpecConfigurationCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LogsInputSpecConfigurationCodec) IsEmpty ¶
func (LogsInputSpecConfigurationCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *LogsInputSpecConfigurationFlowgger) DeepCopy() *LogsInputSpecConfigurationFlowgger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInputSpecConfigurationFlowgger.
func (*LogsInputSpecConfigurationFlowgger) DeepCopyInto ¶
func (in *LogsInputSpecConfigurationFlowgger) DeepCopyInto(out *LogsInputSpecConfigurationFlowgger)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LogsInputSpecConfigurationFlowggerCodec) Encode ¶
func (LogsInputSpecConfigurationFlowggerCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LogsInputSpecConfigurationFlowggerCodec) IsEmpty ¶
func (LogsInputSpecConfigurationFlowggerCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *LogsInputSpecConfigurationLogstash) DeepCopy() *LogsInputSpecConfigurationLogstash
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsInputSpecConfigurationLogstash.
func (*LogsInputSpecConfigurationLogstash) DeepCopyInto ¶
func (in *LogsInputSpecConfigurationLogstash) DeepCopyInto(out *LogsInputSpecConfigurationLogstash)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LogsInputSpecConfigurationLogstashCodec) Encode ¶
func (LogsInputSpecConfigurationLogstashCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LogsInputSpecConfigurationLogstashCodec) IsEmpty ¶
func (LogsInputSpecConfigurationLogstashCodec) IsEmpty(ptr unsafe.Pointer) bool
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 ¶
func (in *LogsInputSpecResource) DeepCopy() *LogsInputSpecResource
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 ¶
func (in *LogsOutputGraylogStream) DeepCopy() *LogsOutputGraylogStream
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 ¶
func (in *LogsOutputGraylogStreamList) DeepCopy() *LogsOutputGraylogStreamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsOutputGraylogStreamList.
func (*LogsOutputGraylogStreamList) DeepCopyInto ¶
func (in *LogsOutputGraylogStreamList) DeepCopyInto(out *LogsOutputGraylogStreamList)
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 ¶
func (in *LogsOutputGraylogStreamSpec) DeepCopy() *LogsOutputGraylogStreamSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsOutputGraylogStreamSpec.
func (*LogsOutputGraylogStreamSpec) DeepCopyInto ¶
func (in *LogsOutputGraylogStreamSpec) DeepCopyInto(out *LogsOutputGraylogStreamSpec)
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"` // +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 ¶
func (in *LogsOutputGraylogStreamSpecResource) DeepCopy() *LogsOutputGraylogStreamSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsOutputGraylogStreamSpecResource.
func (*LogsOutputGraylogStreamSpecResource) DeepCopyInto ¶
func (in *LogsOutputGraylogStreamSpecResource) DeepCopyInto(out *LogsOutputGraylogStreamSpecResource)
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 ¶
func (in *LogsOutputGraylogStreamStatus) DeepCopy() *LogsOutputGraylogStreamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsOutputGraylogStreamStatus.
func (*LogsOutputGraylogStreamStatus) DeepCopyInto ¶
func (in *LogsOutputGraylogStreamStatus) DeepCopyInto(out *LogsOutputGraylogStreamStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.