v1alpha1

package
v0.0.0-...-d10261a Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=authorization.kubedb.com

Index

Constants

View Source
const (
	ResourceKindDatabaseAccessRequest = "DatabaseAccessRequest"
	ResourceDatabaseAccessRequest     = "databaseaccessrequest"
	ResourceDatabaseAccessRequests    = "databaseaccessrequests"
)
View Source
const (
	ResourceKindMongoDBRole = "MongoDBRole"
	ResourceMongoDBRole     = "mongodbrole"
	ResourceMongoDBRoles    = "mongodbroles"
)
View Source
const (
	ResourceKindMySQLRole = "MySQLRole"
	ResourceMySQLRole     = "mysqlrole"
	ResourceMySQLRoles    = "mysqlroles"
)
View Source
const (
	ResourceKindPostgresRole = "PostgresRole"
	ResourcePostgresRole     = "postgresrole"
	ResourcePostgresRoles    = "postgresroles"
)

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: authorization.GroupName, Version: "v1alpha1"}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type DatabaseAccessRequest

type DatabaseAccessRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseAccessRequestSpec   `json:"spec,omitempty"`
	Status            DatabaseAccessRequestStatus `json:"status,omitempty"`
}

DatabaseAccessRequest

func (DatabaseAccessRequest) CustomResourceDefinition

func (d DatabaseAccessRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*DatabaseAccessRequest) DeepCopy

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

func (*DatabaseAccessRequest) DeepCopyInto

func (in *DatabaseAccessRequest) DeepCopyInto(out *DatabaseAccessRequest)

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

func (*DatabaseAccessRequest) DeepCopyObject

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

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

func (DatabaseAccessRequest) IsValid

func (d DatabaseAccessRequest) IsValid() error

type DatabaseAccessRequestCondition

type DatabaseAccessRequestCondition struct {
	// request approval state, currently Approved or Denied.
	Type RequestConditionType `json:"type"`

	// brief reason for the request state
	// +optional
	Reason string `json:"reason,omitempty"`

	// human readable message with details about the request state
	// +optional
	Message string `json:"message,omitempty"`

	// timestamp for the last update to this condition
	// +optional
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
}

func (*DatabaseAccessRequestCondition) DeepCopy

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

func (*DatabaseAccessRequestCondition) DeepCopyInto

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

type DatabaseAccessRequestList

type DatabaseAccessRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is a list of DatabaseAccessRequest objects
	Items []DatabaseAccessRequest `json:"items,omitempty"`
}

func (*DatabaseAccessRequestList) DeepCopy

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

func (*DatabaseAccessRequestList) DeepCopyInto

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

func (*DatabaseAccessRequestList) DeepCopyObject

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

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

type DatabaseAccessRequestSpec

type DatabaseAccessRequestSpec struct {
	// Contains vault database role info
	RoleRef RoleReference `json:"roleRef"`

	Subjects []rbac.Subject `json:"subjects"`

	// Specifies the TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to roles default TTL time
	TTL string `json:"ttl,omitempty"`
}

DatabaseAccessRequestSpec contains information to request for database credential

func (*DatabaseAccessRequestSpec) DeepCopy

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

func (*DatabaseAccessRequestSpec) DeepCopyInto

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

type DatabaseAccessRequestStatus

type DatabaseAccessRequestStatus struct {
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []DatabaseAccessRequestCondition `json:"conditions,omitempty"`

	// Name of the secret containing database credentials
	Secret *core.LocalObjectReference `json:"secret,omitempty"`

	// Contains lease info
	Lease *Lease `json:"lease,omitempty"`
}

func (*DatabaseAccessRequestStatus) DeepCopy

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

func (*DatabaseAccessRequestStatus) DeepCopyInto

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

type Lease

type Lease struct {
	// lease id
	ID string `json:"id"`

	// lease duration
	Duration metav1.Duration `json:"duration"`

	// Specifies whether this lease is renewable
	Renewable bool `json:"renewable"`
}

Lease contains lease info

func (*Lease) DeepCopy

func (in *Lease) DeepCopy() *Lease

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

func (*Lease) DeepCopyInto

func (in *Lease) DeepCopyInto(out *Lease)

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

type MongoDBRole

type MongoDBRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MongoDBRoleSpec   `json:"spec,omitempty"`
	Status            MongoDBRoleStatus `json:"status,omitempty"`
}

MongoDBRole

func (MongoDBRole) CustomResourceDefinition

func (r MongoDBRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MongoDBRole) DeepCopy

func (in *MongoDBRole) DeepCopy() *MongoDBRole

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

func (*MongoDBRole) DeepCopyInto

func (in *MongoDBRole) DeepCopyInto(out *MongoDBRole)

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

func (*MongoDBRole) DeepCopyObject

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

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

func (MongoDBRole) IsValid

func (r MongoDBRole) IsValid() error

func (MongoDBRole) RoleName

func (r MongoDBRole) RoleName() string

type MongoDBRoleCondition

type MongoDBRoleCondition struct {
	// Type of MongoDBRole condition.
	Type string `json:"type,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

MongoDBRoleCondition describes the state of a MongoDBRole at a certain point.

func (*MongoDBRoleCondition) DeepCopy

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

func (*MongoDBRoleCondition) DeepCopyInto

func (in *MongoDBRoleCondition) DeepCopyInto(out *MongoDBRoleCondition)

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

type MongoDBRoleList

type MongoDBRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is a list of MongoDBRole objects
	Items []MongoDBRole `json:"items,omitempty"`
}

func (*MongoDBRoleList) DeepCopy

func (in *MongoDBRoleList) DeepCopy() *MongoDBRoleList

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

func (*MongoDBRoleList) DeepCopyInto

func (in *MongoDBRoleList) DeepCopyInto(out *MongoDBRoleList)

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

func (*MongoDBRoleList) DeepCopyObject

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

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

type MongoDBRolePhase

type MongoDBRolePhase string

type MongoDBRoleSpec

type MongoDBRoleSpec struct {
	AuthManagerRef *appcat.AppReference `json:"authManagerRef,omitempty"`

	DatabaseRef *core.LocalObjectReference `json:"databaseRef"`

	// Specifies the TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to system/engine default TTL time
	DefaultTTL string `json:"defaultTTL,omitempty"`

	// Specifies the maximum TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to system/engine default TTL time.
	MaxTTL string `json:"maxTTL,omitempty"`

	// https://www.vaultproject.io/api/secret/databases/Mongodb-maria.html#creation_statements
	// Specifies the database statements executed to create and configure a user.
	CreationStatements []string `json:"creationStatements"`

	// https://www.vaultproject.io/api/secret/databases/Mongodb-maria.html#revocation_statements
	// Specifies the database statements to be executed to revoke a user.
	RevocationStatements []string `json:"revocationStatements,omitempty"`
}

MongoDBRoleSpec contains connection information, Mongodb role info etc

func (*MongoDBRoleSpec) DeepCopy

func (in *MongoDBRoleSpec) DeepCopy() *MongoDBRoleSpec

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

func (*MongoDBRoleSpec) DeepCopyInto

func (in *MongoDBRoleSpec) DeepCopyInto(out *MongoDBRoleSpec)

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

type MongoDBRoleStatus

type MongoDBRoleStatus struct {
	Phase MongoDBRolePhase `json:"phase,omitempty"`

	// observedGeneration is the most recent generation observed for this MongoDBRole. It corresponds to the
	// MongoDBRole's generation, which is updated on mutation by the API Server.
	ObservedGeneration *types.IntHash `json:"observedGeneration,omitempty"`

	// Represents the latest available observations of a MongoDBRole current state.
	Conditions []MongoDBRoleCondition `json:"conditions,omitempty"`
}

func (*MongoDBRoleStatus) DeepCopy

func (in *MongoDBRoleStatus) DeepCopy() *MongoDBRoleStatus

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

func (*MongoDBRoleStatus) DeepCopyInto

func (in *MongoDBRoleStatus) DeepCopyInto(out *MongoDBRoleStatus)

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

type MySQLRole

type MySQLRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLRoleSpec   `json:"spec,omitempty"`
	Status            MySQLRoleStatus `json:"status,omitempty"`
}

MySQLRole

func (MySQLRole) CustomResourceDefinition

func (r MySQLRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MySQLRole) DeepCopy

func (in *MySQLRole) DeepCopy() *MySQLRole

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

func (*MySQLRole) DeepCopyInto

func (in *MySQLRole) DeepCopyInto(out *MySQLRole)

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

func (*MySQLRole) DeepCopyObject

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

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

func (MySQLRole) IsValid

func (r MySQLRole) IsValid() error

func (MySQLRole) RoleName

func (r MySQLRole) RoleName() string

type MySQLRoleCondition

type MySQLRoleCondition struct {
	// Type of MySQLRole condition.
	Type string `json:"type,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

MySQLRoleCondition describes the state of a MySQLRole at a certain point.

func (*MySQLRoleCondition) DeepCopy

func (in *MySQLRoleCondition) DeepCopy() *MySQLRoleCondition

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

func (*MySQLRoleCondition) DeepCopyInto

func (in *MySQLRoleCondition) DeepCopyInto(out *MySQLRoleCondition)

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

type MySQLRoleList

type MySQLRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is a list of MySQLRole objects
	Items []MySQLRole `json:"items,omitempty"`
}

