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 ( DefaultEnableInternal = false DefaultRegistryAddress = "k3d-kyma-registry:5000" DefaultServerAddress = "k3d-kyma-registry:5000" )
const (
Finalizer = "serverless-manager.kyma-project.io/deletion-hook"
)
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 DockerRegistry ¶
type DockerRegistry struct {
EnableInternal *bool `json:"enableInternal,omitempty"`
InternalServerAddress *string `json:"internalServerAddress,omitempty"`
SecretName *string `json:"secretName,omitempty"`
Gateway *string `json:"gateway,omitempty"`
GatewayCert *string `json:"gatewayCert,omitempty"`
}
func (*DockerRegistry) DeepCopy ¶
func (in *DockerRegistry) DeepCopy() *DockerRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerRegistry.
func (*DockerRegistry) DeepCopyInto ¶
func (in *DockerRegistry) DeepCopyInto(out *DockerRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerRegistry) IsInternalEnabled ¶
func (dr *DockerRegistry) IsInternalEnabled() bool
type Serverless ¶
type Serverless struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServerlessSpec `json:"spec,omitempty"`
Status ServerlessStatus `json:"status,omitempty"`
}
Serverless is the Schema for the serverlesses API
func (*Serverless) DeepCopy ¶
func (in *Serverless) DeepCopy() *Serverless
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Serverless.
func (*Serverless) DeepCopyInto ¶
func (in *Serverless) DeepCopyInto(out *Serverless)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Serverless) DeepCopyObject ¶
func (in *Serverless) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerlessList ¶
type ServerlessList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Serverless `json:"items"`
}
ServerlessList contains a list of Serverless
func (*ServerlessList) DeepCopy ¶
func (in *ServerlessList) DeepCopy() *ServerlessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessList.
func (*ServerlessList) DeepCopyInto ¶
func (in *ServerlessList) DeepCopyInto(out *ServerlessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerlessList) DeepCopyObject ¶
func (in *ServerlessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServerlessSpec ¶
type ServerlessSpec struct {
DockerRegistry *DockerRegistry `json:"dockerRegistry,omitempty"`
}
ServerlessSpec defines the desired state of Serverless
func (*ServerlessSpec) DeepCopy ¶
func (in *ServerlessSpec) DeepCopy() *ServerlessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessSpec.
func (*ServerlessSpec) DeepCopyInto ¶
func (in *ServerlessSpec) DeepCopyInto(out *ServerlessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerlessSpec) Default ¶
func (s *ServerlessSpec) Default()
type ServerlessStatus ¶
type ServerlessStatus struct {
// State signifies current state of Serverless.
// Value can be one of ("Ready", "Processing", "Error", "Deleting").
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=Processing;Deleting;Ready;Error
State State `json:"state"`
// Conditions associated with CustomStatus.
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
func (*ServerlessStatus) DeepCopy ¶
func (in *ServerlessStatus) DeepCopy() *ServerlessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerlessStatus.
func (*ServerlessStatus) DeepCopyInto ¶
func (in *ServerlessStatus) DeepCopyInto(out *ServerlessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.