Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Snowflake provider. +kubebuilder:object:generate=true +groupName=database.snowflake.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) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Database) GetProviderConfigReference() *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) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseList
- type DatabaseObservation
- type DatabaseParameters
- type DatabaseSpec
- type DatabaseStatus
Constants ¶
const ( Group = "database.snowflake.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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 ( // 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} )
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 is an example API type. +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,snowflake}
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) GetManagementPolicies ¶
func (mg *Database) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Database.
func (*Database) GetProviderConfigReference ¶
GetProviderConfigReference of this Database.
func (*Database) GetPublishConnectionDetailsTo ¶
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) SetManagementPolicies ¶
func (mg *Database) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Database.
func (*Database) SetProviderConfigReference ¶
SetProviderConfigReference of this Database.
func (*Database) SetPublishConnectionDetailsTo ¶
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 DatabaseObservation ¶
type DatabaseObservation struct { // name of database Name string `json:"name"` }
DatabaseObservation are the observable fields of a Database.
func (*DatabaseObservation) DeepCopy ¶
func (in *DatabaseObservation) DeepCopy() *DatabaseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation.
func (*DatabaseObservation) DeepCopyInto ¶
func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseParameters ¶
type DatabaseParameters struct { // name of the database Name string `json:"name"` }
DatabaseParameters are the configurable fields of a Database.
func (*DatabaseParameters) DeepCopy ¶
func (in *DatabaseParameters) DeepCopy() *DatabaseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters.
func (*DatabaseParameters) DeepCopyInto ¶
func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseSpec ¶
type DatabaseSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider DatabaseParameters `json:"forProvider"` }
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"` AtProvider DatabaseObservation `json:"atProvider,omitempty"` }
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.