func (*MySQLRoleList) DeepCopy

func (in *MySQLRoleList) DeepCopy() *MySQLRoleList

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

func (*MySQLRoleList) DeepCopyInto

func (in *MySQLRoleList) DeepCopyInto(out *MySQLRoleList)

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

func (*MySQLRoleList) DeepCopyObject

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

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

type MySQLRolePhase

type MySQLRolePhase string

type MySQLRoleSpec

type MySQLRoleSpec struct {
	AuthManagerRef *appcat.AppReference `json:"authManagerRef,omitempty"`

	DatabaseRef *core.LocalObjectReference `json:"databaseRef"`

	// Specifies the TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to system/engine default TTL time
	DefaultTTL string `json:"defaultTTL,omitempty"`

	// Specifies the maximum TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to system/engine default TTL time.
	MaxTTL string `json:"maxTTL,omitempty"`

	// https://www.vaultproject.io/api/secret/databases/mysql-maria.html#creation_statements
	// Specifies the database statements executed to create and configure a user.
	CreationStatements []string `json:"creationStatements"`

	// https://www.vaultproject.io/api/secret/databases/mysql-maria.html#revocation_statements
	// Specifies the database statements to be executed to revoke a user.
	RevocationStatements []string `json:"revocationStatements,omitempty"`
}

MySQLRoleSpec contains connection information, mysql role info etc

func (*MySQLRoleSpec) DeepCopy

func (in *MySQLRoleSpec) DeepCopy() *MySQLRoleSpec

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

func (*MySQLRoleSpec) DeepCopyInto

func (in *MySQLRoleSpec) DeepCopyInto(out *MySQLRoleSpec)

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

type MySQLRoleStatus

type MySQLRoleStatus struct {
	Phase MySQLRolePhase `json:"phase,omitempty"`

	// observedGeneration is the most recent generation observed for this MySQLRole. It corresponds to the
	// MySQLRole's generation, which is updated on mutation by the API Server.
	ObservedGeneration *types.IntHash `json:"observedGeneration,omitempty"`

	// Represents the latest available observations of a MySQLRole current state.
	Conditions []MySQLRoleCondition `json:"conditions,omitempty"`
}

func (*MySQLRoleStatus) DeepCopy

func (in *MySQLRoleStatus) DeepCopy() *MySQLRoleStatus

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

func (*MySQLRoleStatus) DeepCopyInto

func (in *MySQLRoleStatus) DeepCopyInto(out *MySQLRoleStatus)

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

type PostgresRole

type PostgresRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresRoleSpec   `json:"spec,omitempty"`
	Status            PostgresRoleStatus `json:"status,omitempty"`
}

PostgresRole

func (PostgresRole) CustomResourceDefinition

func (r PostgresRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PostgresRole) DeepCopy

func (in *PostgresRole) DeepCopy() *PostgresRole

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

func (*PostgresRole) DeepCopyInto

func (in *PostgresRole) DeepCopyInto(out *PostgresRole)

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

func (*PostgresRole) DeepCopyObject

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

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

func (PostgresRole) IsValid

func (r PostgresRole) IsValid() error

func (PostgresRole) RoleName

func (r PostgresRole) RoleName() string

type PostgresRoleCondition

