Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the options v1alpha1 API group +kubebuilder:object:generate=true +groupName=options.keptn.sh
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "options.keptn.sh", 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 KeptnConfig ¶
type KeptnConfig struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec KeptnConfigSpec `json:"spec,omitempty"` // unused field // +optional Status string `json:"status,omitempty"` }
KeptnConfig is the Schema for the keptnconfigs API
func (*KeptnConfig) DeepCopy ¶
func (in *KeptnConfig) DeepCopy() *KeptnConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnConfig.
func (*KeptnConfig) DeepCopyInto ¶
func (in *KeptnConfig) DeepCopyInto(out *KeptnConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnConfig) DeepCopyObject ¶
func (in *KeptnConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnConfigList ¶
type KeptnConfigList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnConfig `json:"items"` }
KeptnConfigList contains a list of KeptnConfig
func (*KeptnConfigList) DeepCopy ¶
func (in *KeptnConfigList) DeepCopy() *KeptnConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnConfigList.
func (*KeptnConfigList) DeepCopyInto ¶
func (in *KeptnConfigList) DeepCopyInto(out *KeptnConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnConfigList) DeepCopyObject ¶
func (in *KeptnConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnConfigSpec ¶
type KeptnConfigSpec struct { // OTelCollectorUrl can be used to set the Open Telemetry collector that the lifecycle operator should use // +optional OTelCollectorUrl string `json:"OTelCollectorUrl,omitempty"` // KeptnAppCreationRequestTimeoutSeconds is used to set the interval in which automatic app discovery // searches for workload to put into the same auto-generated KeptnApp // +kubebuilder:default:=30 // +optional KeptnAppCreationRequestTimeoutSeconds uint `json:"keptnAppCreationRequestTimeoutSeconds,omitempty"` // CloudEventsEndpoint can be used to set the endpoint where Cloud Events should be posted by the lifecycle operator // +optional CloudEventsEndpoint string `json:"cloudEventsEndpoint,omitempty"` // BlockDeployment is used to block the deployment of the application until the pre-deployment // tasks and evaluations succeed // +kubebuilder:default:=true // +optional BlockDeployment bool `json:"blockDeployment,omitempty"` // ObservabilityTimeout specifies the maximum time to observe the deployment phase of KeptnWorkload. // If the workload does not deploy successfully within this time frame, it will be // considered as failed. // +kubebuilder:default:="5m" // +kubebuilder:validation:Pattern="^0|([0-9]+(\\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$" // +kubebuilder:validation:Type:=string // +optional ObservabilityTimeout metav1.Duration `json:"observabilityTimeout,omitempty"` // RestApiEnabled can be used to enable or disable the Keptn Rest Client // +kubebuilder:default:=false // +optional RestApiEnabled bool `json:"restApiEnabled,omitempty"` }
KeptnConfigSpec defines the desired state of KeptnConfig
func (*KeptnConfigSpec) DeepCopy ¶
func (in *KeptnConfigSpec) DeepCopy() *KeptnConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnConfigSpec.
func (*KeptnConfigSpec) DeepCopyInto ¶
func (in *KeptnConfigSpec) DeepCopyInto(out *KeptnConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.