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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Token) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenList.
func (*TokenList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenSpec.
func (*TokenSpec) DeepCopyInto ¶
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.