Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the extension v1 API group +kubebuilder:object:generate=true +groupName=extension.kubecube.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "extension.kubecube.io", 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 ExternalResource ¶
type ExternalResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExternalResourceSpec `json:"spec,omitempty"` }
ExternalResource for mapping non-k8s resource so that we can use it as general k8s resource to rbac
func (*ExternalResource) DeepCopy ¶
func (in *ExternalResource) DeepCopy() *ExternalResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalResource.
func (*ExternalResource) DeepCopyInto ¶
func (in *ExternalResource) DeepCopyInto(out *ExternalResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalResource) DeepCopyObject ¶
func (in *ExternalResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalResourceList ¶
type ExternalResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExternalResource `json:"items"` }
ExternalResourceList contains a list of ExternalResource
func (*ExternalResourceList) DeepCopy ¶
func (in *ExternalResourceList) DeepCopy() *ExternalResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalResourceList.
func (*ExternalResourceList) DeepCopyInto ¶
func (in *ExternalResourceList) DeepCopyInto(out *ExternalResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalResourceList) DeepCopyObject ¶
func (in *ExternalResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalResourceSpec ¶
type ExternalResourceSpec struct { // Namespaced the scope of resource Namespaced bool `json:"namespaced,omitempty"` }
ExternalResourceSpec defines the desired state of ExternalResource
func (*ExternalResourceSpec) DeepCopy ¶
func (in *ExternalResourceSpec) DeepCopy() *ExternalResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalResourceSpec.
func (*ExternalResourceSpec) DeepCopyInto ¶
func (in *ExternalResourceSpec) DeepCopyInto(out *ExternalResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.