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: 14 Imported by: 0

Documentation

Overview

+groupName=ob.ibm.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: ob.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 Logging

type Logging struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LoggingSpec   `json:"spec,omitempty"`
	Status            LoggingStatus `json:"status,omitempty"`
}

func (*Logging) DeepCopy

func (in *Logging) DeepCopy() *Logging

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

func (*Logging) DeepCopyInto

func (in *Logging) DeepCopyInto(out *Logging)

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

func (*Logging) DeepCopyObject

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

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

func (*Logging) SetupWebhookWithManager

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

func (*Logging) ValidateCreate

func (r *Logging) ValidateCreate() error

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

func (*Logging) ValidateDelete

func (r *Logging) ValidateDelete() error

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

func (*Logging) ValidateUpdate

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

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

type LoggingList

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

LoggingList is a list of Loggings

func (*LoggingList) DeepCopy

func (in *LoggingList) DeepCopy() *LoggingList

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

func (*LoggingList) DeepCopyInto

func (in *LoggingList) DeepCopyInto(out *LoggingList)

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

func (*LoggingList) DeepCopyObject

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

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

type LoggingSpec

type LoggingSpec struct {
	State *LoggingSpecResource `json:"state,omitempty" tf:"-"`

	Resource LoggingSpecResource `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 (*LoggingSpec) DeepCopy

func (in *LoggingSpec) DeepCopy() *LoggingSpec

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

func (*LoggingSpec) DeepCopyInto

func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)

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

type LoggingSpecResource

type LoggingSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Agent key name
	// +optional
	AgentKey *string `json:"agentKey,omitempty" tf:"agent_key"`
	// Agent Namespace
	// +optional
	AgentNamespace *string `json:"agentNamespace,omitempty" tf:"agent_namespace"`
	// Name or ID of the cluster to be used.
	Cluster *string `json:"cluster" tf:"cluster"`
	// CRN
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Daemon Set Name
	// +optional
	DaemonsetName *string `json:"daemonsetName,omitempty" tf:"daemonset_name"`
	// Discovered agent
	// +optional
	DiscoveredAgent *bool `json:"discoveredAgent,omitempty" tf:"discovered_agent"`
	// ID of the LogDNA service instance to latch
	InstanceID *string `json:"instanceID" tf:"instance_id"`
	// LogDNA instance Name
	// +optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name"`
	// LogDNA ingestion key
	// +optional
	LogdnaIngestionKey *string `json:"logdnaIngestionKey,omitempty" tf:"logdna_ingestion_key"`
	// Namespace
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// Add this option to connect to your LogDNA service instance through the private service endpoint
	// +optional
	PrivateEndpoint *bool `json:"privateEndpoint,omitempty" tf:"private_endpoint"`
}

func (*LoggingSpecResource) DeepCopy

func (in *LoggingSpecResource) DeepCopy() *LoggingSpecResource

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

func (*LoggingSpecResource) DeepCopyInto

func (in *LoggingSpecResource) DeepCopyInto(out *LoggingSpecResource)

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

type LoggingStatus

type LoggingStatus 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 (*LoggingStatus) DeepCopy

func (in *LoggingStatus) DeepCopy() *LoggingStatus

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

func (*LoggingStatus) DeepCopyInto

func (in *LoggingStatus) DeepCopyInto(out *LoggingStatus)

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

type Monitoring

type Monitoring struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitoringSpec   `json:"spec,omitempty"`
	Status            MonitoringStatus `json:"status,omitempty"`
}

func (*Monitoring) DeepCopy

func (in *Monitoring) DeepCopy() *Monitoring

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

func (*Monitoring) DeepCopyInto

func (in *Monitoring) DeepCopyInto(out *Monitoring)

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

func (*Monitoring) DeepCopyObject

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

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

func (*Monitoring) SetupWebhookWithManager

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

func (*Monitoring) ValidateCreate

func (r *Monitoring) ValidateCreate() error

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

func (*Monitoring) ValidateDelete

func (r *Monitoring) ValidateDelete() error

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

func (*Monitoring) ValidateUpdate

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

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

type MonitoringList

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

MonitoringList is a list of Monitorings

func (*MonitoringList) DeepCopy

func (in *MonitoringList) DeepCopy() *MonitoringList

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

func (*MonitoringList) DeepCopyInto

func (in *MonitoringList) DeepCopyInto(out *MonitoringList)

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

func (*MonitoringList) DeepCopyObject

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

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

type MonitoringSpec

type MonitoringSpec struct {
	State *MonitoringSpecResource `json:"state,omitempty" tf:"-"`

	Resource MonitoringSpecResource `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 (*MonitoringSpec) DeepCopy

func (in *MonitoringSpec) DeepCopy() *MonitoringSpec

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

func (*MonitoringSpec) DeepCopyInto

func (in *MonitoringSpec) DeepCopyInto(out *MonitoringSpec)

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

type MonitoringSpecResource

type MonitoringSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Agent key name
	// +optional
	AgentKey *string `json:"agentKey,omitempty" tf:"agent_key"`
	// Agent Namespace
	// +optional
	AgentNamespace *string `json:"agentNamespace,omitempty" tf:"agent_namespace"`
	// Name or ID of the cluster to be used.
	Cluster *string `json:"cluster" tf:"cluster"`
	// CRN
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// Daemon Set Name
	// +optional
	DaemonsetName *string `json:"daemonsetName,omitempty" tf:"daemonset_name"`
	// Discovered agent
	// +optional
	DiscoveredAgent *bool `json:"discoveredAgent,omitempty" tf:"discovered_agent"`
	// ID of the Sysdig service instance to latch
	InstanceID *string `json:"instanceID" tf:"instance_id"`
	// Sysdig instance Name
	// +optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name"`
	// Namespace
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// Add this option to connect to your Sysdig service instance through the private service endpoint
	// +optional
	PrivateEndpoint *bool `json:"privateEndpoint,omitempty" tf:"private_endpoint"`
	// Sysdig ingestion key
	// +optional
	SysdigAccessKey *string `json:"sysdigAccessKey,omitempty" tf:"sysdig_access_key"`
}

func (*MonitoringSpecResource) DeepCopy

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

func (*MonitoringSpecResource) DeepCopyInto

func (in *MonitoringSpecResource) DeepCopyInto(out *MonitoringSpecResource)

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

type MonitoringStatus

type MonitoringStatus 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 (*MonitoringStatus) DeepCopy

func (in *MonitoringStatus) DeepCopy() *MonitoringStatus

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

func (*MonitoringStatus) DeepCopyInto

func (in *MonitoringStatus) DeepCopyInto(out *MonitoringStatus)

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