v1alpha1

package
v0.0.0-...-713de3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

This section is empty.

Variables

View Source
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 APIGateway

type APIGateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   APIGatewaySpec   `json:"spec,omitempty"`
	Status APIGatewayStatus `json:"status,omitempty"`
}

APIGateway is the Schema for the apigateways API

func (*APIGateway) DeepCopy

func (in *APIGateway) DeepCopy() *APIGateway

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGateway.

func (*APIGateway) DeepCopyInto

func (in *APIGateway) DeepCopyInto(out *APIGateway)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*APIGateway) DeepCopyObject

func (in *APIGateway) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*APIGateway) HasFinalizer

func (a *APIGateway) HasFinalizer() bool

func (*APIGateway) IsInDeletion

func (a *APIGateway) IsInDeletion() bool

IsInDeletion returns true if the APIGateway is in deletion process, false otherwise.

type APIGatewayList

type APIGatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []APIGateway `json:"items"`
}

APIGatewayList contains a list of APIGateway

func (*APIGatewayList) DeepCopy

func (in *APIGatewayList) DeepCopy() *APIGatewayList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewayList.

func (*APIGatewayList) DeepCopyInto

func (in *APIGatewayList) DeepCopyInto(out *APIGatewayList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*APIGatewayList) DeepCopyObject

func (in *APIGatewayList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type APIGatewaySpec

type APIGatewaySpec struct {

	// Specifies whether the default Kyma Gateway kyma-gateway in kyma-system Namespace is created.
	// +optional
	EnableKymaGateway *bool `json:"enableKymaGateway,omitempty"`
}

APIGatewaySpec defines the desired state of APIGateway

func (*APIGatewaySpec) DeepCopy

func (in *APIGatewaySpec) DeepCopy() *APIGatewaySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewaySpec.

func (*APIGatewaySpec) DeepCopyInto

func (in *APIGatewaySpec) DeepCopyInto(out *APIGatewaySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type APIGatewayStatus

type APIGatewayStatus struct {
	// State signifies current state of APIGateway. Value can be one of ("Ready", "Processing", "Error", "Deleting", "Warning").
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=Processing;Deleting;Ready;Error;Warning
	State State `json:"state"`
	// Description of APIGateway status
	Description string `json:"description,omitempty"`
	// Conditions of APIGateway
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

APIGatewayStatus defines the observed state of APIGateway

func (*APIGatewayStatus) DeepCopy

func (in *APIGatewayStatus) DeepCopy() *APIGatewayStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGatewayStatus.

func (*APIGatewayStatus) DeepCopyInto

func (in *APIGatewayStatus) DeepCopyInto(out *APIGatewayStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type State

type State string
const (
	Ready      State = "Ready"
	Processing State = "Processing"
	Error      State = "Error"
	Deleting   State = "Deleting"
	Warning    State = "Warning"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL