Documentation ¶
Overview ¶
Package v1alpha1 contains the core resources of the SQL provider. +kubebuilder:object:generate=true +groupName=mssql.sql.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Database
- func (in *Database) DeepCopy() *Database
- func (in *Database) DeepCopyInto(out *Database)
- func (in *Database) DeepCopyObject() runtime.Object
- func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Database) GetProviderConfigReference() *xpv1.Reference
- func (mg *Database) GetProviderReference() *xpv1.Reference
- func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Database) SetConditions(c ...xpv1.Condition)
- func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Database) SetProviderReference(r *xpv1.Reference)
- func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseList
- type DatabaseSpec
- type DatabaseStatus
- type Grant
- func (in *Grant) DeepCopy() *Grant
- func (in *Grant) DeepCopyInto(out *Grant)
- func (in *Grant) DeepCopyObject() runtime.Object
- func (mg *Grant) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Grant) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Grant) GetProviderConfigReference() *xpv1.Reference
- func (mg *Grant) GetProviderReference() *xpv1.Reference
- func (mg *Grant) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Grant) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Grant) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Grant) SetConditions(c ...xpv1.Condition)
- func (mg *Grant) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Grant) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Grant) SetProviderReference(r *xpv1.Reference)
- func (mg *Grant) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Grant) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GrantList
- type GrantParameters
- type GrantPermission
- type GrantPermissions
- type GrantSpec
- type GrantStatus
- type ProviderConfig
- func (in *ProviderConfig) DeepCopy() *ProviderConfig
- func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)
- func (in *ProviderConfig) DeepCopyObject() runtime.Object
- func (p *ProviderConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (p *ProviderConfig) GetUsers() int64
- func (p *ProviderConfig) SetConditions(c ...xpv1.Condition)
- func (p *ProviderConfig) SetUsers(i int64)
- type ProviderConfigList
- type ProviderConfigSpec
- type ProviderConfigStatus
- type ProviderConfigUsage
- func (in *ProviderConfigUsage) DeepCopy() *ProviderConfigUsage
- func (in *ProviderConfigUsage) DeepCopyInto(out *ProviderConfigUsage)
- func (in *ProviderConfigUsage) DeepCopyObject() runtime.Object
- func (p *ProviderConfigUsage) GetProviderConfigReference() xpv1.Reference
- func (p *ProviderConfigUsage) GetResourceReference() xpv1.TypedReference
- func (p *ProviderConfigUsage) SetProviderConfigReference(r xpv1.Reference)
- func (p *ProviderConfigUsage) SetResourceReference(r xpv1.TypedReference)
- type ProviderConfigUsageList
- type ProviderCredentials
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetProviderReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetProviderReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( Group = "mssql.sql.crossplane.io" Version = "v1alpha1" )
Package type metadata.
const ( // CredentialsSourceMSSQLConnectionSecret indicates that a provider // should acquire credentials from a connection secret written by a managed // resource that represents a MSSQL server. CredentialsSourceMSSQLConnectionSecret xpv1.CredentialsSource = "MSSQLConnectionSecret" )
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 ( ProviderConfigKind = reflect.TypeOf(ProviderConfig{}).Name() ProviderConfigGroupKind = schema.GroupKind{Group: Group, Kind: ProviderConfigKind}.String() ProviderConfigKindAPIVersion = ProviderConfigKind + "." + SchemeGroupVersion.String() ProviderConfigGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigKind) )
ProviderConfig type metadata.
var ( ProviderConfigUsageKind = reflect.TypeOf(ProviderConfigUsage{}).Name() ProviderConfigUsageGroupKind = schema.GroupKind{Group: Group, Kind: ProviderConfigUsageKind}.String() ProviderConfigUsageKindAPIVersion = ProviderConfigUsageKind + "." + SchemeGroupVersion.String() ProviderConfigUsageGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigUsageKind) ProviderConfigUsageListKind = reflect.TypeOf(ProviderConfigUsageList{}).Name() ProviderConfigUsageListGroupKind = schema.GroupKind{Group: Group, Kind: ProviderConfigUsageListKind}.String() ProviderConfigUsageListKindAPIVersion = ProviderConfigUsageListKind + "." + SchemeGroupVersion.String() ProviderConfigUsageListGroupVersionKind = SchemeGroupVersion.WithKind(ProviderConfigUsageListKind) )
ProviderConfigUsage type metadata.
var ( DatabaseKind = reflect.TypeOf(Database{}).Name() DatabaseGroupKind = schema.GroupKind{Group: Group, Kind: DatabaseKind}.String() DatabaseKindAPIVersion = DatabaseKind + "." + SchemeGroupVersion.String() DatabaseGroupVersionKind = SchemeGroupVersion.WithKind(DatabaseKind) )
Database type metadata.
var ( UserKind = reflect.TypeOf(User{}).Name() UserGroupKind = schema.GroupKind{Group: Group, Kind: UserKind}.String() UserKindAPIVersion = UserKind + "." + SchemeGroupVersion.String() UserGroupVersionKind = SchemeGroupVersion.WithKind(UserKind) )
User type metadata.
var ( GrantKind = reflect.TypeOf(Grant{}).Name() GrantGroupKind = schema.GroupKind{Group: Group, Kind: GrantKind}.String() GrantKindAPIVersion = GrantKind + "." + SchemeGroupVersion.String() GrantGroupVersionKind = SchemeGroupVersion.WithKind(GrantKind) )
Grant type metadata.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec"` Status DatabaseStatus `json:"status,omitempty"` }
A Database represents the declarative state of a MSSQL database. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,sql}
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Database) GetCondition ¶
func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Database.
func (*Database) GetDeletionPolicy ¶
func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Database.
func (*Database) GetProviderConfigReference ¶
GetProviderConfigReference of this Database.
func (*Database) GetProviderReference ¶
GetProviderReference of this Database. Deprecated: Use GetProviderConfigReference.
func (*Database) GetPublishConnectionDetailsTo ¶ added in v0.6.0
func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Database.
func (*Database) GetWriteConnectionSecretToReference ¶
func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Database.
func (*Database) SetConditions ¶
SetConditions of this Database.
func (*Database) SetDeletionPolicy ¶
func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Database.
func (*Database) SetProviderConfigReference ¶
SetProviderConfigReference of this Database.
func (*Database) SetProviderReference ¶
SetProviderReference of this Database. Deprecated: Use SetProviderConfigReference.
func (*Database) SetPublishConnectionDetailsTo ¶ added in v0.6.0
func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Database.
func (*Database) SetWriteConnectionSecretToReference ¶
func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Database.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Database `json:"items"` }
DatabaseList contains a list of Database
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatabaseList) GetItems ¶
func (l *DatabaseList) GetItems() []resource.Managed
GetItems of this DatabaseList.
type DatabaseSpec ¶
type DatabaseSpec struct {
xpv1.ResourceSpec `json:",inline"`
}
A DatabaseSpec defines the desired state of a Database.
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
A DatabaseStatus represents the observed state of a Database.
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Grant ¶
type Grant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GrantSpec `json:"spec"` Status GrantStatus `json:"status,omitempty"` }
A Grant represents the declarative state of a MSSQL grant. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="ROLE",type="string",JSONPath=".spec.forProvider.user" +kubebuilder:printcolumn:name="DATABASE",type="string",JSONPath=".spec.forProvider.database" +kubebuilder:printcolumn:name="PERMISSIONS",type="string",JSONPath=".spec.forProvider.permissions" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,sql}
func (*Grant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grant.
func (*Grant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Grant) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Grant) GetCondition ¶
func (mg *Grant) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Grant.
func (*Grant) GetDeletionPolicy ¶
func (mg *Grant) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Grant.
func (*Grant) GetProviderConfigReference ¶
GetProviderConfigReference of this Grant.
func (*Grant) GetProviderReference ¶
GetProviderReference of this Grant. Deprecated: Use GetProviderConfigReference.
func (*Grant) GetPublishConnectionDetailsTo ¶ added in v0.6.0
func (mg *Grant) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Grant.
func (*Grant) GetWriteConnectionSecretToReference ¶
func (mg *Grant) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Grant.
func (*Grant) ResolveReferences ¶
ResolveReferences of this Grant.
func (*Grant) SetConditions ¶
SetConditions of this Grant.
func (*Grant) SetDeletionPolicy ¶
func (mg *Grant) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Grant.
func (*Grant) SetProviderConfigReference ¶
SetProviderConfigReference of this Grant.
func (*Grant) SetProviderReference ¶
SetProviderReference of this Grant. Deprecated: Use SetProviderConfigReference.
func (*Grant) SetPublishConnectionDetailsTo ¶ added in v0.6.0
func (mg *Grant) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Grant.
func (*Grant) SetWriteConnectionSecretToReference ¶
func (mg *Grant) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Grant.
type GrantList ¶
type GrantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Grant `json:"items"` }
GrantList contains a list of Grant
func (*GrantList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantList.
func (*GrantList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GrantList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GrantParameters ¶
type GrantParameters struct { // Permissions to be granted. // See https://docs.microsoft.com/en-us/sql/t-sql/statements/grant-database-permissions-transact-sql?view=sql-server-ver15#remarks // for available privileges. Permissions GrantPermissions `json:"permissions"` // User this grant is for. // +optional // +crossplane:generate:reference:type=User User *string `json:"user,omitempty"` // UserRef references the user object this grant is for. // +immutable // +optional UserRef *xpv1.Reference `json:"userRef,omitempty"` // UserSelector selects a reference to a User this grant is for. // +immutable // +optional UserSelector *xpv1.Selector `json:"userSelector,omitempty"` // Database this grant is for. // +optional // +crossplane:generate:reference:type=Database Database *string `json:"database,omitempty"` // DatabaseRef references the database object this grant it for. // +immutable // +optional DatabaseRef *xpv1.Reference `json:"databaseRef,omitempty"` // DatabaseSelector selects a reference to a Database this grant is for. // +immutable // +optional DatabaseSelector *xpv1.Selector `json:"databaseSelector,omitempty"` }
GrantParameters define the desired state of a MSSQL grant instance.
func (*GrantParameters) DeepCopy ¶
func (in *GrantParameters) DeepCopy() *GrantParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantParameters.
func (*GrantParameters) DeepCopyInto ¶
func (in *GrantParameters) DeepCopyInto(out *GrantParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantPermission ¶
type GrantPermission string
GrantPermission represents a permission to be granted +kubebuilder:validation:Pattern:=^[A-Z_ ]+$
type GrantPermissions ¶
type GrantPermissions []GrantPermission
GrantPermissions is a list of the privileges to be granted If Permissions are specified, we should have at least one +kubebuilder:validation:MinItems:=1
func (GrantPermissions) DeepCopy ¶
func (in GrantPermissions) DeepCopy() GrantPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantPermissions.
func (GrantPermissions) DeepCopyInto ¶
func (in GrantPermissions) DeepCopyInto(out *GrantPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GrantPermissions) ToStringSlice ¶
func (gp *GrantPermissions) ToStringSlice() []string
ToStringSlice converts the slice of privileges to strings
type GrantSpec ¶
type GrantSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider GrantParameters `json:"forProvider"` }
A GrantSpec defines the desired state of a Grant.
func (*GrantSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantSpec.
func (*GrantSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantStatus ¶
type GrantStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
A GrantStatus represents the observed state of a Grant.
func (*GrantStatus) DeepCopy ¶
func (in *GrantStatus) DeepCopy() *GrantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantStatus.
func (*GrantStatus) DeepCopyInto ¶
func (in *GrantStatus) DeepCopyInto(out *GrantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfig ¶
type ProviderConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProviderConfigSpec `json:"spec"` Status ProviderConfigStatus `json:"status,omitempty"` }
A ProviderConfig configures a SQL provider. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="SECRET-NAME",type="string",JSONPath=".spec.credentialsSecretRef.name",priority=1 +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,sql}
func (*ProviderConfig) DeepCopy ¶
func (in *ProviderConfig) DeepCopy() *ProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfig.
func (*ProviderConfig) DeepCopyInto ¶
func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderConfig) DeepCopyObject ¶
func (in *ProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProviderConfig) GetCondition ¶
func (p *ProviderConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ProviderConfig.
func (*ProviderConfig) GetUsers ¶
func (p *ProviderConfig) GetUsers() int64
GetUsers of this ProviderConfig.
func (*ProviderConfig) SetConditions ¶
func (p *ProviderConfig) SetConditions(c ...xpv1.Condition)
SetConditions of this ProviderConfig.
func (*ProviderConfig) SetUsers ¶
func (p *ProviderConfig) SetUsers(i int64)
SetUsers of this ProviderConfig.
type ProviderConfigList ¶
type ProviderConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProviderConfig `json:"items"` }
ProviderConfigList contains a list of ProviderConfig.
func (*ProviderConfigList) DeepCopy ¶
func (in *ProviderConfigList) DeepCopy() *ProviderConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigList.
func (*ProviderConfigList) DeepCopyInto ¶
func (in *ProviderConfigList) DeepCopyInto(out *ProviderConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderConfigList) DeepCopyObject ¶
func (in *ProviderConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderConfigSpec ¶
type ProviderConfigSpec struct { // Credentials required to authenticate to this provider. Credentials ProviderCredentials `json:"credentials"` }
A ProviderConfigSpec defines the desired state of a ProviderConfig.
func (*ProviderConfigSpec) DeepCopy ¶
func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigSpec.
func (*ProviderConfigSpec) DeepCopyInto ¶
func (in *ProviderConfigSpec) DeepCopyInto(out *ProviderConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfigStatus ¶
type ProviderConfigStatus struct {
xpv1.ProviderConfigStatus `json:",inline"`
}
A ProviderConfigStatus reflects the observed state of a ProviderConfig.
func (*ProviderConfigStatus) DeepCopy ¶
func (in *ProviderConfigStatus) DeepCopy() *ProviderConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigStatus.
func (*ProviderConfigStatus) DeepCopyInto ¶
func (in *ProviderConfigStatus) DeepCopyInto(out *ProviderConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfigUsage ¶
type ProviderConfigUsage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` xpv1.ProviderConfigUsage `json:",inline"` }
A ProviderConfigUsage indicates that a resource is using a ProviderConfig. +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="CONFIG-NAME",type="string",JSONPath=".providerConfigRef.name" +kubebuilder:printcolumn:name="RESOURCE-KIND",type="string",JSONPath=".resourceRef.kind" +kubebuilder:printcolumn:name="RESOURCE-NAME",type="string",JSONPath=".resourceRef.name" +kubebuilder:resource:scope=Cluster,categories={crossplane,provider,sql}
func (*ProviderConfigUsage) DeepCopy ¶
func (in *ProviderConfigUsage) DeepCopy() *ProviderConfigUsage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigUsage.
func (*ProviderConfigUsage) DeepCopyInto ¶
func (in *ProviderConfigUsage) DeepCopyInto(out *ProviderConfigUsage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderConfigUsage) DeepCopyObject ¶
func (in *ProviderConfigUsage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProviderConfigUsage) GetProviderConfigReference ¶
func (p *ProviderConfigUsage) GetProviderConfigReference() xpv1.Reference
GetProviderConfigReference of this ProviderConfigUsage.
func (*ProviderConfigUsage) GetResourceReference ¶
func (p *ProviderConfigUsage) GetResourceReference() xpv1.TypedReference
GetResourceReference of this ProviderConfigUsage.
func (*ProviderConfigUsage) SetProviderConfigReference ¶
func (p *ProviderConfigUsage) SetProviderConfigReference(r xpv1.Reference)
SetProviderConfigReference of this ProviderConfigUsage.
func (*ProviderConfigUsage) SetResourceReference ¶
func (p *ProviderConfigUsage) SetResourceReference(r xpv1.TypedReference)
SetResourceReference of this ProviderConfigUsage.
type ProviderConfigUsageList ¶
type ProviderConfigUsageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProviderConfigUsage `json:"items"` }
ProviderConfigUsageList contains a list of ProviderConfigUsage
func (*ProviderConfigUsageList) DeepCopy ¶
func (in *ProviderConfigUsageList) DeepCopy() *ProviderConfigUsageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigUsageList.
func (*ProviderConfigUsageList) DeepCopyInto ¶
func (in *ProviderConfigUsageList) DeepCopyInto(out *ProviderConfigUsageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderConfigUsageList) DeepCopyObject ¶
func (in *ProviderConfigUsageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProviderConfigUsageList) GetItems ¶
func (p *ProviderConfigUsageList) GetItems() []resource.ProviderConfigUsage
GetItems of this ProviderConfigUsageList.
type ProviderCredentials ¶
type ProviderCredentials struct { // Source of the provider credentials. // +kubebuilder:validation:Enum=MSSQLConnectionSecret Source xpv1.CredentialsSource `json:"source"` // A CredentialsSecretRef is a reference to a MSSQL connection secret // that contains the credentials that must be used to connect to the // provider. // +optional ConnectionSecretRef *xpv1.SecretReference `json:"connectionSecretRef,omitempty"` }
ProviderCredentials required to authenticate.
func (*ProviderCredentials) DeepCopy ¶
func (in *ProviderCredentials) DeepCopy() *ProviderCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderCredentials.
func (*ProviderCredentials) DeepCopyInto ¶
func (in *ProviderCredentials) DeepCopyInto(out *ProviderCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
A User represents the declarative state of a MSSQL user. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,sql}
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetProviderReference ¶
GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.
func (*User) GetPublishConnectionDetailsTo ¶ added in v0.6.0
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) ResolveReferences ¶
ResolveReferences of this User.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetProviderReference ¶
SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.
func (*User) SetPublishConnectionDetailsTo ¶ added in v0.6.0
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of User
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { }
A UserObservation represents the observed state of a MSSQL user.
func (*UserObservation) DeepCopy ¶
func (in *UserObservation) DeepCopy() *UserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.
func (*UserObservation) DeepCopyInto ¶
func (in *UserObservation) DeepCopyInto(out *UserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserParameters ¶
type UserParameters struct { // +crossplane:generate:reference:type=Database Database *string `json:"database,omitempty"` // DatabaseRef allows you to specify custom resource name of the Database // to fill Database field. DatabaseRef *xpv1.Reference `json:"databaseRef,omitempty"` // DatabaseSelector allows you to use selector constraints to select a // Database. DatabaseSelector *xpv1.Selector `json:"databaseSelector,omitempty"` // PasswordSecretRef references the secret that contains the password used // for this user. If no reference is given, a password will be auto-generated. // +optional PasswordSecretRef *xpv1.SecretKeySelector `json:"passwordSecretRef,omitempty"` }
UserParameters define the desired state of a MSSQL user instance.
func (*UserParameters) DeepCopy ¶
func (in *UserParameters) DeepCopy() *UserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.
func (*UserParameters) DeepCopyInto ¶
func (in *UserParameters) DeepCopyInto(out *UserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider UserParameters `json:"forProvider"` }
A UserSpec defines the desired state of a Database.
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
A UserStatus represents the observed state of a User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.