v1alpha3

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha3 contains managed resources for Azure database services. +kubebuilder:object:generate=true +groupName=database.azure.crossplane.io +versionName=v1alpha3

Index

Constants

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

Package type metadata.

View Source
const (
	// OperationCreateServer is the operation type for creating a new mysql
	// server.
	OperationCreateServer = "createServer"

	// OperationCreateFirewallRules is the operation type for creating a
	// firewall rule.
	OperationCreateFirewallRules = "createFirewallRules"
)

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 (
	MySQLServerVirtualNetworkRuleKind             = reflect.TypeOf(MySQLServerVirtualNetworkRule{}).Name()
	MySQLServerVirtualNetworkRuleGroupKind        = schema.GroupKind{Group: Group, Kind: MySQLServerVirtualNetworkRuleKind}.String()
	MySQLServerVirtualNetworkRuleKindAPIVersion   = MySQLServerVirtualNetworkRuleKind + "." + SchemeGroupVersion.String()
	MySQLServerVirtualNetworkRuleGroupVersionKind = SchemeGroupVersion.WithKind(MySQLServerVirtualNetworkRuleKind)
)

MySQLServerVirtualNetworkRule type metadata.

View Source
var (
	PostgreSQLServerVirtualNetworkRuleKind             = reflect.TypeOf(PostgreSQLServerVirtualNetworkRule{}).Name()
	PostgreSQLServerVirtualNetworkRuleGroupKind        = schema.GroupKind{Group: Group, Kind: PostgreSQLServerVirtualNetworkRuleKind}.String()
	PostgreSQLServerVirtualNetworkRuleKindAPIVersion   = PostgreSQLServerVirtualNetworkRuleKind + "." + SchemeGroupVersion.String()
	PostgreSQLServerVirtualNetworkRuleGroupVersionKind = SchemeGroupVersion.WithKind(PostgreSQLServerVirtualNetworkRuleKind)
)

PostgreSQLServerVirtualNetworkRule type metadata.

Functions

This section is empty.

Types

type MySQLServerVirtualNetworkRule

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

	Spec   MySQLVirtualNetworkRuleSpec `json:"spec"`
	Status VirtualNetworkRuleStatus    `json:"status,omitempty"`
}

A MySQLServerVirtualNetworkRule is a managed resource that represents an Azure MySQL Database virtual network rule. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*MySQLServerVirtualNetworkRule) DeepCopy

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

func (*MySQLServerVirtualNetworkRule) DeepCopyInto

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

func (*MySQLServerVirtualNetworkRule) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MySQLServerVirtualNetworkRule) GetBindingPhase

GetBindingPhase of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) GetClaimReference

func (mg *MySQLServerVirtualNetworkRule) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) GetClassReference

func (mg *MySQLServerVirtualNetworkRule) GetClassReference() *corev1.ObjectReference

GetClassReference of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) GetCondition

GetCondition of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) GetReclaimPolicy

GetReclaimPolicy of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) GetWriteConnectionSecretToReference

func (mg *MySQLServerVirtualNetworkRule) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) SetBindingPhase

SetBindingPhase of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) SetClaimReference

func (mg *MySQLServerVirtualNetworkRule) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) SetClassReference

func (mg *MySQLServerVirtualNetworkRule) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) SetConditions

SetConditions of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) SetReclaimPolicy

SetReclaimPolicy of this MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRule) SetWriteConnectionSecretToReference

func (mg *MySQLServerVirtualNetworkRule) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this MySQLServerVirtualNetworkRule.

type MySQLServerVirtualNetworkRuleList

type MySQLServerVirtualNetworkRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MySQLServerVirtualNetworkRule `json:"items"`
}

MySQLServerVirtualNetworkRuleList contains a list of MySQLServerVirtualNetworkRule.

func (*MySQLServerVirtualNetworkRuleList) DeepCopy

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

func (*MySQLServerVirtualNetworkRuleList) DeepCopyInto

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

