Documentation ¶
Overview ¶
Package v1beta2 contains API Schema definitions for the apps v1beta2 API group +kubebuilder:object:generate=true +groupName=apps.emqx.io
Index ¶
- Variables
- type ACL
- type ACLs
- type Certificate
- type CertificateConf
- type CertificateData
- type CertificateStringData
- type Condition
- type ConditionType
- type Emqx
- type EmqxBroker
- func (in *EmqxBroker) DeepCopy() *EmqxBroker
- func (in *EmqxBroker) DeepCopyInto(out *EmqxBroker)
- func (in *EmqxBroker) DeepCopyObject() runtime.Object
- func (r *EmqxBroker) Default()
- func (emqx *EmqxBroker) GetACL() []ACL
- func (emqx *EmqxBroker) GetAPIVersion() string
- func (emqx *EmqxBroker) GetAffinity() *corev1.Affinity
- func (emqx *EmqxBroker) GetAnnotations() map[string]string
- func (emqx *EmqxBroker) GetEnv() []corev1.EnvVar
- func (emqx *EmqxBroker) GetExtraVolumeMounts() []corev1.VolumeMount
- func (emqx *EmqxBroker) GetExtraVolumes() []corev1.Volume
- func (emqx *EmqxBroker) GetImage() string
- func (emqx *EmqxBroker) GetImagePullPolicy() corev1.PullPolicy
- func (emqx *EmqxBroker) GetImagePullSecrets() []corev1.LocalObjectReference
- func (emqx *EmqxBroker) GetKind() string
- func (emqx *EmqxBroker) GetListener() Listener
- func (emqx *EmqxBroker) GetModules() []EmqxBrokerModules
- func (emqx *EmqxBroker) GetNodeName() string
- func (emqx *EmqxBroker) GetNodeSelector() map[string]string
- func (emqx *EmqxBroker) GetPlugins() []Plugin
- func (emqx *EmqxBroker) GetReplicas() *int32
- func (emqx *EmqxBroker) GetResource() corev1.ResourceRequirements
- func (emqx *EmqxBroker) GetSecurityContext() *corev1.PodSecurityContext
- func (emqx *EmqxBroker) GetServiceAccountName() string
- func (emqx *EmqxBroker) GetStorage() corev1.PersistentVolumeClaimSpec
- func (emqx *EmqxBroker) GetTelegrafTemplate() *TelegrafTemplate
- func (emqx *EmqxBroker) GetToleRations() []corev1.Toleration
- func (*EmqxBroker) Hub()
- func (emqx *EmqxBroker) SetACL(acl []ACL)
- func (emqx *EmqxBroker) SetAPIVersion(version string)
- func (emqx *EmqxBroker) SetAffinity(affinity *corev1.Affinity)
- func (emqx *EmqxBroker) SetAnnotations(annotations map[string]string)
- func (emqx *EmqxBroker) SetEnv(env []corev1.EnvVar)
- func (emqx *EmqxBroker) SetImage(image string)
- func (emqx *EmqxBroker) SetImagePullPolicy(pullPolicy corev1.PullPolicy)
- func (emqx *EmqxBroker) SetImagePullSecrets(imagePullSecrets []corev1.LocalObjectReference)
- func (emqx *EmqxBroker) SetKind(kind string)
- func (emqx *EmqxBroker) SetListener(listener Listener)
- func (emqx *EmqxBroker) SetModules(modules []EmqxBrokerModules)
- func (emqx *EmqxBroker) SetNodeName(nodeName string)
- func (emqx *EmqxBroker) SetNodeSelector(nodeSelector map[string]string)
- func (emqx *EmqxBroker) SetPlugins(plugins []Plugin)
- func (emqx *EmqxBroker) SetReplicas(replicas *int32)
- func (emqx *EmqxBroker) SetResource(resource corev1.ResourceRequirements)
- func (emqx *EmqxBroker) SetSecurityContext(securityContext *corev1.PodSecurityContext)
- func (emqx *EmqxBroker) SetServiceAccountName(serviceAccountName string)
- func (emqx *EmqxBroker) SetStorage(storage corev1.PersistentVolumeClaimSpec)
- func (emqx *EmqxBroker) SetTelegrafTemplate(telegrafTemplate *TelegrafTemplate)
- func (emqx *EmqxBroker) SetToleRations(tolerations []corev1.Toleration)
- func (r *EmqxBroker) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EmqxBroker) ValidateCreate() error
- func (r *EmqxBroker) ValidateDelete() error
- func (r *EmqxBroker) ValidateUpdate(old runtime.Object) error
- type EmqxBrokerList
- type EmqxBrokerModules
- type EmqxBrokerModulesList
- type EmqxBrokerSpec
- type EmqxBrokerTemplate
- type EmqxEnterprise
- func (in *EmqxEnterprise) DeepCopy() *EmqxEnterprise
- func (in *EmqxEnterprise) DeepCopyInto(out *EmqxEnterprise)
- func (in *EmqxEnterprise) DeepCopyObject() runtime.Object
- func (r *EmqxEnterprise) Default()
- func (emqx *EmqxEnterprise) GetACL() []ACL
- func (emqx *EmqxEnterprise) GetAPIVersion() string
- func (emqx *EmqxEnterprise) GetAffinity() *corev1.Affinity
- func (emqx *EmqxEnterprise) GetAnnotations() map[string]string
- func (emqx *EmqxEnterprise) GetEnv() []corev1.EnvVar
- func (emqx *EmqxEnterprise) GetExtraVolumeMounts() []corev1.VolumeMount
- func (emqx *EmqxEnterprise) GetExtraVolumes() []corev1.Volume
- func (emqx *EmqxEnterprise) GetImage() string
- func (emqx *EmqxEnterprise) GetImagePullPolicy() corev1.PullPolicy
- func (emqx *EmqxEnterprise) GetImagePullSecrets() []corev1.LocalObjectReference
- func (emqx *EmqxEnterprise) GetKind() string
- func (emqx *EmqxEnterprise) GetLicense() string
- func (emqx *EmqxEnterprise) GetListener() Listener
- func (emqx *EmqxEnterprise) GetModules() []EmqxEnterpriseModules
- func (emqx *EmqxEnterprise) GetNodeName() string
- func (emqx *EmqxEnterprise) GetNodeSelector() map[string]string
- func (emqx *EmqxEnterprise) GetPlugins() []Plugin
- func (emqx *EmqxEnterprise) GetReplicas() *int32
- func (emqx *EmqxEnterprise) GetResource() corev1.ResourceRequirements
- func (emqx *EmqxEnterprise) GetSecurityContext() *corev1.PodSecurityContext
- func (emqx *EmqxEnterprise) GetServiceAccountName() string
- func (emqx *EmqxEnterprise) GetStorage() corev1.PersistentVolumeClaimSpec
- func (emqx *EmqxEnterprise) GetTelegrafTemplate() *TelegrafTemplate
- func (emqx *EmqxEnterprise) GetToleRations() []corev1.Toleration
- func (*EmqxEnterprise) Hub()
- func (emqx *EmqxEnterprise) SetACL(acl []ACL)
- func (emqx *EmqxEnterprise) SetAPIVersion(version string)
- func (emqx *EmqxEnterprise) SetAffinity(affinity *corev1.Affinity)
- func (emqx *EmqxEnterprise) SetAnnotations(annotations map[string]string)
- func (emqx *EmqxEnterprise) SetEnv(env []corev1.EnvVar)
- func (emqx *EmqxEnterprise) SetImage(image string)
- func (emqx *EmqxEnterprise) SetImagePullPolicy(pullPolicy corev1.PullPolicy)
- func (emqx *EmqxEnterprise) SetImagePullSecrets(imagePullSecrets []corev1.LocalObjectReference)
- func (emqx *EmqxEnterprise) SetKind(kind string)
- func (emqx *EmqxEnterprise) SetLicense(license string)
- func (emqx *EmqxEnterprise) SetListener(listener Listener)
- func (emqx *EmqxEnterprise) SetModules(modules []EmqxEnterpriseModules)
- func (emqx *EmqxEnterprise) SetNodeName(nodeName string)
- func (emqx *EmqxEnterprise) SetNodeSelector(nodeSelector map[string]string)
- func (emqx *EmqxEnterprise) SetPlugins(plugins []Plugin)
- func (emqx *EmqxEnterprise) SetReplicas(replicas *int32)
- func (emqx *EmqxEnterprise) SetResource(resource corev1.ResourceRequirements)
- func (emqx *EmqxEnterprise) SetSecurityContext(securityContext *corev1.PodSecurityContext)
- func (emqx *EmqxEnterprise) SetServiceAccountName(serviceAccountName string)
- func (emqx *EmqxEnterprise) SetStorage(storage corev1.PersistentVolumeClaimSpec)
- func (emqx *EmqxEnterprise) SetTelegrafTemplate(telegrafTemplate *TelegrafTemplate)
- func (emqx *EmqxEnterprise) SetToleRations(tolerations []corev1.Toleration)
- func (r *EmqxEnterprise) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EmqxEnterprise) ValidateCreate() error
- func (r *EmqxEnterprise) ValidateDelete() error
- func (r *EmqxEnterprise) ValidateUpdate(old runtime.Object) error
- type EmqxEnterpriseList
- type EmqxEnterpriseModules
- type EmqxEnterpriseModulesList
- type EmqxEnterpriseSpec
- type EmqxEnterpriseTemplate
- type EmqxSpec
- type EmqxStatus
- type Environments
- func (e *Environments) Append(envs []corev1.EnvVar)
- func (e *Environments) ClusterForDNS(emqx client.Object)
- func (e *Environments) ClusterForK8S(emqx client.Object)
- func (in *Environments) DeepCopy() *Environments
- func (in *Environments) DeepCopyInto(out *Environments)
- func (e *Environments) Default(emqx client.Object)
- func (e *Environments) Lookup(name string) (*corev1.EnvVar, int)
- func (e *Environments) Overwrite(envs []corev1.EnvVar)
- type Listener
- type Names
- func (n Names) ACL() string
- func (n Names) Data() string
- func (n Names) HeadlessSvc() string
- func (n Names) License() string
- func (n Names) Log() string
- func (n Names) MQTTSCertificate() string
- func (n Names) Modules() string
- func (n Names) Plugins() string
- func (n Names) Telegraf() string
- func (n Names) WSSCertificate() string
- type Phase
- type Plugin
- type Plugins
- type Ports
- type Status
- func (ecs *Status) ClearCondition(t ConditionType)
- func (in *Status) DeepCopy() *Status
- func (in *Status) DeepCopyInto(out *Status)
- func (ecs *Status) DescConditionsByTime()
- func (ecs *Status) GetConditions() []Condition
- func (ecs *Status) SetCreateCondition(message string)
- func (ecs *Status) SetFailedCondition(message string)
- func (ecs *Status) SetReadyCondition(message string)
- func (ecs *Status) SetScalingDownCondition(message string)
- func (ecs *Status) SetScalingUpCondition(message string)
- func (ecs *Status) SetUpdatingCondition(message string)
- func (ecs *Status) SetUpgradingCondition(message string)
- type TelegrafTemplate
- type Topics
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.emqx.io", Version: "v1beta2"} // 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 ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct { //+kubebuilder:validation:Enum=allow;deny //+kubebuilder:validation:Required Permission string `json:"permission"` Username string `json:"username,omitempty"` ClientID string `json:"clientid,omitempty"` IPAddress string `json:"ipaddress,omitempty"` //+kubebuilder:validation:Enum=publish;subscribe Action string `json:"action,omitempty"` Topics Topics `json:"topics,omitempty"` }
+kubebuilder:object:generate=true
func (*ACL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACL.
func (*ACL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Certificate ¶
type Certificate struct { WSS CertificateConf `json:"wss,omitempty"` MQTTS CertificateConf `json:"mqtts,omitempty"` }
+kubebuilder:object:generate=true
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateConf ¶
type CertificateConf struct { Data CertificateData `json:"data,omitempty"` StringData CertificateStringData `json:"stringData,omitempty"` }
func (*CertificateConf) DeepCopy ¶
func (in *CertificateConf) DeepCopy() *CertificateConf
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateConf.
func (*CertificateConf) DeepCopyInto ¶
func (in *CertificateConf) DeepCopyInto(out *CertificateConf)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateData ¶
type CertificateData struct { CaCert []byte `json:"ca.crt,omitempty"` TLSCert []byte `json:"tls.crt,omitempty"` TLSKey []byte `json:"tls.key,omitempty"` }
func (*CertificateData) DeepCopy ¶
func (in *CertificateData) DeepCopy() *CertificateData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateData.
func (*CertificateData) DeepCopyInto ¶
func (in *CertificateData) DeepCopyInto(out *CertificateData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateStringData ¶
type CertificateStringData struct { CaCert string `json:"ca.crt,omitempty"` TLSCert string `json:"tls.crt,omitempty"` TLSKey string `json:"tls.key,omitempty"` }
func (*CertificateStringData) DeepCopy ¶
func (in *CertificateStringData) DeepCopy() *CertificateStringData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateStringData.
func (*CertificateStringData) DeepCopyInto ¶
func (in *CertificateStringData) DeepCopyInto(out *CertificateStringData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // Status of cluster condition. Type ConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime string `json:"lastUpdateTime,omitempty"` LastUpdateAt metav1.Time `json:"-"` // Last time the condition transitioned from one status to another. LastTransitionTime string `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` }
Condition saves the state information of the EMQX cluster
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶
type ConditionType string
ConditionType defines the condition that the RF can have
const ( ClusterConditionAvailable ConditionType = "Available" ClusterConditionHealthy ConditionType = "Healthy" ClusterConditionRunning ConditionType = "Running" ClusterConditionCreating ConditionType = "Creating" ClusterConditionRecovering ConditionType = "Recovering" ClusterConditionScaling ConditionType = "Scaling" ClusterConditionScalingDown ConditionType = "ScalingDown" ClusterConditionUpgrading ConditionType = "Upgrading" ClusterConditionUpdating ConditionType = "Updating" ClusterConditionFailed ConditionType = "Failed" )
type EmqxBroker ¶
type EmqxBroker struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EmqxBrokerSpec `json:"spec,omitempty"` Status `json:"status,omitempty"` }
EmqxBroker is the Schema for the emqxbrokers API
func (*EmqxBroker) DeepCopy ¶
func (in *EmqxBroker) DeepCopy() *EmqxBroker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxBroker.
func (*EmqxBroker) DeepCopyInto ¶
func (in *EmqxBroker) DeepCopyInto(out *EmqxBroker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmqxBroker) DeepCopyObject ¶
func (in *EmqxBroker) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EmqxBroker) Default ¶
func (r *EmqxBroker) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*EmqxBroker) GetACL ¶
func (emqx *EmqxBroker) GetACL() []ACL
func (*EmqxBroker) GetAPIVersion ¶
func (emqx *EmqxBroker) GetAPIVersion() string
func (*EmqxBroker) GetAffinity ¶
func (emqx *EmqxBroker) GetAffinity() *corev1.Affinity
func (*EmqxBroker) GetAnnotations ¶
func (emqx *EmqxBroker) GetAnnotations() map[string]string
func (*EmqxBroker) GetEnv ¶
func (emqx *EmqxBroker) GetEnv() []corev1.EnvVar
func (*EmqxBroker) GetExtraVolumeMounts ¶
func (emqx *EmqxBroker) GetExtraVolumeMounts() []corev1.VolumeMount
func (*EmqxBroker) GetExtraVolumes ¶
func (emqx *EmqxBroker) GetExtraVolumes() []corev1.Volume
func (*EmqxBroker) GetImage ¶
func (emqx *EmqxBroker) GetImage() string
func (*EmqxBroker) GetImagePullPolicy ¶
func (emqx *EmqxBroker) GetImagePullPolicy() corev1.PullPolicy
func (*EmqxBroker) GetImagePullSecrets ¶
func (emqx *EmqxBroker) GetImagePullSecrets() []corev1.LocalObjectReference
func (*EmqxBroker) GetKind ¶
func (emqx *EmqxBroker) GetKind() string
func (*EmqxBroker) GetListener ¶
func (emqx *EmqxBroker) GetListener() Listener
func (*EmqxBroker) GetModules ¶
func (emqx *EmqxBroker) GetModules() []EmqxBrokerModules
func (*EmqxBroker) GetNodeName ¶
func (emqx *EmqxBroker) GetNodeName() string
func (*EmqxBroker) GetNodeSelector ¶
func (emqx *EmqxBroker) GetNodeSelector() map[string]string
func (*EmqxBroker) GetPlugins ¶
func (emqx *EmqxBroker) GetPlugins() []Plugin
func (*EmqxBroker) GetReplicas ¶
func (emqx *EmqxBroker) GetReplicas() *int32
func (*EmqxBroker) GetResource ¶
func (emqx *EmqxBroker) GetResource() corev1.ResourceRequirements
func (*EmqxBroker) GetSecurityContext ¶
func (emqx *EmqxBroker) GetSecurityContext() *corev1.PodSecurityContext
func (*EmqxBroker) GetServiceAccountName ¶
func (emqx *EmqxBroker) GetServiceAccountName() string
func (*EmqxBroker) GetStorage ¶
func (emqx *EmqxBroker) GetStorage() corev1.PersistentVolumeClaimSpec
func (*EmqxBroker) GetTelegrafTemplate ¶
func (emqx *EmqxBroker) GetTelegrafTemplate() *TelegrafTemplate
func (*EmqxBroker) GetToleRations ¶
func (emqx *EmqxBroker) GetToleRations() []corev1.Toleration
func (*EmqxBroker) Hub ¶
func (*EmqxBroker) Hub()
func (*EmqxBroker) SetACL ¶
func (emqx *EmqxBroker) SetACL(acl []ACL)
func (*EmqxBroker) SetAPIVersion ¶
func (emqx *EmqxBroker) SetAPIVersion(version string)
func (*EmqxBroker) SetAffinity ¶
func (emqx *EmqxBroker) SetAffinity(affinity *corev1.Affinity)
func (*EmqxBroker) SetAnnotations ¶
func (emqx *EmqxBroker) SetAnnotations(annotations map[string]string)
func (*EmqxBroker) SetEnv ¶
func (emqx *EmqxBroker) SetEnv(env []corev1.EnvVar)
func (*EmqxBroker) SetImage ¶
func (emqx *EmqxBroker) SetImage(image string)
func (*EmqxBroker) SetImagePullPolicy ¶
func (emqx *EmqxBroker) SetImagePullPolicy(pullPolicy corev1.PullPolicy)
func (*EmqxBroker) SetImagePullSecrets ¶
func (emqx *EmqxBroker) SetImagePullSecrets(imagePullSecrets []corev1.LocalObjectReference)
func (*EmqxBroker) SetKind ¶
func (emqx *EmqxBroker) SetKind(kind string)
func (*EmqxBroker) SetListener ¶
func (emqx *EmqxBroker) SetListener(listener Listener)
func (*EmqxBroker) SetModules ¶
func (emqx *EmqxBroker) SetModules(modules []EmqxBrokerModules)
func (*EmqxBroker) SetNodeName ¶
func (emqx *EmqxBroker) SetNodeName(nodeName string)
func (*EmqxBroker) SetNodeSelector ¶
func (emqx *EmqxBroker) SetNodeSelector(nodeSelector map[string]string)
func (*EmqxBroker) SetPlugins ¶
func (emqx *EmqxBroker) SetPlugins(plugins []Plugin)
func (*EmqxBroker) SetReplicas ¶
func (emqx *EmqxBroker) SetReplicas(replicas *int32)
func (*EmqxBroker) SetResource ¶
func (emqx *EmqxBroker) SetResource(resource corev1.ResourceRequirements)
func (*EmqxBroker) SetSecurityContext ¶
func (emqx *EmqxBroker) SetSecurityContext(securityContext *corev1.PodSecurityContext)
func (*EmqxBroker) SetServiceAccountName ¶
func (emqx *EmqxBroker) SetServiceAccountName(serviceAccountName string)
func (*EmqxBroker) SetStorage ¶
func (emqx *EmqxBroker) SetStorage(storage corev1.PersistentVolumeClaimSpec)
func (*EmqxBroker) SetTelegrafTemplate ¶
func (emqx *EmqxBroker) SetTelegrafTemplate(telegrafTemplate *TelegrafTemplate)
func (*EmqxBroker) SetToleRations ¶
func (emqx *EmqxBroker) SetToleRations(tolerations []corev1.Toleration)
func (*EmqxBroker) SetupWebhookWithManager ¶
func (r *EmqxBroker) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*EmqxBroker) ValidateCreate ¶
func (r *EmqxBroker) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EmqxBroker) ValidateDelete ¶
func (r *EmqxBroker) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EmqxBroker) ValidateUpdate ¶
func (r *EmqxBroker) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EmqxBrokerList ¶
type EmqxBrokerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EmqxBroker `json:"items"` }
EmqxBrokerList contains a list of EmqxBroker
func (*EmqxBrokerList) DeepCopy ¶
func (in *EmqxBrokerList) DeepCopy() *EmqxBrokerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxBrokerList.
func (*EmqxBrokerList) DeepCopyInto ¶
func (in *EmqxBrokerList) DeepCopyInto(out *EmqxBrokerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmqxBrokerList) DeepCopyObject ¶
func (in *EmqxBrokerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EmqxBrokerModules ¶
type EmqxBrokerModules struct { Name string `json:"name,omitempty"` Enable bool `json:"enable,omitempty"` }
+kubebuilder:object:generate=true
func (*EmqxBrokerModules) DeepCopy ¶
func (in *EmqxBrokerModules) DeepCopy() *EmqxBrokerModules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxBrokerModules.
func (*EmqxBrokerModules) DeepCopyInto ¶
func (in *EmqxBrokerModules) DeepCopyInto(out *EmqxBrokerModules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmqxBrokerModulesList ¶
type EmqxBrokerModulesList struct {
Items []EmqxBrokerModules
}
+kubebuilder:object:generate=false
func (*EmqxBrokerModulesList) Default ¶
func (list *EmqxBrokerModulesList) Default()
func (*EmqxBrokerModulesList) Lookup ¶
func (list *EmqxBrokerModulesList) Lookup(name string) (*EmqxBrokerModules, int)
func (*EmqxBrokerModulesList) String ¶
func (list *EmqxBrokerModulesList) String() string
type EmqxBrokerSpec ¶
type EmqxBrokerSpec struct { // The fields of Broker. //The replicas of emqx broker //+kubebuilder:default:=3 Replicas *int32 `json:"replicas,omitempty"` //+kubebuilder:validation:Required Image string `json:"image,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` // The service account name which is being bind with the service // account of the crd instance. Resources corev1.ResourceRequirements `json:"resources,omitempty"` Storage corev1.PersistentVolumeClaimSpec `json:"storage,omitempty"` // The labels configure must be specified. Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` ToleRations []corev1.Toleration `json:"toleRations,omitempty"` NodeName string `json:"nodeName,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` ExtraVolumes []corev1.Volume `json:"extraVolumes,omitempty"` ExtraVolumeMounts []corev1.VolumeMount `json:"extraVolumeMounts,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` EmqxTemplate EmqxBrokerTemplate `json:"emqxTemplate,omitempty"` TelegrafTemplate *TelegrafTemplate `json:"telegrafTemplate,omitempty"` }
EmqxBrokerSpec defines the desired state of EmqxBroker
func (*EmqxBrokerSpec) DeepCopy ¶
func (in *EmqxBrokerSpec) DeepCopy() *EmqxBrokerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxBrokerSpec.
func (*EmqxBrokerSpec) DeepCopyInto ¶
func (in *EmqxBrokerSpec) DeepCopyInto(out *EmqxBrokerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmqxBrokerTemplate ¶
type EmqxBrokerTemplate struct { Listener Listener `json:"listener,omitempty"` ACL []ACL `json:"acl,omitempty"` Plugins []Plugin `json:"plugins,omitempty"` Modules []EmqxBrokerModules `json:"modules,omitempty"` }
func (*EmqxBrokerTemplate) DeepCopy ¶
func (in *EmqxBrokerTemplate) DeepCopy() *EmqxBrokerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxBrokerTemplate.
func (*EmqxBrokerTemplate) DeepCopyInto ¶
func (in *EmqxBrokerTemplate) DeepCopyInto(out *EmqxBrokerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmqxEnterprise ¶
type EmqxEnterprise struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EmqxEnterpriseSpec `json:"spec,omitempty"` Status `json:"status,omitempty"` }
EmqxEnterprise is the Schema for the emqxenterprises API
func (*EmqxEnterprise) DeepCopy ¶
func (in *EmqxEnterprise) DeepCopy() *EmqxEnterprise
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxEnterprise.
func (*EmqxEnterprise) DeepCopyInto ¶
func (in *EmqxEnterprise) DeepCopyInto(out *EmqxEnterprise)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmqxEnterprise) DeepCopyObject ¶
func (in *EmqxEnterprise) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EmqxEnterprise) Default ¶
func (r *EmqxEnterprise) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*EmqxEnterprise) GetACL ¶
func (emqx *EmqxEnterprise) GetACL() []ACL
func (*EmqxEnterprise) GetAPIVersion ¶
func (emqx *EmqxEnterprise) GetAPIVersion() string
func (*EmqxEnterprise) GetAffinity ¶
func (emqx *EmqxEnterprise) GetAffinity() *corev1.Affinity
func (*EmqxEnterprise) GetAnnotations ¶
func (emqx *EmqxEnterprise) GetAnnotations() map[string]string
func (*EmqxEnterprise) GetEnv ¶
func (emqx *EmqxEnterprise) GetEnv() []corev1.EnvVar
func (*EmqxEnterprise) GetExtraVolumeMounts ¶
func (emqx *EmqxEnterprise) GetExtraVolumeMounts() []corev1.VolumeMount
func (*EmqxEnterprise) GetExtraVolumes ¶
func (emqx *EmqxEnterprise) GetExtraVolumes() []corev1.Volume
func (*EmqxEnterprise) GetImage ¶
func (emqx *EmqxEnterprise) GetImage() string
func (*EmqxEnterprise) GetImagePullPolicy ¶
func (emqx *EmqxEnterprise) GetImagePullPolicy() corev1.PullPolicy
func (*EmqxEnterprise) GetImagePullSecrets ¶
func (emqx *EmqxEnterprise) GetImagePullSecrets() []corev1.LocalObjectReference
func (*EmqxEnterprise) GetKind ¶
func (emqx *EmqxEnterprise) GetKind() string
func (*EmqxEnterprise) GetLicense ¶
func (emqx *EmqxEnterprise) GetLicense() string
func (*EmqxEnterprise) GetListener ¶
func (emqx *EmqxEnterprise) GetListener() Listener
func (*EmqxEnterprise) GetModules ¶
func (emqx *EmqxEnterprise) GetModules() []EmqxEnterpriseModules
func (*EmqxEnterprise) GetNodeName ¶
func (emqx *EmqxEnterprise) GetNodeName() string
func (*EmqxEnterprise) GetNodeSelector ¶
func (emqx *EmqxEnterprise) GetNodeSelector() map[string]string
func (*EmqxEnterprise) GetPlugins ¶
func (emqx *EmqxEnterprise) GetPlugins() []Plugin
func (*EmqxEnterprise) GetReplicas ¶
func (emqx *EmqxEnterprise) GetReplicas() *int32
func (*EmqxEnterprise) GetResource ¶
func (emqx *EmqxEnterprise) GetResource() corev1.ResourceRequirements
func (*EmqxEnterprise) GetSecurityContext ¶
func (emqx *EmqxEnterprise) GetSecurityContext() *corev1.PodSecurityContext
func (*EmqxEnterprise) GetServiceAccountName ¶
func (emqx *EmqxEnterprise) GetServiceAccountName() string
func (*EmqxEnterprise) GetStorage ¶
func (emqx *EmqxEnterprise) GetStorage() corev1.PersistentVolumeClaimSpec
func (*EmqxEnterprise) GetTelegrafTemplate ¶
func (emqx *EmqxEnterprise) GetTelegrafTemplate() *TelegrafTemplate
func (*EmqxEnterprise) GetToleRations ¶
func (emqx *EmqxEnterprise) GetToleRations() []corev1.Toleration
func (*EmqxEnterprise) Hub ¶
func (*EmqxEnterprise) Hub()
func (*EmqxEnterprise) SetACL ¶
func (emqx *EmqxEnterprise) SetACL(acl []ACL)
func (*EmqxEnterprise) SetAPIVersion ¶
func (emqx *EmqxEnterprise) SetAPIVersion(version string)
func (*EmqxEnterprise) SetAffinity ¶
func (emqx *EmqxEnterprise) SetAffinity(affinity *corev1.Affinity)
func (*EmqxEnterprise) SetAnnotations ¶
func (emqx *EmqxEnterprise) SetAnnotations(annotations map[string]string)
func (*EmqxEnterprise) SetEnv ¶
func (emqx *EmqxEnterprise) SetEnv(env []corev1.EnvVar)
func (*EmqxEnterprise) SetImage ¶
func (emqx *EmqxEnterprise) SetImage(image string)
func (*EmqxEnterprise) SetImagePullPolicy ¶
func (emqx *EmqxEnterprise) SetImagePullPolicy(pullPolicy corev1.PullPolicy)
func (*EmqxEnterprise) SetImagePullSecrets ¶
func (emqx *EmqxEnterprise) SetImagePullSecrets(imagePullSecrets []corev1.LocalObjectReference)
func (*EmqxEnterprise) SetKind ¶
func (emqx *EmqxEnterprise) SetKind(kind string)
func (*EmqxEnterprise) SetLicense ¶
func (emqx *EmqxEnterprise) SetLicense(license string)
func (*EmqxEnterprise) SetListener ¶
func (emqx *EmqxEnterprise) SetListener(listener Listener)
func (*EmqxEnterprise) SetModules ¶
func (emqx *EmqxEnterprise) SetModules(modules []EmqxEnterpriseModules)
func (*EmqxEnterprise) SetNodeName ¶
func (emqx *EmqxEnterprise) SetNodeName(nodeName string)
func (*EmqxEnterprise) SetNodeSelector ¶
func (emqx *EmqxEnterprise) SetNodeSelector(nodeSelector map[string]string)
func (*EmqxEnterprise) SetPlugins ¶
func (emqx *EmqxEnterprise) SetPlugins(plugins []Plugin)
func (*EmqxEnterprise) SetReplicas ¶
func (emqx *EmqxEnterprise) SetReplicas(replicas *int32)
func (*EmqxEnterprise) SetResource ¶
func (emqx *EmqxEnterprise) SetResource(resource corev1.ResourceRequirements)
func (*EmqxEnterprise) SetSecurityContext ¶
func (emqx *EmqxEnterprise) SetSecurityContext(securityContext *corev1.PodSecurityContext)
func (*EmqxEnterprise) SetServiceAccountName ¶
func (emqx *EmqxEnterprise) SetServiceAccountName(serviceAccountName string)
func (*EmqxEnterprise) SetStorage ¶
func (emqx *EmqxEnterprise) SetStorage(storage corev1.PersistentVolumeClaimSpec)
func (*EmqxEnterprise) SetTelegrafTemplate ¶
func (emqx *EmqxEnterprise) SetTelegrafTemplate(telegrafTemplate *TelegrafTemplate)
func (*EmqxEnterprise) SetToleRations ¶
func (emqx *EmqxEnterprise) SetToleRations(tolerations []corev1.Toleration)
func (*EmqxEnterprise) SetupWebhookWithManager ¶
func (r *EmqxEnterprise) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*EmqxEnterprise) ValidateCreate ¶
func (r *EmqxEnterprise) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EmqxEnterprise) ValidateDelete ¶
func (r *EmqxEnterprise) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EmqxEnterprise) ValidateUpdate ¶
func (r *EmqxEnterprise) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EmqxEnterpriseList ¶
type EmqxEnterpriseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EmqxEnterprise `json:"items"` }
EmqxEnterpriseList contains a list of EmqxEnterprise
func (*EmqxEnterpriseList) DeepCopy ¶
func (in *EmqxEnterpriseList) DeepCopy() *EmqxEnterpriseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxEnterpriseList.
func (*EmqxEnterpriseList) DeepCopyInto ¶
func (in *EmqxEnterpriseList) DeepCopyInto(out *EmqxEnterpriseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmqxEnterpriseList) DeepCopyObject ¶
func (in *EmqxEnterpriseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EmqxEnterpriseModules ¶
type EmqxEnterpriseModules struct { Name string `json:"name,omitempty"` Enable bool `json:"enable,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields Configs runtime.RawExtension `json:"configs,omitempty"` }
+kubebuilder:object:generate=true
func (*EmqxEnterpriseModules) DeepCopy ¶
func (in *EmqxEnterpriseModules) DeepCopy() *EmqxEnterpriseModules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxEnterpriseModules.
func (*EmqxEnterpriseModules) DeepCopyInto ¶
func (in *EmqxEnterpriseModules) DeepCopyInto(out *EmqxEnterpriseModules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmqxEnterpriseModulesList ¶
type EmqxEnterpriseModulesList struct {
Items []EmqxEnterpriseModules
}
+kubebuilder:object:generate=false
func (*EmqxEnterpriseModulesList) Append ¶
func (list *EmqxEnterpriseModulesList) Append(modules []EmqxEnterpriseModules)
func (*EmqxEnterpriseModulesList) Default ¶
func (list *EmqxEnterpriseModulesList) Default()
func (*EmqxEnterpriseModulesList) Lookup ¶
func (list *EmqxEnterpriseModulesList) Lookup(name string) (*EmqxEnterpriseModules, int)
func (*EmqxEnterpriseModulesList) Overwrite ¶
func (list *EmqxEnterpriseModulesList) Overwrite(modules []EmqxEnterpriseModules)
type EmqxEnterpriseSpec ¶
type EmqxEnterpriseSpec struct { // The fields of Broker. //The replicas of emqx broker //+kubebuilder:default:=3 Replicas *int32 `json:"replicas,omitempty"` //+kubebuilder:validation:Required Image string `json:"image,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` // The service account name which is being bind with the service // account of the crd instance. Resources corev1.ResourceRequirements `json:"resources,omitempty"` Storage corev1.PersistentVolumeClaimSpec `json:"storage,omitempty"` // The labels configure must be specified. Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` ToleRations []corev1.Toleration `json:"toleRations,omitempty"` NodeName string `json:"nodeName,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` ExtraVolumes []corev1.Volume `json:"extraVolumes,omitempty"` ExtraVolumeMounts []corev1.VolumeMount `json:"extraVolumeMounts,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` EmqxTemplate EmqxEnterpriseTemplate `json:"emqxTemplate,omitempty"` TelegrafTemplate *TelegrafTemplate `json:"telegrafTemplate,omitempty"` }
EmqxEnterpriseSpec defines the desired state of EmqxEnterprise
func (*EmqxEnterpriseSpec) DeepCopy ¶
func (in *EmqxEnterpriseSpec) DeepCopy() *EmqxEnterpriseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxEnterpriseSpec.
func (*EmqxEnterpriseSpec) DeepCopyInto ¶
func (in *EmqxEnterpriseSpec) DeepCopyInto(out *EmqxEnterpriseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmqxEnterpriseTemplate ¶
type EmqxEnterpriseTemplate struct { License string `json:"license,omitempty"` Listener Listener `json:"listener,omitempty"` ACL []ACL `json:"acl,omitempty"` Plugins []Plugin `json:"plugins,omitempty"` Modules []EmqxEnterpriseModules `json:"modules,omitempty"` }
func (*EmqxEnterpriseTemplate) DeepCopy ¶
func (in *EmqxEnterpriseTemplate) DeepCopy() *EmqxEnterpriseTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmqxEnterpriseTemplate.
func (*EmqxEnterpriseTemplate) DeepCopyInto ¶
func (in *EmqxEnterpriseTemplate) DeepCopyInto(out *EmqxEnterpriseTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmqxSpec ¶
type EmqxSpec interface { GetReplicas() *int32 SetReplicas(replicas *int32) GetImage() string SetImage(image string) GetImagePullPolicy() corev1.PullPolicy SetImagePullPolicy(pullPolicy corev1.PullPolicy) GetImagePullSecrets() []corev1.LocalObjectReference SetImagePullSecrets([]corev1.LocalObjectReference) GetServiceAccountName() string SetServiceAccountName(serviceAccountName string) GetResource() corev1.ResourceRequirements SetResource(resource corev1.ResourceRequirements) GetStorage() corev1.PersistentVolumeClaimSpec SetStorage(storage corev1.PersistentVolumeClaimSpec) GetNodeName() string SetNodeName(nodeName string) GetNodeSelector() map[string]string SetNodeSelector(nodeSelector map[string]string) GetAnnotations() map[string]string SetAnnotations(annotations map[string]string) GetListener() Listener SetListener(Listener) GetAffinity() *corev1.Affinity SetAffinity(affinity *corev1.Affinity) GetToleRations() []corev1.Toleration SetToleRations(tolerations []corev1.Toleration) GetExtraVolumes() []corev1.Volume GetExtraVolumeMounts() []corev1.VolumeMount GetACL() []ACL SetACL(acl []ACL) GetEnv() []corev1.EnvVar SetEnv(env []corev1.EnvVar) GetPlugins() []Plugin SetPlugins(plugins []Plugin) GetSecurityContext() *corev1.PodSecurityContext SetSecurityContext(securityContext *corev1.PodSecurityContext) GetTelegrafTemplate() *TelegrafTemplate SetTelegrafTemplate(telegraftedTemplate *TelegrafTemplate) }
+kubebuilder:object:generate=false
type EmqxStatus ¶
type EmqxStatus interface { DescConditionsByTime() GetConditions() []Condition SetScalingUpCondition(message string) SetCreateCondition(message string) SetScalingDownCondition(message string) SetUpgradingCondition(message string) SetUpdatingCondition(message string) SetReadyCondition(message string) SetFailedCondition(message string) ClearCondition(t ConditionType) // contains filtered or unexported methods }
+kubebuilder:object:generate=false
type Environments ¶
func (*Environments) Append ¶
func (e *Environments) Append(envs []corev1.EnvVar)
func (*Environments) ClusterForDNS ¶
func (e *Environments) ClusterForDNS(emqx client.Object)
func (*Environments) ClusterForK8S ¶
func (e *Environments) ClusterForK8S(emqx client.Object)
func (*Environments) DeepCopy ¶
func (in *Environments) DeepCopy() *Environments
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environments.
func (*Environments) DeepCopyInto ¶
func (in *Environments) DeepCopyInto(out *Environments)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environments) Default ¶
func (e *Environments) Default(emqx client.Object)
func (*Environments) Overwrite ¶
func (e *Environments) Overwrite(envs []corev1.EnvVar)
type Listener ¶
type Listener struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` //+kubebuilder:validation:Enum=NodePort;LoadBalancer;ClusterIP Type corev1.ServiceType `json:"type,omitempty"` LoadBalancerIP string `json:"loadBalancerIP,omitempty" protobuf:"bytes,8,opt,name=loadBalancerIP"` LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,9,opt,name=loadBalancerSourceRanges"` ExternalIPs []string `json:"externalIPs,omitempty" protobuf:"bytes,5,rep,name=externalIPs"` Ports Ports `json:"ports,omitempty"` NodePorts Ports `json:"nodePorts,omitempty"` Certificate Certificate `json:"certificate,omitempty"` }
+kubebuilder:object:generate=true
func (*Listener) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Listener.
func (*Listener) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Names ¶
+kubebuilder:object:generate=false
func (Names) HeadlessSvc ¶
func (Names) MQTTSCertificate ¶
func (Names) WSSCertificate ¶
type Plugin ¶
+kubebuilder:object:generate=true
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ports ¶
type Ports struct { //+kubebuilder:validation:Maximum=65535 MQTT int32 `json:"mqtt,omitempty"` //+kubebuilder:validation:Maximum=65535 MQTTS int32 `json:"mqtts,omitempty"` //+kubebuilder:validation:Maximum=65535 WS int32 `json:"ws,omitempty"` //+kubebuilder:validation:Maximum=65535 WSS int32 `json:"wss,omitempty"` //+kubebuilder:validation:Maximum=65535 Dashboard int32 `json:"dashboard,omitempty"` //+kubebuilder:validation:Maximum=65535 API int32 `json:"api,omitempty"` }
func (*Ports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (*Ports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Status ¶
type Status 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.kubebuilder.io/beyond_basics/generating_crd.html Conditions []Condition `json:"conditions,omitempty"` }
Emqx Status defines the observed state of EMQX
func (*Status) ClearCondition ¶
func (ecs *Status) ClearCondition(t ConditionType)
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Status) DescConditionsByTime ¶
func (ecs *Status) DescConditionsByTime()
func (*Status) GetConditions ¶
func (*Status) SetCreateCondition ¶
func (*Status) SetFailedCondition ¶
func (*Status) SetReadyCondition ¶
func (*Status) SetScalingDownCondition ¶
func (*Status) SetScalingUpCondition ¶
func (*Status) SetUpdatingCondition ¶
func (*Status) SetUpgradingCondition ¶
type TelegrafTemplate ¶
type TelegrafTemplate struct { //+kubebuilder:validation:Required Image string `json:"image,omitempty"` //+kubebuilder:validation:Required Conf *string `json:"conf,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` }
+kubebuilder:object:generate=true
func (*TelegrafTemplate) DeepCopy ¶
func (in *TelegrafTemplate) DeepCopy() *TelegrafTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelegrafTemplate.
func (*TelegrafTemplate) DeepCopyInto ¶
func (in *TelegrafTemplate) DeepCopyInto(out *TelegrafTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Topics ¶
type Topics struct { Filter []string `json:"filter,omitempty"` Equal []string `json:"equal,omitempty"` }
+kubebuilder:object:generate=true
func (*Topics) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topics.
func (*Topics) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- acl_type.go
- emqx.go
- emqxbroker_conversion.go
- emqxbroker_types.go
- emqxbroker_webhook.go
- emqxenterprise_conversion.go
- emqxenterprise_types.go
- emqxenterprise_webhook.go
- env_type.go
- groupversion_info.go
- listener_type.go
- modules_type.go
- namer.go
- plugins_type.go
- status_types.go
- telegraf_type.go
- zz_generated.deepcopy.go