Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.kyma-project.io
Index ¶
Constants ¶
const ( OperatorLogLevelDebug = OperatorLogLevel("debug") OperatorLogLevelInfo = OperatorLogLevel("info") OperatorLogLevelError = OperatorLogLevel("error") LogFormatJSON = LogFormat("json") LogFormatConsole = LogFormat("console") TimeEncodingEpoch = LogTimeEncoding("epoch") TimeEncodingMillis = LogTimeEncoding("millis") TimeEncodingNano = LogTimeEncoding("nano") TimeEncodingISO8601 = LogTimeEncoding("iso8601") TimeEncodingRFC3339 = LogTimeEncoding("rfc3339") TimeEncodingRFC3339Nano = LogTimeEncoding("rfc3339nano") MetricsServerLogLevelInfo = MetricsServerLogLevel("0") MetricsServerLogLevelDebug = MetricsServerLogLevel("4") )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.kyma-project.io", 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 Keda ¶
type Keda struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KedaSpec `json:"spec,omitempty"` Status types.Status `json:"status,omitempty"` }
Keda is the Schema for the kedas API
func (*Keda) ComponentName ¶
func (*Keda) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keda.
func (*Keda) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Keda) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KedaList ¶
type KedaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Keda `json:"items"` }
KedaList contains a list of Keda
func (*KedaList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KedaList.
func (*KedaList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KedaList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KedaSpec ¶
type KedaSpec struct { Logging *LoggingCfg `json:"logging,omitempty"` Resources *Resources `json:"resources,omitempty"` Env []NameValue `json:"env,omitempty"` }
KedaSpec defines the desired state of Keda
func (*KedaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KedaSpec.
func (*KedaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogTimeEncoding ¶
type LogTimeEncoding string
+kubebuilder:validation:Enum=epoch;millis;nano;iso8601;rfc3339;rfc3339nano
type LoggingCfg ¶
type LoggingCfg struct { Operator *LoggingOperatorCfg `json:"operator,omitempty"` MetricsServer *LoggingMetricsSrvCfg `json:"metricServer,omitempty"` }
func (*LoggingCfg) DeepCopy ¶
func (in *LoggingCfg) DeepCopy() *LoggingCfg
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingCfg.
func (*LoggingCfg) DeepCopyInto ¶
func (in *LoggingCfg) DeepCopyInto(out *LoggingCfg)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingMetricsSrvCfg ¶
type LoggingMetricsSrvCfg struct {
Level *MetricsServerLogLevel `json:"level,omitempty"`
}
func (*LoggingMetricsSrvCfg) DeepCopy ¶
func (in *LoggingMetricsSrvCfg) DeepCopy() *LoggingMetricsSrvCfg
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingMetricsSrvCfg.
func (*LoggingMetricsSrvCfg) DeepCopyInto ¶
func (in *LoggingMetricsSrvCfg) DeepCopyInto(out *LoggingMetricsSrvCfg)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingOperatorCfg ¶
type LoggingOperatorCfg struct { Level *OperatorLogLevel `json:"level,omitempty"` Format *LogFormat `json:"format,omitempty"` TimeEncoding *LogTimeEncoding `json:"timeEncoding,omitempty"` }
func (*LoggingOperatorCfg) DeepCopy ¶
func (in *LoggingOperatorCfg) DeepCopy() *LoggingOperatorCfg
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingOperatorCfg.
func (*LoggingOperatorCfg) DeepCopyInto ¶
func (in *LoggingOperatorCfg) DeepCopyInto(out *LoggingOperatorCfg)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameValue ¶
func (*NameValue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValue.
func (*NameValue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct { Operator *corev1.ResourceRequirements `json:"operator,omitempty"` MetricsServer *corev1.ResourceRequirements `json:"metricServer,omitempty"` }
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.