v1alpha1

package
v0.0.0-...-6fc2dc1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the sensu v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=sensu.k8s.sensu.io

Package v1alpha1 contains API Schema definitions for the sensu v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=sensu.k8s.sensu.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "sensu.k8s.sensu.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

type SensuAgent

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

	Spec   SensuAgentSpec   `json:"spec,omitempty"`
	Status SensuAgentStatus `json:"status,omitempty"`
}

SensuAgent is the Schema for the sensuagents API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensuagents,scope=Namespaced

func (*SensuAgent) DeepCopy

func (in *SensuAgent) DeepCopy() *SensuAgent

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

func (*SensuAgent) DeepCopyInto

func (in *SensuAgent) DeepCopyInto(out *SensuAgent)

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

func (*SensuAgent) DeepCopyObject

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

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

type SensuAgentList

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

SensuAgentList contains a list of SensuAgent

func (*SensuAgentList) DeepCopy

func (in *SensuAgentList) DeepCopy() *SensuAgentList

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

func (*SensuAgentList) DeepCopyInto

func (in *SensuAgentList) DeepCopyInto(out *SensuAgentList)

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

func (*SensuAgentList) DeepCopyObject

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

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

type SensuAgentSpec

type SensuAgentSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.Replicas",description="The number of replicas launched by the Sensu-Operator"
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:validation:Minimum=1
	Replicas int32 `json:"replicas"`
	// +kubebuilder:printcolumn:name="SensuBackendWebsocket",type="string",JSONPath=".spec.SensuBackendWebsocket",description="Sensu API Websocket launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=60
	// +kubebuilder:validation:MinLength=1
	SensuBackendWebsocket string `json:"sensubackend_websocket,omitempty"`
	// +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".spec.Image",description="Sensu Container Image launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=35
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image,omitempty"`
	// +kubebuilder:printcolumn:name="LogLevel",type="string",JSONPath=".spec.LogLevel",description="Sensu Debug Option to startup a new instance with debug launched by the Sensu-Operator"
	LogLevel string `json:"log_level,omitempty"`
	// +kubebuilder:printcolumn:name="CACertificate",type="string",JSONPath=".spec.CACertificate",description="Sensu CA Certificate Secret Name created before not launched by the Sensu-Operator"
	CACertificate string `json:"ca_certificate,omitempty"`
	// +kubebuilder:printcolumn:name="CAFileName",type="string",JSONPath=".spec.CAFileName",description="Sensu CA FileName Secret Name created before not launched by the Sensu-Operator"
	CAFileName string `json:"ca_filename,omitempty"`
	// +kubebuilder:printcolumn:name="Subscriptions",type="set",JSONPath=".spec.Subscriptions",description="Sensu Agent Subscriptions list launched by the Sensu-Operator"
	// +listType=set
	Subscriptions []string `json:"subscriptions,omitempty"`
	// +kubebuilder:printcolumn:name="SecretEnvFrom",type="string",JSONPath=".spec.SecretEnvFrom",description="Secret envFrom Option to startup a new instance with one secret inserted as envFrom launched by the Sensu-Operator"
	SecretEnvFrom string `json:"secret_env_from,omitempty"`
	// +kubebuilder:printcolumn:name="SecretVolume",type="string",JSONPath=".spec.SecretVolume",description="Secret Volume Option to startup a new instance with one secret mounted as Volume launched by the Sensu-Operator"
	SecretVolume string `json:"secret_volume,omitempty"`
}

SensuAgentSpec defines the desired state of SensuAgent +k8s:openapi-gen=true

func (*SensuAgentSpec) DeepCopy

func (in *SensuAgentSpec) DeepCopy() *SensuAgentSpec

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

func (*SensuAgentSpec) DeepCopyInto

func (in *SensuAgentSpec) DeepCopyInto(out *SensuAgentSpec)

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

type SensuAgentStatus

type SensuAgentStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of Asset launched by the Sensu-Operator"
	Status string `json:"status"`
}

SensuAgentStatus defines the observed state of SensuAgent +k8s:openapi-gen=true

func (*SensuAgentStatus) DeepCopy

func (in *SensuAgentStatus) DeepCopy() *SensuAgentStatus

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

func (*SensuAgentStatus) DeepCopyInto