type PostgresRoleCondition struct {
	// Type of PostgresRole condition.
	Type string `json:"type,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

PostgresRoleCondition describes the state of a PostgresRole at a certain point.

func (*PostgresRoleCondition) DeepCopy

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

func (*PostgresRoleCondition) DeepCopyInto

func (in *PostgresRoleCondition) DeepCopyInto(out *PostgresRoleCondition)

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

type PostgresRoleList

type PostgresRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is a list of PostgresRole objects
	Items []PostgresRole `json:"items,omitempty"`
}

func (*PostgresRoleList) DeepCopy

func (in *PostgresRoleList) DeepCopy() *PostgresRoleList

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

func (*PostgresRoleList) DeepCopyInto

func (in *PostgresRoleList) DeepCopyInto(out *PostgresRoleList)

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

func (*PostgresRoleList) DeepCopyObject

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

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

type PostgresRolePhase

type PostgresRolePhase string

type PostgresRoleSpec

type PostgresRoleSpec struct {
	AuthManagerRef *appcat.AppReference `json:"authManagerRef,omitempty"`

	DatabaseRef *core.LocalObjectReference `json:"databaseRef"`

	// Specifies the TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to system/engine default TTL time
	DefaultTTL string `json:"defaultTTL,omitempty"`

	// Specifies the maximum TTL for the leases associated with this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to system/engine default TTL time.
	MaxTTL string `json:"maxTTL,omitempty"`

	// https://www.vaultproject.io/api/secret/databases/postgresql.html#creation_statements
	// Specifies the database statements executed to create and configure a user.
	CreationStatements []string `json:"creationStatements"`

	// https://www.vaultproject.io/api/secret/databases/postgresql.html#revocation_statements
	// Specifies the database statements to be executed to revoke a user.
	RevocationStatements []string `json:"revocationStatements,omitempty"`

	// https://www.vaultproject.io/api/secret/databases/postgresql.html#rollback_statements
	// Specifies the database statements to be executed rollback a create operation in the event of an error.
	RollbackStatements []string `json:"rollbackStatements,omitempty"`

	// https://www.vaultproject.io/api/secret/databases/postgresql.html#renew_statements
	// Specifies the database statements to be executed to renew a user.
	RenewStatements []string `json:"renewStatements,omitempty"`
}

PostgresRoleSpec contains connection information, postgres role info etc

func (*PostgresRoleSpec) DeepCopy

func (in *PostgresRoleSpec) DeepCopy() *PostgresRoleSpec

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

func (*PostgresRoleSpec) DeepCopyInto

func (in *PostgresRoleSpec) DeepCopyInto(out *PostgresRoleSpec)

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

type PostgresRoleStatus

type PostgresRoleStatus struct {
	// observedGeneration is the most recent generation observed for this PostgresROle. It corresponds to the
	// PostgresROle's generation, which is updated on mutation by the API Server.
	ObservedGeneration *types.IntHash `json:"observedGeneration,omitempty"`

	// Specifies the phase of the PostgresRole
	Phase PostgresRolePhase `json:"phase,omitempty"`

	// Represents the latest available observations of a PostgresRoleBinding current state.
	Conditions []PostgresRoleCondition `json:"conditions,omitempty"`
}

func (*PostgresRoleStatus) DeepCopy

func (in *PostgresRoleStatus) DeepCopy() *PostgresRoleStatus

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

func (*PostgresRoleStatus) DeepCopyInto

func (in *PostgresRoleStatus) DeepCopyInto(out *PostgresRoleStatus)

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

type RequestConditionType

type RequestConditionType string
const (
	AccessApproved RequestConditionType = "Approved"
	AccessDenied   RequestConditionType = "Denied"
)

These are the possible conditions for a certificate request.

type RoleReference

type RoleReference struct {
	// Kind of object being referenced. Values are "MongoDBRole", "MySQLRole", and "PostgresRole".
	// If the Authorizer does not recognized the kind value, the Authorizer should report an error.
	Kind string `json:"kind"`

	// Name of the object being referenced.
	Name string `json:"name"`

	// Namespace of the referenced object.
	Namespace string `json:"namespace"`
}

func (*RoleReference) DeepCopy

func (in *RoleReference) DeepCopy() *RoleReference

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

func (*RoleReference) DeepCopyInto

func (in *RoleReference) DeepCopyInto(out *RoleReference)

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