Documentation ¶
Overview ¶
+k8s:conversion-gen=github.com/Azure/k8s-infra/apis/microsoft.resources/v1
Package v20150101 contains API Schema definitions for the microsoftresources v20150101 API group +kubebuilder:object:generate=true +groupName=microsoft.resources.infra.azure.com
Index ¶
- Variables
- func Convert_v1_ResourceGroupList_To_v20150101_ResourceGroupList(in *v1.ResourceGroupList, out *ResourceGroupList, s conversion.Scope) error
- func Convert_v1_ResourceGroupSpec_To_v20150101_ResourceGroupSpec(in *v1.ResourceGroupSpec, out *ResourceGroupSpec, s cvt.Scope) error
- func Convert_v1_ResourceGroupStatus_To_v20150101_ResourceGroupStatus(in *v1.ResourceGroupStatus, out *ResourceGroupStatus, s conversion.Scope) error
- func Convert_v1_ResourceGroup_To_v20150101_ResourceGroup(in *v1.ResourceGroup, out *ResourceGroup, s conversion.Scope) error
- func Convert_v20150101_ResourceGroupList_To_v1_ResourceGroupList(in *ResourceGroupList, out *v1.ResourceGroupList, s conversion.Scope) error
- func Convert_v20150101_ResourceGroupSpec_To_v1_ResourceGroupSpec(in *ResourceGroupSpec, out *v1.ResourceGroupSpec, s conversion.Scope) error
- func Convert_v20150101_ResourceGroupStatus_To_v1_ResourceGroupStatus(in *ResourceGroupStatus, out *v1.ResourceGroupStatus, s conversion.Scope) error
- func Convert_v20150101_ResourceGroup_To_v1_ResourceGroup(in *ResourceGroup, out *v1.ResourceGroup, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- type ResourceGroup
- 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: "v20150101"} // 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 ¶
func Convert_v1_ResourceGroupList_To_v20150101_ResourceGroupList ¶
func Convert_v1_ResourceGroupList_To_v20150101_ResourceGroupList(in *v1.ResourceGroupList, out *ResourceGroupList, s conversion.Scope) error
Convert_v1_ResourceGroupList_To_v20150101_ResourceGroupList is an autogenerated conversion function.
func Convert_v1_ResourceGroupSpec_To_v20150101_ResourceGroupSpec ¶
func Convert_v1_ResourceGroupSpec_To_v20150101_ResourceGroupSpec(in *v1.ResourceGroupSpec, out *ResourceGroupSpec, s cvt.Scope) error
Convert_v1_ResourceGroupSpec_To_v20150101_ResourceGroupSpec is required because we are unable to project MangedBy into this version noinspection GoSnakeCaseUsage
func Convert_v1_ResourceGroupStatus_To_v20150101_ResourceGroupStatus ¶
func Convert_v1_ResourceGroupStatus_To_v20150101_ResourceGroupStatus(in *v1.ResourceGroupStatus, out *ResourceGroupStatus, s conversion.Scope) error
Convert_v1_ResourceGroupStatus_To_v20150101_ResourceGroupStatus is an autogenerated conversion function.
func Convert_v1_ResourceGroup_To_v20150101_ResourceGroup ¶
func Convert_v1_ResourceGroup_To_v20150101_ResourceGroup(in *v1.ResourceGroup, out *ResourceGroup, s conversion.Scope) error
Convert_v1_ResourceGroup_To_v20150101_ResourceGroup is an autogenerated conversion function.
func Convert_v20150101_ResourceGroupList_To_v1_ResourceGroupList ¶
func Convert_v20150101_ResourceGroupList_To_v1_ResourceGroupList(in *ResourceGroupList, out *v1.ResourceGroupList, s conversion.Scope) error
Convert_v20150101_ResourceGroupList_To_v1_ResourceGroupList is an autogenerated conversion function.
func Convert_v20150101_ResourceGroupSpec_To_v1_ResourceGroupSpec ¶
func Convert_v20150101_ResourceGroupSpec_To_v1_ResourceGroupSpec(in *ResourceGroupSpec, out *v1.ResourceGroupSpec, s conversion.Scope) error
Convert_v20150101_ResourceGroupSpec_To_v1_ResourceGroupSpec is an autogenerated conversion function.
func Convert_v20150101_ResourceGroupStatus_To_v1_ResourceGroupStatus ¶
func Convert_v20150101_ResourceGroupStatus_To_v1_ResourceGroupStatus(in *ResourceGroupStatus, out *v1.ResourceGroupStatus, s conversion.Scope) error
Convert_v20150101_ResourceGroupStatus_To_v1_ResourceGroupStatus is an autogenerated conversion function.
func Convert_v20150101_ResourceGroup_To_v1_ResourceGroup ¶
func Convert_v20150101_ResourceGroup_To_v1_ResourceGroup(in *ResourceGroup, out *v1.ResourceGroup, s conversion.Scope) error
Convert_v20150101_ResourceGroup_To_v1_ResourceGroup is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
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) ConvertFrom ¶
func (dst *ResourceGroup) ConvertFrom(srcRaw conversion.Hub) error
func (*ResourceGroup) ConvertTo ¶
func (src *ResourceGroup) ConvertTo(dstRaw conversion.Hub) error
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.
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 { // Location is the Azure location for the group (eg westus2, southcentralus, etc...) Location string `json:"location,omitempty"` // Tags are user defined key value pairs // +optional 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"` 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.