Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=ros.alibabacloud.com
Index ¶
Constants ¶
const ( Group = "ros.alibabacloud.com" Version = "v1alpha1" Separator = "/" )
Variables ¶
var ( // GroupVersion 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} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type RosStack ¶
type RosStack struct { v1.TypeMeta `json:",inline"` v1.ObjectMeta `json:"metadata,omitempty"` //in our case, we use the same spec with applicationConfiguration Spec oam.ApplicationConfigurationSpec `json:"spec,omitempty"` Status oam.ApplicationConfigurationStatus `json:"status,omitempty"` }
+genclient +kubebuilder:object:root=true +kubebuilder:subresource:status RosStack is the Schema for the ROS API
func (*RosStack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RosStack.
func (*RosStack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RosStack) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RosStackList ¶
type RosStackList struct { v1.TypeMeta `json:",inline"` v1.ListMeta `json:"metadata,omitempty"` Items []RosStack `json:"items"` }
+kubebuilder:object:root=true
func (*RosStackList) DeepCopy ¶
func (in *RosStackList) DeepCopy() *RosStackList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RosStackList.
func (*RosStackList) DeepCopyInto ¶
func (in *RosStackList) DeepCopyInto(out *RosStackList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RosStackList) DeepCopyObject ¶
func (in *RosStackList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.