Documentation ¶
Overview ¶
Package v1alpha1 contains the core resources of Crisscross. +kubebuilder:object:generate=true +groupName=crisscross.crossplane.io +versionName=v1alpha1
Index ¶
Constants ¶
const ( Group = "crisscross.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( RegistrationKind = reflect.TypeOf(Registration{}).Name() RegistrationGroupKind = schema.GroupKind{Group: Group, Kind: RegistrationKind}.String() RegistrationKindAPIVersion = RegistrationKind + "." + SchemeGroupVersion.String() RegistrationGroupVersionKind = SchemeGroupVersion.WithKind(RegistrationKind) )
Registration type metadata.
Functions ¶
This section is empty.
Types ¶
type Registration ¶
type Registration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RegistrationSpec `json:"spec"` Status RegistrationStatus `json:"status,omitempty"` }
A Registration registers a new Crisscross controller. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*Registration) DeepCopy ¶
func (in *Registration) DeepCopy() *Registration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registration.
func (*Registration) DeepCopyInto ¶
func (in *Registration) DeepCopyInto(out *Registration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registration) DeepCopyObject ¶
func (in *Registration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RegistrationList ¶
type RegistrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Registration `json:"items"` }
RegistrationList contains a list of Registration.
func (*RegistrationList) DeepCopy ¶
func (in *RegistrationList) DeepCopy() *RegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrationList.
func (*RegistrationList) DeepCopyInto ¶
func (in *RegistrationList) DeepCopyInto(out *RegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistrationList) DeepCopyObject ¶
func (in *RegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RegistrationSpec ¶
type RegistrationSpec struct { TypeRef TypeReference `json:"typeRef"` Endpoint string `json:"endpoint"` }
A RegistrationSpec defines the desired state of a Registration.
func (*RegistrationSpec) DeepCopy ¶
func (in *RegistrationSpec) DeepCopy() *RegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrationSpec.
func (*RegistrationSpec) DeepCopyInto ¶
func (in *RegistrationSpec) DeepCopyInto(out *RegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistrationStatus ¶
type RegistrationStatus struct {
v1alpha1.ConditionedStatus `json:",inline"`
}
A RegistrationStatus reflects the observed state of a Registration.
func (*RegistrationStatus) DeepCopy ¶
func (in *RegistrationStatus) DeepCopy() *RegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrationStatus.
func (*RegistrationStatus) DeepCopyInto ¶
func (in *RegistrationStatus) DeepCopyInto(out *RegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TypeReference ¶
type TypeReference struct { // APIVersion of the type. APIVersion string `json:"apiVersion"` // Kind of the type. Kind string `json:"kind"` }
TypeReference is used to refer to a type for declaring compatibility.
func (*TypeReference) DeepCopy ¶
func (in *TypeReference) DeepCopy() *TypeReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypeReference.
func (*TypeReference) DeepCopyInto ¶
func (in *TypeReference) DeepCopyInto(out *TypeReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.