Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the monitor v1 API group +kubebuilder:object:generate=true +groupName=monitor.k8s.webcenter.fr
Index ¶
- Constants
- Variables
- func SetupCentreonServiceGroupIndexer(k8sManager manager.Manager) (err error)
- func SetupCentreonServiceGroupWebhookWithManager(mgr ctrl.Manager, client client.Client) error
- func SetupCentreonServiceIndexer(k8sManager manager.Manager) (err error)
- func SetupCentreonServiceWebhookWithManager(mgr ctrl.Manager, client client.Client) error
- func SetupCertificateIndexer(k8sManager manager.Manager) (err error)
- func SetupIngressIndexer(k8sManager manager.Manager) (err error)
- func SetupNamespaceIndexer(k8sManager manager.Manager) (err error)
- func SetupNodeIndexer(k8sManager manager.Manager) (err error)
- func SetupPlatformIndexer(k8sManager manager.Manager) (err error)
- func SetupPlatformWebhookWithManager(mgr ctrl.Manager, client client.Client) error
- func SetupRouteIndexer(k8sManager manager.Manager) (err error)
- func SetupTemplateWebhookWithManager(mgr ctrl.Manager, client client.Client) error
- type CentreonService
- func (in *CentreonService) DeepCopy() *CentreonService
- func (in *CentreonService) DeepCopyInto(out *CentreonService)
- func (in *CentreonService) DeepCopyObject() runtime.Object
- func (o *CentreonService) GetExternalName() string
- func (o *CentreonService) GetPlatform() string
- func (o *CentreonService) GetStatus() object.RemoteObjectStatus
- func (c *CentreonService) IsValid() bool
- func (r *CentreonService) ValidateCreate() (admission.Warnings, error)
- func (r *CentreonService) ValidateDelete() (admission.Warnings, error)
- func (r *CentreonService) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CentreonServiceGroup
- func (in *CentreonServiceGroup) DeepCopy() *CentreonServiceGroup
- func (in *CentreonServiceGroup) DeepCopyInto(out *CentreonServiceGroup)
- func (in *CentreonServiceGroup) DeepCopyObject() runtime.Object
- func (o *CentreonServiceGroup) GetExternalName() string
- func (o *CentreonServiceGroup) GetPlatform() string
- func (o *CentreonServiceGroup) GetStatus() object.RemoteObjectStatus
- func (h *CentreonServiceGroup) IsValid() bool
- func (r *CentreonServiceGroup) ValidateCreate() (admission.Warnings, error)
- func (r *CentreonServiceGroup) ValidateDelete() (admission.Warnings, error)
- func (r *CentreonServiceGroup) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CentreonServiceGroupList
- type CentreonServiceGroupSpec
- type CentreonServiceGroupStatus
- type CentreonServiceList
- type CentreonServiceSpec
- type CentreonServiceStatus
- type Platform
- func (in *Platform) DeepCopy() *Platform
- func (in *Platform) DeepCopyInto(out *Platform)
- func (in *Platform) DeepCopyObject() runtime.Object
- func (o *Platform) GetExternalName() string
- func (h *Platform) GetStatus() object.RemoteObjectStatus
- func (r *Platform) ValidateCreate() (admission.Warnings, error)
- func (r *Platform) ValidateDelete() (admission.Warnings, error)
- func (r *Platform) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type PlatformList
- type PlatformSpec
- type PlatformSpecCentreonSettings
- type PlatformStatus
- type Template
- func (in *Template) DeepCopy() *Template
- func (in *Template) DeepCopyInto(out *Template)
- func (in *Template) DeepCopyObject() runtime.Object
- func (r *Template) ValidateCreate() (admission.Warnings, error)
- func (r *Template) ValidateDelete() (admission.Warnings, error)
- func (r *Template) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type TemplateList
- type TemplateSpec
- type TemplateStatus
- type TemplateTemplateDelimiter
Constants ¶
const (
MonitoringAnnotationKey = "monitor.k8s.webcenter.fr"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "monitor.k8s.webcenter.fr", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func SetupCentreonServiceGroupIndexer ¶
SetupCentreonServiceIndexer setup indexer for CentreonService
func SetupCentreonServiceGroupWebhookWithManager ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func SetupCentreonServiceIndexer ¶
SetupCentreonServiceIndexer setup indexer for CentreonService
func SetupCentreonServiceWebhookWithManager ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func SetupCertificateIndexer ¶
SetupCertificateIndexer setup indexer for secret (certificate)
func SetupIngressIndexer ¶
SetupCertificateIndexer setup indexer for secret (certificate)
func SetupNamespaceIndexer ¶
SetupCertificateIndexer setup indexer for secret (certificate)
func SetupNodeIndexer ¶
SetupCertificateIndexer setup indexer for secret (certificate)
func SetupPlatformIndexer ¶
SetupPlatformIndexer setup indexer for platform
func SetupPlatformWebhookWithManager ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func SetupRouteIndexer ¶
SetupCertificateIndexer setup indexer for secret (certificate)
Types ¶
type CentreonService ¶
type CentreonService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CentreonServiceSpec `json:"spec,omitempty"` Status CentreonServiceStatus `json:"status,omitempty"` }
CentreonService is the Schema for the centreonservices API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:resource:shortName=mcs +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Host",type="string",JSONPath=".status.host" +kubebuilder:printcolumn:name="Service",type="string",JSONPath=".status.serviceName" +kubebuilder:printcolumn:name="Platform",type="string",JSONPath=".status.platformRef" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*CentreonService) DeepCopy ¶
func (in *CentreonService) DeepCopy() *CentreonService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonService.
func (*CentreonService) DeepCopyInto ¶
func (in *CentreonService) DeepCopyInto(out *CentreonService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CentreonService) DeepCopyObject ¶
func (in *CentreonService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CentreonService) GetExternalName ¶
func (o *CentreonService) GetExternalName() string
GetExternalName return the role name If name is empty, it use the ressource name
func (*CentreonService) GetPlatform ¶
func (o *CentreonService) GetPlatform() string
func (*CentreonService) GetStatus ¶
func (o *CentreonService) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
func (*CentreonService) IsValid ¶
func (c *CentreonService) IsValid() bool
IsValid check Centreon service is valid for Centreon
func (*CentreonService) ValidateCreate ¶
func (r *CentreonService) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CentreonService) ValidateDelete ¶
func (r *CentreonService) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CentreonService) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CentreonServiceGroup ¶
type CentreonServiceGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CentreonServiceGroupSpec `json:"spec,omitempty"` Status CentreonServiceGroupStatus `json:"status,omitempty"` }
CentreonServiceGroup is the Schema for the centreonservicegroups API +operator-sdk:csv:customresourcedefinitions:resources={{None,None,None}} +kubebuilder:resource:shortName=mcsg +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="ServiceGroup",type="string",JSONPath=".status.serviceGroupName" +kubebuilder:printcolumn:name="Platform",type="string",JSONPath=".status.platformRef" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*CentreonServiceGroup) DeepCopy ¶
func (in *CentreonServiceGroup) DeepCopy() *CentreonServiceGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceGroup.
func (*CentreonServiceGroup) DeepCopyInto ¶
func (in *CentreonServiceGroup) DeepCopyInto(out *CentreonServiceGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CentreonServiceGroup) DeepCopyObject ¶
func (in *CentreonServiceGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CentreonServiceGroup) GetExternalName ¶
func (o *CentreonServiceGroup) GetExternalName() string
GetExternalName return the role name If name is empty, it use the ressource name
func (*CentreonServiceGroup) GetPlatform ¶
func (o *CentreonServiceGroup) GetPlatform() string
func (*CentreonServiceGroup) GetStatus ¶
func (o *CentreonServiceGroup) GetStatus() object.RemoteObjectStatus
GetStatus return the status object
func (*CentreonServiceGroup) IsValid ¶
func (h *CentreonServiceGroup) IsValid() bool
IsValid check Centreon service is valid for Centreon
func (*CentreonServiceGroup) ValidateCreate ¶
func (r *CentreonServiceGroup) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CentreonServiceGroup) ValidateDelete ¶
func (r *CentreonServiceGroup) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CentreonServiceGroup) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CentreonServiceGroupList ¶
type CentreonServiceGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CentreonServiceGroup `json:"items"` }
CentreonServiceGroupList contains a list of CentreonServiceGroup
func (*CentreonServiceGroupList) DeepCopy ¶
func (in *CentreonServiceGroupList) DeepCopy() *CentreonServiceGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceGroupList.
func (*CentreonServiceGroupList) DeepCopyInto ¶
func (in *CentreonServiceGroupList) DeepCopyInto(out *CentreonServiceGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CentreonServiceGroupList) DeepCopyObject ¶
func (in *CentreonServiceGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CentreonServiceGroupList) GetItems ¶
func (o *CentreonServiceGroupList) GetItems() []client.Object
GetItems permit to get items
type CentreonServiceGroupSpec ¶
type CentreonServiceGroupSpec struct { // PlatformRef is the target platform where to create serviceGroup // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional PlatformRef string `json:"platformRef,omitempty"` // The serviceGroup name // +operator-sdk:csv:customresourcedefinitions:type=spec Name string `json:"name"` // The serviceGroup description // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Description string `json:"description"` // Activate or disable service // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Activated bool `json:"activate,omitempty"` // Policy define the policy that controller need to respect when it reconcile resource // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Policy shared.Policy `json:"policy,omitempty"` }
CentreonServiceGroupSpec defines the desired state of CentreonServiceGroup +k8s:openapi-gen=true
func (*CentreonServiceGroupSpec) DeepCopy ¶
func (in *CentreonServiceGroupSpec) DeepCopy() *CentreonServiceGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceGroupSpec.
func (*CentreonServiceGroupSpec) DeepCopyInto ¶
func (in *CentreonServiceGroupSpec) DeepCopyInto(out *CentreonServiceGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CentreonServiceGroupStatus ¶
type CentreonServiceGroupStatus struct { apis.BasicRemoteObjectStatus `json:",inline"` // The service group name // +operator-sdk:csv:customresourcedefinitions:type=status ServiceGroupName string `json:"serviceGroupName,omitempty"` // The platform ref // +operator-sdk:csv:customresourcedefinitions:type=status PlatformRef string `json:"platformRef,omitempty"` }
CentreonServiceGroupStatus defines the observed state of CentreonServiceGroup
func (*CentreonServiceGroupStatus) DeepCopy ¶
func (in *CentreonServiceGroupStatus) DeepCopy() *CentreonServiceGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceGroupStatus.
func (*CentreonServiceGroupStatus) DeepCopyInto ¶
func (in *CentreonServiceGroupStatus) DeepCopyInto(out *CentreonServiceGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CentreonServiceList ¶
type CentreonServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CentreonService `json:"items"` }
CentreonServiceList contains a list of CentreonService
func (*CentreonServiceList) DeepCopy ¶
func (in *CentreonServiceList) DeepCopy() *CentreonServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceList.
func (*CentreonServiceList) DeepCopyInto ¶
func (in *CentreonServiceList) DeepCopyInto(out *CentreonServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CentreonServiceList) DeepCopyObject ¶
func (in *CentreonServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CentreonServiceList) GetItems ¶
func (o *CentreonServiceList) GetItems() []client.Object
GetItems permit to get items
type CentreonServiceSpec ¶
type CentreonServiceSpec struct { // PlatformRef is the target platform where to create service // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional PlatformRef string `json:"platformRef,omitempty"` // The service name // +operator-sdk:csv:customresourcedefinitions:type=spec Name string `json:"name"` // The host to attach the service // +operator-sdk:csv:customresourcedefinitions:type=spec Host string `json:"host"` // The service templates // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Template string `json:"template,omitempty"` // The list of service groups // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Groups []string `json:"groups,omitempty"` // The map of macros // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Macros map[string]string `json:"macros,omitempty"` // The list of arguments // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Arguments []string `json:"arguments,omitempty"` // The list of categories // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Categories []string `json:"categories,omitempty"` // The check command // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional CheckCommand string `json:"checkCommand,omitempty"` // The normal check interval // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional NormalCheckInterval string `json:"normalCheckInterval,omitempty"` // The retry check interval // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional RetryCheckInterval string `json:"retryCheckInterval,omitempty"` // The max check attemps // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional MaxCheckAttempts string `json:"maxCheckAttempts,omitempty"` // The active check enable // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ActiveCheckEnabled *bool `json:"activeChecksEnabled,omitempty"` // The passive check enable // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional PassiveCheckEnabled *bool `json:"passiveChecksEnabled,omitempty"` // Activate or disable service // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Activated bool `json:"activate,omitempty"` // Policy define the policy that controller need to respect when it reconcile resource // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Policy shared.Policy `json:"policy,omitempty"` }
CentreonServiceSpec defines the desired state of CentreonService +k8s:openapi-gen=true
func (*CentreonServiceSpec) DeepCopy ¶
func (in *CentreonServiceSpec) DeepCopy() *CentreonServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceSpec.
func (*CentreonServiceSpec) DeepCopyInto ¶
func (in *CentreonServiceSpec) DeepCopyInto(out *CentreonServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CentreonServiceStatus ¶
type CentreonServiceStatus struct { apis.BasicRemoteObjectStatus `json:",inline"` // The host affected to service on Centreon // +operator-sdk:csv:customresourcedefinitions:type=status Host string `json:"host,omitempty"` // The service name // +operator-sdk:csv:customresourcedefinitions:type=status ServiceName string `json:"serviceName,omitempty"` // The platform ref // +operator-sdk:csv:customresourcedefinitions:type=status PlatformRef string `json:"platformRef,omitempty"` }
CentreonServiceStatus defines the observed state of CentreonService
func (*CentreonServiceStatus) DeepCopy ¶
func (in *CentreonServiceStatus) DeepCopy() *CentreonServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CentreonServiceStatus.
func (*CentreonServiceStatus) DeepCopyInto ¶
func (in *CentreonServiceStatus) DeepCopyInto(out *CentreonServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Platform ¶
type Platform struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlatformSpec `json:"spec,omitempty"` Status PlatformStatus `json:"status,omitempty"` }
Platform is the Schema for the platforms API +operator-sdk:csv:customresourcedefinitions:resources={{Secret,v1,monitoring-credentials}} +kubebuilder:printcolumn:name="Sync",type="boolean",JSONPath=".status.isSync" +kubebuilder:printcolumn:name="Error",type="boolean",JSONPath=".status.isOnError",description="Is on error" +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",description="health" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Platform) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.
func (*Platform) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Platform) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Platform) GetExternalName ¶
GetExternalName return the role name If name is empty, it use the ressource name
func (*Platform) GetStatus ¶
func (h *Platform) GetStatus() object.RemoteObjectStatus
GetStatus implement the object.MultiPhaseObject
func (*Platform) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Platform) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type PlatformList ¶
type PlatformList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Platform `json:"items"` }
PlatformList contains a list of Platform
func (*PlatformList) DeepCopy ¶
func (in *PlatformList) DeepCopy() *PlatformList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformList.
func (*PlatformList) DeepCopyInto ¶
func (in *PlatformList) DeepCopyInto(out *PlatformList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlatformList) DeepCopyObject ¶
func (in *PlatformList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlatformSpec ¶
type PlatformSpec struct { // IsDefault is set to tru to use this plateform when is not specify on resource to create // +operator-sdk:csv:customresourcedefinitions:type=spec IsDefault bool `json:"isDefault"` // PlatformType is the platform type. // It support only `centreon` at this time // +operator-sdk:csv:customresourcedefinitions:type=spec // +kubebuilder:validation:Enum=centreon PlatformType string `json:"type"` // CentreonSettings is the setting for Centreon plateform type // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional CentreonSettings *PlatformSpecCentreonSettings `json:"centreonSettings,omitempty"` }
PlatformSpec defines the desired state of Platform +k8s:openapi-gen=true
func (*PlatformSpec) DeepCopy ¶
func (in *PlatformSpec) DeepCopy() *PlatformSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSpec.
func (*PlatformSpec) DeepCopyInto ¶
func (in *PlatformSpec) DeepCopyInto(out *PlatformSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformSpecCentreonSettings ¶
type PlatformSpecCentreonSettings struct { // URL is the full URL to access on Centreon API // +operator-sdk:csv:customresourcedefinitions:type=spec URL string `json:"url"` // SelfSignedCertificat is true if you shouldn't check Centreon API certificate // +operator-sdk:csv:customresourcedefinitions:type=spec SelfSignedCertificate bool `json:"selfSignedCertificat"` // Secret is the secret that store the username and password to access on Centreon API // It need to have `username` and `password` key // +operator-sdk:csv:customresourcedefinitions:type=spec Secret string `json:"secret"` }
func (*PlatformSpecCentreonSettings) DeepCopy ¶
func (in *PlatformSpecCentreonSettings) DeepCopy() *PlatformSpecCentreonSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSpecCentreonSettings.
func (*PlatformSpecCentreonSettings) DeepCopyInto ¶
func (in *PlatformSpecCentreonSettings) DeepCopyInto(out *PlatformSpecCentreonSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformStatus ¶
type PlatformStatus struct {
apis.BasicRemoteObjectStatus `json:",inline"`
}
PlatformStatus defines the observed state of Platform
func (*PlatformStatus) DeepCopy ¶
func (in *PlatformStatus) DeepCopy() *PlatformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformStatus.
func (*PlatformStatus) DeepCopyInto ¶
func (in *PlatformStatus) DeepCopyInto(out *PlatformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Template ¶
type Template struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TemplateSpec `json:"spec,omitempty"` Status TemplateStatus `json:"status,omitempty"` }
Template is the Schema for the templates API +operator-sdk:csv:customresourcedefinitions:resources={{CentreonService,v1,centreonService},{CentreonServiceGroup,v1,centreonServiceGroup}} +kubebuilder:resource:shortName=mtmpl +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Template) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Template) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Template) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TemplateList ¶
type TemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Template `json:"items"` }
TemplateList contains a list of Template
func (*TemplateList) DeepCopy ¶
func (in *TemplateList) DeepCopy() *TemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateList.
func (*TemplateList) DeepCopyInto ¶
func (in *TemplateList) DeepCopyInto(out *TemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateList) DeepCopyObject ¶
func (in *TemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateSpec ¶
type TemplateSpec struct { // Deprecated: Use full template instead to set the type // Type is the object type it generate from template // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Type string `json:"type"` // Deprecated: Use the full template instead to set the name // Name is the resource name generated from template // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional Name string `json:"name,omitempty"` // Template is the template to render. You can use the golang template syntaxe with sprig function // +operator-sdk:csv:customresourcedefinitions:type=spec Template string `json:"template"` // TemplateDelimiter is the delimiter to use when render template // It can be usefull if you use helm on top of them // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional TemplateDelimiter *TemplateTemplateDelimiter `json:"templateDelimiter,omitempty"` }
TemplateSpec defines the desired state of Template +k8s:openapi-gen=true
func (*TemplateSpec) DeepCopy ¶
func (in *TemplateSpec) DeepCopy() *TemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
func (*TemplateSpec) DeepCopyInto ¶
func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateStatus ¶
type TemplateStatus struct { // Fake status to generate bundle manifest without error // +operator-sdk:csv:customresourcedefinitions:type=status Status string `json:"status,omitempty"` }
TemplateStatus defines the observed state of Template
func (*TemplateStatus) DeepCopy ¶
func (in *TemplateStatus) DeepCopy() *TemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateStatus.
func (*TemplateStatus) DeepCopyInto ¶
func (in *TemplateStatus) DeepCopyInto(out *TemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateTemplateDelimiter ¶
type TemplateTemplateDelimiter struct { // Right is the right delimiter // +operator-sdk:csv:customresourcedefinitions:type=spec // +kubebuilder:validation:MinLength:=1 Right string `json:"right"` // Left is the left delimiter // +operator-sdk:csv:customresourcedefinitions:type=spec // +kubebuilder:validation:MinLength:=1 Left string `json:"left"` }
func (*TemplateTemplateDelimiter) DeepCopy ¶
func (in *TemplateTemplateDelimiter) DeepCopy() *TemplateTemplateDelimiter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateTemplateDelimiter.
func (*TemplateTemplateDelimiter) DeepCopyInto ¶
func (in *TemplateTemplateDelimiter) DeepCopyInto(out *TemplateTemplateDelimiter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- centreonservice_func.go
- centreonservice_indexer.go
- centreonservice_types.go
- centreonservice_webhook.go
- centreonservicegroup_func.go
- centreonservicegroup_indexer.go
- centreonservicegroup_types.go
- centreonservicegroup_webhook.go
- groupversion_info.go
- helper.go
- platform_func.go
- platform_indexer.go
- platform_types.go
- platform_webhook.go
- template_indexer.go
- template_types.go
- template_webhook.go
- zz_generated.deepcopy.go