Documentation ¶
Overview ¶
Package v1alpha2 contains core resources for Microsoft Azure. +kubebuilder:object:generate=true +groupName=azure.crossplane.io +versionName=v1alpha2
Index ¶
Constants ¶
const ( Group = "azure.crossplane.io" Version = "v1alpha2" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion 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} )
var ( ProviderKind = reflect.TypeOf(Provider{}).Name() ProviderKindAPIVersion = ProviderKind + "." + SchemeGroupVersion.String() ProviderGroupVersionKind = SchemeGroupVersion.WithKind(ProviderKind) )
Provider type metadata.
var ( ResourceGroupKind = reflect.TypeOf(ResourceGroup{}).Name() ResourceGroupKindAPIVersion = ResourceGroupKind + "." + SchemeGroupVersion.String() ResourceGroupGroupVersionKind = SchemeGroupVersion.WithKind(ResourceGroupKind) )
ResourceGroup type metadata.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProviderSpec `json:"spec,omitempty"` }
A Provider configures an Azure 'provider', i.e. a connection to a particular Azure account using a particular Azure Service Principal. +kubebuilder:printcolumn:name="SECRET-NAME",type="string",JSONPath=".spec.credentialsSecretRef.name",priority=1
func (*Provider) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Provider) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderList ¶
type ProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Provider `json:"items"` }
ProviderList contains a list of Provider
func (*ProviderList) DeepCopy ¶
func (in *ProviderList) DeepCopy() *ProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderList.
func (*ProviderList) DeepCopyInto ¶
func (in *ProviderList) DeepCopyInto(out *ProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderList) DeepCopyObject ¶
func (in *ProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderSpec ¶
type ProviderSpec struct { // Azure service principal credentials json secret key reference // A Secret containing JSON encoded credentials for an Azure Service // Principal that will be used to authenticate to this Azure Provider. Secret corev1.SecretKeySelector `json:"credentialsSecretRef"` }
A ProviderSpec defines the desired state of a Provider.
func (*ProviderSpec) DeepCopy ¶
func (in *ProviderSpec) DeepCopy() *ProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.
func (*ProviderSpec) DeepCopyInto ¶
func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroup ¶
type ResourceGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceGroupSpec `json:"spec,omitempty"` Status ResourceGroupStatus `json:"status,omitempty"` }
A ResourceGroup is a managed resource that represents an Azure Resource Group.
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 Resource Groups
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 { runtimev1alpha1.ResourceSpec `json:",inline"` // Name of the resource group. Name string `json:"name,omitempty"` // Location of the resource group. See the official list of valid regions - // https://azure.microsoft.com/en-us/global-infrastructure/regions/ Location string `json:"location,omitempty"` }
A ResourceGroupSpec defines the desired state of a 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 { runtimev1alpha1.ResourceStatus `json:",inline"` // Name of the resource group. Name string `json:"name"` }
A ResourceGroupStatus represents the observed status of a 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.