func (in *SensuAgentStatus) DeepCopyInto(out *SensuAgentStatus)

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

type SensuAsset

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

	Spec   SensuAssetSpec   `json:"spec,omitempty"`
	Status SensuAssetStatus `json:"status,omitempty"`
}

SensuAsset is the Schema for the sensuassets API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensuassets,scope=Namespaced

func (*SensuAsset) DeepCopy

func (in *SensuAsset) DeepCopy() *SensuAsset

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

func (*SensuAsset) DeepCopyInto

func (in *SensuAsset) DeepCopyInto(out *SensuAsset)

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

func (*SensuAsset) DeepCopyObject

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

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

type SensuAssetList

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

SensuAssetList contains a list of SensuAsset

func (*SensuAssetList) DeepCopy

func (in *SensuAssetList) DeepCopy() *SensuAssetList

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

func (*SensuAssetList) DeepCopyInto

func (in *SensuAssetList) DeepCopyInto(out *SensuAssetList)

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

func (*SensuAssetList) DeepCopyObject

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

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

type SensuAssetSpec

type SensuAssetSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.Name",description="Sensu Namespace launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +kubebuilder:printcolumn:name="SensuBackendAPI",type="string",JSONPath=".spec.SensuBackendAPI",description="Sensu Backend API"
	SensuBackendAPI string `json:"sensu_backend_api"`
	// +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.Namespace",description="Sensu Namespace launched by the Sensu-Operator"
	Namespace string `json:"namespace"`
	// +kubebuilder:printcolumn:name="AssetURL",type="string",JSONPath=".spec.AssetURL",description="Sensu Asset URL to downlaod launched by the Sensu-Operator"
	AssetURL string `json:"asseturl"`
	// +kubebuilder:printcolumn:name="Sha512",type="string",JSONPath=".spec.Sha512",description="Sensu Asset SHA512 launched by the Sensu-Operator"
	Sha512 string `json:"sha512"`
}

SensuAssetSpec defines the desired state of SensuAsset +k8s:openapi-gen=true

func (*SensuAssetSpec) DeepCopy

func (in *SensuAssetSpec) DeepCopy() *SensuAssetSpec

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

func (*SensuAssetSpec) DeepCopyInto

func (in *SensuAssetSpec) DeepCopyInto(out *SensuAssetSpec)

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

type SensuAssetStatus

type SensuAssetStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of Asset launched by the Sensu-Operator"
	Status string `json:"status"`
	// +kubebuilder:printcolumn:name="OwnerID",type="string",JSONPath=".status.OwnerID",description="OwnerID to access Sensu API launched by the Sensu-Operator"
	OwnerID string `json:"owner_id"`
}

SensuAssetStatus defines the observed state of SensuAsset +k8s:openapi-gen=true

func (*SensuAssetStatus) DeepCopy

func (in *SensuAssetStatus) DeepCopy() *SensuAssetStatus

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

func (*SensuAssetStatus) DeepCopyInto

func (in *SensuAssetStatus) DeepCopyInto(out *SensuAssetStatus)

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

type SensuBackend

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

	Spec   SensuBackendSpec   `json:"spec,omitempty"`
	Status SensuBackendStatus `json:"status,omitempty"`
}

SensuBackend is the Schema for the sensubackends API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensubackends,scope=Namespaced

func (*SensuBackend) DeepCopy

func (in *SensuBackend) DeepCopy() *SensuBackend

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

func (*SensuBackend) DeepCopyInto

func (in *SensuBackend) DeepCopyInto(out *SensuBackend)

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

func (*SensuBackend) DeepCopyObject

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

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

type SensuBackendList

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

SensuBackendList contains a list of SensuBackend

func (*SensuBackendList) DeepCopy

func (in *SensuBackendList) DeepCopy() *SensuBackendList

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

func (*SensuBackendList) DeepCopyInto

func (in *SensuBackendList) DeepCopyInto(out *SensuBackendList)

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

func (*SensuBackendList) DeepCopyObject

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

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

type SensuBackendSpec

type SensuBackendSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.Replicas",description="The number of replicas launched by the Sensu-Operator"
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:validation:Minimum=1
	Replicas int32 `json:"replicas"`
	// +kubebuilder:printcolumn:name="SensuBackendURL",type="string",JSONPath=".spec.SensuBackendURL",description="Sensu API URL launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=60
	// +kubebuilder:validation:MinLength=1
	SensuBackendURL string `json:"sensubackendurl"`
	// +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".spec.Image",description="Sensu Container Image launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=35
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`
	// +kubebuilder:printcolumn:name="DebugSensu",type="string",JSONPath=".spec.DebugSensu",description="Sensu Debug Option to startup a new instance with debug launched by the Sensu-Operator"
	DebugSensu bool `json:"debug"`
	// +kubebuilder:printcolumn:name="SecretEnvFrom",type="string",JSONPath=".spec.SecretEnvFrom",description="Secret envFrom Option to startup a new instance with one secret inserted as envFrom launched by the Sensu-Operator"
	SecretEnvFrom string `json:"secret_env_from,omitempty"`
	// +kubebuilder:printcolumn:name="SecretVolume",type="string",JSONPath=".spec.SecretVolume",description="Secret Volume Option to startup a new instance with one secret mounted as Volume launched by the Sensu-Operator"
	SecretVolume string `json:"secret_volume,omitempty"`
}

SensuBackendSpec defines the desired state of SensuBackend +k8s:openapi-gen=true

func (*SensuBackendSpec) DeepCopy

func (in *SensuBackendSpec) DeepCopy() *SensuBackendSpec

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

func (*SensuBackendSpec) DeepCopyInto

func (in *SensuBackendSpec) DeepCopyInto(out *SensuBackendSpec)

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

type SensuBackendStatus

type SensuBackendStatus struct {

	// Nodes are the names of pods
	// +listType=set
	Nodes []string `json:"nodes,omitempty"`
	// Services are the names of svcs
	// +listType=set
	Services []string `json:"services,omitempty"`
	// Token to connect to Sensu API
	Token string `json:"token"`
	// AdminToken to access Sensu API
	AdminToken string `json:"admin_token"`
	// OperatorToken to access Sensu API
	OperatorToken string `json:"operator_token"`
	// ClusterID to access Sensu API
	ClusterID string `json:"cluster_id"`
}

SensuBackendStatus defines the observed state of SensuBackend +k8s:openapi-gen=true

func (*SensuBackendStatus) DeepCopy

func (in *SensuBackendStatus) DeepCopy() *SensuBackendStatus

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

func (*SensuBackendStatus) DeepCopyInto

func (in *SensuBackendStatus) DeepCopyInto(out *SensuBackendStatus)

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

type SensuCheck

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

	Spec   SensuCheckSpec   `json:"spec,omitempty"`
	Status SensuCheckStatus `json:"status,omitempty"`
}

SensuCheck is the Schema for the sensuchecks API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensuchecks,scope=Namespaced

func (*SensuCheck) DeepCopy

func (in *SensuCheck) DeepCopy() *SensuCheck

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

func (*SensuCheck) DeepCopyInto

func (in *SensuCheck) DeepCopyInto(out *SensuCheck)

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

func (*SensuCheck) DeepCopyObject

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

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

type SensuCheckList

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

SensuCheckList contains a list of SensuCheck

func (*SensuCheckList) DeepCopy

func (in *SensuCheckList) DeepCopy() *SensuCheckList

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

func (*SensuCheckList) DeepCopyInto

func (in *SensuCheckList) DeepCopyInto(out *SensuCheckList)

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

func (*SensuCheckList) DeepCopyObject

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

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

type SensuCheckSpec

type SensuCheckSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.Name",description="Sensu Namespace launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +kubebuilder:printcolumn:name="SensuBackendAPI",type="string",JSONPath=".spec.SensuBackendAPI",description="Sensu Backend API"
	SensuBackendAPI string `json:"sensu_backend_api"`
	// +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.Namespace",description="Sensu Namespace launched by the Sensu-Operator"
	Namespace string `json:"namespace"`
	// +kubebuilder:printcolumn:name="Command",type="string",JSONPath=".spec.Command",description="Sensu Check Command launched by the Sensu-Operator"
	Command string `json:"command"`
	// +kubebuilder:printcolumn:name="Handlers",type="set",JSONPath=".spec.Handlers",description="Sensu Check Handlers launched by the Sensu-Operator"
	// +listType=set
	Handlers []string `json:"handlers"`
	// +kubebuilder:printcolumn:name="Subscriptions",type="set",JSONPath=".spec.Subscriptions",description="Sensu Check Subscriptions launched by the Sensu-Operator"
	// +listType=set
	Subscriptions []string `json:"subscriptions"`
	// +kubebuilder:printcolumn:name="Interval",type="string",JSONPath=".spec.Interval",description="Sensu Check Interval launched by the Sensu-Operator"
	Interval int `json:"interval"`
	// +kubebuilder:printcolumn:name="Publish",type="string",JSONPath=".spec.Publish",description="Sensu Check Publish launched by the Sensu-Operator"
	Publish bool `json:"publish"`
	// +kubebuilder:printcolumn:name="RuntimeAssets",type="set",JSONPath=".spec.RuntimeAssets",description="Sensu Check RuntimeAssets launched by the Sensu-Operator"
	// +listType=set
	RuntimeAssets []string `json:"runtime_assets,omitempty"`
	// +kubebuilder:printcolumn:name="RoundRobin",type="string",JSONPath=".spec.RoundRobin",description="Sensu Check RoundRobin launched by the Sensu-Operator"
	RoundRobin bool `json:"round_robin,omitempty"`
	// +kubebuilder:printcolumn:name="ProxyEntityName",type="string",JSONPath=".spec.ProxyEntityName",description="Sensu Check ProxyEntityName launched by the Sensu-Operator"
	ProxyEntityName string `json:"proxy_entity_name,omitempty"`
	// +kubebuilder:printcolumn:name="Annotations",type="string",JSONPath=".spec.Annotations",description="Sensu Check Annotations launched by the Sensu-Operator"
	Annotations map[string]string `json:"annotations,omitempty"`
}

SensuCheckSpec defines the desired state of SensuCheck +k8s:openapi-gen=true

func (*SensuCheckSpec) DeepCopy

func (in *SensuCheckSpec) DeepCopy() *SensuCheckSpec

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

func (*SensuCheckSpec) DeepCopyInto

func (in *SensuCheckSpec) DeepCopyInto(out *SensuCheckSpec)

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

type SensuCheckStatus

type SensuCheckStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of Check launched by the Sensu-Operator"
	Status string `json:"status"`
	// +kubebuilder:printcolumn:name="OwnerID",type="string",JSONPath=".status.OwnerID",description="OwnerID to access Sensu API launched by the Sensu-Operator"
	OwnerID string `json:"owner_id"`
}

SensuCheckStatus defines the observed state of SensuCheck +k8s:openapi-gen=true

func (*SensuCheckStatus) DeepCopy

func (in *SensuCheckStatus) DeepCopy() *SensuCheckStatus

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

func (*SensuCheckStatus) DeepCopyInto

func (in *SensuCheckStatus) DeepCopyInto(out *SensuCheckStatus)

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

type SensuFilter

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

	Spec   SensuFilterSpec   `json:"spec,omitempty"`
	Status SensuFilterStatus `json:"status,omitempty"`
}

SensuFilter is the Schema for the sensufilters API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensufilters,scope=Namespaced

func (*SensuFilter) DeepCopy

func (in *SensuFilter) DeepCopy() *SensuFilter

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

func (*SensuFilter) DeepCopyInto

func (in *SensuFilter) DeepCopyInto(out *SensuFilter)

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

func (*SensuFilter) DeepCopyObject

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

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

type SensuFilterList

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

SensuFilterList contains a list of SensuFilter

func (*SensuFilterList) DeepCopy

func (in *SensuFilterList) DeepCopy() *SensuFilterList

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

func (*SensuFilterList) DeepCopyInto

func (in *SensuFilterList) DeepCopyInto(out *SensuFilterList)

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

func (*SensuFilterList) DeepCopyObject

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

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

type SensuFilterSpec

type SensuFilterSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.Name",description="Sensu Namespace launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +kubebuilder:printcolumn:name="SensuBackendAPI",type="string",JSONPath=".spec.SensuBackendAPI",description="Sensu Backend API"
	SensuBackendAPI string `json:"sensu_backend_api"`
	// +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.Namespace",description="Sensu Namespace launched by the Sensu-Operator"
	Namespace string `json:"namespace"`
	// +kubebuilder:printcolumn:name="Action",type="string",JSONPath=".spec.Action",description="Sensu Check Action launched by the Sensu-Operator"
	Action string `json:"action"`
	// +kubebuilder:printcolumn:name="RuntimeAssets",type="set",JSONPath=".spec.RuntimeAssets",description="Sensu Check RuntimeAssets launched by the Sensu-Operator"
	// +listType=set
	RuntimeAssets []string `json:"runtime_assets,omitempty"`
	// +kubebuilder:printcolumn:name="Expressions",type="set",JSONPath=".spec.Expressions",description="Sensu Check Expressions launched by the Sensu-Operator"
	// +listType=set
	Expressions []string `json:"expressions,omitempty"`
}

SensuFilterSpec defines the desired state of SensuFilter +k8s:openapi-gen=true

func (*SensuFilterSpec) DeepCopy

func (in *SensuFilterSpec) DeepCopy() *SensuFilterSpec

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

func (*SensuFilterSpec) DeepCopyInto

func (in *SensuFilterSpec) DeepCopyInto(out *SensuFilterSpec)

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

type SensuFilterStatus

type SensuFilterStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of Check launched by the Sensu-Operator"
	Status string `json:"status"`
	// +kubebuilder:printcolumn:name="OwnerID",type="string",JSONPath=".status.OwnerID",description="OwnerID to access Sensu API launched by the Sensu-Operator"
	OwnerID string `json:"owner_id"`
}

SensuFilterStatus defines the observed state of SensuFilter +k8s:openapi-gen=true

func (*SensuFilterStatus) DeepCopy

func (in *SensuFilterStatus) DeepCopy() *SensuFilterStatus

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

func (*SensuFilterStatus) DeepCopyInto

func (in *SensuFilterStatus) DeepCopyInto(out *SensuFilterStatus)

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

type SensuHandler

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

	Spec   SensuHandlerSpec   `json:"spec,omitempty"`
	Status SensuHandlerStatus `json:"status,omitempty"`
}

SensuHandler is the Schema for the sensuhandlers API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensuhandlers,scope=Namespaced

func (*SensuHandler) DeepCopy

func (in *SensuHandler) DeepCopy() *SensuHandler

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

func (*SensuHandler) DeepCopyInto

func (in *SensuHandler) DeepCopyInto(out *SensuHandler)

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

func (*SensuHandler) DeepCopyObject

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

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

type SensuHandlerList

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

SensuHandlerList contains a list of SensuHandler

func (*SensuHandlerList) DeepCopy

func (in *SensuHandlerList) DeepCopy() *SensuHandlerList

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

func (*SensuHandlerList) DeepCopyInto

func (in *SensuHandlerList) DeepCopyInto(out *SensuHandlerList)

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

func (*SensuHandlerList) DeepCopyObject

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

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

type SensuHandlerSpec

type SensuHandlerSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.Name",description="Sensu Namespace launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +kubebuilder:printcolumn:name="SensuBackendAPI",type="string",JSONPath=".spec.SensuBackendAPI",description="Sensu Backend API"
	SensuBackendAPI string `json:"sensu_backend_api"`
	// +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.Namespace",description="Sensu Namespace launched by the Sensu-Operator"
	Namespace string `json:"namespace"`
	// +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.Type",description="Sensu Check Type launched by the Sensu-Operator"
	Type string `json:"type"`
	// +kubebuilder:printcolumn:name="Command",type="string",JSONPath=".spec.Command",description="Sensu Check Command launched by the Sensu-Operator"
	Command string `json:"command"`
	// +kubebuilder:printcolumn:name="Handlers",type="set",JSONPath=".spec.Handlers",description="Sensu Check Handlers launched by the Sensu-Operator"
	// +listType=set
	Handlers []string `json:"handlers,omitempty"`
	// +kubebuilder:printcolumn:name="Timeout",type="string",JSONPath=".spec.Timeout",description="Sensu Check Timeout launched by the Sensu-Operator"
	Timeout int `json:"timeout"`
	// +kubebuilder:printcolumn:name="RuntimeAssets",type="set",JSONPath=".spec.RuntimeAssets",description="Sensu Check RuntimeAssets launched by the Sensu-Operator"
	// +listType=set
	RuntimeAssets []string `json:"runtime_assets,omitempty"`
	// +kubebuilder:printcolumn:name="EnvVars",type="set",JSONPath=".spec.EnvVars",description="Sensu Check EnvVars launched by the Sensu-Operator"
	// +listType=set
	EnvVars []string `json:"env_vars,omitempty"`
	// +kubebuilder:printcolumn:name="Filters",type="set",JSONPath=".spec.Filters",description="Sensu Check Filters launched by the Sensu-Operator"
	// +listType=set
	Filters []string `json:"filters,omitempty"`
	// +kubebuilder:printcolumn:name="Annotations",type="string",JSONPath=".spec.Annotations",description="Sensu Check Annotations launched by the Sensu-Operator"
	Annotations map[string]string `json:"annotations,omitempty"`
	// +kubebuilder:printcolumn:name="SocketHost",SocketHost="string",JSONPath=".spec.SocketHost",description="Sensu Check SocketHost launched by the Sensu-Operator"
	SocketHost string `json:"socket_host,omitempty"`
	// +kubebuilder:printcolumn:name="SocketPort",type="string",JSONPath=".spec.SocketPort",description="Sensu Check SocketPort launched by the Sensu-Operator"
	SocketPort int `json:"socket_port,omitempty"`
}

SensuHandlerSpec defines the desired state of SensuHandler +k8s:openapi-gen=true

func (*SensuHandlerSpec) DeepCopy

func (in *SensuHandlerSpec) DeepCopy() *SensuHandlerSpec

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

func (*SensuHandlerSpec) DeepCopyInto

func (in *SensuHandlerSpec) DeepCopyInto(out *SensuHandlerSpec)

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

type SensuHandlerStatus

type SensuHandlerStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of Check launched by the Sensu-Operator"
	Status string `json:"status"`
	// +kubebuilder:printcolumn:name="OwnerID",type="string",JSONPath=".status.OwnerID",description="OwnerID to access Sensu API launched by the Sensu-Operator"
	OwnerID string `json:"owner_id"`
}

SensuHandlerStatus defines the observed state of SensuHandler +k8s:openapi-gen=true

func (*SensuHandlerStatus) DeepCopy

func (in *SensuHandlerStatus) DeepCopy() *SensuHandlerStatus

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

func (*SensuHandlerStatus) DeepCopyInto

func (in *SensuHandlerStatus) DeepCopyInto(out *SensuHandlerStatus)

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

type SensuMutator

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

	Spec   SensuMutatorSpec   `json:"spec,omitempty"`
	Status SensuMutatorStatus `json:"status,omitempty"`
}

SensuMutator is the Schema for the sensumutators API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensumutators,scope=Namespaced

func (*SensuMutator) DeepCopy

func (in *SensuMutator) DeepCopy() *SensuMutator

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

func (*SensuMutator) DeepCopyInto

func (in *SensuMutator) DeepCopyInto(out *SensuMutator)

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

func (*SensuMutator) DeepCopyObject

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

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

type SensuMutatorList

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

SensuMutatorList contains a list of SensuMutator

func (*SensuMutatorList) DeepCopy

func (in *SensuMutatorList) DeepCopy() *SensuMutatorList

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

func (*SensuMutatorList) DeepCopyInto

func (in *SensuMutatorList) DeepCopyInto(out *SensuMutatorList)

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

func (*SensuMutatorList) DeepCopyObject

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

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

type SensuMutatorSpec

type SensuMutatorSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.Name",description="Sensu Namespace launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +kubebuilder:printcolumn:name="SensuBackendAPI",type="string",JSONPath=".spec.SensuBackendAPI",description="Sensu Backend API"
	SensuBackendAPI string `json:"sensu_backend_api"`
	// +kubebuilder:printcolumn:name="Namespace",type="string",JSONPath=".spec.Namespace",description="Sensu Namespace launched by the Sensu-Operator"
	Namespace string `json:"namespace"`
	// +kubebuilder:printcolumn:name="Command",type="string",JSONPath=".spec.Command",description="Sensu Check Command launched by the Sensu-Operator"
	Command string `json:"command"`
	// +kubebuilder:printcolumn:name="RuntimeAssets",type="set",JSONPath=".spec.RuntimeAssets",description="Sensu Check RuntimeAssets launched by the Sensu-Operator"
	// +listType=set
	RuntimeAssets []string `json:"runtime_assets,omitempty"`
	// +kubebuilder:printcolumn:name="EnvVars",type="set",JSONPath=".spec.EnvVars",description="Sensu Check EnvVars launched by the Sensu-Operator"
	// +listType=set
	EnvVars []string `json:"env_vars,omitempty"`
	// +kubebuilder:printcolumn:name="Timeout",type="string",JSONPath=".spec.Timeout",description="Sensu Check Timeout launched by the Sensu-Operator"
	Timeout int `json:"timeout,omitempty"`
}

SensuMutatorSpec defines the desired state of SensuMutator +k8s:openapi-gen=true

func (*SensuMutatorSpec) DeepCopy

func (in *SensuMutatorSpec) DeepCopy() *SensuMutatorSpec

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

func (*SensuMutatorSpec) DeepCopyInto

func (in *SensuMutatorSpec) DeepCopyInto(out *SensuMutatorSpec)

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

type SensuMutatorStatus

type SensuMutatorStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of Check launched by the Sensu-Operator"
	Status string `json:"status"`
	// +kubebuilder:printcolumn:name="OwnerID",type="string",JSONPath=".status.OwnerID",description="OwnerID to access Sensu API launched by the Sensu-Operator"
	OwnerID string `json:"owner_id"`
}

SensuMutatorStatus defines the observed state of SensuMutator +k8s:openapi-gen=true

func (*SensuMutatorStatus) DeepCopy

func (in *SensuMutatorStatus) DeepCopy() *SensuMutatorStatus

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

func (*SensuMutatorStatus) DeepCopyInto

func (in *SensuMutatorStatus) DeepCopyInto(out *SensuMutatorStatus)

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

type SensuNamespace

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

	Spec   SensuNamespaceSpec   `json:"spec,omitempty"`
	Status SensuNamespaceStatus `json:"status,omitempty"`
}

SensuNamespace is the Schema for the sensunamespaces API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=sensunamespaces,scope=Namespaced

func (*SensuNamespace) DeepCopy

func (in *SensuNamespace) DeepCopy() *SensuNamespace

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

func (*SensuNamespace) DeepCopyInto

func (in *SensuNamespace) DeepCopyInto(out *SensuNamespace)

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

func (*SensuNamespace) DeepCopyObject

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

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

type SensuNamespaceList

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

SensuNamespaceList contains a list of SensuNamespace

func (*SensuNamespaceList) DeepCopy

func (in *SensuNamespaceList) DeepCopy() *SensuNamespaceList

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

func (*SensuNamespaceList) DeepCopyInto

func (in *SensuNamespaceList) DeepCopyInto(out *SensuNamespaceList)

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

func (*SensuNamespaceList) DeepCopyObject

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

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

type SensuNamespaceSpec

type SensuNamespaceSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.Name",description="Sensu Namespace launched by the Sensu-Operator"
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +kubebuilder:printcolumn:name="SensuBackendAPI",type="string",JSONPath=".spec.SensuBackendAPI",description="Sensu Backend API"
	SensuBackendAPI string `json:"sensu_backend_api"`
}

SensuNamespaceSpec defines the desired state of SensuNamespace +k8s:openapi-gen=true

func (*SensuNamespaceSpec) DeepCopy

func (in *SensuNamespaceSpec) DeepCopy() *SensuNamespaceSpec

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

func (*SensuNamespaceSpec) DeepCopyInto

func (in *SensuNamespaceSpec) DeepCopyInto(out *SensuNamespaceSpec)

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

type SensuNamespaceStatus

type SensuNamespaceStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.Status",description="Status of namespace launched by the Sensu-Operator"
	Status string `json:"status"`
	// +kubebuilder:printcolumn:name="OwnerID",type="string",JSONPath=".status.OwnerID",description="OwnerID to access Sensu API launched by the Sensu-Operator"
	OwnerID string `json:"owner_id"`
}

SensuNamespaceStatus defines the observed state of SensuNamespace +k8s:openapi-gen=true

func (*SensuNamespaceStatus) DeepCopy

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

func (*SensuNamespaceStatus) DeepCopyInto

func (in *SensuNamespaceStatus) DeepCopyInto(out *SensuNamespaceStatus)

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