func (*MySQLServerVirtualNetworkRuleList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MySQLVirtualNetworkRuleSpec

type MySQLVirtualNetworkRuleSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Name - Name of the Virtual Network Rule.
	Name string `json:"name"`

	// ServerName - Name of the Virtual Network Rule's server.
	ServerName string `json:"serverName,omitempty"`

	// ServerNameRef - A reference to the Virtual Network Rule's MySQLServer.
	ServerNameRef *v1beta1.MySQLServerNameReferencer `json:"serverNameRef,omitempty" resource:"attributereferencer"`

	// ResourceGroupName - Name of the Virtual Network Rule's resource group.
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve
	// its name
	ResourceGroupNameRef *ResourceGroupNameReferencerForVirtualNetworkRule `json:"resourceGroupNameRef,omitempty" resource:"attributereferencer"`

	// VirtualNetworkRuleProperties - Resource properties.
	VirtualNetworkRuleProperties `json:"properties"`
}

A MySQLVirtualNetworkRuleSpec defines the desired state of a MySQLVirtualNetworkRule.

func (*MySQLVirtualNetworkRuleSpec) DeepCopy

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

func (*MySQLVirtualNetworkRuleSpec) DeepCopyInto

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

type PostgreSQLServerVirtualNetworkRule

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

	Spec   PostgreSQLVirtualNetworkRuleSpec `json:"spec"`
	Status VirtualNetworkRuleStatus         `json:"status,omitempty"`
}

A PostgreSQLServerVirtualNetworkRule is a managed resource that represents an Azure PostgreSQL Database virtual network rule. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*PostgreSQLServerVirtualNetworkRule) DeepCopy

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

func (*PostgreSQLServerVirtualNetworkRule) DeepCopyInto

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

func (*PostgreSQLServerVirtualNetworkRule) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PostgreSQLServerVirtualNetworkRule) GetBindingPhase

GetBindingPhase of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) GetClaimReference

GetClaimReference of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) GetClassReference

GetClassReference of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) GetCondition

GetCondition of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) GetReclaimPolicy

GetReclaimPolicy of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) GetWriteConnectionSecretToReference

func (mg *PostgreSQLServerVirtualNetworkRule) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) SetBindingPhase

SetBindingPhase of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) SetClaimReference

func (mg *PostgreSQLServerVirtualNetworkRule) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) SetClassReference

func (mg *PostgreSQLServerVirtualNetworkRule) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) SetConditions

SetConditions of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) SetReclaimPolicy

SetReclaimPolicy of this PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRule) SetWriteConnectionSecretToReference

func (mg *PostgreSQLServerVirtualNetworkRule) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this PostgreSQLServerVirtualNetworkRule.

type PostgreSQLServerVirtualNetworkRuleList

type PostgreSQLServerVirtualNetworkRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PostgreSQLServerVirtualNetworkRule `json:"items"`
}

PostgreSQLServerVirtualNetworkRuleList contains a list of PostgreSQLServerVirtualNetworkRule.

func (*PostgreSQLServerVirtualNetworkRuleList) DeepCopy

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

func (*PostgreSQLServerVirtualNetworkRuleList) DeepCopyInto

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

func (*PostgreSQLServerVirtualNetworkRuleList) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PostgreSQLVirtualNetworkRuleSpec

type PostgreSQLVirtualNetworkRuleSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Name - Name of the Virtual Network Rule.
	Name string `json:"name"`

	// ServerName - Name of the Virtual Network Rule's PostgreSQLServer.
	ServerName string `json:"serverName,omitempty"`

	// ServerNameRef - A reference to the Virtual Network Rule's PostgreSQLServer.
	ServerNameRef *v1beta1.PostgreSQLServerNameReferencer `json:"serverNameRef,omitempty" resource:"attributereferencer"`

	// ResourceGroupName - Name of the Virtual Network Rule's resource group.
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve
	// its name
	ResourceGroupNameRef *ResourceGroupNameReferencerForVirtualNetworkRule `json:"resourceGroupNameRef,omitempty" resource:"attributereferencer"`

	// VirtualNetworkRuleProperties - Resource properties.
	VirtualNetworkRuleProperties `json:"properties"`
}

A PostgreSQLVirtualNetworkRuleSpec defines the desired state of a PostgreSQLVirtualNetworkRule.

func (*PostgreSQLVirtualNetworkRuleSpec) DeepCopy

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

func (*PostgreSQLVirtualNetworkRuleSpec) DeepCopyInto

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

type ResourceGroupNameReferencerForVirtualNetworkRule

type ResourceGroupNameReferencerForVirtualNetworkRule struct {
	apisv1alpha3.ResourceGroupNameReferencer `json:",inline"`
}

