v1

package
v0.0.0-...-6a6decf Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the rhosak.kcp v1 API group +kubebuilder:object:generate=true +groupName=rhosak.kcp.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "rhosak.kcp.github.com", Version: "v1"}

	// 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 KafkaInstance

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

	Spec   KafkaInstanceSpec   `json:"spec,omitempty"`
	Status KafkaInstanceStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Region",type=string,JSONPath=`.spec.region` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="BootstrapServerHost",type=string,JSONPath=`.status.bootstrapServerHost` KafkaInstance is the Schema for the kafkainstances API

func (*KafkaInstance) DeepCopy

func (in *KafkaInstance) DeepCopy() *KafkaInstance

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

func (*KafkaInstance) DeepCopyInto

func (in *KafkaInstance) DeepCopyInto(out *KafkaInstance)

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

func (*KafkaInstance) DeepCopyObject

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

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

type KafkaInstanceList

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

KafkaInstanceList contains a list of KafkaInstance

func (*KafkaInstanceList) DeepCopy

func (in *KafkaInstanceList) DeepCopy() *KafkaInstanceList

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

func (*KafkaInstanceList) DeepCopyInto

func (in *KafkaInstanceList) DeepCopyInto(out *KafkaInstanceList)

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

func (*KafkaInstanceList) DeepCopyObject

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

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

type KafkaInstanceSpec

type KafkaInstanceSpec struct {

	// Foo is an example field of KafkaInstance. Edit kafkainstance_types.go to remove/update
	CloudProvider           string `json:"cloudProvider,omitempty"`
	Name                    string `json:"name,omitempty"`
	ReauthenticationEnabled *bool  `json:"reauthenticationEnabled,omitempty"`
	Region                  string `json:"region,omitempty"`
	MultiAz                 *bool  `json:"multiAz,omitempty"`
	OfflineToken            string `json:"offlineToken,omitempty"`
}

KafkaInstanceSpec defines the desired state of KafkaInstance

func (*KafkaInstanceSpec) DeepCopy

func (in *KafkaInstanceSpec) DeepCopy() *KafkaInstanceSpec

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

func (*KafkaInstanceSpec) DeepCopyInto

func (in *KafkaInstanceSpec) DeepCopyInto(out *KafkaInstanceSpec)

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

type KafkaInstanceStatus

type KafkaInstanceStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	AdminServerUrl      string      `json:"adminServerUrl,omitempty"`
	CreatedAt           metav1.Time `json:"region,omitempty"`
	Href                string      `json:"href,omitempty"`
	Id                  string      `json:"id,omitempty"`
	InstanceType        string      `json:"instanceType,omitempty"`
	Kind                string      `json:"kind,omitempty"`
	Owner               string      `json:"owner,omitempty"`
	Message             string      `json:"message,omitempty"`
	UpdatedAt           metav1.Time `json:"updatedAt,omitempty"`
	Version             string      `json:"version,omitempty"`
	BootstrapServerHost string      `json:"bootstrapServerHost,omitempty"`
	Phase               KafkaPhase  `json:"phase,omitempty"`
}

KafkaInstanceStatus defines the observed state of KafkaInstance

func (*KafkaInstanceStatus) DeepCopy

func (in *KafkaInstanceStatus) DeepCopy() *KafkaInstanceStatus

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

func (*KafkaInstanceStatus) DeepCopyInto

func (in *KafkaInstanceStatus) DeepCopyInto(out *KafkaInstanceStatus)

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

type KafkaPhase

type KafkaPhase string
const (
	KafkaUnknown      KafkaPhase = "Unknown"
	KafkaReady        KafkaPhase = "Ready"
	KafkaFailed       KafkaPhase = "Failed"
	KafkaAccepted     KafkaPhase = "Accepted"
	KafkaPreparing    KafkaPhase = "Preparing"
	KafkaProvisioning KafkaPhase = "Provisioning"
	KafkaDeleting     KafkaPhase = "Deleting"
)

These are valid phases of a Pod

type Token

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

	Spec   TokenSpec   `json:"spec,omitempty"`
	Status TokenStatus `json:"status,omitempty"`
}

Token is the Schema for the tokens API

func (*Token) DeepCopy

func (in *Token) DeepCopy() *Token

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

func (*Token) DeepCopyInto

func (in *Token) DeepCopyInto(out *Token)

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

func (*Token) DeepCopyObject

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

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

type TokenList

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

TokenList contains a list of Token

func (*TokenList) DeepCopy

func (in *TokenList) DeepCopy() *TokenList

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

func (*TokenList) DeepCopyInto

func (in *TokenList) DeepCopyInto(out *TokenList)

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

func (*TokenList) DeepCopyObject

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

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

type TokenSpec

type TokenSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	OfflineToken string `json:"offlineToken,omitempty"`
}

TokenSpec defines the desired state of Token

func (*TokenSpec) DeepCopy

func (in *TokenSpec) DeepCopy() *TokenSpec

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

func (*TokenSpec) DeepCopyInto

func (in *TokenSpec) DeepCopyInto(out *TokenSpec)

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

type TokenStatus

type TokenStatus struct {
}

TokenStatus defines the observed state of Token

func (*TokenStatus) DeepCopy

func (in *TokenStatus) DeepCopy() *TokenStatus

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

func (*TokenStatus) DeepCopyInto

func (in *TokenStatus) DeepCopyInto(out *TokenStatus)

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