Documentation ¶
Overview ¶
Package v1alpha1 contains API types that extend the Crossplane API. +kubebuilder:object:generate=true +groupName=test.example.com +versionName=v1alpha1
Index ¶
Constants ¶
const ( XRDGroup = "test.example.com" XRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( XExampleKind = "XExample" XExampleGroupKind = schema.GroupKind{Group: XRDGroup, Kind: XExampleKind}.String() XExampleKindAPIVersion = XExampleKind + "." + GroupVersion.String() XExampleGroupVersionKind = GroupVersion.WithKind(XExampleKind) )
Repository type metadata.
var ( // GroupVersion is the API Group Version used to register the objects GroupVersion = schema.GroupVersion{Group: XRDGroup, Version: XRDVersion} // 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 XExample ¶
type XExample struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec XExampleSpec `json:"spec"` Status XExampleStatus `json:"status,omitempty"` }
+kubebuilder:resource:scope=Cluster,categories=crossplane +kubebuilder:subresource:status +crossbuilder:generate:xrd:claimNames:kind=Example,plural=examples +crossbuilder:generate:xrd:defaultCompositionRef:name=example-composition +crossbuilder:generate:xrd:enforcedCompositionRef:name=example-composition-2 +crossbuilder:generate:xrd:connectionSecretKeys={username,password}
func (*XExample) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XExample.
func (*XExample) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XExample) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type XExampleList ¶
type XExampleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []XExample `json:"items"` }
func (*XExampleList) DeepCopy ¶
func (in *XExampleList) DeepCopy() *XExampleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XExampleList.
func (*XExampleList) DeepCopyInto ¶
func (in *XExampleList) DeepCopyInto(out *XExampleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XExampleList) DeepCopyObject ¶
func (in *XExampleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type XExampleParameters ¶
type XExampleParameters struct {
ExampleField string `json:"exampleField"`
}
func (*XExampleParameters) DeepCopy ¶
func (in *XExampleParameters) DeepCopy() *XExampleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XExampleParameters.
func (*XExampleParameters) DeepCopyInto ¶
func (in *XExampleParameters) DeepCopyInto(out *XExampleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XExampleSpec ¶
type XExampleSpec struct { xpv1.ResourceSpec `json:",inline"` Parameters XExampleParameters `json:"parameters"` }
func (*XExampleSpec) DeepCopy ¶
func (in *XExampleSpec) DeepCopy() *XExampleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XExampleSpec.
func (*XExampleSpec) DeepCopyInto ¶
func (in *XExampleSpec) DeepCopyInto(out *XExampleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XExampleStatus ¶
type XExampleStatus struct {
xpv1.ConditionedStatus `json:",inline"`
}
func (*XExampleStatus) DeepCopy ¶
func (in *XExampleStatus) DeepCopy() *XExampleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XExampleStatus.
func (*XExampleStatus) DeepCopyInto ¶
func (in *XExampleStatus) DeepCopyInto(out *XExampleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.