Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=kubedoop.dev
Index ¶
- Variables
- type CACert
- type CPUResource
- type ClusterOperationSpec
- type Credentials
- type CredentialsScope
- type LogLevelSpec
- type LoggingConfigSpec
- type LoggingSpec
- type MemoryResource
- type MutualVerification
- type NoneVerification
- type OverridesSpec
- type PodDisruptionBudgetSpec
- type ResourcesSpec
- type RoleConfigSpec
- type RoleGroupConfigSpec
- type ServerVerification
- type StorageResource
- type StorageResourceSpec
- type TLSVerificationSpec
- type WebPki
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kubedoop.dev", Version: "v1alpha1"} // 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 CACert ¶ added in v0.6.0
type CACert struct { // +kubebuilder:validation:Optional SecretClass string `json:"secretClass,omitempty"` // +kubebuilder:validation:Optional WebPki *WebPki `json:"webPki,omitempty"` }
CACert is the CA certificate for server verification. You can specify the secret class or the webPki.
func (*CACert) DeepCopy ¶ added in v0.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CACert.
func (*CACert) DeepCopyInto ¶ added in v0.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPUResource ¶ added in v0.6.0
type CPUResource struct { // +kubebuilder:validation:Optional Max resource.Quantity `json:"max,omitempty"` // +kubebuilder:validation:Optional Min resource.Quantity `json:"min,omitempty"` }
func (*CPUResource) DeepCopy ¶ added in v0.6.0
func (in *CPUResource) DeepCopy() *CPUResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUResource.
func (*CPUResource) DeepCopyInto ¶ added in v0.6.0
func (in *CPUResource) DeepCopyInto(out *CPUResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterOperationSpec ¶ added in v0.6.0
type ClusterOperationSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default=false ReconciliationPaused bool `json:"reconciliationPaused,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default=false Stopped bool `json:"stopped,omitempty"` }
ClusterOperationSpec defines the desired state of ClusterOperation
func (*ClusterOperationSpec) DeepCopy ¶ added in v0.6.0
func (in *ClusterOperationSpec) DeepCopy() *ClusterOperationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOperationSpec.
func (*ClusterOperationSpec) DeepCopyInto ¶ added in v0.6.0
func (in *ClusterOperationSpec) DeepCopyInto(out *ClusterOperationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Credentials ¶ added in v0.9.1
type Credentials struct { // SecretClass scope // +kubebuilder:validation:Optional Scope *CredentialsScope `json:"scope,omitempty"` // +kubebuilder:validation:Required SecretClass string `json:"secretClass"` }
func (*Credentials) DeepCopy ¶ added in v0.9.1
func (in *Credentials) DeepCopy() *Credentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credentials.
func (*Credentials) DeepCopyInto ¶ added in v0.9.1
func (in *Credentials) DeepCopyInto(out *Credentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsScope ¶ added in v0.9.1
type CredentialsScope struct { // +kubebuilder:validation:Optional Node bool `json:"node,omitempty"` // +kubebuilder:validation:Optional Pod bool `json:"pod,omitempty"` // +kubebuilder:validation:Optional Services []string `json:"services,omitempty"` }
func (*CredentialsScope) DeepCopy ¶ added in v0.9.1
func (in *CredentialsScope) DeepCopy() *CredentialsScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsScope.
func (*CredentialsScope) DeepCopyInto ¶ added in v0.9.1
func (in *CredentialsScope) DeepCopyInto(out *CredentialsScope)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogLevelSpec ¶ added in v0.6.0
type LogLevelSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="INFO" // +kubebuilder:validation:Enum=FATAL;ERROR;WARN;INFO;DEBUG;TRACE Level string `json:"level,omitempty"` }
LogLevelSpec level mapping if app log level is not standard
- FATAL -> CRITICAL
- ERROR -> ERROR
- WARN -> WARNING
- INFO -> INFO
- DEBUG -> DEBUG
- TRACE -> DEBUG
Default log level is INFO
func (*LogLevelSpec) DeepCopy ¶ added in v0.6.0
func (in *LogLevelSpec) DeepCopy() *LogLevelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogLevelSpec.
func (*LogLevelSpec) DeepCopyInto ¶ added in v0.6.0
func (in *LogLevelSpec) DeepCopyInto(out *LogLevelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingConfigSpec ¶ added in v0.6.0
type LoggingConfigSpec struct { // +kubebuilder:validation:Optional Loggers map[string]*LogLevelSpec `json:"loggers,omitempty"` // +kubebuilder:validation:Optional Console *LogLevelSpec `json:"console,omitempty"` // +kubebuilder:validation:Optional File *LogLevelSpec `json:"file,omitempty"` }
func (*LoggingConfigSpec) DeepCopy ¶ added in v0.6.0
func (in *LoggingConfigSpec) DeepCopy() *LoggingConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigSpec.
func (*LoggingConfigSpec) DeepCopyInto ¶ added in v0.6.0
func (in *LoggingConfigSpec) DeepCopyInto(out *LoggingConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingSpec ¶ added in v0.11.0
type LoggingSpec struct { // +kubebuilder:validation:Optional Containers map[string]LoggingConfigSpec `json:"containers,omitempty"` // +kubebuilder:validation:Optional EnableVectorAgent *bool `json:"enableVectorAgent,omitempty"` }
func (*LoggingSpec) DeepCopy ¶ added in v0.11.0
func (in *LoggingSpec) DeepCopy() *LoggingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingSpec.
func (*LoggingSpec) DeepCopyInto ¶ added in v0.11.0
func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemoryResource ¶ added in v0.6.0
type MemoryResource struct { // +kubebuilder:validation:Optional Limit resource.Quantity `json:"limit,omitempty"` }
func (*MemoryResource) DeepCopy ¶ added in v0.6.0
func (in *MemoryResource) DeepCopy() *MemoryResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryResource.
func (*MemoryResource) DeepCopyInto ¶ added in v0.6.0
func (in *MemoryResource) DeepCopyInto(out *MemoryResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MutualVerification ¶ added in v0.9.1
type MutualVerification struct { // +kubebuilder:validation:Required CertSecretClass string `json:"certSecretClass"` }
func (*MutualVerification) DeepCopy ¶ added in v0.9.1
func (in *MutualVerification) DeepCopy() *MutualVerification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutualVerification.
func (*MutualVerification) DeepCopyInto ¶ added in v0.9.1
func (in *MutualVerification) DeepCopyInto(out *MutualVerification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NoneVerification ¶ added in v0.6.0
type NoneVerification struct { }
func (*NoneVerification) DeepCopy ¶ added in v0.6.0
func (in *NoneVerification) DeepCopy() *NoneVerification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoneVerification.
func (*NoneVerification) DeepCopyInto ¶ added in v0.6.0
func (in *NoneVerification) DeepCopyInto(out *NoneVerification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesSpec ¶ added in v0.12.0
type OverridesSpec struct { // +kubebuilder:validation:Optional CliOverrides []string `json:"cliOverrides,omitempty"` // +kubebuilder:validation:Optional EnvOverrides map[string]string `json:"envOverrides,omitempty"` // +kubebuilder:validation:Optional ConfigOverrides map[string]map[string]string `json:"configOverrides,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:validation:Type=object PodOverrides *k8sruntime.RawExtension `json:"podOverrides,omitempty"` }
func (*OverridesSpec) DeepCopy ¶ added in v0.12.0
func (in *OverridesSpec) DeepCopy() *OverridesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSpec.
func (*OverridesSpec) DeepCopyInto ¶ added in v0.12.0
func (in *OverridesSpec) DeepCopyInto(out *OverridesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodDisruptionBudgetSpec ¶ added in v0.6.0
type PodDisruptionBudgetSpec struct { // Whether a PodDisruptionBudget should be written out for this role. // Disabling this enables you to specify your own - custom - one. // Defaults to true. // +kubebuilder:validation:Optional // +kubebuilder:default=true Enabled bool `json:"enabled"` // If you don't explicitly set this, the operator will use a sane default based // upon knowledge about the individual product. // +kubebuilder:validation:Optional MaxUnavailable *int32 `json:"maxUnavailable,omitempty"` }
This struct is used to configure:
- If PodDisruptionBudgets are created by the operator
- The allowed number of Pods to be unavailable (`maxUnavailable`)
func (*PodDisruptionBudgetSpec) DeepCopy ¶ added in v0.6.0
func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (*PodDisruptionBudgetSpec) DeepCopyInto ¶ added in v0.6.0
func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesSpec ¶ added in v0.6.0
type ResourcesSpec struct { // +kubebuilder:validation:Optional CPU *CPUResource `json:"cpu,omitempty"` // +kubebuilder:validation:Optional Memory *MemoryResource `json:"memory,omitempty"` // +kubebuilder:validation:Optional Storage *StorageResource `json:"storage,omitempty"` }
func (*ResourcesSpec) DeepCopy ¶ added in v0.6.0
func (in *ResourcesSpec) DeepCopy() *ResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesSpec.
func (*ResourcesSpec) DeepCopyInto ¶ added in v0.6.0
func (in *ResourcesSpec) DeepCopyInto(out *ResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleConfigSpec ¶ added in v0.11.0
type RoleConfigSpec struct { // +kubebuilder:validation:Optional PodDisruptionBudget *PodDisruptionBudgetSpec `json:"podDisruptionBudget,omitempty"` }
func (*RoleConfigSpec) DeepCopy ¶ added in v0.11.0
func (in *RoleConfigSpec) DeepCopy() *RoleConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleConfigSpec.
func (*RoleConfigSpec) DeepCopyInto ¶ added in v0.11.0
func (in *RoleConfigSpec) DeepCopyInto(out *RoleConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleGroupConfigSpec ¶ added in v0.12.0
type RoleGroupConfigSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:validation:Type=object Affinity *k8sruntime.RawExtension `json:"affinity,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default="30s" GracefulShutdownTimeout string `json:"gracefulShutdownTimeout,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` // +kubebuilder:validation:Optional Resources *ResourcesSpec `json:"resources,omitempty"` }
func (*RoleGroupConfigSpec) DeepCopy ¶ added in v0.12.0
func (in *RoleGroupConfigSpec) DeepCopy() *RoleGroupConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleGroupConfigSpec.
func (*RoleGroupConfigSpec) DeepCopyInto ¶ added in v0.12.0
func (in *RoleGroupConfigSpec) DeepCopyInto(out *RoleGroupConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerVerification ¶ added in v0.6.0
type ServerVerification struct { // +kubebuilder:validation:Required CACert *CACert `json:"caCert"` }
func (*ServerVerification) DeepCopy ¶ added in v0.6.0
func (in *ServerVerification) DeepCopy() *ServerVerification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVerification.
func (*ServerVerification) DeepCopyInto ¶ added in v0.6.0
func (in *ServerVerification) DeepCopyInto(out *ServerVerification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageResource ¶ added in v0.6.0
type StorageResource struct { // +kubebuilder:validation:Optional // +kubebuilder:default="10Gi" Capacity resource.Quantity `json:"capacity,omitempty"` // +kubebuilder:validation:Optional StorageClass string `json:"storageClass,omitempty"` }
func (*StorageResource) DeepCopy ¶ added in v0.6.0
func (in *StorageResource) DeepCopy() *StorageResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageResource.
func (*StorageResource) DeepCopyInto ¶ added in v0.6.0
func (in *StorageResource) DeepCopyInto(out *StorageResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageResourceSpec ¶ added in v0.6.0
type StorageResourceSpec struct {
Data *StorageResource `json:"data"`
}
func (*StorageResourceSpec) DeepCopy ¶ added in v0.6.0
func (in *StorageResourceSpec) DeepCopy() *StorageResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageResourceSpec.
func (*StorageResourceSpec) DeepCopyInto ¶ added in v0.6.0
func (in *StorageResourceSpec) DeepCopyInto(out *StorageResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSVerificationSpec ¶ added in v0.7.0
type TLSVerificationSpec struct { // +kubebuilder:validation:Optional None *NoneVerification `json:"none,omitempty"` // +kubebuilder:validation:Optional Server *ServerVerification `json:"server,omitempty"` // +kubebuilder:validation:Optional Mutual *MutualVerification `json:"mutual,omitempty"` }
TLSPrivider defines the TLS provider for authentication. You can specify the none or server or mutual verification.
func (*TLSVerificationSpec) DeepCopy ¶ added in v0.7.0
func (in *TLSVerificationSpec) DeepCopy() *TLSVerificationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSVerificationSpec.
func (*TLSVerificationSpec) DeepCopyInto ¶ added in v0.7.0
func (in *TLSVerificationSpec) DeepCopyInto(out *TLSVerificationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebPki ¶ added in v0.9.1
type WebPki struct { }
func (*WebPki) DeepCopy ¶ added in v0.9.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebPki.
func (*WebPki) DeepCopyInto ¶ added in v0.9.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.