Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=default.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Privileges
- func (in *Privileges) DeepCopy() *Privileges
- func (in *Privileges) DeepCopyInto(out *Privileges)
- func (in *Privileges) DeepCopyObject() runtime.Object
- func (mg *Privileges) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Privileges) GetConnectionDetailsMapping() map[string]string
- func (mg *Privileges) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Privileges) GetID() string
- func (tr *Privileges) GetObservation() (map[string]any, error)
- func (tr *Privileges) GetParameters() (map[string]any, error)
- func (mg *Privileges) GetProviderConfigReference() *xpv1.Reference
- func (mg *Privileges) GetProviderReference() *xpv1.Reference
- func (mg *Privileges) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Privileges) GetTerraformResourceType() string
- func (tr *Privileges) GetTerraformSchemaVersion() int
- func (mg *Privileges) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Privileges) LateInitialize(attrs []byte) (bool, error)
- func (mg *Privileges) SetConditions(c ...xpv1.Condition)
- func (mg *Privileges) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Privileges) SetObservation(obs map[string]any) error
- func (tr *Privileges) SetParameters(params map[string]any) error
- func (mg *Privileges) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Privileges) SetProviderReference(r *xpv1.Reference)
- func (mg *Privileges) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Privileges) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PrivilegesList
- type PrivilegesObservation
- type PrivilegesParameters
- type PrivilegesSpec
- type PrivilegesStatus
Constants ¶
const ( CRDGroup = "default.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Privileges_Kind = "Privileges" Privileges_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Privileges_Kind}.String() Privileges_KindAPIVersion = Privileges_Kind + "." + CRDGroupVersion.String() Privileges_GroupVersionKind = CRDGroupVersion.WithKind(Privileges_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Privileges ¶
type Privileges struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrivilegesSpec `json:"spec"` Status PrivilegesStatus `json:"status,omitempty"` }
Privileges is the Schema for the Privilegess API. Creates and manages default privileges given to a user for a database schema. +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,postgresql}
func (*Privileges) DeepCopy ¶
func (in *Privileges) DeepCopy() *Privileges
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Privileges.
func (*Privileges) DeepCopyInto ¶
func (in *Privileges) DeepCopyInto(out *Privileges)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Privileges) DeepCopyObject ¶
func (in *Privileges) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Privileges) GetCondition ¶
func (mg *Privileges) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Privileges.
func (*Privileges) GetConnectionDetailsMapping ¶
func (tr *Privileges) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Privileges
func (*Privileges) GetDeletionPolicy ¶
func (mg *Privileges) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Privileges.
func (*Privileges) GetID ¶
func (tr *Privileges) GetID() string
GetID returns ID of underlying Terraform resource of this Privileges
func (*Privileges) GetObservation ¶
func (tr *Privileges) GetObservation() (map[string]any, error)
GetObservation of this Privileges
func (*Privileges) GetParameters ¶
func (tr *Privileges) GetParameters() (map[string]any, error)
GetParameters of this Privileges
func (*Privileges) GetProviderConfigReference ¶
func (mg *Privileges) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Privileges.
func (*Privileges) GetProviderReference ¶
func (mg *Privileges) GetProviderReference() *xpv1.Reference
GetProviderReference of this Privileges. Deprecated: Use GetProviderConfigReference.
func (*Privileges) GetPublishConnectionDetailsTo ¶
func (mg *Privileges) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Privileges.
func (*Privileges) GetTerraformResourceType ¶
func (mg *Privileges) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Privileges
func (*Privileges) GetTerraformSchemaVersion ¶
func (tr *Privileges) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Privileges) GetWriteConnectionSecretToReference ¶
func (mg *Privileges) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Privileges.
func (*Privileges) LateInitialize ¶
func (tr *Privileges) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Privileges using its observed tfState. returns True if there are any spec changes for the resource.
func (*Privileges) SetConditions ¶
func (mg *Privileges) SetConditions(c ...xpv1.Condition)
SetConditions of this Privileges.
func (*Privileges) SetDeletionPolicy ¶
func (mg *Privileges) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Privileges.
func (*Privileges) SetObservation ¶
func (tr *Privileges) SetObservation(obs map[string]any) error
SetObservation for this Privileges
func (*Privileges) SetParameters ¶
func (tr *Privileges) SetParameters(params map[string]any) error
SetParameters for this Privileges
func (*Privileges) SetProviderConfigReference ¶
func (mg *Privileges) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Privileges.
func (*Privileges) SetProviderReference ¶
func (mg *Privileges) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Privileges. Deprecated: Use SetProviderConfigReference.
func (*Privileges) SetPublishConnectionDetailsTo ¶
func (mg *Privileges) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Privileges.
func (*Privileges) SetWriteConnectionSecretToReference ¶
func (mg *Privileges) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Privileges.
type PrivilegesList ¶
type PrivilegesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Privileges `json:"items"` }
PrivilegesList contains a list of Privilegess
func (*PrivilegesList) DeepCopy ¶
func (in *PrivilegesList) DeepCopy() *PrivilegesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegesList.
func (*PrivilegesList) DeepCopyInto ¶
func (in *PrivilegesList) DeepCopyInto(out *PrivilegesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivilegesList) DeepCopyObject ¶
func (in *PrivilegesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrivilegesList) GetItems ¶
func (l *PrivilegesList) GetItems() []resource.Managed
GetItems of this PrivilegesList.
type PrivilegesObservation ¶
type PrivilegesObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*PrivilegesObservation) DeepCopy ¶
func (in *PrivilegesObservation) DeepCopy() *PrivilegesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegesObservation.
func (*PrivilegesObservation) DeepCopyInto ¶
func (in *PrivilegesObservation) DeepCopyInto(out *PrivilegesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivilegesParameters ¶
type PrivilegesParameters struct { // The database to grant default privileges for this role. // The database to grant default privileges for this role // +kubebuilder:validation:Required Database *string `json:"database" tf:"database,omitempty"` // The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema). // The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema) // +kubebuilder:validation:Required ObjectType *string `json:"objectType" tf:"object_type,omitempty"` // Role for which apply default privileges (You can change default privileges only for objects that will be created by yourself or by roles that you are a member of). // Target role for which to alter default privileges. // +kubebuilder:validation:Required Owner *string `json:"owner" tf:"owner,omitempty"` // The list of privileges to apply as default privileges. An empty list could be provided to revoke all default privileges for this role. // The list of privileges to apply as default privileges // +kubebuilder:validation:Required Privileges []*string `json:"privileges" tf:"privileges,omitempty"` // The name of the role to which grant default privileges on. // The name of the role to which grant default privileges on // +kubebuilder:validation:Required Role *string `json:"role" tf:"role,omitempty"` // The database schema to set default privileges for this role. // The database schema to set default privileges for this role // +kubebuilder:validation:Optional Schema *string `json:"schema,omitempty" tf:"schema,omitempty"` // Permit the grant recipient to grant it to others // +kubebuilder:validation:Optional WithGrantOption *bool `json:"withGrantOption,omitempty" tf:"with_grant_option,omitempty"` }
func (*PrivilegesParameters) DeepCopy ¶
func (in *PrivilegesParameters) DeepCopy() *PrivilegesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegesParameters.
func (*PrivilegesParameters) DeepCopyInto ¶
func (in *PrivilegesParameters) DeepCopyInto(out *PrivilegesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivilegesSpec ¶
type PrivilegesSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PrivilegesParameters `json:"forProvider"` }
PrivilegesSpec defines the desired state of Privileges
func (*PrivilegesSpec) DeepCopy ¶
func (in *PrivilegesSpec) DeepCopy() *PrivilegesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegesSpec.
func (*PrivilegesSpec) DeepCopyInto ¶
func (in *PrivilegesSpec) DeepCopyInto(out *PrivilegesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivilegesStatus ¶
type PrivilegesStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PrivilegesObservation `json:"atProvider,omitempty"` }
PrivilegesStatus defines the observed state of Privileges.
func (*PrivilegesStatus) DeepCopy ¶
func (in *PrivilegesStatus) DeepCopy() *PrivilegesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegesStatus.
func (*PrivilegesStatus) DeepCopyInto ¶
func (in *PrivilegesStatus) DeepCopyInto(out *PrivilegesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.