v1alpha3

package
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha3 contains core resources for Microsoft Azure. +kubebuilder:object:generate=true +groupName=azure.crossplane.io +versionName=v1alpha3

Index

Constants

View Source
const (
	Group   = "azure.crossplane.io"
	Version = "v1alpha3"
)

Package type metadata.

Variables

View Source
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}
)
View Source
var (
	ProviderKind             = reflect.TypeOf(Provider{}).Name()
	ProviderGroupKind        = schema.GroupKind{Group: Group, Kind: ProviderKind}.String()
	ProviderKindAPIVersion   = ProviderKind + "." + SchemeGroupVersion.String()
	ProviderGroupVersionKind = SchemeGroupVersion.WithKind(ProviderKind)
)

Provider type metadata.

View Source
var (
	ResourceGroupKind             = reflect.TypeOf(ResourceGroup{}).Name()
	ResourceGroupGroupKind        = schema.GroupKind{Group: Group, Kind: ResourceGroupKind}.String()
	ResourceGroupKindAPIVersion   = ResourceGroupKind + "." + SchemeGroupVersion.String()
	ResourceGroupGroupVersionKind = SchemeGroupVersion.WithKind(ResourceGroupKind)
)

ResourceGroup type metadata.

Functions

This section is empty.

Types

type AsyncOperation

type AsyncOperation struct {
	// Method is HTTP method that the initial request is made with.
	Method string `json:"method,omitempty"`

	// PollingURL is used to fetch the status of the given operation.
	PollingURL string `json:"pollingUrl,omitempty"`

	// Status represents the status of the operation.
	Status string `json:"status,omitempty"`

	// ErrorMessage represents the error that occurred during the operation.
	ErrorMessage string `json:"errorMessage,omitempty"`
}

AsyncOperation is used to save Azure Async operation details.

func (*AsyncOperation) DeepCopy

func (in *AsyncOperation) DeepCopy() *AsyncOperation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AsyncOperation.

func (*AsyncOperation) DeepCopyInto

func (in *AsyncOperation) DeepCopyInto(out *AsyncOperation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Provider

type Provider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ProviderSpec `json:"spec"`
}

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 +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,azure}

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Provider) DeepCopyObject

func (in *Provider) DeepCopyObject() runtime.Object

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 {
	// CredentialsSecretRef references a specific secret's key that contains
	// the credentials that are used to connect to the Azure API.
	CredentialsSecretRef xpv1.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 ProvisioningState

type ProvisioningState string

A ProvisioningState of a resource group.

const (
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
)

Provisioning states.

type ResourceGroup

type ResourceGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ResourceGroupSpec   `json:"spec"`
	Status ResourceGroupStatus `json:"status,omitempty"`
}

A ResourceGroup is a managed resource that represents an Azure Resource Group. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

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) GetCondition

func (mg *ResourceGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ResourceGroup.

func (*ResourceGroup) GetDeletionPolicy

func (mg *ResourceGroup) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ResourceGroup.

func (*ResourceGroup) GetProviderConfigReference

func (mg *ResourceGroup) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ResourceGroup.

func (*ResourceGroup) GetProviderReference

func (mg *ResourceGroup) GetProviderReference() *xpv1.Reference

GetProviderReference of this ResourceGroup. Deprecated: Use GetProviderConfigReference.

func (*ResourceGroup) GetPublishConnectionDetailsTo

func (mg *ResourceGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ResourceGroup.

func (*ResourceGroup) GetWriteConnectionSecretToReference

func (mg *ResourceGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ResourceGroup.

func (*ResourceGroup) SetConditions

func (mg *ResourceGroup) SetConditions(c ...xpv1.Condition)

SetConditions of this ResourceGroup.

func (*ResourceGroup) SetDeletionPolicy

func (mg *ResourceGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ResourceGroup.

func (*ResourceGroup) SetProviderConfigReference

func (mg *ResourceGroup) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ResourceGroup.

func (*ResourceGroup) SetProviderReference

func (mg *ResourceGroup) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ResourceGroup. Deprecated: Use SetProviderConfigReference.

func (*ResourceGroup) SetPublishConnectionDetailsTo

func (mg *ResourceGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ResourceGroup.

func (*ResourceGroup) SetWriteConnectionSecretToReference

func (mg *ResourceGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ResourceGroup.

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.

func (*ResourceGroupList) GetItems

func (l *ResourceGroupList) GetItems() []resource.Managed

GetItems of this ResourceGroupList.

type ResourceGroupSpec

type ResourceGroupSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// 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"`
}

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 {
	xpv1.ResourceStatus `json:",inline"`

	// ProvisioningState - The provisioning state of the resource group.
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL