v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the component v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.kyma-project.io

Package v1alpha1 contains API Schema definitions for the component 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"}

	ConditionTypeInstallation = "Installation"
	ConditionReasonReady      = "Ready"
)

Functions

This section is empty.

Types

type CFAPI

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

	Spec   CFAPISpec   `json:"spec,omitempty"`
	Status CFAPIStatus `json:"status,omitempty"`
}

CFAPI is the Schema for the samples API.

func (*CFAPI) DeepCopy

func (in *CFAPI) DeepCopy() *CFAPI

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

func (*CFAPI) DeepCopyInto

func (in *CFAPI) DeepCopyInto(out *CFAPI)

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

func (*CFAPI) DeepCopyObject

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

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

type CFAPIList

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

CFAPIList contains a list of CFAPI.

func (*CFAPIList) DeepCopy

func (in *CFAPIList) DeepCopy() *CFAPIList

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

func (*CFAPIList) DeepCopyInto

func (in *CFAPIList) DeepCopyInto(out *CFAPIList)

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

func (*CFAPIList) DeepCopyObject

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

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

type CFAPISpec

type CFAPISpec struct {
	RootNamespace      string   `json:"rootNamespace,omitempty"`
	AppImagePullSecret string   `json:"appImagePullSecret,omitempty"`
	UAA                string   `json:"uaa,omitempty"`
	CFAdmins           []string `json:"cfadmins,omitempty"`
}

func (*CFAPISpec) DeepCopy

func (in *CFAPISpec) DeepCopy() *CFAPISpec

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

func (*CFAPISpec) DeepCopyInto

func (in *CFAPISpec) DeepCopyInto(out *CFAPISpec)

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

type CFAPIStatus

type CFAPIStatus struct {
	Status `json:",inline"`

	// Conditions contain a set of conditionals to determine the State of Status.
	// If all Conditions are met, State is expected to be in StateReady.
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// URL contains the URL that should be used by the cf CLI in order
	// to consume the CF API.
	URL string `json:"url,omitempty"`
}

func (*CFAPIStatus) DeepCopy

func (in *CFAPIStatus) DeepCopy() *CFAPIStatus

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

func (*CFAPIStatus) DeepCopyInto

func (in *CFAPIStatus) DeepCopyInto(out *CFAPIStatus)

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

func (*CFAPIStatus) WithInstallConditionStatus

func (s *CFAPIStatus) WithInstallConditionStatus(status metav1.ConditionStatus, objGeneration int64) *CFAPIStatus

func (*CFAPIStatus) WithState

func (s *CFAPIStatus) WithState(state State) *CFAPIStatus

func (*CFAPIStatus) WithURL

func (s *CFAPIStatus) WithURL(url string) *CFAPIStatus

type Kind

type Kind string
const (
	CFAPIKind Kind = "CFAPI"
	Version   Kind = "v1alpha1"
)

type Managed

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

func (*Managed) DeepCopy

func (in *Managed) DeepCopy() *Managed

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

func (*Managed) DeepCopyInto

func (in *Managed) DeepCopyInto(out *Managed)

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

func (*Managed) DeepCopyObject

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

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

type ManagedList

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

ManagedList contains a list of Managed.

func (*ManagedList) DeepCopy

func (in *ManagedList) DeepCopy() *ManagedList

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

func (*ManagedList) DeepCopyInto

func (in *ManagedList) DeepCopyInto(out *ManagedList)

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

func (*ManagedList) DeepCopyObject

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

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

type State

type State string
const (
	// StateReady signifies Module CR is Ready and has been installed successfully.
	StateReady State = "Ready"

	// StateProcessing signifies Module CR is reconciling and is in the process of installation.
	// Processing can also signal that the Installation previously encountered an error and is now recovering.
	StateProcessing State = "Processing"

	// StateError signifies an error for Module CR. This signifies that the Installation
	// process encountered an error.
	// Contrary to Processing, it can be expected that this state should change on the next retry.
	StateError State = "Error"

	// StateDeleting signifies Module CR is being deleted. This is the state that is used
	// when a deletionTimestamp was detected and Finalizers are picked up.
	StateDeleting State = "Deleting"

	// StateWarning signifies specified resource has been deployed, but cannot be used due to misconfiguration,
	// usually it means that user interaction is required.
	StateWarning State = "Warning"
)

Valid Module CR States.

type Status

type Status struct {
	// State signifies current state of Module CR.
	// Value can be one of ("Ready", "Processing", "Error", "Deleting").
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=Processing;Deleting;Ready;Error;Warning;""
	State State `json:"state"`
}

Status defines the observed state of Module CR.

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

Jump to

Keyboard shortcuts

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