Documentation
¶
Overview ¶
Package v1alpha3 contains managed resources for Azure storage services such as containers and accounts. +kubebuilder:object:generate=true +groupName=storage.azure.crossplane.io +versionName=v1alpha3
Index ¶
- Constants
- Variables
- func ToStorageAccountCreate(s *StorageAccountSpec) storage.AccountCreateParameters
- func ToStorageAccountUpdate(s *StorageAccountSpec) storage.AccountUpdateParameters
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (mg *Account) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *Account) GetClaimReference() *corev1.ObjectReference
- func (mg *Account) GetClassReference() *corev1.ObjectReference
- func (mg *Account) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *Account) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *Account) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *Account) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *Account) SetClaimReference(r *corev1.ObjectReference)
- func (mg *Account) SetClassReference(r *corev1.ObjectReference)
- func (mg *Account) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *Account) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *Account) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- type AccountClass
- func (in *AccountClass) DeepCopy() *AccountClass
- func (in *AccountClass) DeepCopyInto(out *AccountClass)
- func (in *AccountClass) DeepCopyObject() runtime.Object
- func (cs *AccountClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (cs *AccountClass) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- type AccountClassList
- type AccountClassSpecTemplate
- type AccountList
- type AccountParameters
- type AccountSpec
- type AccountStatus
- type Container
- func (in *Container) DeepCopy() *Container
- func (in *Container) DeepCopyInto(out *Container)
- func (in *Container) DeepCopyObject() runtime.Object
- func (c *Container) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (c *Container) GetClaimReference() *corev1.ObjectReference
- func (c *Container) GetClassReference() *corev1.ObjectReference
- func (c *Container) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (c *Container) GetContainerName() string
- func (c *Container) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (c *Container) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (c *Container) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (c *Container) SetClaimReference(r *corev1.ObjectReference)
- func (c *Container) SetClassReference(r *corev1.ObjectReference)
- func (c *Container) SetConditions(cd ...runtimev1alpha1.Condition)
- func (c *Container) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)
- func (c *Container) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- type ContainerClass
- func (in *ContainerClass) DeepCopy() *ContainerClass
- func (in *ContainerClass) DeepCopyInto(out *ContainerClass)
- func (in *ContainerClass) DeepCopyObject() runtime.Object
- func (cs *ContainerClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (cs *ContainerClass) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- type ContainerClassList
- type ContainerClassSpecTemplate
- type ContainerList
- type ContainerParameters
- type ContainerSpec
- type ContainerStatus
- type CustomDomain
- type EnabledEncryptionServices
- type Encryption
- type Endpoints
- type IPRule
- type Identity
- type KeyVaultProperties
- type NetworkRuleSet
- type Sku
- type StorageAccountSpec
- type StorageAccountSpecProperties
- type StorageAccountStatus
- type StorageAccountStatusProperties
- type VirtualNetworkRule
Constants ¶
const ( Group = "storage.azure.crossplane.io" Version = "v1alpha3" )
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 ( AccountKind = reflect.TypeOf(Account{}).Name() AccountGroupKind = schema.GroupKind{Group: Group, Kind: AccountKind}.String() AccountKindAPIVersion = AccountKind + "." + SchemeGroupVersion.String() AccountGroupVersionKind = SchemeGroupVersion.WithKind(AccountKind) )
Account type metadata.
var ( AccountClassKind = reflect.TypeOf(AccountClass{}).Name() AccountClassGroupKind = schema.GroupKind{Group: Group, Kind: AccountClassKind}.String() AccountClassKindAPIVersion = AccountClassKind + "." + SchemeGroupVersion.String() AccountClassGroupVersionKind = SchemeGroupVersion.WithKind(AccountClassKind) )
AccountClass type metadata.
var ( ContainerKind = reflect.TypeOf(Container{}).Name() ContainerGroupKind = schema.GroupKind{Group: Group, Kind: ContainerKind}.String() ContainerKindAPIVersion = ContainerKind + "." + SchemeGroupVersion.String() ContainerGroupVersionKind = SchemeGroupVersion.WithKind(ContainerKind) )
Container type metadata.
var ( ContainerClassKind = reflect.TypeOf(ContainerClass{}).Name() ContainerClassGroupKind = schema.GroupKind{Group: Group, Kind: ContainerClassKind}.String() ContainerClassKindAPIVersion = ContainerClassKind + "." + SchemeGroupVersion.String() ContainerClassGroupVersionKind = SchemeGroupVersion.WithKind(ContainerClassKind) )
ContainerClass type metadata.
Functions ¶
func ToStorageAccountCreate ¶
func ToStorageAccountCreate(s *StorageAccountSpec) storage.AccountCreateParameters
ToStorageAccountCreate from StorageAccountSpec
func ToStorageAccountUpdate ¶
func ToStorageAccountUpdate(s *StorageAccountSpec) storage.AccountUpdateParameters
ToStorageAccountUpdate from StorageAccountSpec
Types ¶
type Account ¶
type Account struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccountSpec `json:"spec"` Status AccountStatus `json:"status,omitempty"` }
An Account is a managed resource that represents an Azure Blob Service Account. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="RESOURCE_GROUP",type="string",JSONPath=".spec.resourceGroupName" +kubebuilder:printcolumn:name="ACCOUNT_NAME",type="string",JSONPath=".spec.storageAccountName" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="RECLAIM_POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*Account) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Account) GetBindingPhase ¶
func (mg *Account) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this Account.
func (*Account) GetClaimReference ¶
func (mg *Account) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this Account.
func (*Account) GetClassReference ¶
func (mg *Account) GetClassReference() *corev1.ObjectReference
GetClassReference of this Account.
func (*Account) GetCondition ¶
func (mg *Account) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this Account.
func (*Account) GetReclaimPolicy ¶
func (mg *Account) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this Account.
func (*Account) GetWriteConnectionSecretToReference ¶
func (mg *Account) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this Account.
func (*Account) SetBindingPhase ¶
func (mg *Account) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this Account.
func (*Account) SetClaimReference ¶
func (mg *Account) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this Account.
func (*Account) SetClassReference ¶
func (mg *Account) SetClassReference(r *corev1.ObjectReference)
SetClassReference of this Account.
func (*Account) SetConditions ¶
func (mg *Account) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this Account.
func (*Account) SetReclaimPolicy ¶
func (mg *Account) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this Account.
func (*Account) SetWriteConnectionSecretToReference ¶
func (mg *Account) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
SetWriteConnectionSecretToReference of this Account.
type AccountClass ¶
type AccountClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // SpecTemplate is a template for the spec of a dynamically provisioned // Account. SpecTemplate AccountClassSpecTemplate `json:"specTemplate"` }
An AccountClass is a non-portable resource class. It defines the desired spec of resource claims that use it to dynamically provision a managed resource. +kubebuilder:printcolumn:name="PROVIDER-REF",type="string",JSONPath=".specTemplate.providerRef.name" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".specTemplate.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*AccountClass) DeepCopy ¶
func (in *AccountClass) DeepCopy() *AccountClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountClass.
func (*AccountClass) DeepCopyInto ¶
func (in *AccountClass) DeepCopyInto(out *AccountClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountClass) DeepCopyObject ¶
func (in *AccountClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccountClass) GetReclaimPolicy ¶
func (cs *AccountClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this AccountClass.
func (*AccountClass) SetReclaimPolicy ¶
func (cs *AccountClass) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this AccountClass.
type AccountClassList ¶
type AccountClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccountClass `json:"items"` }
AccountClassList contains a list of AccountClass.
func (*AccountClassList) DeepCopy ¶
func (in *AccountClassList) DeepCopy() *AccountClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountClassList.
func (*AccountClassList) DeepCopyInto ¶
func (in *AccountClassList) DeepCopyInto(out *AccountClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountClassList) DeepCopyObject ¶
func (in *AccountClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountClassSpecTemplate ¶
type AccountClassSpecTemplate struct { runtimev1alpha1.ClassSpecTemplate `json:",inline"` AccountParameters `json:",inline"` }
An AccountClassSpecTemplate is a template for the spec of a dynamically provisioned Account.
func (*AccountClassSpecTemplate) DeepCopy ¶
func (in *AccountClassSpecTemplate) DeepCopy() *AccountClassSpecTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountClassSpecTemplate.
func (*AccountClassSpecTemplate) DeepCopyInto ¶
func (in *AccountClassSpecTemplate) DeepCopyInto(out *AccountClassSpecTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountList ¶
type AccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Account `json:"items"` }
AccountList contains a list of Account.
func (*AccountList) DeepCopy ¶
func (in *AccountList) DeepCopy() *AccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList.
func (*AccountList) DeepCopyInto ¶
func (in *AccountList) DeepCopyInto(out *AccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountList) DeepCopyObject ¶
func (in *AccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountParameters ¶
type AccountParameters struct { // ResourceGroupName specifies the resource group for this Account. ResourceGroupName string `json:"resourceGroupName"` // StorageAccountName specifies the name for this Account. // +kubebuilder:validation:MaxLength=24 StorageAccountName string `json:"storageAccountName"` // StorageAccountSpec specifies the desired state of this Account. StorageAccountSpec *StorageAccountSpec `json:"storageAccountSpec"` }
AccountParameters define the desired state of an Azure Blob Storage Account.
func (*AccountParameters) DeepCopy ¶
func (in *AccountParameters) DeepCopy() *AccountParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters.
func (*AccountParameters) DeepCopyInto ¶
func (in *AccountParameters) DeepCopyInto(out *AccountParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountSpec ¶
type AccountSpec struct { runtimev1alpha1.ResourceSpec `json:",inline"` AccountParameters `json:",inline"` }
An AccountSpec defines the desired state of an Account.
func (*AccountSpec) DeepCopy ¶
func (in *AccountSpec) DeepCopy() *AccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec.
func (*AccountSpec) DeepCopyInto ¶
func (in *AccountSpec) DeepCopyInto(out *AccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountStatus ¶
type AccountStatus struct { runtimev1alpha1.ResourceStatus `json:",inline"` *StorageAccountStatus `json:",inline"` }
An AccountStatus represents the observed state of an Account.
func (*AccountStatus) DeepCopy ¶
func (in *AccountStatus) DeepCopy() *AccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus.
func (*AccountStatus) DeepCopyInto ¶
func (in *AccountStatus) DeepCopyInto(out *AccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Container ¶
type Container struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContainerSpec `json:"spec"` Status ContainerStatus `json:"status,omitempty"` }
A Container is a managed resource that represents an Azure Blob Storage Container. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STORAGE_ACCOUNT",type="string",JSONPath=".spec.accountRef.name" +kubebuilder:printcolumn:name="PUBLIC_ACCESS_TYPE",type="string",JSONPath=".spec.publicAccessType" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="RECLAIM_POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Container) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Container) GetBindingPhase ¶
func (c *Container) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this Container.
func (*Container) GetClaimReference ¶
func (c *Container) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this Container.
func (*Container) GetClassReference ¶
func (c *Container) GetClassReference() *corev1.ObjectReference
GetClassReference of this Container.
func (*Container) GetCondition ¶
func (c *Container) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this Container.
func (*Container) GetContainerName ¶
GetContainerName based on the NameFormat spec value, If name format is not provided, container name defaults to UID If name format provided with '%s' value, container name will result in formatted string + UID,
NOTE: only single %s substitution is supported
If name format does not contain '%s' substitution, i.e. a constant string, the constant string value is returned back
Examples:
For all examples assume "UID" = "test-uid" 1. NameFormat = "", ContainerName = "test-uid" 2. NameFormat = "%s", ContainerName = "test-uid" 3. NameFormat = "foo", ContainerName = "foo" 4. NameFormat = "foo-%s", ContainerName = "foo-test-uid" 5. NameFormat = "foo-%s-bar-%s", ContainerName = "foo-test-uid-bar-%!s(MISSING)"
func (*Container) GetReclaimPolicy ¶
func (c *Container) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this Container.
func (*Container) GetWriteConnectionSecretToReference ¶
func (c *Container) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this Container.
func (*Container) SetBindingPhase ¶
func (c *Container) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this Container.
func (*Container) SetClaimReference ¶
func (c *Container) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this Container.
func (*Container) SetClassReference ¶
func (c *Container) SetClassReference(r *corev1.ObjectReference)
SetClassReference of this Container.
func (*Container) SetConditions ¶
func (c *Container) SetConditions(cd ...runtimev1alpha1.Condition)
SetConditions of this Container.
func (*Container) SetReclaimPolicy ¶
func (c *Container) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this Container.
func (*Container) SetWriteConnectionSecretToReference ¶
func (c *Container) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
SetWriteConnectionSecretToReference of this Container.
type ContainerClass ¶
type ContainerClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // SpecTemplate is a template for the spec of a dynamically provisioned // Container. SpecTemplate ContainerClassSpecTemplate `json:"specTemplate"` }
A ContainerClass is a non-portable resource class. It defines the desired spec of resource claims that use it to dynamically provision a managed resource. +kubebuilder:printcolumn:name="PROVIDER-REF",type="string",JSONPath=".specTemplate.providerRef.name" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".specTemplate.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*ContainerClass) DeepCopy ¶
func (in *ContainerClass) DeepCopy() *ContainerClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerClass.
func (*ContainerClass) DeepCopyInto ¶
func (in *ContainerClass) DeepCopyInto(out *ContainerClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerClass) DeepCopyObject ¶
func (in *ContainerClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContainerClass) GetReclaimPolicy ¶
func (cs *ContainerClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this ContainerClass.
func (*ContainerClass) SetReclaimPolicy ¶
func (cs *ContainerClass) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this ContainerClass.
type ContainerClassList ¶
type ContainerClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContainerClass `json:"items"` }
ContainerClassList contains a list of cloud memorystore resource classes.
func (*ContainerClassList) DeepCopy ¶
func (in *ContainerClassList) DeepCopy() *ContainerClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerClassList.
func (*ContainerClassList) DeepCopyInto ¶
func (in *ContainerClassList) DeepCopyInto(out *ContainerClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerClassList) DeepCopyObject ¶
func (in *ContainerClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerClassSpecTemplate ¶
type ContainerClassSpecTemplate struct { runtimev1alpha1.ClassSpecTemplate `json:",inline"` ContainerParameters `json:",inline"` }
A ContainerClassSpecTemplate is a template for the spec of a dynamically provisioned Container.
func (*ContainerClassSpecTemplate) DeepCopy ¶
func (in *ContainerClassSpecTemplate) DeepCopy() *ContainerClassSpecTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerClassSpecTemplate.
func (*ContainerClassSpecTemplate) DeepCopyInto ¶
func (in *ContainerClassSpecTemplate) DeepCopyInto(out *ContainerClassSpecTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerList ¶
type ContainerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Container `json:"items"` }
ContainerList - list of the container objects
func (*ContainerList) DeepCopy ¶
func (in *ContainerList) DeepCopy() *ContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerList.
func (*ContainerList) DeepCopyInto ¶
func (in *ContainerList) DeepCopyInto(out *ContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerList) DeepCopyObject ¶
func (in *ContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerParameters ¶
type ContainerParameters struct { // NameFormat specifies the name of the external Container. The first // instance of the string '%s' will be replaced with the Kubernetes // UID of this Container. NameFormat string `json:"nameFormat"` // Metadata for this Container. // +optional Metadata azblob.Metadata `json:"metadata,omitempty"` // PublicAccessType for this container; either "blob" or "container". // +optional PublicAccessType azblob.PublicAccessType `json:"publicAccessType,omitempty"` // AccountReference to the Azure Blob Storage Account this Container will // reside within. AccountReference corev1.LocalObjectReference `json:"accountReference"` }
ContainerParameters define the desired state of an Azure Blob Storage Container.
func (*ContainerParameters) DeepCopy ¶
func (in *ContainerParameters) DeepCopy() *ContainerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParameters.
func (*ContainerParameters) DeepCopyInto ¶
func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerSpec ¶
type ContainerSpec struct { ContainerParameters `json:",inline"` // WriteConnectionSecretToReference specifies the name of a Secret, in the // same namespace as this managed resource, to which any connection details // for this managed resource should be written. Connection details // frequently include the endpoint, username, and password required to // connect to the managed resource. // +optional WriteConnectionSecretToReference *runtimev1alpha1.SecretReference `json:"writeConnectionSecretToRef,omitempty"` // ClaimReference specifies the resource claim to which this managed // resource will be bound. ClaimReference is set automatically during // dynamic provisioning. Crossplane does not currently support setting this // field manually, per https://github.com/crossplaneio/crossplane-runtime/issues/19 // +optional ClaimReference *corev1.ObjectReference `json:"claimRef,omitempty"` // ClassReference specifies the non-portable resource class that was used to // dynamically provision this managed resource, if any. Crossplane does not // currently support setting this field manually, per // https://github.com/crossplaneio/crossplane-runtime/issues/20 // +optional ClassReference *corev1.ObjectReference `json:"classRef,omitempty"` // ReclaimPolicy specifies what will happen to the external resource this // managed resource manages when the managed resource is deleted. "Delete" // deletes the external resource, while "Retain" (the default) does not. // Note this behaviour is subtly different from other uses of the // ReclaimPolicy concept within the Kubernetes ecosystem per // https://github.com/crossplaneio/crossplane-runtime/issues/21 // +optional ReclaimPolicy runtimev1alpha1.ReclaimPolicy `json:"reclaimPolicy,omitempty"` }
A ContainerSpec defines the desired state of a Container.
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerStatus ¶
type ContainerStatus struct { runtimev1alpha1.ResourceStatus `json:",inline"` // Name of this Container. Name string `json:"name,omitempty"` }
A ContainerStatus represents the observed status of a Container.
func (*ContainerStatus) DeepCopy ¶
func (in *ContainerStatus) DeepCopy() *ContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
func (*ContainerStatus) DeepCopyInto ¶
func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomDomain ¶
type CustomDomain struct { // Name - custom domain name assigned to the storage account. Name is the // CNAME source. // +optional Name string `json:"name,omitempty"` // UseSubDomainName - Indicates whether indirect CNAME validation is // enabled. // +optional UseSubDomainName bool `json:"useSubDomainName,omitempty"` }
CustomDomain specifies the custom domain assigned to this storage account.
func (*CustomDomain) DeepCopy ¶
func (in *CustomDomain) DeepCopy() *CustomDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomain.
func (*CustomDomain) DeepCopyInto ¶
func (in *CustomDomain) DeepCopyInto(out *CustomDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnabledEncryptionServices ¶
type EnabledEncryptionServices struct { // Blob - The encryption function of the blob storage service. Blob bool `json:"blob,omitempty"` // File - The encryption function of the file storage service. File bool `json:"file,omitempty"` // Table - The encryption function of the table storage service. Table bool `json:"table,omitempty"` // Queue - The encryption function of the queue storage service. Queue bool `json:"queue,omitempty"` }
EnabledEncryptionServices a list of services that support encryption.
func (*EnabledEncryptionServices) DeepCopy ¶
func (in *EnabledEncryptionServices) DeepCopy() *EnabledEncryptionServices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnabledEncryptionServices.
func (*EnabledEncryptionServices) DeepCopyInto ¶
func (in *EnabledEncryptionServices) DeepCopyInto(out *EnabledEncryptionServices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Encryption ¶
type Encryption struct { // Services - List of services which support encryption. Services *EnabledEncryptionServices `json:"services,omitempty"` // KeySource - The encryption keySource (provider). // // Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault // +kubebuilder:validation:Enum=Microsoft.Storage;Microsoft.Keyvault KeySource storage.KeySource `json:"keySource,omitempty"` // KeyVaultProperties - Properties provided by key vault. KeyVaultProperties *KeyVaultProperties `json:"keyvaultproperties,omitempty"` }
Encryption the encryption settings on the storage account.
func (*Encryption) DeepCopy ¶
func (in *Encryption) DeepCopy() *Encryption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Encryption.
func (*Encryption) DeepCopyInto ¶
func (in *Encryption) DeepCopyInto(out *Encryption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Endpoints ¶
type Endpoints struct { // Blob - the blob endpoint. Blob string `json:"blob,omitempty"` // Queue - the queue endpoint. Queue string `json:"queue,omitempty"` // Table - the table endpoint. Table string `json:"table,omitempty"` // File - the file endpoint. File string `json:"file,omitempty"` }
Endpoints the URIs that are used to perform a retrieval of a public blob, queue, or table object.
func (*Endpoints) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints.
func (*Endpoints) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPRule ¶
type IPRule struct { // IPAddressOrRange - Specifies the IP or IP range in CIDR format. // Only IPV4 address is allowed. IPAddressOrRange string `json:"value,omitempty"` // Action - The action of IP ACL rule. Possible values include: 'Allow' // +kubebuilder:validation:Enum=Allow Action storage.Action `json:"action,omitempty"` }
IPRule IP rule with specific IP or IP range in CIDR format.
func (*IPRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRule.
func (*IPRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Identity ¶
type Identity struct { // PrincipalID - The principal ID of resource identity. PrincipalID string `json:"principalId,omitempty"` // TenantID - The tenant ID of resource. TenantID string `json:"tenantId,omitempty"` // Type - The identity type. Type string `json:"type,omitempty"` }
Identity identity for the resource.
func (*Identity) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identity.
func (*Identity) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyVaultProperties ¶
type KeyVaultProperties struct { // KeyName - The name of KeyVault key. KeyName string `json:"keyname,omitempty"` // KeyVersion - The version of KeyVault key. KeyVersion string `json:"keyversion,omitempty"` // KeyVaultURI - The Uri of KeyVault. KeyVaultURI string `json:"keyvaulturi,omitempty"` }
KeyVaultProperties properties of key vault.
func (*KeyVaultProperties) DeepCopy ¶
func (in *KeyVaultProperties) DeepCopy() *KeyVaultProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultProperties.
func (*KeyVaultProperties) DeepCopyInto ¶
func (in *KeyVaultProperties) DeepCopyInto(out *KeyVaultProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkRuleSet ¶
type NetworkRuleSet struct { // Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. // Possible values are any combination of Logging|Metrics|AzureServices // (For example, "Logging, Metrics"), or None to bypass none of those traffics. // Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' Bypass storage.Bypass `json:"bypass,omitempty"` // VirtualNetworkRules - Sets the virtual network rules VirtualNetworkRules []VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` // IPRules - Sets the IP ACL rules IPRules []IPRule `json:"ipRules,omitempty"` // DefaultAction - Specifies the default action of allow or deny when no other rules match. // // Possible values include: 'Allow', 'Deny' // +kubebuilder:validation:Enum=Allow;Deny DefaultAction storage.DefaultAction `json:"defaultAction,omitempty"` }
NetworkRuleSet network rule set
func (*NetworkRuleSet) DeepCopy ¶
func (in *NetworkRuleSet) DeepCopy() *NetworkRuleSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleSet.
func (*NetworkRuleSet) DeepCopyInto ¶
func (in *NetworkRuleSet) DeepCopyInto(out *NetworkRuleSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sku ¶
type Sku struct { // Capabilities - The capability information in the specified sku, including // file encryption, network acls, change notification, etc. Capabilities []skuCapability `json:"capabilities,omitempty"` // Kind - Indicates the type of storage account. // // Possible values include: 'Storage', 'BlobStorage' // +kubebuilder:validation:Enum=Storage;BlobStorage Kind storage.Kind `json:"kind,omitempty"` // Locations - The set of locations that the Sku is available. // This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). Locations []string `json:"locations,omitempty"` // Name - Gets or sets the sku name. Required for account creation; optional for update. // Note that in older versions, sku name was called accountType. // // Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS' // +kubebuilder:validation:Enum=Standard_LRS;Standard_GRS;Standard_RAGRS;Standard_ZRS;Premium_LRS Name storage.SkuName `json:"name"` // ResourceType - The type of the resource, usually it is 'storageAccounts'. ResourceType string `json:"resourceType,omitempty"` // Tier - Gets the sku tier. This is based on the Sku name. // // Possible values include: 'Standard', 'Premium' // +kubebuilder:validation:Enum=Standard;Premium Tier storage.SkuTier `json:"tier,omitempty"` }
Sku of an Azure Blob Storage Account.
func (*Sku) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku.
func (*Sku) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageAccountSpec ¶
type StorageAccountSpec struct { // Identity - The identity of the resource. // +optional Identity *Identity `json:"identity,omitempty"` // Kind - Indicates the type of storage account. // Possible values include: 'Storage', 'BlobStorage' // +kubebuilder:validation:Enum=Storage;BlobStorage Kind storage.Kind `json:"kind"` // Location - The location of the resource. This will be one of the // supported and registered Azure Geo Regions (e.g. West US, East US, // Southeast Asia, etc.). Location string `json:"location"` // Sku of the storage account. Sku *Sku `json:"sku"` // StorageAccountSpecProperties - The parameters used to create the storage // account. // +optional *StorageAccountSpecProperties `json:"properties,omitempty"` // Tags - A list of key value pairs that describe the resource. These tags // can be used for viewing and grouping this resource (across resource // groups). A maximum of 15 tags can be provided for a resource. Each tag // must have a key with a length no greater than 128 characters and a value // with a length no greater than 256 characters. // +optional Tags map[string]string `json:"tags,omitempty"` }
A StorageAccountSpec defines the desired state of an Azure Blob Storage account.
func NewStorageAccountSpec ¶
func NewStorageAccountSpec(a *storage.Account) *StorageAccountSpec
NewStorageAccountSpec from the storage Account
func (*StorageAccountSpec) DeepCopy ¶
func (in *StorageAccountSpec) DeepCopy() *StorageAccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountSpec.
func (*StorageAccountSpec) DeepCopyInto ¶
func (in *StorageAccountSpec) DeepCopyInto(out *StorageAccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageAccountSpecProperties ¶
type StorageAccountSpecProperties struct { // AccessTier - Required for storage accounts where kind = BlobStorage. // The access tier used for billing. // Possible values include: 'Hot', 'Cool' // +kubebuilder:validation:Enum=Hot;Cool AccessTier storage.AccessTier `json:"accessTier,omitempty"` // CustomDomain - User domain assigned to the storage account. // Name is the CNAME source. Only one custom domain is supported per storage account at this time. // to clear the existing custom domain, use an empty string for the custom domain name property. CustomDomain *CustomDomain `json:"customDomain,omitempty"` // EnableHTTPSTrafficOnly - Allows https traffic only to storage service if sets to true. EnableHTTPSTrafficOnly bool `json:"supportsHttpsTrafficOnly,omitempty"` // Encryption - Provides the encryption settings on the account. // If left unspecified the account encryption settings will remain the same. // The default setting is unencrypted. Encryption *Encryption `json:"encryption,omitempty"` // NetworkRuleSet - Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` }
StorageAccountSpecProperties the parameters used to create the storage account.
func (*StorageAccountSpecProperties) DeepCopy ¶
func (in *StorageAccountSpecProperties) DeepCopy() *StorageAccountSpecProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountSpecProperties.
func (*StorageAccountSpecProperties) DeepCopyInto ¶
func (in *StorageAccountSpecProperties) DeepCopyInto(out *StorageAccountSpecProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageAccountStatus ¶
type StorageAccountStatus struct { // ID of this Account. ID string `json:"id,omitempty"` // Name of this Account. Name string `json:"name,omitempty"` // Type of this Account. Type string `json:"type,omitempty"` // Properties of this Account. *StorageAccountStatusProperties `json:"properties,omitempty"` }
A StorageAccountStatus represents the observed status of an Account.
func NewStorageAccountStatus ¶
func NewStorageAccountStatus(a *storage.Account) *StorageAccountStatus
NewStorageAccountStatus from the storage Account
func (*StorageAccountStatus) DeepCopy ¶
func (in *StorageAccountStatus) DeepCopy() *StorageAccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountStatus.
func (*StorageAccountStatus) DeepCopyInto ¶
func (in *StorageAccountStatus) DeepCopyInto(out *StorageAccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageAccountStatusProperties ¶
type StorageAccountStatusProperties struct { // CreationTime - the creation date and time of the storage account in UTC. CreationTime *metav1.Time `json:"creationTime,omitempty"` // LastGeoFailoverTime - the timestamp of the most recent instance of a // failover to the secondary location. Only the most recent timestamp is retained. // This element is not returned if there has never been a failover instance. // Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime *metav1.Time `json:"lastGeoFailoverTime,omitempty"` // PrimaryEndpoints - the URLs that are used to perform a retrieval of a public blob, queue, or table object. // Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints *Endpoints `json:"primaryEndpoints,omitempty"` // PrimaryLocation - the location of the primary data center for the storage account. PrimaryLocation string `json:"primaryLocation,omitempty"` // ProvisioningState - the status of the storage account at the time the operation was called. // Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded' // +kubebuilder:validation:Enum=Creating;ResolvingDNS;Succeeded ProvisioningState storage.ProvisioningState `json:"provisioningState,omitempty"` // SecondaryEndpoints - the URLs that are used to perform a retrieval of a // public blob, queue, or table object from the secondary location of the // storage account. Only available if the Sku name is Standard_RAGRS. SecondaryEndpoints *Endpoints `json:"secondaryEndpoints,omitempty"` // SecondaryLocation - the location of the geo-replicated secondary for the // storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation string `json:"secondaryLocation,omitempty"` // StatusOfPrimary - the status indicating whether the primary location // of the storage account is available or unavailable. // Possible values include: 'Available', 'Unavailable' StatusOfPrimary storage.AccountStatus `json:"statusOfPrimary,omitempty"` // StatusOfSecondary - the status indicating whether the secondary location // of the storage account is available or unavailable. // Only available if the Sku name is Standard_GRS or Standard_RAGRS. // Possible values include: 'Available', 'Unavailable' // +kubebuilder:validation:Enum=Available;Unavailable StatusOfSecondary storage.AccountStatus `json:"statusOfSecondary,omitempty"` }
StorageAccountStatusProperties represent the observed state of an Account.
func (*StorageAccountStatusProperties) DeepCopy ¶
func (in *StorageAccountStatusProperties) DeepCopy() *StorageAccountStatusProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountStatusProperties.
func (*StorageAccountStatusProperties) DeepCopyInto ¶
func (in *StorageAccountStatusProperties) DeepCopyInto(out *StorageAccountStatusProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { // VirtualNetworkResourceID - Resource ID of a subnet, // for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. VirtualNetworkResourceID string `json:"id,omitempty"` // Action - The action of virtual network rule. Possible values include: 'Allow' // +kubebuilder:validation:Enum=Allow Action storage.Action `json:"action,omitempty"` }
VirtualNetworkRule virtual Network rule.
func (*VirtualNetworkRule) DeepCopy ¶
func (in *VirtualNetworkRule) DeepCopy() *VirtualNetworkRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRule.
func (*VirtualNetworkRule) DeepCopyInto ¶
func (in *VirtualNetworkRule) DeepCopyInto(out *VirtualNetworkRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.