Documentation ¶
Overview ¶
Package v0 contains API Schema definitions for the microsoftresources v0 API group +kubebuilder:object:generate=true +groupName=microsoft.resources.infra.azure.com
Index ¶
- Variables
- type ResourceGroup
- func (in *ResourceGroup) DeepCopy() *ResourceGroup
- func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)
- func (in *ResourceGroup) DeepCopyObject() runtime.Object
- func (r *ResourceGroup) Default()
- func (*ResourceGroup) Hub()
- func (rt *ResourceGroup) ResourceType() string
- func (r *ResourceGroup) ValidateCreate() error
- func (r *ResourceGroup) ValidateDelete() error
- func (r *ResourceGroup) ValidateUpdate(old runtime.Object) error
- type ResourceGroupList
- type ResourceGroupSpec
- type ResourceGroupStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "microsoft.resources.infra.azure.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 ResourceGroup ¶
type ResourceGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceGroupSpec `json:"spec,omitempty"` Status ResourceGroupStatus `json:"status,omitempty"` }
ResourceGroup is the Schema for the resourcegroups API
func (*ResourceGroup) DeepCopy ¶
func (in *ResourceGroup) DeepCopy() *ResourceGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroup.
func (*ResourceGroup) DeepCopyInto ¶
func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceGroup) DeepCopyObject ¶
func (in *ResourceGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceGroup) Default ¶
func (r *ResourceGroup) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ResourceGroup) Hub ¶
func (*ResourceGroup) Hub()
func (*ResourceGroup) ResourceType ¶
func (rt *ResourceGroup) ResourceType() string
func (*ResourceGroup) ValidateCreate ¶
func (r *ResourceGroup) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ResourceGroup) ValidateDelete ¶
func (r *ResourceGroup) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ResourceGroup) ValidateUpdate ¶
func (r *ResourceGroup) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ResourceGroupList ¶
type ResourceGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceGroup `json:"items"` }
ResourceGroupList contains a list of ResourceGroup
func (*ResourceGroupList) DeepCopy ¶
func (in *ResourceGroupList) DeepCopy() *ResourceGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupList.
func (*ResourceGroupList) DeepCopyInto ¶
func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceGroupList) DeepCopyObject ¶
func (in *ResourceGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceGroupSpec ¶
type ResourceGroupSpec struct { // +k8s:conversion-gen=false APIVersion string `json:"apiVersion,omitempty"` Location string `json:"location,omitempty"` ManagedBy string `json:"managedBy,omitempty"` Tags map[string]string `json:"tags,omitempty"` }
ResourceGroupSpec defines the desired state of ResourceGroup
func (*ResourceGroupSpec) DeepCopy ¶
func (in *ResourceGroupSpec) DeepCopy() *ResourceGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupSpec.
func (*ResourceGroupSpec) DeepCopyInto ¶
func (in *ResourceGroupSpec) DeepCopyInto(out *ResourceGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroupStatus ¶
type ResourceGroupStatus struct { ID string `json:"id,omitempty"` // +k8s:conversion-gen=false DeploymentID string `json:"deploymentId,omitempty"` ProvisioningState string `json:"provisioningState,omitempty"` }
ResourceGroupStatus defines the observed state of ResourceGroup
func (*ResourceGroupStatus) DeepCopy ¶
func (in *ResourceGroupStatus) DeepCopy() *ResourceGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupStatus.
func (*ResourceGroupStatus) DeepCopyInto ¶
func (in *ResourceGroupStatus) DeepCopyInto(out *ResourceGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.