ResourceGroupNameReferencerForVirtualNetworkRule is an attribute referencer that resolves the name of a the ResourceGroup.

func (*ResourceGroupNameReferencerForVirtualNetworkRule) Assign

Assign assigns the retrieved group name to the managed resource

func (*ResourceGroupNameReferencerForVirtualNetworkRule) DeepCopy

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

func (*ResourceGroupNameReferencerForVirtualNetworkRule) DeepCopyInto

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

type ServerNameReferencerForMySQLServerVirtualNetworkRule

type ServerNameReferencerForMySQLServerVirtualNetworkRule struct {
	v1beta1.MySQLServerNameReferencer `json:",inline"`
}

ServerNameReferencerForMySQLServerVirtualNetworkRule is an attribute referencer that resolves the name of a MySQLServer.

func (*ServerNameReferencerForMySQLServerVirtualNetworkRule) Assign

Assign assigns the retrieved group name to the managed resource

func (*ServerNameReferencerForMySQLServerVirtualNetworkRule) DeepCopy

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

func (*ServerNameReferencerForMySQLServerVirtualNetworkRule) DeepCopyInto

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

type ServerNameReferencerForPostgreSQLServerVirtualNetworkRule

type ServerNameReferencerForPostgreSQLServerVirtualNetworkRule struct {
	v1beta1.PostgreSQLServerNameReferencer `json:",inline"`
}

ServerNameReferencerForPostgreSQLServerVirtualNetworkRule is an attribute referencer that resolves the name of a PostgreSQLServer.

func (*ServerNameReferencerForPostgreSQLServerVirtualNetworkRule) Assign

Assign assigns the retrieved group name to the managed resource

func (*ServerNameReferencerForPostgreSQLServerVirtualNetworkRule) DeepCopy

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

func (*ServerNameReferencerForPostgreSQLServerVirtualNetworkRule) DeepCopyInto

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

type SubnetIDReferencerForVirtualNetworkRule

type SubnetIDReferencerForVirtualNetworkRule struct {
	networkv1alpha3.SubnetIDReferencer `json:",inline"`
}

SubnetIDReferencerForVirtualNetworkRule is an attribute referencer that resolves id from a referenced Subnet and assigns it to a PostgreSQLServer or MySQL server object

func (*SubnetIDReferencerForVirtualNetworkRule) Assign

Assign assigns the retrieved group name to the managed resource

func (*SubnetIDReferencerForVirtualNetworkRule) DeepCopy

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

func (*SubnetIDReferencerForVirtualNetworkRule) DeepCopyInto

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

type VirtualNetworkRuleProperties

type VirtualNetworkRuleProperties struct {
	// VirtualNetworkSubnetID - The ARM resource id of the virtual network
	// subnet.
	VirtualNetworkSubnetID string `json:"virtualNetworkSubnetId,omitempty"`

	// VirtualNetworkSubnetIDRef - A reference to a Subnet to retrieve its ID
	VirtualNetworkSubnetIDRef *SubnetIDReferencerForVirtualNetworkRule `json:"virtualNetworkSubnetIdRef,omitempty" resource:"attributereferencer"`

	// IgnoreMissingVnetServiceEndpoint - Create firewall rule before the
	// virtual network has vnet service endpoint enabled.
	IgnoreMissingVnetServiceEndpoint bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`
}

VirtualNetworkRuleProperties defines the properties of a VirtualNetworkRule.

func (*VirtualNetworkRuleProperties) DeepCopy

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

func (*VirtualNetworkRuleProperties) DeepCopyInto

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

type VirtualNetworkRuleStatus

type VirtualNetworkRuleStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// State of this virtual network rule.
	State string `json:"state,omitempty"`

	// A Message containing details about the state of this virtual network
	// rule, if any.
	Message string `json:"message,omitempty"`

	// ID - Resource ID
	ID string `json:"id,omitempty"`

	// Type - Resource type.
	Type string `json:"type,omitempty"`
}

A VirtualNetworkRuleStatus represents the observed state of a VirtualNetworkRule.

func (*VirtualNetworkRuleStatus) DeepCopy

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

func (*VirtualNetworkRuleStatus) DeepCopyInto

func (in *VirtualNetworkRuleStatus) DeepCopyInto(out *VirtualNetworkRuleStatus)

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