v1alpha2

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha2 contains managed resources for Azure database services such as SQL server. +kubebuilder:object:generate=true +groupName=database.azure.crossplane.io +versionName=v1alpha2

Index

Constants

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

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 (
	MysqlServerKind             = reflect.TypeOf(MysqlServer{}).Name()
	MysqlServerKindAPIVersion   = MysqlServerKind + "." + SchemeGroupVersion.String()
	MysqlServerGroupVersionKind = SchemeGroupVersion.WithKind(MysqlServerKind)
)

MysqlServer type metadata.

View Source
var (
	MysqlServerVirtualNetworkRuleKind             = reflect.TypeOf(MysqlServerVirtualNetworkRule{}).Name()
	MysqlServerVirtualNetworkRuleKindAPIVersion   = MysqlServerVirtualNetworkRuleKind + "." + SchemeGroupVersion.String()
	MysqlServerVirtualNetworkRuleGroupVersionKind = SchemeGroupVersion.WithKind(MysqlServerVirtualNetworkRuleKind)
)

MysqlServerVirtualNetworkRule type metadata.

View Source
var (
	PostgresqlServerKind             = reflect.TypeOf(PostgresqlServer{}).Name()
	PostgresqlServerKindAPIVersion   = PostgresqlServerKind + "." + SchemeGroupVersion.String()
	PostgresqlServerGroupVersionKind = SchemeGroupVersion.WithKind(PostgresqlServerKind)
)

PostgresqlServer type metadata.

View Source
var (
	PostgresqlServerVirtualNetworkRuleKind             = reflect.TypeOf(PostgresqlServerVirtualNetworkRule{}).Name()
	PostgresqlServerVirtualNetworkRuleKindAPIVersion   = PostgresqlServerVirtualNetworkRuleKind + "." + SchemeGroupVersion.String()
	PostgresqlServerVirtualNetworkRuleGroupVersionKind = SchemeGroupVersion.WithKind(PostgresqlServerVirtualNetworkRuleKind)
)

PostgresqlServerVirtualNetworkRule type metadata.

View Source
var (
	SQLServerClassKind             = reflect.TypeOf(SQLServerClass{}).Name()
	SQLServerClassKindAPIVersion   = SQLServerClassKind + "." + SchemeGroupVersion.String()
	SQLServerClassGroupVersionKind = SchemeGroupVersion.WithKind(SQLServerClassKind)
)

SQLServerClass type metadata.

Functions

func ValidMySQLVersionValues

func ValidMySQLVersionValues() []string

ValidMySQLVersionValues returns the valid set of engine version values.

func ValidPostgreSQLVersionValues

func ValidPostgreSQLVersionValues() []string

ValidPostgreSQLVersionValues returns the valid set of engine version values.

Types

type MysqlServer

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

	Spec   SQLServerSpec   `json:"spec,omitempty"`
	Status SQLServerStatus `json:"status,omitempty"`
}

A MysqlServer is a managed resource that represents an Azure MySQL Database Server. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"

func (*MysqlServer) DeepCopy

func (in *MysqlServer) DeepCopy() *MysqlServer

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

func (*MysqlServer) DeepCopyInto

func (in *MysqlServer) DeepCopyInto(out *MysqlServer)

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

func (*MysqlServer) DeepCopyObject

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

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

func (*MysqlServer) GetBindingPhase

func (s *MysqlServer) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this MysqlServer.

func (*MysqlServer) GetClaimReference

func (s *MysqlServer) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this MysqlServer.

func (*MysqlServer) GetNonPortableClassReference

func (s *MysqlServer) GetNonPortableClassReference() *corev1.ObjectReference

GetNonPortableClassReference of this MysqlServer.

func (*MysqlServer) GetReclaimPolicy

func (s *MysqlServer) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this MysqlServer.

func (*MysqlServer) GetSpec

func (s *MysqlServer) GetSpec() *SQLServerSpec

GetSpec returns the MySQL server's spec.

func (*MysqlServer) GetStatus

func (s *MysqlServer) GetStatus() *SQLServerStatus

GetStatus returns the MySQL server's status.

func (*MysqlServer) GetWriteConnectionSecretToReference

func (s *MysqlServer) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this MysqlServer.

func (*MysqlServer) SetBindingPhase

func (s *MysqlServer) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this MysqlServer.

func (*MysqlServer) SetClaimReference

func (s *MysqlServer) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this MysqlServer.

func (*MysqlServer) SetConditions

func (s *MysqlServer) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this MysqlServer.

func (*MysqlServer) SetNonPortableClassReference

func (s *MysqlServer) SetNonPortableClassReference(r *corev1.ObjectReference)

SetNonPortableClassReference of this MysqlServer.

func (*MysqlServer) SetReclaimPolicy

func (s *MysqlServer) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this MysqlServer.

func (*MysqlServer) SetStatus

func (s *MysqlServer) SetStatus(status *SQLServerStatus)

SetStatus sets the MySQL server's status.

func (*MysqlServer) SetWriteConnectionSecretToReference

func (s *MysqlServer) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)

SetWriteConnectionSecretToReference of this MysqlServer.

type MysqlServerList

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

MysqlServerList contains a list of MysqlServer.

func (*MysqlServerList) DeepCopy

func (in *MysqlServerList) DeepCopy() *MysqlServerList

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

func (*MysqlServerList) DeepCopyInto

func (in *MysqlServerList) DeepCopyInto(out *MysqlServerList)

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

func (*MysqlServerList) DeepCopyObject

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

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

type MysqlServerVirtualNetworkRule

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

	Spec   VirtualNetworkRuleSpec   `json:"spec,omitempty"`
	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

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 (s *MysqlServerVirtualNetworkRule) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) GetNonPortableClassReference

func (s *MysqlServerVirtualNetworkRule) GetNonPortableClassReference() *corev1.ObjectReference

GetNonPortableClassReference of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) GetReclaimPolicy

GetReclaimPolicy of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) GetWriteConnectionSecretToReference

func (s *MysqlServerVirtualNetworkRule) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) SetBindingPhase

SetBindingPhase of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) SetClaimReference

func (s *MysqlServerVirtualNetworkRule) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) SetConditions

SetConditions of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) SetNonPortableClassReference

func (s *MysqlServerVirtualNetworkRule) SetNonPortableClassReference(r *corev1.ObjectReference)

SetNonPortableClassReference of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) SetReclaimPolicy

SetReclaimPolicy of this MysqlServerVirtualNetworkRule.

func (*MysqlServerVirtualNetworkRule) SetWriteConnectionSecretToReference

func (s *MysqlServerVirtualNetworkRule) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)

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 PostgresqlServer

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

	Spec   SQLServerSpec   `json:"spec,omitempty"`
	Status SQLServerStatus `json:"status,omitempty"`
}

A PostgresqlServer is a managed resource that represents an Azure PostgreSQL Database Server. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"

func (*PostgresqlServer) DeepCopy

func (in *PostgresqlServer) DeepCopy() *PostgresqlServer

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

func (*PostgresqlServer) DeepCopyInto

func (in *PostgresqlServer) DeepCopyInto(out *PostgresqlServer)

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

func (*PostgresqlServer) DeepCopyObject

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

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

func (*PostgresqlServer) GetBindingPhase

func (s *PostgresqlServer) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this PostgresqlServer.

func (*PostgresqlServer) GetClaimReference

func (s *PostgresqlServer) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this PostgresqlServer.

func (*PostgresqlServer) GetNonPortableClassReference

func (s *PostgresqlServer) GetNonPortableClassReference() *corev1.ObjectReference

GetNonPortableClassReference of this PostgresqlServer.

func (*PostgresqlServer) GetReclaimPolicy

func (s *PostgresqlServer) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this PostgresqlServer.

func (*PostgresqlServer) GetSpec

func (s *PostgresqlServer) GetSpec() *SQLServerSpec

GetSpec gets the PostgreSQL server's spec.

func (*PostgresqlServer) GetStatus

func (s *PostgresqlServer) GetStatus() *SQLServerStatus

GetStatus gets the PostgreSQL server's status.

func (*PostgresqlServer) GetWriteConnectionSecretToReference

func (s *PostgresqlServer) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this PostgresqlServer.

func (*PostgresqlServer) SetBindingPhase

func (s *PostgresqlServer) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this PostgresqlServer.

func (*PostgresqlServer) SetClaimReference

func (s *PostgresqlServer) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this PostgresqlServer.

func (*PostgresqlServer) SetConditions

func (s *PostgresqlServer) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this PostgresqlServer.

func (*PostgresqlServer) SetNonPortableClassReference

func (s *PostgresqlServer) SetNonPortableClassReference(r *corev1.ObjectReference)

SetNonPortableClassReference of this PostgresqlServer.

func (*PostgresqlServer) SetReclaimPolicy

func (s *PostgresqlServer) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this PostgresqlServer.

func (*PostgresqlServer) SetStatus

func (s *PostgresqlServer) SetStatus(status *SQLServerStatus)

SetStatus sets the PostgreSQL server's status.

func (*PostgresqlServer) SetWriteConnectionSecretToReference

func (s *PostgresqlServer) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)

SetWriteConnectionSecretToReference of this PostgresqlServer.

type PostgresqlServerList

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

PostgresqlServerList contains a list of PostgresqlServer.

func (*PostgresqlServerList) DeepCopy

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

func (*PostgresqlServerList) DeepCopyInto

func (in *PostgresqlServerList) DeepCopyInto(out *PostgresqlServerList)

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

func (*PostgresqlServerList) DeepCopyObject

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

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

type PostgresqlServerVirtualNetworkRule

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

	Spec   VirtualNetworkRuleSpec   `json:"spec,omitempty"`
	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

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

func (s *PostgresqlServerVirtualNetworkRule) GetNonPortableClassReference() *corev1.ObjectReference

GetNonPortableClassReference of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) GetReclaimPolicy

GetReclaimPolicy of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) GetWriteConnectionSecretToReference

func (s *PostgresqlServerVirtualNetworkRule) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) SetBindingPhase

SetBindingPhase of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) SetClaimReference

SetClaimReference of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) SetConditions

SetConditions of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) SetNonPortableClassReference

func (s *PostgresqlServerVirtualNetworkRule) SetNonPortableClassReference(r *corev1.ObjectReference)

SetNonPortableClassReference of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) SetReclaimPolicy

SetReclaimPolicy of this PostgresqlServerVirtualNetworkRule.

func (*PostgresqlServerVirtualNetworkRule) SetWriteConnectionSecretToReference

func (s *PostgresqlServerVirtualNetworkRule) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)

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 PricingTierSpec

type PricingTierSpec struct {
	// Tier of the particular SKU, e.g. Basic. Possible values include: 'Basic',
	// 'GeneralPurpose', 'MemoryOptimized'
	Tier string `json:"tier"`

	// VCores (aka Capacity) specifies how many virtual cores this SQLServer
	// requires.
	VCores int `json:"vcores"`

	// Family of hardware.
	Family string `json:"family"`
}

PricingTierSpec represents the performance and cost oriented properties of a SQLServer.

func (*PricingTierSpec) DeepCopy

func (in *PricingTierSpec) DeepCopy() *PricingTierSpec

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

func (*PricingTierSpec) DeepCopyInto

func (in *PricingTierSpec) DeepCopyInto(out *PricingTierSpec)

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

type SQLServer

type SQLServer interface {
	resource.Managed

	GetSpec() *SQLServerSpec
	GetStatus() *SQLServerStatus
	SetStatus(*SQLServerStatus)
}

SQLServer represents a generic Azure SQL server.

type SQLServerClass

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

	// SpecTemplate is a template for the spec of a dynamically provisioned
	// SQLServer.
	SpecTemplate SQLServerClassSpecTemplate `json:"specTemplate"`
}

A SQLServerClass 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"

func (*SQLServerClass) DeepCopy

func (in *SQLServerClass) DeepCopy() *SQLServerClass

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

func (*SQLServerClass) DeepCopyInto

func (in *SQLServerClass) DeepCopyInto(out *SQLServerClass)

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

func (*SQLServerClass) DeepCopyObject

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

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

func (*SQLServerClass) GetReclaimPolicy

func (i *SQLServerClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this PostgresqlServerClass.

func (*SQLServerClass) SetReclaimPolicy

func (i *SQLServerClass) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this PostgresqlServerClass.

type SQLServerClassList

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

SQLServerClassList contains a list of SQLServerClass.

func (*SQLServerClassList) DeepCopy

func (in *SQLServerClassList) DeepCopy() *SQLServerClassList

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

func (*SQLServerClassList) DeepCopyInto

func (in *SQLServerClassList) DeepCopyInto(out *SQLServerClassList)

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

func (*SQLServerClassList) DeepCopyObject

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

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

type SQLServerClassSpecTemplate

type SQLServerClassSpecTemplate struct {
	runtimev1alpha1.NonPortableClassSpecTemplate `json:",inline"`
	SQLServerParameters                          `json:",inline"`
}

A SQLServerClassSpecTemplate is a template for the spec of a dynamically provisioned MysqlServer or PostgresqlServer.

func (*SQLServerClassSpecTemplate) DeepCopy

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

func (*SQLServerClassSpecTemplate) DeepCopyInto

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

type SQLServerParameters

type SQLServerParameters struct {

	// ResourceGroupName specifies the name of the resource group that should
	// contain this SQLServer.
	ResourceGroupName string `json:"resourceGroupName"`

	// Location specifies the location of this SQLServer.
	Location string `json:"location"`

	// PricingTier specifies the pricing tier (aka SKU) for this SQLServer.
	PricingTier PricingTierSpec `json:"pricingTier"`

	// StorageProfile configures the storage profile of this SQLServer.
	StorageProfile StorageProfileSpec `json:"storageProfile"`

	// AdminLoginName specifies the administrator login name for this SQLServer.
	AdminLoginName string `json:"adminLoginName"`

	// Version specifies the version of this server, for
	// example "5.6", or "9.6".
	Version string `json:"version"`

	// SSLEnforced specifies whether SSL is required to connect to this
	// SQLServer.
	// +optional
	SSLEnforced bool `json:"sslEnforced,omitempty"`
}

SQLServerParameters define the desired state of an Azure SQL Database, either PostgreSQL or MySQL.

func (*SQLServerParameters) DeepCopy

func (in *SQLServerParameters) DeepCopy() *SQLServerParameters

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

func (*SQLServerParameters) DeepCopyInto

func (in *SQLServerParameters) DeepCopyInto(out *SQLServerParameters)

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

type SQLServerSpec

type SQLServerSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	SQLServerParameters          `json:",inline"`
}

A SQLServerSpec defines the desired state of a SQLServer.

func (*SQLServerSpec) DeepCopy

func (in *SQLServerSpec) DeepCopy() *SQLServerSpec

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

func (*SQLServerSpec) DeepCopyInto

func (in *SQLServerSpec) DeepCopyInto(out *SQLServerSpec)

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

type SQLServerStatus

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

	// State of this SQLServer.
	State string `json:"state,omitempty"`

	// A Message containing detail on the state of this SQLServer, if any.
	Message string `json:"message,omitempty"`

	// ProviderID is the external ID to identify this resource in the cloud
	// provider.
	ProviderID string `json:"providerID,omitempty"`

	// Endpoint of the MySQL Server instance used in connection strings.
	Endpoint string `json:"endpoint,omitempty"`

	// RunningOperation stores any current long running operation for this
	// instance across reconciliation attempts.
	RunningOperation string `json:"runningOperation,omitempty"`

	// RunningOperationType is the type of the currently running operation.
	RunningOperationType string `json:"runningOperationType,omitempty"`
}

A SQLServerStatus represents the observed state of a SQLServer.

func (*SQLServerStatus) DeepCopy

func (in *SQLServerStatus) DeepCopy() *SQLServerStatus

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

func (*SQLServerStatus) DeepCopyInto

func (in *SQLServerStatus) DeepCopyInto(out *SQLServerStatus)

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

type StorageProfileSpec

type StorageProfileSpec struct {
	// StorageGB configures the maximum storage allowed.
	StorageGB int `json:"storageGB"`

	// BackupRetentionDays configures how many days backups will be retained.
	BackupRetentionDays int `json:"backupRetentionDays,omitempty"`

	// GeoRedundantBackup enables geo-redunndant backups.
	GeoRedundantBackup bool `json:"geoRedundantBackup,omitempty"`
}

A StorageProfileSpec represents storage related properties of a SQLServer.

func (*StorageProfileSpec) DeepCopy

func (in *StorageProfileSpec) DeepCopy() *StorageProfileSpec

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

func (*StorageProfileSpec) DeepCopyInto

func (in *StorageProfileSpec) DeepCopyInto(out *StorageProfileSpec)

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

	// 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 VirtualNetworkRuleSpec

type VirtualNetworkRuleSpec 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"`

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

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

A VirtualNetworkRuleSpec defines the desired state of a VirtualNetworkRule.

func (*VirtualNetworkRuleSpec) DeepCopy

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

func (*VirtualNetworkRuleSpec) DeepCopyInto

func (in *VirtualNetworkRuleSpec) DeepCopyInto(out *VirtualNetworkRuleSpec)

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