v1alpha1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: Apache-2.0 Imports: 24 Imported by: 13

Documentation

Overview

+groupName=engine.kubevault.com

Index

Constants

View Source
const (
	ResourceKindAWSRole = "AWSRole"
	ResourceAWSRole     = "awsrole"
	ResourceAWSRoles    = "awsroles"
)
View Source
const (
	AWSCredentialAccessKeyKey = "access_key"
	AWSCredentialSecretKeyKey = "secret_key"
)
View Source
const (
	ResourceKindAzureRole = "AzureRole"
	ResourceAzureRole     = "azurerole"
	ResourceAzureRoles    = "azureroles"
)
View Source
const (
	AzureClientSecret   = "client-secret"
	AzureSubscriptionID = "subscription-id"
	AzureTenantID       = "tenant-id"
	AzureClientID       = "client-id"
)
View Source
const (
	ResourceKindElasticsearchRole = "ElasticsearchRole"
	ResourceElasticsearchRole     = "elasticsearchrole"
	ResourceElasticsearchRoles    = "elasticsearchroles"
)
View Source
const (
	ResourceKindGCPRole = "GCPRole"
	ResourceGCPRole     = "gcprole"
	ResourceGCPRoles    = "gcproles"
)
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"
)
View Source
const (
	ResourceKindSecretAccessRequest = "SecretAccessRequest"
	ResourceSecretAccessRequest     = "secretaccessrequest"
	ResourceSecretAccessRequests    = "secretaccessrequests"
)
View Source
const (
	ResourceKindSecretEngine = "SecretEngine"
	ResourceSecretEngine     = "secretengine"
	ResourceSecretEngines    = "secretengines"
	EngineTypeAWS            = "aws"
	EngineTypeGCP            = "gcp"
	EngineTypeAzure          = "azure"
	EngineTypeDatabase       = "database"
	EngineTypeKV             = "kv"
)
View Source
const (
	ResourceKindSecretRoleBinding = "SecretRoleBinding"
	ResourceSecretRoleBinding     = "secretrolebinding"
	ResourceSecretRoleBindings    = "secretrolebindings"
)
View Source
const (
	SecretRoleBindingAnnotationName      = "secretrolebindings.engine.kubevault.com/name"
	SecretRoleBindingAnnotationNamespace = "secretrolebindings.engine.kubevault.com/namespace"
)
View Source
const (
	VaultPolicySuccess        = "VaultPolicySuccess"
	VaultPolicyBindingSuccess = "VaultPolicyBindingSuccess"
	SecretRoleBindingSuccess  = "SecretRoleBindingSuccess"
)
View Source
const DefaultElasticsearchDatabasePlugin = "elasticsearch-database-plugin"
View Source
const DefaultMongoDBDatabasePlugin = "mongodb-database-plugin"
View Source
const DefaultMySQLDatabasePlugin = "mysql-database-plugin"
View Source
const DefaultPostgresDatabasePlugin = "postgresql-database-plugin"
View Source
const (
	GCPSACredentialJson = "sa.json"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
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: engine.GroupName, Version: "v1alpha1"}

Functions

func GetDBNameFromAppBindingRef

func GetDBNameFromAppBindingRef(dbAppRef *appcat.AppReference) string

Generates unique database name from database appbinding reference

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AWSAccessRequestConfiguration added in v0.5.0

type AWSAccessRequestConfiguration struct {
	// The ARN of the role to assume if credential_type on the Vault role is assumed_role.
	// Must match one of the allowed role ARNs in the Vault role. Optional if the Vault role
	// only allows a single AWS role ARN; required otherwise.
	RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,1,opt,name=roleARN"`

	// If true, '/aws/sts' endpoint will be used to retrieve credential
	// Otherwise, '/aws/creds' endpoint will be used to retrieve credential
	UseSTS bool `json:"useSTS,omitempty" protobuf:"varint,2,opt,name=useSTS"`
}

https://www.vaultproject.io/api/secret/aws/index.html#parameters-6 AWSAccessKeyRequestSpec contains information to request for vault aws credential

func (*AWSAccessRequestConfiguration) DeepCopy added in v0.5.0

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

func (*AWSAccessRequestConfiguration) DeepCopyInto added in v0.5.0

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

func (*AWSAccessRequestConfiguration) Descriptor added in v0.5.0

func (*AWSAccessRequestConfiguration) Descriptor() ([]byte, []int)

func (*AWSAccessRequestConfiguration) Marshal added in v0.5.0

func (m *AWSAccessRequestConfiguration) Marshal() (dAtA []byte, err error)

func (*AWSAccessRequestConfiguration) MarshalTo added in v0.5.0

func (m *AWSAccessRequestConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*AWSAccessRequestConfiguration) MarshalToSizedBuffer added in v0.5.0

func (m *AWSAccessRequestConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSAccessRequestConfiguration) ProtoMessage added in v0.5.0

func (*AWSAccessRequestConfiguration) ProtoMessage()

func (*AWSAccessRequestConfiguration) Reset added in v0.5.0

func (m *AWSAccessRequestConfiguration) Reset()

func (*AWSAccessRequestConfiguration) Size added in v0.5.0

func (m *AWSAccessRequestConfiguration) Size() (n int)

func (*AWSAccessRequestConfiguration) String added in v0.5.0

func (this *AWSAccessRequestConfiguration) String() string

func (*AWSAccessRequestConfiguration) Unmarshal added in v0.5.0

func (m *AWSAccessRequestConfiguration) Unmarshal(dAtA []byte) error

func (*AWSAccessRequestConfiguration) XXX_DiscardUnknown added in v0.5.0

func (m *AWSAccessRequestConfiguration) XXX_DiscardUnknown()

func (*AWSAccessRequestConfiguration) XXX_Marshal added in v0.5.0

func (m *AWSAccessRequestConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSAccessRequestConfiguration) XXX_Merge added in v0.5.0

func (m *AWSAccessRequestConfiguration) XXX_Merge(src proto.Message)

func (*AWSAccessRequestConfiguration) XXX_Size added in v0.5.0

func (m *AWSAccessRequestConfiguration) XXX_Size() int

func (*AWSAccessRequestConfiguration) XXX_Unmarshal added in v0.5.0

func (m *AWSAccessRequestConfiguration) XXX_Unmarshal(b []byte) error

type AWSConfiguration

type AWSConfiguration struct {
	// Specifies the secret containing AWS access key ID and secret access key
	// secret.Data:
	//	- access_key=<value>
	//  - secret_key=<value>
	CredentialSecret string `json:"credentialSecret" protobuf:"bytes,1,opt,name=credentialSecret"`

	// Specifies the AWS region
	Region string `json:"region" protobuf:"bytes,2,opt,name=region"`

	// Specifies a custom HTTP IAM enminidpoint to use
	IAMEndpoint string `json:"iamEndpoint,omitempty" protobuf:"bytes,3,opt,name=iamEndpoint"`

	//Specifies a custom HTTP STS endpoint to use
	STSEndpoint string `json:"stsEndpoint,omitempty" protobuf:"bytes,4,opt,name=stsEndpoint"`

	// Number of max retries the client should use for recoverable errors.
	// The default (-1) falls back to the AWS SDK's default behavior
	MaxRetries *int64 `json:"maxRetries,omitempty" protobuf:"varint,5,opt,name=maxRetries"`

	LeaseConfig *LeaseConfig `json:"leaseConfig,omitempty" protobuf:"bytes,6,opt,name=leaseConfig"`
}

https://www.vaultproject.io/api/secret/aws/index.html#configure-root-iam-credentials AWSConfiguration contains information to communicate with AWS

func (*AWSConfiguration) DeepCopy

func (in *AWSConfiguration) DeepCopy() *AWSConfiguration

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

func (*AWSConfiguration) DeepCopyInto

func (in *AWSConfiguration) DeepCopyInto(out *AWSConfiguration)

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

func (*AWSConfiguration) Descriptor

func (*AWSConfiguration) Descriptor() ([]byte, []int)

func (*AWSConfiguration) Marshal

func (m *AWSConfiguration) Marshal() (dAtA []byte, err error)

func (*AWSConfiguration) MarshalTo

func (m *AWSConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*AWSConfiguration) MarshalToSizedBuffer

func (m *AWSConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSConfiguration) ProtoMessage

func (*AWSConfiguration) ProtoMessage()

func (*AWSConfiguration) Reset

func (m *AWSConfiguration) Reset()

func (*AWSConfiguration) Size

func (m *AWSConfiguration) Size() (n int)

func (*AWSConfiguration) String

func (this *AWSConfiguration) String() string

func (*AWSConfiguration) Unmarshal

func (m *AWSConfiguration) Unmarshal(dAtA []byte) error

func (*AWSConfiguration) XXX_DiscardUnknown

func (m *AWSConfiguration) XXX_DiscardUnknown()

func (*AWSConfiguration) XXX_Marshal

func (m *AWSConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSConfiguration) XXX_Merge

func (m *AWSConfiguration) XXX_Merge(src proto.Message)

func (*AWSConfiguration) XXX_Size

func (m *AWSConfiguration) XXX_Size() int

func (*AWSConfiguration) XXX_Unmarshal

func (m *AWSConfiguration) XXX_Unmarshal(b []byte) error

type AWSCredentialType

type AWSCredentialType string

+kubebuilder:validation:Enum=iam_user;assumed_role;federation_token

const (
	AWSCredentialIAMUser         AWSCredentialType = "iam_user"
	AWSCredentialAssumedRole     AWSCredentialType = "assumed_role"
	AWSCredentialFederationToken AWSCredentialType = "federation_token"
)

type AWSRole

type AWSRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              AWSRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus  `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=awsroles,singular=awsrole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (AWSRole) CustomResourceDefinition

func (_ AWSRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*AWSRole) DeepCopy

func (in *AWSRole) DeepCopy() *AWSRole

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

func (*AWSRole) DeepCopyInto

func (in *AWSRole) DeepCopyInto(out *AWSRole)

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

func (*AWSRole) DeepCopyObject

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

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

func (*AWSRole) Descriptor

func (*AWSRole) Descriptor() ([]byte, []int)

func (AWSRole) IsValid

func (r AWSRole) IsValid() error

func (*AWSRole) Marshal

func (m *AWSRole) Marshal() (dAtA []byte, err error)

func (*AWSRole) MarshalTo

func (m *AWSRole) MarshalTo(dAtA []byte) (int, error)

func (*AWSRole) MarshalToSizedBuffer

func (m *AWSRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSRole) ProtoMessage

func (*AWSRole) ProtoMessage()

func (*AWSRole) Reset

func (m *AWSRole) Reset()

func (AWSRole) RoleName

func (r AWSRole) RoleName() string

func (*AWSRole) Size

func (m *AWSRole) Size() (n int)

func (*AWSRole) String

func (this *AWSRole) String() string

func (*AWSRole) Unmarshal

func (m *AWSRole) Unmarshal(dAtA []byte) error

func (*AWSRole) XXX_DiscardUnknown

func (m *AWSRole) XXX_DiscardUnknown()

func (*AWSRole) XXX_Marshal

func (m *AWSRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSRole) XXX_Merge

func (m *AWSRole) XXX_Merge(src proto.Message)

func (*AWSRole) XXX_Size

func (m *AWSRole) XXX_Size() int

func (*AWSRole) XXX_Unmarshal

func (m *AWSRole) XXX_Unmarshal(b []byte) error

type AWSRoleList

type AWSRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of AWSRole objects
	Items []AWSRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*AWSRoleList) DeepCopy

func (in *AWSRoleList) DeepCopy() *AWSRoleList

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

func (*AWSRoleList) DeepCopyInto

func (in *AWSRoleList) DeepCopyInto(out *AWSRoleList)

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

func (*AWSRoleList) DeepCopyObject

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

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

func (*AWSRoleList) Descriptor

func (*AWSRoleList) Descriptor() ([]byte, []int)

func (*AWSRoleList) Marshal

func (m *AWSRoleList) Marshal() (dAtA []byte, err error)

func (*AWSRoleList) MarshalTo

func (m *AWSRoleList) MarshalTo(dAtA []byte) (int, error)

func (*AWSRoleList) MarshalToSizedBuffer

func (m *AWSRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSRoleList) ProtoMessage

func (*AWSRoleList) ProtoMessage()

func (*AWSRoleList) Reset

func (m *AWSRoleList) Reset()

func (*AWSRoleList) Size

func (m *AWSRoleList) Size() (n int)

func (*AWSRoleList) String

func (this *AWSRoleList) String() string

func (*AWSRoleList) Unmarshal

func (m *AWSRoleList) Unmarshal(dAtA []byte) error

func (*AWSRoleList) XXX_DiscardUnknown

func (m *AWSRoleList) XXX_DiscardUnknown()

func (*AWSRoleList) XXX_Marshal

func (m *AWSRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSRoleList) XXX_Merge

func (m *AWSRoleList) XXX_Merge(src proto.Message)

func (*AWSRoleList) XXX_Size

func (m *AWSRoleList) XXX_Size() int

func (*AWSRoleList) XXX_Unmarshal

func (m *AWSRoleList) XXX_Unmarshal(b []byte) error

type AWSRoleSpec

type AWSRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// Specifies the type of credential to be used when retrieving credentials from the role
	CredentialType AWSCredentialType `json:"credentialType" protobuf:"bytes,2,opt,name=credentialType,casttype=AWSCredentialType"`

	// Specifies the ARNs of the AWS roles this Vault role is allowed to assume.
	// Required when credential_type is assumed_role and prohibited otherwise
	RoleARNs []string `json:"roleARNs,omitempty" protobuf:"bytes,3,rep,name=roleARNs"`

	// Specifies the ARNs of the AWS managed policies to be attached to IAM users when they are requested.
	// Valid only when credential_type is iam_user. When credential_type is iam_user,
	// at least one of policy_arns or policy_document must be specified.
	PolicyARNs []string `json:"policyARNs,omitempty" protobuf:"bytes,4,rep,name=policyARNs"`

	// The IAM policy document for the role. The behavior depends on the credential type.
	// With iam_user, the policy document will be attached to the IAM user generated and
	// augment the permissions the IAM user has. With assumed_role and federation_token,
	// the policy document will act as a filter on what the credentials can do.
	// +optional
	PolicyDocument string `json:"policyDocument,omitempty" protobuf:"bytes,5,opt,name=policyDocument"`

	// Specifies the IAM policy in JSON format.
	// +optional
	// +kubebuilder:validation:EmbeddedResource
	// +kubebuilder:pruning:PreserveUnknownFields
	Policy *runtime.RawExtension `json:"policy,omitempty" protobuf:"bytes,6,opt,name=policy"`

	// The default TTL for STS credentials. When a TTL is not specified when STS credentials are requested,
	// and a default TTL is specified on the role, then this default TTL will be used.
	// Valid only when credential_type is one of assumed_role or federation_token
	DefaultSTSTTL string `json:"defaultSTSTTL,omitempty" protobuf:"bytes,7,opt,name=defaultSTSTTL"`

	// The max allowed TTL for STS credentials (credentials TTL are capped to max_sts_ttl).
	// Valid only when credential_type is one of assumed_role or federation_token
	MaxSTSTTL string `json:"maxSTSTTL,omitempty" protobuf:"bytes,8,opt,name=maxSTSTTL"`
}

AWSRoleSpec contains connection information, AWS role info, etc More info: https://www.vaultproject.io/api/secret/aws/index.html#parameters-3

func (*AWSRoleSpec) DeepCopy

func (in *AWSRoleSpec) DeepCopy() *AWSRoleSpec

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

func (*AWSRoleSpec) DeepCopyInto

func (in *AWSRoleSpec) DeepCopyInto(out *AWSRoleSpec)

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

func (*AWSRoleSpec) Descriptor

func (*AWSRoleSpec) Descriptor() ([]byte, []int)

func (*AWSRoleSpec) Marshal

func (m *AWSRoleSpec) Marshal() (dAtA []byte, err error)

func (*AWSRoleSpec) MarshalTo

func (m *AWSRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*AWSRoleSpec) MarshalToSizedBuffer

func (m *AWSRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSRoleSpec) ProtoMessage

func (*AWSRoleSpec) ProtoMessage()

func (*AWSRoleSpec) Reset

func (m *AWSRoleSpec) Reset()

func (*AWSRoleSpec) Size

func (m *AWSRoleSpec) Size() (n int)

func (*AWSRoleSpec) String

func (this *AWSRoleSpec) String() string

func (*AWSRoleSpec) Unmarshal

func (m *AWSRoleSpec) Unmarshal(dAtA []byte) error

func (*AWSRoleSpec) XXX_DiscardUnknown

func (m *AWSRoleSpec) XXX_DiscardUnknown()

func (*AWSRoleSpec) XXX_Marshal

func (m *AWSRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSRoleSpec) XXX_Merge

func (m *AWSRoleSpec) XXX_Merge(src proto.Message)

func (*AWSRoleSpec) XXX_Size

func (m *AWSRoleSpec) XXX_Size() int

func (*AWSRoleSpec) XXX_Unmarshal

func (m *AWSRoleSpec) XXX_Unmarshal(b []byte) error

type AzureConfiguration

type AzureConfiguration struct {

	// Specifies the secret name containing Azure credentials
	// secret.Data:
	// 	- subscription-id: <value>, The subscription id for the Azure Active Directory.
	//	- tenant-id: <value>, The tenant id for the Azure Active Directory.
	//	- client-id: <value>, The OAuth2 client id to connect to Azure.
	//	- client-secret: <value>, The OAuth2 client secret to connect to Azure.
	CredentialSecret string `json:"credentialSecret" protobuf:"bytes,1,opt,name=credentialSecret"`

	// The Azure environment.
	// If not specified, Vault will use Azure Public Cloud.
	// +optional
	Environment string `json:"environment,omitempty" protobuf:"bytes,2,opt,name=environment"`
}

AzureConfiguration contains information to communicate with Azure

func (*AzureConfiguration) DeepCopy

func (in *AzureConfiguration) DeepCopy() *AzureConfiguration

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

func (*AzureConfiguration) DeepCopyInto

func (in *AzureConfiguration) DeepCopyInto(out *AzureConfiguration)

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

func (*AzureConfiguration) Descriptor

func (*AzureConfiguration) Descriptor() ([]byte, []int)

func (*AzureConfiguration) Marshal

func (m *AzureConfiguration) Marshal() (dAtA []byte, err error)

func (*AzureConfiguration) MarshalTo

func (m *AzureConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*AzureConfiguration) MarshalToSizedBuffer

func (m *AzureConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureConfiguration) ProtoMessage

func (*AzureConfiguration) ProtoMessage()

func (*AzureConfiguration) Reset

func (m *AzureConfiguration) Reset()

func (*AzureConfiguration) Size

func (m *AzureConfiguration) Size() (n int)

func (*AzureConfiguration) String

func (this *AzureConfiguration) String() string

func (*AzureConfiguration) Unmarshal

func (m *AzureConfiguration) Unmarshal(dAtA []byte) error

func (*AzureConfiguration) XXX_DiscardUnknown

func (m *AzureConfiguration) XXX_DiscardUnknown()

func (*AzureConfiguration) XXX_Marshal

func (m *AzureConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureConfiguration) XXX_Merge

func (m *AzureConfiguration) XXX_Merge(src proto.Message)

func (*AzureConfiguration) XXX_Size

func (m *AzureConfiguration) XXX_Size() int

func (*AzureConfiguration) XXX_Unmarshal

func (m *AzureConfiguration) XXX_Unmarshal(b []byte) error

type AzureRole

type AzureRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              AzureRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus    `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=azureroles,singular=azurerole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (AzureRole) CustomResourceDefinition

func (_ AzureRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*AzureRole) DeepCopy

func (in *AzureRole) DeepCopy() *AzureRole

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

func (*AzureRole) DeepCopyInto

func (in *AzureRole) DeepCopyInto(out *AzureRole)

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

func (*AzureRole) DeepCopyObject

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

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

func (*AzureRole) Descriptor

func (*AzureRole) Descriptor() ([]byte, []int)

func (AzureRole) IsValid

func (r AzureRole) IsValid() error

func (*AzureRole) Marshal

func (m *AzureRole) Marshal() (dAtA []byte, err error)

func (*AzureRole) MarshalTo

func (m *AzureRole) MarshalTo(dAtA []byte) (int, error)

func (*AzureRole) MarshalToSizedBuffer

func (m *AzureRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureRole) ProtoMessage

func (*AzureRole) ProtoMessage()

func (*AzureRole) Reset

func (m *AzureRole) Reset()

func (AzureRole) RoleName

func (r AzureRole) RoleName() string

func (*AzureRole) Size

func (m *AzureRole) Size() (n int)

func (*AzureRole) String

func (this *AzureRole) String() string

func (*AzureRole) Unmarshal

func (m *AzureRole) Unmarshal(dAtA []byte) error

func (*AzureRole) XXX_DiscardUnknown

func (m *AzureRole) XXX_DiscardUnknown()

func (*AzureRole) XXX_Marshal

func (m *AzureRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureRole) XXX_Merge

func (m *AzureRole) XXX_Merge(src proto.Message)

func (*AzureRole) XXX_Size

func (m *AzureRole) XXX_Size() int

func (*AzureRole) XXX_Unmarshal

func (m *AzureRole) XXX_Unmarshal(b []byte) error

type AzureRoleList

type AzureRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of AzureRole objects
	Items []AzureRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*AzureRoleList) DeepCopy

func (in *AzureRoleList) DeepCopy() *AzureRoleList

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

func (*AzureRoleList) DeepCopyInto

func (in *AzureRoleList) DeepCopyInto(out *AzureRoleList)

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

func (*AzureRoleList) DeepCopyObject

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

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

func (*AzureRoleList) Descriptor

func (*AzureRoleList) Descriptor() ([]byte, []int)

func (*AzureRoleList) Marshal

func (m *AzureRoleList) Marshal() (dAtA []byte, err error)

func (*AzureRoleList) MarshalTo

func (m *AzureRoleList) MarshalTo(dAtA []byte) (int, error)

func (*AzureRoleList) MarshalToSizedBuffer

func (m *AzureRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureRoleList) ProtoMessage

func (*AzureRoleList) ProtoMessage()

func (*AzureRoleList) Reset

func (m *AzureRoleList) Reset()

func (*AzureRoleList) Size

func (m *AzureRoleList) Size() (n int)

func (*AzureRoleList) String

func (this *AzureRoleList) String() string

func (*AzureRoleList) Unmarshal

func (m *AzureRoleList) Unmarshal(dAtA []byte) error

func (*AzureRoleList) XXX_DiscardUnknown

func (m *AzureRoleList) XXX_DiscardUnknown()

func (*AzureRoleList) XXX_Marshal

func (m *AzureRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureRoleList) XXX_Merge

func (m *AzureRoleList) XXX_Merge(src proto.Message)

func (*AzureRoleList) XXX_Size

func (m *AzureRoleList) XXX_Size() int

func (*AzureRoleList) XXX_Unmarshal

func (m *AzureRoleList) XXX_Unmarshal(b []byte) error

type AzureRoleSpec

type AzureRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// List of Azure roles to be assigned to the generated service principal.
	// The array must be in JSON format, properly escaped as a string
	AzureRoles string `json:"azureRoles,omitempty" protobuf:"bytes,2,opt,name=azureRoles"`

	// Application Object ID for an existing service principal
	// that will be used instead of creating dynamic service principals.
	// If present, azure_roles will be ignored.
	ApplicationObjectID string `json:"applicationObjectID,omitempty" protobuf:"bytes,3,opt,name=applicationObjectID"`

	// Specifies the default TTL for service principals generated using this role.
	// Accepts time suffixed strings ("1h") or an integer number of seconds.
	// Defaults to the system/engine default TTL time.
	TTL string `json:"ttl,omitempty" protobuf:"bytes,4,opt,name=ttl"`

	// Specifies the maximum TTL for service principals
	// generated using this role. Accepts time suffixed strings ("1h")
	// or an integer number of seconds. Defaults to the system/engine max TTL time.
	MaxTTL string `json:"maxTTL,omitempty" protobuf:"bytes,5,opt,name=maxTTL"`
}

AzureRoleSpec contains connection information, Azure role info, etc More info: https://www.vaultproject.io/api/secret/azure/index.html#create-update-role

func (*AzureRoleSpec) DeepCopy

func (in *AzureRoleSpec) DeepCopy() *AzureRoleSpec

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

func (*AzureRoleSpec) DeepCopyInto

func (in *AzureRoleSpec) DeepCopyInto(out *AzureRoleSpec)

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

func (*AzureRoleSpec) Descriptor

func (*AzureRoleSpec) Descriptor() ([]byte, []int)

func (*AzureRoleSpec) Marshal

func (m *AzureRoleSpec) Marshal() (dAtA []byte, err error)

func (*AzureRoleSpec) MarshalTo

func (m *AzureRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*AzureRoleSpec) MarshalToSizedBuffer

func (m *AzureRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureRoleSpec) ProtoMessage

func (*AzureRoleSpec) ProtoMessage()

func (*AzureRoleSpec) Reset

func (m *AzureRoleSpec) Reset()

func (*AzureRoleSpec) Size

func (m *AzureRoleSpec) Size() (n int)

func (*AzureRoleSpec) String

func (this *AzureRoleSpec) String() string

func (*AzureRoleSpec) Unmarshal

func (m *AzureRoleSpec) Unmarshal(dAtA []byte) error

func (*AzureRoleSpec) XXX_DiscardUnknown

func (m *AzureRoleSpec) XXX_DiscardUnknown()

func (*AzureRoleSpec) XXX_Marshal

func (m *AzureRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureRoleSpec) XXX_Merge

func (m *AzureRoleSpec) XXX_Merge(src proto.Message)

func (*AzureRoleSpec) XXX_Size

func (m *AzureRoleSpec) XXX_Size() int

func (*AzureRoleSpec) XXX_Unmarshal

func (m *AzureRoleSpec) XXX_Unmarshal(b []byte) error

type AzureSecretType

type AzureSecretType string

type ElasticsearchConfiguration

type ElasticsearchConfiguration struct {
	// Specifies the Elasticsearch database appbinding reference
	DatabaseRef appcat.AppReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`

	// List of the roles allowed to use this connection.
	// Defaults to empty (no roles), if contains a "*" any role can use this connection.
	AllowedRoles []string `json:"allowedRoles,omitempty" protobuf:"bytes,2,rep,name=allowedRoles"`

	// Specifies the name of the plugin to use for this connection.
	// Default plugin:
	//  - for elasticsearch: elasticsearch-database-plugin
	PluginName string `json:"pluginName,omitempty" protobuf:"bytes,3,opt,name=pluginName"`

	// The URL for Elasticsearch's API ("http://localhost:9200").
	// +kubebuilder:validation:Required
	Url string `json:"url,omitempty" protobuf:"bytes,4,opt,name=url"`

	// The username to be used in the connection URL ("vault").
	// +kubebuilder:validation:Required
	Username string `json:"username,omitempty" protobuf:"bytes,5,opt,name=username"`

	// The password to be used in the connection URL ("pa55w0rd").
	// +kubebuilder:validation:Required
	Password string `json:"password,omitempty" protobuf:"bytes,6,opt,name=password"`

	// The path to a PEM-encoded CA cert file to use to verify the Elasticsearch server's identity.
	CACert string `json:"caCert,omitempty" protobuf:"bytes,7,opt,name=caCert"`

	// The path to a directory of PEM-encoded CA cert files to use to verify the Elasticsearch server's identity.
	CAPath string `json:"caPath,omitempty" protobuf:"bytes,8,opt,name=caPath"`

	// The path to the certificate for the Elasticsearch client to present for communication.
	ClientCert string `json:"clientCert,omitempty" protobuf:"bytes,9,opt,name=clientCert"`

	// The path to the key for the Elasticsearch client to use for communication.
	ClientKey string `json:"clientKey,omitempty" protobuf:"bytes,10,opt,name=clientKey"`

	// This, if set, is used to set the SNI host when connecting via 1TLS.
	TLSServerName string `json:"tlsServerName,omitempty" protobuf:"bytes,11,opt,name=tlsServerName"`

	// Not recommended. Default to false. Can be set to true to disable SSL verification.
	// +kubebuilder:default:=false
	Insecure bool `json:"insecure,omitempty" protobuf:"bytes,12,opt,name=insecure"`
}

ElasticsearchConfiguration defines a Elasticsearch app configuration. https://www.vaultproject.io/api-docs/secret/databases/elasticdb TODO: Fill in the fields

func (*ElasticsearchConfiguration) DeepCopy

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

func (*ElasticsearchConfiguration) DeepCopyInto

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

func (*ElasticsearchConfiguration) Descriptor

func (*ElasticsearchConfiguration) Descriptor() ([]byte, []int)

func (*ElasticsearchConfiguration) Marshal

func (m *ElasticsearchConfiguration) Marshal() (dAtA []byte, err error)

func (*ElasticsearchConfiguration) MarshalTo

func (m *ElasticsearchConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*ElasticsearchConfiguration) MarshalToSizedBuffer

func (m *ElasticsearchConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ElasticsearchConfiguration) ProtoMessage

func (*ElasticsearchConfiguration) ProtoMessage()

func (*ElasticsearchConfiguration) Reset

func (m *ElasticsearchConfiguration) Reset()

func (*ElasticsearchConfiguration) SetDefaults

func (m *ElasticsearchConfiguration) SetDefaults()

func (*ElasticsearchConfiguration) Size

func (m *ElasticsearchConfiguration) Size() (n int)

func (*ElasticsearchConfiguration) String

func (this *ElasticsearchConfiguration) String() string

func (*ElasticsearchConfiguration) Unmarshal

func (m *ElasticsearchConfiguration) Unmarshal(dAtA []byte) error

func (*ElasticsearchConfiguration) XXX_DiscardUnknown

func (m *ElasticsearchConfiguration) XXX_DiscardUnknown()

func (*ElasticsearchConfiguration) XXX_Marshal

func (m *ElasticsearchConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ElasticsearchConfiguration) XXX_Merge

func (m *ElasticsearchConfiguration) XXX_Merge(src proto.Message)

func (*ElasticsearchConfiguration) XXX_Size

func (m *ElasticsearchConfiguration) XXX_Size() int

func (*ElasticsearchConfiguration) XXX_Unmarshal

func (m *ElasticsearchConfiguration) XXX_Unmarshal(b []byte) error

type ElasticsearchRole

type ElasticsearchRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ElasticsearchRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus            `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=elasticsearchroles,singular=elasticsearchrole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (ElasticsearchRole) CustomResourceDefinition

func (_ ElasticsearchRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ElasticsearchRole) DeepCopy

func (in *ElasticsearchRole) DeepCopy() *ElasticsearchRole

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

func (*ElasticsearchRole) DeepCopyInto

func (in *ElasticsearchRole) DeepCopyInto(out *ElasticsearchRole)

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

func (*ElasticsearchRole) DeepCopyObject

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

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

func (*ElasticsearchRole) Descriptor

func (*ElasticsearchRole) Descriptor() ([]byte, []int)

func (ElasticsearchRole) IsValid

func (r ElasticsearchRole) IsValid() error

func (*ElasticsearchRole) Marshal

func (m *ElasticsearchRole) Marshal() (dAtA []byte, err error)

func (*ElasticsearchRole) MarshalTo

func (m *ElasticsearchRole) MarshalTo(dAtA []byte) (int, error)

func (*ElasticsearchRole) MarshalToSizedBuffer

func (m *ElasticsearchRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ElasticsearchRole) ProtoMessage

func (*ElasticsearchRole) ProtoMessage()

func (*ElasticsearchRole) Reset

func (m *ElasticsearchRole) Reset()

func (ElasticsearchRole) RoleName

func (r ElasticsearchRole) RoleName() string

func (*ElasticsearchRole) Size

func (m *ElasticsearchRole) Size() (n int)

func (*ElasticsearchRole) String

func (this *ElasticsearchRole) String() string

func (*ElasticsearchRole) Unmarshal

func (m *ElasticsearchRole) Unmarshal(dAtA []byte) error

func (*ElasticsearchRole) XXX_DiscardUnknown

func (m *ElasticsearchRole) XXX_DiscardUnknown()

func (*ElasticsearchRole) XXX_Marshal

func (m *ElasticsearchRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ElasticsearchRole) XXX_Merge

func (m *ElasticsearchRole) XXX_Merge(src proto.Message)

func (*ElasticsearchRole) XXX_Size

func (m *ElasticsearchRole) XXX_Size() int

func (*ElasticsearchRole) XXX_Unmarshal

func (m *ElasticsearchRole) XXX_Unmarshal(b []byte) error

type ElasticsearchRoleList

type ElasticsearchRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ElasticsearchRole objects
	Items []ElasticsearchRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*ElasticsearchRoleList) DeepCopy

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

func (*ElasticsearchRoleList) DeepCopyInto

func (in *ElasticsearchRoleList) DeepCopyInto(out *ElasticsearchRoleList)

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

func (*ElasticsearchRoleList) DeepCopyObject

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

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

func (*ElasticsearchRoleList) Descriptor

func (*ElasticsearchRoleList) Descriptor() ([]byte, []int)

func (*ElasticsearchRoleList) Marshal

func (m *ElasticsearchRoleList) Marshal() (dAtA []byte, err error)

func (*ElasticsearchRoleList) MarshalTo

func (m *ElasticsearchRoleList) MarshalTo(dAtA []byte) (int, error)

func (*ElasticsearchRoleList) MarshalToSizedBuffer

func (m *ElasticsearchRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ElasticsearchRoleList) ProtoMessage

func (*ElasticsearchRoleList) ProtoMessage()

func (*ElasticsearchRoleList) Reset

func (m *ElasticsearchRoleList) Reset()

func (*ElasticsearchRoleList) Size

func (m *ElasticsearchRoleList) Size() (n int)

func (*ElasticsearchRoleList) String

func (this *ElasticsearchRoleList) String() string

func (*ElasticsearchRoleList) Unmarshal

func (m *ElasticsearchRoleList) Unmarshal(dAtA []byte) error

func (*ElasticsearchRoleList) XXX_DiscardUnknown

func (m *ElasticsearchRoleList) XXX_DiscardUnknown()

func (*ElasticsearchRoleList) XXX_Marshal

func (m *ElasticsearchRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ElasticsearchRoleList) XXX_Merge

func (m *ElasticsearchRoleList) XXX_Merge(src proto.Message)

func (*ElasticsearchRoleList) XXX_Size

func (m *ElasticsearchRoleList) XXX_Size() int

func (*ElasticsearchRoleList) XXX_Unmarshal

func (m *ElasticsearchRoleList) XXX_Unmarshal(b []byte) error

type ElasticsearchRoleSpec

type ElasticsearchRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// 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" protobuf:"bytes,2,opt,name=defaultTTL"`

	// 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" protobuf:"bytes,3,opt,name=maxTTL"`

	// https://www.vaultproject.io/api/secret/databases/elasticdb.html#creation_statements
	// Specifies the database statements executed to create and configure a user.
	CreationStatements []string `json:"creationStatements" protobuf:"bytes,4,rep,name=creationStatements"`

	// https://www.vaultproject.io/api/secret/databases/elasticdb.html#revocation_statements
	// Specifies the database statements to be executed to revoke a user.
	RevocationStatements []string `json:"revocationStatements,omitempty" protobuf:"bytes,5,rep,name=revocationStatements"`
}

ElasticsearchRoleSpec contains connection information, Elasticsearch role info etc

func (*ElasticsearchRoleSpec) DeepCopy

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

func (*ElasticsearchRoleSpec) DeepCopyInto

func (in *ElasticsearchRoleSpec) DeepCopyInto(out *ElasticsearchRoleSpec)

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

func (*ElasticsearchRoleSpec) Descriptor

func (*ElasticsearchRoleSpec) Descriptor() ([]byte, []int)

func (*ElasticsearchRoleSpec) Marshal

func (m *ElasticsearchRoleSpec) Marshal() (dAtA []byte, err error)

func (*ElasticsearchRoleSpec) MarshalTo

func (m *ElasticsearchRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*ElasticsearchRoleSpec) MarshalToSizedBuffer

func (m *ElasticsearchRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ElasticsearchRoleSpec) ProtoMessage

func (*ElasticsearchRoleSpec) ProtoMessage()

func (*ElasticsearchRoleSpec) Reset

func (m *ElasticsearchRoleSpec) Reset()

func (*ElasticsearchRoleSpec) Size

func (m *ElasticsearchRoleSpec) Size() (n int)

func (*ElasticsearchRoleSpec) String

func (this *ElasticsearchRoleSpec) String() string

func (*ElasticsearchRoleSpec) Unmarshal

func (m *ElasticsearchRoleSpec) Unmarshal(dAtA []byte) error

func (*ElasticsearchRoleSpec) XXX_DiscardUnknown

func (m *ElasticsearchRoleSpec) XXX_DiscardUnknown()

func (*ElasticsearchRoleSpec) XXX_Marshal

func (m *ElasticsearchRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ElasticsearchRoleSpec) XXX_Merge

func (m *ElasticsearchRoleSpec) XXX_Merge(src proto.Message)

func (*ElasticsearchRoleSpec) XXX_Size

func (m *ElasticsearchRoleSpec) XXX_Size() int

func (*ElasticsearchRoleSpec) XXX_Unmarshal

func (m *ElasticsearchRoleSpec) XXX_Unmarshal(b []byte) error

type GCPAccessRequestConfiguration added in v0.5.0

type GCPAccessRequestConfiguration struct {
	// Specifies the algorithm used to generate key.
	// Defaults to 2k RSA key.
	// Accepted values: KEY_ALG_UNSPECIFIED, KEY_ALG_RSA_1024, KEY_ALG_RSA_2048
	// +optional
	KeyAlgorithm string `json:"keyAlgorithm,omitempty" protobuf:"bytes,1,opt,name=keyAlgorithm"`

	// Specifies the private key type to generate.
	// Defaults to JSON credentials file
	// Accepted values: TYPE_UNSPECIFIED, TYPE_PKCS12_FILE, TYPE_GOOGLE_CREDENTIALS_FILE
	// +optional
	KeyType string `json:"keyType,omitempty" protobuf:"bytes,2,opt,name=keyType"`
}

GCPAccessRequestConfiguration contains information to request for vault gcp credentials

func (*GCPAccessRequestConfiguration) DeepCopy added in v0.5.0

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

func (*GCPAccessRequestConfiguration) DeepCopyInto added in v0.5.0

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

func (*GCPAccessRequestConfiguration) Descriptor added in v0.5.0

func (*GCPAccessRequestConfiguration) Descriptor() ([]byte, []int)

func (*GCPAccessRequestConfiguration) Marshal added in v0.5.0

func (m *GCPAccessRequestConfiguration) Marshal() (dAtA []byte, err error)

func (*GCPAccessRequestConfiguration) MarshalTo added in v0.5.0

func (m *GCPAccessRequestConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*GCPAccessRequestConfiguration) MarshalToSizedBuffer added in v0.5.0

func (m *GCPAccessRequestConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCPAccessRequestConfiguration) ProtoMessage added in v0.5.0

func (*GCPAccessRequestConfiguration) ProtoMessage()

func (*GCPAccessRequestConfiguration) Reset added in v0.5.0

func (m *GCPAccessRequestConfiguration) Reset()

func (*GCPAccessRequestConfiguration) Size added in v0.5.0

func (m *GCPAccessRequestConfiguration) Size() (n int)

func (*GCPAccessRequestConfiguration) String added in v0.5.0

func (this *GCPAccessRequestConfiguration) String() string

func (*GCPAccessRequestConfiguration) Unmarshal added in v0.5.0

func (m *GCPAccessRequestConfiguration) Unmarshal(dAtA []byte) error

func (*GCPAccessRequestConfiguration) XXX_DiscardUnknown added in v0.5.0

func (m *GCPAccessRequestConfiguration) XXX_DiscardUnknown()

func (*GCPAccessRequestConfiguration) XXX_Marshal added in v0.5.0

func (m *GCPAccessRequestConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCPAccessRequestConfiguration) XXX_Merge added in v0.5.0

func (m *GCPAccessRequestConfiguration) XXX_Merge(src proto.Message)

func (*GCPAccessRequestConfiguration) XXX_Size added in v0.5.0

func (m *GCPAccessRequestConfiguration) XXX_Size() int

func (*GCPAccessRequestConfiguration) XXX_Unmarshal added in v0.5.0

func (m *GCPAccessRequestConfiguration) XXX_Unmarshal(b []byte) error

type GCPConfiguration

type GCPConfiguration struct {
	// Specifies the secret containing GCP credentials
	// secret.Data:
	//	- sa.json
	CredentialSecret string `json:"credentialSecret" protobuf:"bytes,1,opt,name=credentialSecret"`

	// Specifies default config TTL for long-lived credentials
	// (i.e. service account keys).
	// +optional
	TTL string `json:"ttl,omitempty" protobuf:"bytes,2,opt,name=ttl"`

	// Specifies the maximum config TTL for long-lived
	// credentials (i.e. service account keys).
	// +optional
	MaxTTL string `json:"maxTTL,omitempty" protobuf:"bytes,3,opt,name=maxTTL"`
}

https://www.vaultproject.io/api/secret/gcp/index.html#write-config GCPConfiguration contains information to communicate with GCP

func (*GCPConfiguration) DeepCopy

func (in *GCPConfiguration) DeepCopy() *GCPConfiguration

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

func (*GCPConfiguration) DeepCopyInto

func (in *GCPConfiguration) DeepCopyInto(out *GCPConfiguration)

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

func (*GCPConfiguration) Descriptor

func (*GCPConfiguration) Descriptor() ([]byte, []int)

func (*GCPConfiguration) Marshal

func (m *GCPConfiguration) Marshal() (dAtA []byte, err error)

func (*GCPConfiguration) MarshalTo

func (m *GCPConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*GCPConfiguration) MarshalToSizedBuffer

func (m *GCPConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCPConfiguration) ProtoMessage

func (*GCPConfiguration) ProtoMessage()

func (*GCPConfiguration) Reset

func (m *GCPConfiguration) Reset()

func (*GCPConfiguration) Size

func (m *GCPConfiguration) Size() (n int)

func (*GCPConfiguration) String

func (this *GCPConfiguration) String() string

func (*GCPConfiguration) Unmarshal

func (m *GCPConfiguration) Unmarshal(dAtA []byte) error

func (*GCPConfiguration) XXX_DiscardUnknown

func (m *GCPConfiguration) XXX_DiscardUnknown()

func (*GCPConfiguration) XXX_Marshal

func (m *GCPConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCPConfiguration) XXX_Merge

func (m *GCPConfiguration) XXX_Merge(src proto.Message)

func (*GCPConfiguration) XXX_Size

func (m *GCPConfiguration) XXX_Size() int

func (*GCPConfiguration) XXX_Unmarshal

func (m *GCPConfiguration) XXX_Unmarshal(b []byte) error

type GCPRole

type GCPRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              GCPRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus  `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=gcproles,singular=gcprole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (GCPRole) CustomResourceDefinition

func (_ GCPRole) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*GCPRole) DeepCopy

func (in *GCPRole) DeepCopy() *GCPRole

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

func (*GCPRole) DeepCopyInto

func (in *GCPRole) DeepCopyInto(out *GCPRole)

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

func (*GCPRole) DeepCopyObject

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

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

func (*GCPRole) Descriptor

func (*GCPRole) Descriptor() ([]byte, []int)

func (GCPRole) IsValid

func (r GCPRole) IsValid() error

func (*GCPRole) Marshal

func (m *GCPRole) Marshal() (dAtA []byte, err error)

func (*GCPRole) MarshalTo

func (m *GCPRole) MarshalTo(dAtA []byte) (int, error)

func (*GCPRole) MarshalToSizedBuffer

func (m *GCPRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCPRole) ProtoMessage

func (*GCPRole) ProtoMessage()

func (*GCPRole) Reset

func (m *GCPRole) Reset()

func (GCPRole) RoleName

func (r GCPRole) RoleName() string

func (*GCPRole) Size

func (m *GCPRole) Size() (n int)

func (*GCPRole) String

func (this *GCPRole) String() string

func (*GCPRole) Unmarshal

func (m *GCPRole) Unmarshal(dAtA []byte) error

func (*GCPRole) XXX_DiscardUnknown

func (m *GCPRole) XXX_DiscardUnknown()

func (*GCPRole) XXX_Marshal

func (m *GCPRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCPRole) XXX_Merge

func (m *GCPRole) XXX_Merge(src proto.Message)

func (*GCPRole) XXX_Size

func (m *GCPRole) XXX_Size() int

func (*GCPRole) XXX_Unmarshal

func (m *GCPRole) XXX_Unmarshal(b []byte) error

type GCPRoleList

type GCPRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of GCPRole objects
	Items []GCPRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*GCPRoleList) DeepCopy

func (in *GCPRoleList) DeepCopy() *GCPRoleList

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

func (*GCPRoleList) DeepCopyInto

func (in *GCPRoleList) DeepCopyInto(out *GCPRoleList)

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

func (*GCPRoleList) DeepCopyObject

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

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

func (*GCPRoleList) Descriptor

func (*GCPRoleList) Descriptor() ([]byte, []int)

func (*GCPRoleList) Marshal

func (m *GCPRoleList) Marshal() (dAtA []byte, err error)

func (*GCPRoleList) MarshalTo

func (m *GCPRoleList) MarshalTo(dAtA []byte) (int, error)

func (*GCPRoleList) MarshalToSizedBuffer

func (m *GCPRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCPRoleList) ProtoMessage

func (*GCPRoleList) ProtoMessage()

func (*GCPRoleList) Reset

func (m *GCPRoleList) Reset()

func (*GCPRoleList) Size

func (m *GCPRoleList) Size() (n int)

func (*GCPRoleList) String

func (this *GCPRoleList) String() string

func (*GCPRoleList) Unmarshal

func (m *GCPRoleList) Unmarshal(dAtA []byte) error

func (*GCPRoleList) XXX_DiscardUnknown

func (m *GCPRoleList) XXX_DiscardUnknown()

func (*GCPRoleList) XXX_Marshal

func (m *GCPRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCPRoleList) XXX_Merge

func (m *GCPRoleList) XXX_Merge(src proto.Message)

func (*GCPRoleList) XXX_Size

func (m *GCPRoleList) XXX_Size() int

func (*GCPRoleList) XXX_Unmarshal

func (m *GCPRoleList) XXX_Unmarshal(b []byte) error

type GCPRoleSpec

type GCPRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// Path defines the path of the Google Cloud secret engine
	// default: gcp
	// More info: https://www.vaultproject.io/docs/auth/gcp.html#via-the-cli-helper
	// +optional
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`

	// Specifies the type of secret generated for this role set
	SecretType GCPSecretType `json:"secretType" protobuf:"bytes,3,opt,name=secretType,casttype=GCPSecretType"`

	// Name of the GCP project that this roleset's service account will belong to.
	// Cannot be updated.
	Project string `json:"project" protobuf:"bytes,4,opt,name=project"`

	// Bindings configuration string (expects HCL or JSON format in raw
	// or base64-encoded string)
	Bindings string `json:"bindings" protobuf:"bytes,5,opt,name=bindings"`

	// List of OAuth scopes to assign to access_token secrets generated
	// under this role set (access_token role sets only)
	// +optional
	TokenScopes []string `json:"tokenScopes,omitempty" protobuf:"bytes,6,rep,name=tokenScopes"`
}

GCPRoleSpec contains connection information, GCP role info, etc More info: https://www.vaultproject.io/api/secret/gcp/index.html#parameters

func (*GCPRoleSpec) DeepCopy

func (in *GCPRoleSpec) DeepCopy() *GCPRoleSpec

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

func (*GCPRoleSpec) DeepCopyInto

func (in *GCPRoleSpec) DeepCopyInto(out *GCPRoleSpec)

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

func (*GCPRoleSpec) Descriptor

func (*GCPRoleSpec) Descriptor() ([]byte, []int)

func (*GCPRoleSpec) Marshal

func (m *GCPRoleSpec) Marshal() (dAtA []byte, err error)

func (*GCPRoleSpec) MarshalTo

func (m *GCPRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*GCPRoleSpec) MarshalToSizedBuffer

func (m *GCPRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCPRoleSpec) ProtoMessage

func (*GCPRoleSpec) ProtoMessage()

func (*GCPRoleSpec) Reset

func (m *GCPRoleSpec) Reset()

func (*GCPRoleSpec) Size

func (m *GCPRoleSpec) Size() (n int)

func (*GCPRoleSpec) String

func (this *GCPRoleSpec) String() string

func (*GCPRoleSpec) Unmarshal

func (m *GCPRoleSpec) Unmarshal(dAtA []byte) error

func (*GCPRoleSpec) XXX_DiscardUnknown

func (m *GCPRoleSpec) XXX_DiscardUnknown()

func (*GCPRoleSpec) XXX_Marshal

func (m *GCPRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCPRoleSpec) XXX_Merge

func (m *GCPRoleSpec) XXX_Merge(src proto.Message)

func (*GCPRoleSpec) XXX_Size

func (m *GCPRoleSpec) XXX_Size() int

func (*GCPRoleSpec) XXX_Unmarshal

func (m *GCPRoleSpec) XXX_Unmarshal(b []byte) error

type GCPSecretType

type GCPSecretType string

+kubebuilder:validation:Enum=access_token;service_account_key

const (
	GCPSecretAccessToken       GCPSecretType = "access_token"
	GCPSecretServiceAccountKey GCPSecretType = "service_account_key"
)

type KVConfiguration

type KVConfiguration struct {
	// The version of the KV engine to enable. Defaults to "1", can be either "1" or "2"
	Version int64 `json:"version,omitempty" protobuf:"bytes,1,name=version"`

	// The maximum number of versions to keep for any given key. Defaults to 0, which indicates that the Vault default (10) should be
	// used.
	MaxVersions int64 `json:"maxVersions,omitempty" protobuf:"varint,2,name=maxVersions"`

	// If true, then all operations on the KV store require the cas (Compare-and-Swap) parameter to be set.
	// https://www.vaultproject.io/api-docs/secret/kv/kv-v2#cas_required
	// https://www.vaultproject.io/docs/secrets/kv/kv-v2#usage
	CasRequired bool `json:"casRequired,omitempty" protobuf:"bool,3,name=casRequired"`

	// If set, keys will be automatically deleted after this length of time. Accepts a Go duration format
	// string.
	// https://golang.org/pkg/time/#ParseDuration
	DeleteVersionsAfter string `json:"deleteVersionsAfter,omitempty" protobuf:"bytes,4,name=deleteVersionsAfter"`
}

KVConfiguration defines a Key-Value engine configuration TODO: fill in doc links

func (*KVConfiguration) DeepCopy

func (in *KVConfiguration) DeepCopy() *KVConfiguration

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

func (*KVConfiguration) DeepCopyInto

func (in *KVConfiguration) DeepCopyInto(out *KVConfiguration)

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

func (*KVConfiguration) Descriptor

func (*KVConfiguration) Descriptor() ([]byte, []int)

func (*KVConfiguration) Marshal

func (m *KVConfiguration) Marshal() (dAtA []byte, err error)

func (*KVConfiguration) MarshalTo

func (m *KVConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*KVConfiguration) MarshalToSizedBuffer

func (m *KVConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KVConfiguration) ProtoMessage

func (*KVConfiguration) ProtoMessage()

func (*KVConfiguration) Reset

func (m *KVConfiguration) Reset()

func (*KVConfiguration) Size

func (m *KVConfiguration) Size() (n int)

func (*KVConfiguration) String

func (this *KVConfiguration) String() string

func (*KVConfiguration) Unmarshal

func (m *KVConfiguration) Unmarshal(dAtA []byte) error

func (*KVConfiguration) XXX_DiscardUnknown

func (m *KVConfiguration) XXX_DiscardUnknown()

func (*KVConfiguration) XXX_Marshal

func (m *KVConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVConfiguration) XXX_Merge

func (m *KVConfiguration) XXX_Merge(src proto.Message)

func (*KVConfiguration) XXX_Size

func (m *KVConfiguration) XXX_Size() int

func (*KVConfiguration) XXX_Unmarshal

func (m *KVConfiguration) XXX_Unmarshal(b []byte) error

type Lease

type Lease struct {
	// lease id
	ID string `json:"id,omitempty" protobuf:"bytes,1,opt,name=id"`

	// lease duration
	Duration metav1.Duration `json:"duration,omitempty" protobuf:"bytes,2,opt,name=duration"`

	// Specifies whether this lease is renewable
	Renewable bool `json:"renewable,omitempty" protobuf:"varint,3,opt,name=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.

func (*Lease) Descriptor

func (*Lease) Descriptor() ([]byte, []int)

func (*Lease) Marshal

func (m *Lease) Marshal() (dAtA []byte, err error)

func (*Lease) MarshalTo

func (m *Lease) MarshalTo(dAtA []byte) (int, error)

func (*Lease) MarshalToSizedBuffer

func (m *Lease) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Lease) ProtoMessage

func (*Lease) ProtoMessage()

func (*Lease) Reset

func (m *Lease) Reset()

func (*Lease) Size

func (m *Lease) Size() (n int)

func (*Lease) String

func (this *Lease) String() string

func (*Lease) Unmarshal

func (m *Lease) Unmarshal(dAtA []byte) error

func (*Lease) XXX_DiscardUnknown

func (m *Lease) XXX_DiscardUnknown()

func (*Lease) XXX_Marshal

func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Lease) XXX_Merge

func (m *Lease) XXX_Merge(src proto.Message)

func (*Lease) XXX_Size

func (m *Lease) XXX_Size() int

func (*Lease) XXX_Unmarshal

func (m *Lease) XXX_Unmarshal(b []byte) error

type LeaseConfig

type LeaseConfig struct {
	// Specifies the lease value provided as a string duration with time suffix.
	// "h" (hour) is the largest suffix.
	Lease string `json:"lease" protobuf:"bytes,1,opt,name=lease"`

	// Specifies the maximum lease value provided as a string duration with time suffix.
	// "h" (hour) is the largest suffix
	LeaseMax string `json:"leaseMax" protobuf:"bytes,2,opt,name=leaseMax"`
}

https://www.vaultproject.io/api/secret/aws/index.html#configure-lease LeaseConfig contains lease configuration

func (*LeaseConfig) DeepCopy

func (in *LeaseConfig) DeepCopy() *LeaseConfig

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

func (*LeaseConfig) DeepCopyInto

func (in *LeaseConfig) DeepCopyInto(out *LeaseConfig)

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

func (*LeaseConfig) Descriptor

func (*LeaseConfig) Descriptor() ([]byte, []int)

func (*LeaseConfig) Marshal

func (m *LeaseConfig) Marshal() (dAtA []byte, err error)

func (*LeaseConfig) MarshalTo

func (m *LeaseConfig) MarshalTo(dAtA []byte) (int, error)

func (*LeaseConfig) MarshalToSizedBuffer

func (m *LeaseConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LeaseConfig) ProtoMessage

func (*LeaseConfig) ProtoMessage()

func (*LeaseConfig) Reset

func (m *LeaseConfig) Reset()

func (*LeaseConfig) Size

func (m *LeaseConfig) Size() (n int)

func (*LeaseConfig) String

func (this *LeaseConfig) String() string

func (*LeaseConfig) Unmarshal

func (m *LeaseConfig) Unmarshal(dAtA []byte) error

func (*LeaseConfig) XXX_DiscardUnknown

func (m *LeaseConfig) XXX_DiscardUnknown()

func (*LeaseConfig) XXX_Marshal

func (m *LeaseConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LeaseConfig) XXX_Merge

func (m *LeaseConfig) XXX_Merge(src proto.Message)

func (*LeaseConfig) XXX_Size

func (m *LeaseConfig) XXX_Size() int

func (*LeaseConfig) XXX_Unmarshal

func (m *LeaseConfig) XXX_Unmarshal(b []byte) error

type MongoDBConfiguration

type MongoDBConfiguration struct {
	// Specifies the database appbinding reference
	DatabaseRef appcat.AppReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`

	// Specifies the name of the plugin to use for this connection.
	// Default plugin:
	//  - for mongodb: mongodb-database-plugin
	PluginName string `json:"pluginName,omitempty" protobuf:"bytes,2,opt,name=pluginName"`

	// List of the roles allowed to use this connection.
	// Defaults to empty (no roles), if contains a "*" any role can use this connection.
	AllowedRoles []string `json:"allowedRoles,omitempty" protobuf:"bytes,3,rep,name=allowedRoles"`

	// Specifies the MongoDB write concern. This is set for the entirety
	// of the session, maintained for the lifecycle of the plugin process.
	WriteConcern string `json:"writeConcern,omitempty" protobuf:"bytes,4,opt,name=writeConcern"`
}

MongoDBConfiguration defines a MongoDB app configuration. https://www.vaultproject.io/api/secret/databases/index.html https://www.vaultproject.io/api/secret/databases/mongodb.html#configure-connection

func (*MongoDBConfiguration) DeepCopy

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

func (*MongoDBConfiguration) DeepCopyInto

func (in *MongoDBConfiguration) DeepCopyInto(out *MongoDBConfiguration)

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

func (*MongoDBConfiguration) Descriptor

func (*MongoDBConfiguration) Descriptor() ([]byte, []int)

func (*MongoDBConfiguration) Marshal

func (m *MongoDBConfiguration) Marshal() (dAtA []byte, err error)

func (*MongoDBConfiguration) MarshalTo

func (m *MongoDBConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*MongoDBConfiguration) MarshalToSizedBuffer

func (m *MongoDBConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MongoDBConfiguration) ProtoMessage

func (*MongoDBConfiguration) ProtoMessage()

func (*MongoDBConfiguration) Reset

func (m *MongoDBConfiguration) Reset()

func (*MongoDBConfiguration) SetDefaults

func (m *MongoDBConfiguration) SetDefaults()

func (*MongoDBConfiguration) Size

func (m *MongoDBConfiguration) Size() (n int)

func (*MongoDBConfiguration) String

func (this *MongoDBConfiguration) String() string

func (*MongoDBConfiguration) Unmarshal

func (m *MongoDBConfiguration) Unmarshal(dAtA []byte) error

func (*MongoDBConfiguration) XXX_DiscardUnknown

func (m *MongoDBConfiguration) XXX_DiscardUnknown()

func (*MongoDBConfiguration) XXX_Marshal

func (m *MongoDBConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MongoDBConfiguration) XXX_Merge

func (m *MongoDBConfiguration) XXX_Merge(src proto.Message)

func (*MongoDBConfiguration) XXX_Size

func (m *MongoDBConfiguration) XXX_Size() int

func (*MongoDBConfiguration) XXX_Unmarshal

func (m *MongoDBConfiguration) XXX_Unmarshal(b []byte) error

type MongoDBRole

type MongoDBRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MongoDBRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus      `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mongodbroles,singular=mongodbrole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MongoDBRole) CustomResourceDefinition

func (_ 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) Descriptor

func (*MongoDBRole) Descriptor() ([]byte, []int)

func (MongoDBRole) IsValid

func (r MongoDBRole) IsValid() error

func (*MongoDBRole) Marshal

func (m *MongoDBRole) Marshal() (dAtA []byte, err error)

func (*MongoDBRole) MarshalTo

func (m *MongoDBRole) MarshalTo(dAtA []byte) (int, error)

func (*MongoDBRole) MarshalToSizedBuffer

func (m *MongoDBRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MongoDBRole) ProtoMessage

func (*MongoDBRole) ProtoMessage()

func (*MongoDBRole) Reset

func (m *MongoDBRole) Reset()

func (MongoDBRole) RoleName

func (r MongoDBRole) RoleName() string

func (*MongoDBRole) Size

func (m *MongoDBRole) Size() (n int)

func (*MongoDBRole) String

func (this *MongoDBRole) String() string

func (*MongoDBRole) Unmarshal

func (m *MongoDBRole) Unmarshal(dAtA []byte) error

func (*MongoDBRole) XXX_DiscardUnknown

func (m *MongoDBRole) XXX_DiscardUnknown()

func (*MongoDBRole) XXX_Marshal

func (m *MongoDBRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MongoDBRole) XXX_Merge

func (m *MongoDBRole) XXX_Merge(src proto.Message)

func (*MongoDBRole) XXX_Size

func (m *MongoDBRole) XXX_Size() int

func (*MongoDBRole) XXX_Unmarshal

func (m *MongoDBRole) XXX_Unmarshal(b []byte) error

type MongoDBRoleList

type MongoDBRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of MongoDBRole objects
	Items []MongoDBRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*MongoDBRoleList) Descriptor

func (*MongoDBRoleList) Descriptor() ([]byte, []int)

func (*MongoDBRoleList) Marshal

func (m *MongoDBRoleList) Marshal() (dAtA []byte, err error)

func (*MongoDBRoleList) MarshalTo

func (m *MongoDBRoleList) MarshalTo(dAtA []byte) (int, error)

func (*MongoDBRoleList) MarshalToSizedBuffer

func (m *MongoDBRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MongoDBRoleList) ProtoMessage

func (*MongoDBRoleList) ProtoMessage()

func (*MongoDBRoleList) Reset

func (m *MongoDBRoleList) Reset()

func (*MongoDBRoleList) Size

func (m *MongoDBRoleList) Size() (n int)

func (*MongoDBRoleList) String

func (this *MongoDBRoleList) String() string

func (*MongoDBRoleList) Unmarshal

func (m *MongoDBRoleList) Unmarshal(dAtA []byte) error

func (*MongoDBRoleList) XXX_DiscardUnknown

func (m *MongoDBRoleList) XXX_DiscardUnknown()

func (*MongoDBRoleList) XXX_Marshal

func (m *MongoDBRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MongoDBRoleList) XXX_Merge

func (m *MongoDBRoleList) XXX_Merge(src proto.Message)

func (*MongoDBRoleList) XXX_Size

func (m *MongoDBRoleList) XXX_Size() int

func (*MongoDBRoleList) XXX_Unmarshal

func (m *MongoDBRoleList) XXX_Unmarshal(b []byte) error

type MongoDBRoleSpec

type MongoDBRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// 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" protobuf:"bytes,2,opt,name=defaultTTL"`

	// 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" protobuf:"bytes,3,opt,name=maxTTL"`

	// 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" protobuf:"bytes,4,rep,name=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" protobuf:"bytes,5,rep,name=revocationStatements"`
}

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.

func (*MongoDBRoleSpec) Descriptor

func (*MongoDBRoleSpec) Descriptor() ([]byte, []int)

func (*MongoDBRoleSpec) Marshal

func (m *MongoDBRoleSpec) Marshal() (dAtA []byte, err error)

func (*MongoDBRoleSpec) MarshalTo

func (m *MongoDBRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*MongoDBRoleSpec) MarshalToSizedBuffer

func (m *MongoDBRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MongoDBRoleSpec) ProtoMessage

func (*MongoDBRoleSpec) ProtoMessage()

func (*MongoDBRoleSpec) Reset

func (m *MongoDBRoleSpec) Reset()

func (*MongoDBRoleSpec) Size

func (m *MongoDBRoleSpec) Size() (n int)

func (*MongoDBRoleSpec) String

func (this *MongoDBRoleSpec) String() string

func (*MongoDBRoleSpec) Unmarshal

func (m *MongoDBRoleSpec) Unmarshal(dAtA []byte) error

func (*MongoDBRoleSpec) XXX_DiscardUnknown

func (m *MongoDBRoleSpec) XXX_DiscardUnknown()

func (*MongoDBRoleSpec) XXX_Marshal

func (m *MongoDBRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MongoDBRoleSpec) XXX_Merge

func (m *MongoDBRoleSpec) XXX_Merge(src proto.Message)

func (*MongoDBRoleSpec) XXX_Size

func (m *MongoDBRoleSpec) XXX_Size() int

func (*MongoDBRoleSpec) XXX_Unmarshal

func (m *MongoDBRoleSpec) XXX_Unmarshal(b []byte) error

type MySQLConfiguration

type MySQLConfiguration struct {
	// DatabaseRef refers to a MySQL/MariaDB database AppBinding in any namespace
	DatabaseRef appcat.AppReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`

	// Specifies the name of the plugin to use for this connection.
	// Default plugin:
	//  - for mysql: mysql-database-plugin
	PluginName string `json:"pluginName,omitempty" protobuf:"bytes,2,opt,name=pluginName"`

	// List of the roles allowed to use this connection.
	// Defaults to empty (no roles), if contains a "*" any role can use this connection.
	AllowedRoles []string `json:"allowedRoles,omitempty" protobuf:"bytes,3,rep,name=allowedRoles"`

	// Specifies the maximum number of open connections to the database.
	MaxOpenConnections int64 `json:"maxOpenConnections,omitempty" protobuf:"varint,4,opt,name=maxOpenConnections"`

	// Specifies the maximum number of idle connections to the database.
	// A zero uses the value of max_open_connections and a negative value disables idle connections.
	// If larger than max_open_connections it will be reduced to be equal.
	MaxIdleConnections int64 `json:"maxIdleConnections,omitempty" protobuf:"varint,5,opt,name=maxIdleConnections"`

	// Specifies the maximum amount of time a connection may be reused.
	// If <= 0s connections are reused forever.
	MaxConnectionLifetime string `json:"maxConnectionLifetime,omitempty" protobuf:"bytes,6,opt,name=maxConnectionLifetime"`
}

MySQLConfiguration defines a MySQL app configuration. https://www.vaultproject.io/api/secret/databases/index.html https://www.vaultproject.io/api/secret/databases/mysql-maria.html#configure-connection

func (*MySQLConfiguration) DeepCopy

func (in *MySQLConfiguration) DeepCopy() *MySQLConfiguration

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

func (*MySQLConfiguration) DeepCopyInto

func (in *MySQLConfiguration) DeepCopyInto(out *MySQLConfiguration)

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

func (*MySQLConfiguration) Descriptor

func (*MySQLConfiguration) Descriptor() ([]byte, []int)

func (*MySQLConfiguration) Marshal

func (m *MySQLConfiguration) Marshal() (dAtA []byte, err error)

func (*MySQLConfiguration) MarshalTo

func (m *MySQLConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*MySQLConfiguration) MarshalToSizedBuffer

func (m *MySQLConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MySQLConfiguration) ProtoMessage

func (*MySQLConfiguration) ProtoMessage()

func (*MySQLConfiguration) Reset

func (m *MySQLConfiguration) Reset()

func (*MySQLConfiguration) SetDefaults

func (m *MySQLConfiguration) SetDefaults()

func (*MySQLConfiguration) Size

func (m *MySQLConfiguration) Size() (n int)

func (*MySQLConfiguration) String

func (this *MySQLConfiguration) String() string

func (*MySQLConfiguration) Unmarshal

func (m *MySQLConfiguration) Unmarshal(dAtA []byte) error

func (*MySQLConfiguration) XXX_DiscardUnknown

func (m *MySQLConfiguration) XXX_DiscardUnknown()

func (*MySQLConfiguration) XXX_Marshal

func (m *MySQLConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MySQLConfiguration) XXX_Merge

func (m *MySQLConfiguration) XXX_Merge(src proto.Message)

func (*MySQLConfiguration) XXX_Size

func (m *MySQLConfiguration) XXX_Size() int

func (*MySQLConfiguration) XXX_Unmarshal

func (m *MySQLConfiguration) XXX_Unmarshal(b []byte) error

type MySQLRole

type MySQLRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MySQLRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus    `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mysqlroles,singular=mysqlrole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MySQLRole) CustomResourceDefinition

func (_ 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) Descriptor

func (*MySQLRole) Descriptor() ([]byte, []int)

func (MySQLRole) IsValid

func (r MySQLRole) IsValid() error

func (*MySQLRole) Marshal

func (m *MySQLRole) Marshal() (dAtA []byte, err error)

func (*MySQLRole) MarshalTo

func (m *MySQLRole) MarshalTo(dAtA []byte) (int, error)

func (*MySQLRole) MarshalToSizedBuffer

func (m *MySQLRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MySQLRole) ProtoMessage

func (*MySQLRole) ProtoMessage()

func (*MySQLRole) Reset

func (m *MySQLRole) Reset()

func (MySQLRole) RoleName

func (r MySQLRole) RoleName() string

func (*MySQLRole) Size

func (m *MySQLRole) Size() (n int)

func (*MySQLRole) String

func (this *MySQLRole) String() string

func (*MySQLRole) Unmarshal

func (m *MySQLRole) Unmarshal(dAtA []byte) error

func (*MySQLRole) XXX_DiscardUnknown

func (m *MySQLRole) XXX_DiscardUnknown()

func (*MySQLRole) XXX_Marshal

func (m *MySQLRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MySQLRole) XXX_Merge

func (m *MySQLRole) XXX_Merge(src proto.Message)

func (*MySQLRole) XXX_Size

func (m *MySQLRole) XXX_Size() int

func (*MySQLRole) XXX_Unmarshal

func (m *MySQLRole) XXX_Unmarshal(b []byte) error

type MySQLRoleList

type MySQLRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of MySQLRole objects
	Items []MySQLRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*MySQLRoleList) Descriptor

func (*MySQLRoleList) Descriptor() ([]byte, []int)

func (*MySQLRoleList) Marshal

func (m *MySQLRoleList) Marshal() (dAtA []byte, err error)

func (*MySQLRoleList) MarshalTo

func (m *MySQLRoleList) MarshalTo(dAtA []byte) (int, error)

func (*MySQLRoleList) MarshalToSizedBuffer

func (m *MySQLRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MySQLRoleList) ProtoMessage

func (*MySQLRoleList) ProtoMessage()

func (*MySQLRoleList) Reset

func (m *MySQLRoleList) Reset()

func (*MySQLRoleList) Size

func (m *MySQLRoleList) Size() (n int)

func (*MySQLRoleList) String

func (this *MySQLRoleList) String() string

func (*MySQLRoleList) Unmarshal

func (m *MySQLRoleList) Unmarshal(dAtA []byte) error

func (*MySQLRoleList) XXX_DiscardUnknown

func (m *MySQLRoleList) XXX_DiscardUnknown()

func (*MySQLRoleList) XXX_Marshal

func (m *MySQLRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MySQLRoleList) XXX_Merge

func (m *MySQLRoleList) XXX_Merge(src proto.Message)

func (*MySQLRoleList) XXX_Size

func (m *MySQLRoleList) XXX_Size() int

func (*MySQLRoleList) XXX_Unmarshal

func (m *MySQLRoleList) XXX_Unmarshal(b []byte) error

type MySQLRoleSpec

type MySQLRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// 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" protobuf:"bytes,2,opt,name=defaultTTL"`

	// 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" protobuf:"bytes,3,opt,name=maxTTL"`

	// 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" protobuf:"bytes,4,rep,name=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" protobuf:"bytes,5,rep,name=revocationStatements"`
}

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.

func (*MySQLRoleSpec) Descriptor

func (*MySQLRoleSpec) Descriptor() ([]byte, []int)

func (*MySQLRoleSpec) Marshal

func (m *MySQLRoleSpec) Marshal() (dAtA []byte, err error)

func (*MySQLRoleSpec) MarshalTo

func (m *MySQLRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*MySQLRoleSpec) MarshalToSizedBuffer

func (m *MySQLRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MySQLRoleSpec) ProtoMessage

func (*MySQLRoleSpec) ProtoMessage()

func (*MySQLRoleSpec) Reset

func (m *MySQLRoleSpec) Reset()

func (*MySQLRoleSpec) Size

func (m *MySQLRoleSpec) Size() (n int)

func (*MySQLRoleSpec) String

func (this *MySQLRoleSpec) String() string

func (*MySQLRoleSpec) Unmarshal

func (m *MySQLRoleSpec) Unmarshal(dAtA []byte) error

func (*MySQLRoleSpec) XXX_DiscardUnknown

func (m *MySQLRoleSpec) XXX_DiscardUnknown()

func (*MySQLRoleSpec) XXX_Marshal

func (m *MySQLRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MySQLRoleSpec) XXX_Merge

func (m *MySQLRoleSpec) XXX_Merge(src proto.Message)

func (*MySQLRoleSpec) XXX_Size

func (m *MySQLRoleSpec) XXX_Size() int

func (*MySQLRoleSpec) XXX_Unmarshal

func (m *MySQLRoleSpec) XXX_Unmarshal(b []byte) error

type PostgresConfiguration

type PostgresConfiguration struct {
	// Specifies the Postgres database appbinding reference
	DatabaseRef appcat.AppReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`

	// Specifies the name of the plugin to use for this connection.
	// Default plugin:
	//	- for postgres: postgresql-database-plugin
	PluginName string `json:"pluginName,omitempty" protobuf:"bytes,2,opt,name=pluginName"`

	// List of the roles allowed to use this connection.
	// Defaults to empty (no roles), if contains a "*" any role can use this connection.
	AllowedRoles []string `json:"allowedRoles,omitempty" protobuf:"bytes,3,rep,name=allowedRoles"`

	// Specifies the maximum number of open connections to the database.
	MaxOpenConnections int64 `json:"maxOpenConnections,omitempty" protobuf:"varint,4,opt,name=maxOpenConnections"`

	// Specifies the maximum number of idle connections to the database.
	// A zero uses the value of max_open_connections and a negative value disables idle connections.
	// If larger than max_open_connections it will be reduced to be equal.
	MaxIdleConnections int64 `json:"maxIdleConnections,omitempty" protobuf:"varint,5,opt,name=maxIdleConnections"`

	// Specifies the maximum amount of time a connection may be reused.
	// If <= 0s connections are reused forever.
	MaxConnectionLifetime string `json:"maxConnectionLifetime,omitempty" protobuf:"bytes,6,opt,name=maxConnectionLifetime"`
}

PostgresConfiguration defines a PostgreSQL app configuration. https://www.vaultproject.io/api/secret/databases/index.html https://www.vaultproject.io/api/secret/databases/postgresql.html#configure-connection

func (*PostgresConfiguration) DeepCopy

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

func (*PostgresConfiguration) DeepCopyInto

func (in *PostgresConfiguration) DeepCopyInto(out *PostgresConfiguration)

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

func (*PostgresConfiguration) Descriptor

func (*PostgresConfiguration) Descriptor() ([]byte, []int)

func (*PostgresConfiguration) Marshal

func (m *PostgresConfiguration) Marshal() (dAtA []byte, err error)

func (*PostgresConfiguration) MarshalTo

func (m *PostgresConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*PostgresConfiguration) MarshalToSizedBuffer

func (m *PostgresConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PostgresConfiguration) ProtoMessage

func (*PostgresConfiguration) ProtoMessage()

func (*PostgresConfiguration) Reset

func (m *PostgresConfiguration) Reset()

func (*PostgresConfiguration) SetDefaults

func (p *PostgresConfiguration) SetDefaults()

func (*PostgresConfiguration) Size

func (m *PostgresConfiguration) Size() (n int)

func (*PostgresConfiguration) String

func (this *PostgresConfiguration) String() string

func (*PostgresConfiguration) Unmarshal

func (m *PostgresConfiguration) Unmarshal(dAtA []byte) error

func (*PostgresConfiguration) XXX_DiscardUnknown

func (m *PostgresConfiguration) XXX_DiscardUnknown()

func (*PostgresConfiguration) XXX_Marshal

func (m *PostgresConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostgresConfiguration) XXX_Merge

func (m *PostgresConfiguration) XXX_Merge(src proto.Message)

func (*PostgresConfiguration) XXX_Size

func (m *PostgresConfiguration) XXX_Size() int

func (*PostgresConfiguration) XXX_Unmarshal

func (m *PostgresConfiguration) XXX_Unmarshal(b []byte) error

type PostgresRole

type PostgresRole struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              PostgresRoleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RoleStatus       `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=postgresroles,singular=postgresrole,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PostgresRole) CustomResourceDefinition

func (_ 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) Descriptor

func (*PostgresRole) Descriptor() ([]byte, []int)

func (PostgresRole) IsValid

func (r PostgresRole) IsValid() error

func (*PostgresRole) Marshal

func (m *PostgresRole) Marshal() (dAtA []byte, err error)

func (*PostgresRole) MarshalTo

func (m *PostgresRole) MarshalTo(dAtA []byte) (int, error)

func (*PostgresRole) MarshalToSizedBuffer

func (m *PostgresRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PostgresRole) ProtoMessage

func (*PostgresRole) ProtoMessage()

func (*PostgresRole) Reset

func (m *PostgresRole) Reset()

func (PostgresRole) RoleName

func (r PostgresRole) RoleName() string

func (*PostgresRole) Size

func (m *PostgresRole) Size() (n int)

func (*PostgresRole) String

func (this *PostgresRole) String() string

func (*PostgresRole) Unmarshal

func (m *PostgresRole) Unmarshal(dAtA []byte) error

func (*PostgresRole) XXX_DiscardUnknown

func (m *PostgresRole) XXX_DiscardUnknown()

func (*PostgresRole) XXX_Marshal

func (m *PostgresRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostgresRole) XXX_Merge

func (m *PostgresRole) XXX_Merge(src proto.Message)

func (*PostgresRole) XXX_Size

func (m *PostgresRole) XXX_Size() int

func (*PostgresRole) XXX_Unmarshal

func (m *PostgresRole) XXX_Unmarshal(b []byte) error

type PostgresRoleList

type PostgresRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of PostgresRole objects
	Items []PostgresRole `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*PostgresRoleList) Descriptor

func (*PostgresRoleList) Descriptor() ([]byte, []int)

func (*PostgresRoleList) Marshal

func (m *PostgresRoleList) Marshal() (dAtA []byte, err error)

func (*PostgresRoleList) MarshalTo

func (m *PostgresRoleList) MarshalTo(dAtA []byte) (int, error)

func (*PostgresRoleList) MarshalToSizedBuffer

func (m *PostgresRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PostgresRoleList) ProtoMessage

func (*PostgresRoleList) ProtoMessage()

func (*PostgresRoleList) Reset

func (m *PostgresRoleList) Reset()

func (*PostgresRoleList) Size

func (m *PostgresRoleList) Size() (n int)

func (*PostgresRoleList) String

func (this *PostgresRoleList) String() string

func (*PostgresRoleList) Unmarshal

func (m *PostgresRoleList) Unmarshal(dAtA []byte) error

func (*PostgresRoleList) XXX_DiscardUnknown

func (m *PostgresRoleList) XXX_DiscardUnknown()

func (*PostgresRoleList) XXX_Marshal

func (m *PostgresRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostgresRoleList) XXX_Merge

func (m *PostgresRoleList) XXX_Merge(src proto.Message)

func (*PostgresRoleList) XXX_Size

func (m *PostgresRoleList) XXX_Size() int

func (*PostgresRoleList) XXX_Unmarshal

func (m *PostgresRoleList) XXX_Unmarshal(b []byte) error

type PostgresRoleSpec

type PostgresRoleSpec struct {
	// SecretEngineRef is the name of a Secret Engine
	SecretEngineRef core.LocalObjectReference `json:"secretEngineRef" protobuf:"bytes,1,opt,name=secretEngineRef"`

	// 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" protobuf:"bytes,2,opt,name=defaultTTL"`

	// 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" protobuf:"bytes,3,opt,name=maxTTL"`

	// 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" protobuf:"bytes,4,rep,name=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" protobuf:"bytes,5,rep,name=revocationStatements"`

	// 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" protobuf:"bytes,6,rep,name=rollbackStatements"`

	// 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" protobuf:"bytes,7,rep,name=renewStatements"`
}

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.

func (*PostgresRoleSpec) Descriptor

func (*PostgresRoleSpec) Descriptor() ([]byte, []int)

func (*PostgresRoleSpec) Marshal

func (m *PostgresRoleSpec) Marshal() (dAtA []byte, err error)

func (*PostgresRoleSpec) MarshalTo

func (m *PostgresRoleSpec) MarshalTo(dAtA []byte) (int, error)

func (*PostgresRoleSpec) MarshalToSizedBuffer

func (m *PostgresRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PostgresRoleSpec) ProtoMessage

func (*PostgresRoleSpec) ProtoMessage()

func (*PostgresRoleSpec) Reset

func (m *PostgresRoleSpec) Reset()

func (*PostgresRoleSpec) Size

func (m *PostgresRoleSpec) Size() (n int)

func (*PostgresRoleSpec) String

func (this *PostgresRoleSpec) String() string

func (*PostgresRoleSpec) Unmarshal

func (m *PostgresRoleSpec) Unmarshal(dAtA []byte) error

func (*PostgresRoleSpec) XXX_DiscardUnknown

func (m *PostgresRoleSpec) XXX_DiscardUnknown()

func (*PostgresRoleSpec) XXX_Marshal

func (m *PostgresRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostgresRoleSpec) XXX_Merge

func (m *PostgresRoleSpec) XXX_Merge(src proto.Message)

func (*PostgresRoleSpec) XXX_Size

func (m *PostgresRoleSpec) XXX_Size() int

func (*PostgresRoleSpec) XXX_Unmarshal

func (m *PostgresRoleSpec) XXX_Unmarshal(b []byte) error

type RequestStatusPhase

type RequestStatusPhase string

Specifies the access key request phase

const (
	SecretRoleBindingPhaseSuccess    RequestStatusPhase = "Success"
	SecretRoleBindingPhaseProcessing RequestStatusPhase = "Processing"
	SecretRoleBindingPhaseFailed     RequestStatusPhase = "Failed"
)
var (
	RequestStatusPhaseWaitingForApproval RequestStatusPhase = "WaitingForApproval"
	RequestStatusPhaseApproved           RequestStatusPhase = "Approved"
	RequestStatusPhaseDenied             RequestStatusPhase = "Denied"
)

type RolePhase added in v0.5.0

type RolePhase string
const (
	// RolePhase constants
	RolePhaseSuccess    RolePhase = "Success"
	RolePhaseProcessing RolePhase = "Processing"
)

type RoleStatus added in v0.5.0

type RoleStatus struct {
	Phase RolePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=RolePhase"`

	// 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 int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`

	// Represents the latest available observations of a MySQLRole current state.
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`

	PolicyRef *kmapi.ObjectReference `json:"policyRef,omitempty" protobuf:"bytes,4,opt,name=policyRef"`
}

func (*RoleStatus) DeepCopy added in v0.5.0

func (in *RoleStatus) DeepCopy() *RoleStatus

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

func (*RoleStatus) DeepCopyInto added in v0.5.0

func (in *RoleStatus) DeepCopyInto(out *RoleStatus)

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

func (*RoleStatus) Descriptor added in v0.5.0

func (*RoleStatus) Descriptor() ([]byte, []int)

func (*RoleStatus) Marshal added in v0.5.0

func (m *RoleStatus) Marshal() (dAtA []byte, err error)

func (*RoleStatus) MarshalTo added in v0.5.0

func (m *RoleStatus) MarshalTo(dAtA []byte) (int, error)

func (*RoleStatus) MarshalToSizedBuffer added in v0.5.0

func (m *RoleStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleStatus) ProtoMessage added in v0.5.0

func (*RoleStatus) ProtoMessage()

func (*RoleStatus) Reset added in v0.5.0

func (m *RoleStatus) Reset()

func (*RoleStatus) Size added in v0.5.0

func (m *RoleStatus) Size() (n int)

func (*RoleStatus) String added in v0.5.0

func (this *RoleStatus) String() string

func (*RoleStatus) Unmarshal added in v0.5.0

func (m *RoleStatus) Unmarshal(dAtA []byte) error

func (*RoleStatus) XXX_DiscardUnknown added in v0.5.0

func (m *RoleStatus) XXX_DiscardUnknown()

func (*RoleStatus) XXX_Marshal added in v0.5.0

func (m *RoleStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleStatus) XXX_Merge added in v0.5.0

func (m *RoleStatus) XXX_Merge(src proto.Message)

func (*RoleStatus) XXX_Size added in v0.5.0

func (m *RoleStatus) XXX_Size() int

func (*RoleStatus) XXX_Unmarshal added in v0.5.0

func (m *RoleStatus) XXX_Unmarshal(b []byte) error

type SecretAccessRequest added in v0.5.0

type SecretAccessRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              SecretAccessRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            SecretAccessRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=secretaccessrequests,singular=secretaccessrequest,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (SecretAccessRequest) CustomResourceDefinition added in v0.5.0

func (_ SecretAccessRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*SecretAccessRequest) DeepCopy added in v0.5.0

func (in *SecretAccessRequest) DeepCopy() *SecretAccessRequest

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

func (*SecretAccessRequest) DeepCopyInto added in v0.5.0

func (in *SecretAccessRequest) DeepCopyInto(out *SecretAccessRequest)

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

func (*SecretAccessRequest) DeepCopyObject added in v0.5.0

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

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

func (*SecretAccessRequest) Descriptor added in v0.5.0

func (*SecretAccessRequest) Descriptor() ([]byte, []int)

func (SecretAccessRequest) IsValid added in v0.5.0

func (d SecretAccessRequest) IsValid() error

func (*SecretAccessRequest) Marshal added in v0.5.0

func (m *SecretAccessRequest) Marshal() (dAtA []byte, err error)

func (*SecretAccessRequest) MarshalTo added in v0.5.0

func (m *SecretAccessRequest) MarshalTo(dAtA []byte) (int, error)

func (*SecretAccessRequest) MarshalToSizedBuffer added in v0.5.0

func (m *SecretAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretAccessRequest) ProtoMessage added in v0.5.0

func (*SecretAccessRequest) ProtoMessage()

func (*SecretAccessRequest) Reset added in v0.5.0

func (m *SecretAccessRequest) Reset()

func (*SecretAccessRequest) Size added in v0.5.0

func (m *SecretAccessRequest) Size() (n int)

func (*SecretAccessRequest) String added in v0.5.0

func (this *SecretAccessRequest) String() string

func (*SecretAccessRequest) Unmarshal added in v0.5.0

func (m *SecretAccessRequest) Unmarshal(dAtA []byte) error

func (*SecretAccessRequest) XXX_DiscardUnknown added in v0.5.0

func (m *SecretAccessRequest) XXX_DiscardUnknown()

func (*SecretAccessRequest) XXX_Marshal added in v0.5.0

func (m *SecretAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretAccessRequest) XXX_Merge added in v0.5.0

func (m *SecretAccessRequest) XXX_Merge(src proto.Message)

func (*SecretAccessRequest) XXX_Size added in v0.5.0

func (m *SecretAccessRequest) XXX_Size() int

func (*SecretAccessRequest) XXX_Unmarshal added in v0.5.0

func (m *SecretAccessRequest) XXX_Unmarshal(b []byte) error

type SecretAccessRequestConfiguration added in v0.5.0

type SecretAccessRequestConfiguration struct {
	// +optional
	AWS *AWSAccessRequestConfiguration `json:"aws,omitempty" protobuf:"bytes,1,opt,name=aws"`
	GCP *GCPAccessRequestConfiguration `json:"gcp,omitempty" protobuf:"bytes,2,opt,name=gcp"`
}

SecretAccessRequestConfiguration contains information to request for database credential

func (*SecretAccessRequestConfiguration) DeepCopy added in v0.5.0

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

func (*SecretAccessRequestConfiguration) DeepCopyInto added in v0.5.0

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

func (*SecretAccessRequestConfiguration) Descriptor added in v0.5.0

func (*SecretAccessRequestConfiguration) Descriptor() ([]byte, []int)

func (*SecretAccessRequestConfiguration) Marshal added in v0.5.0

func (m *SecretAccessRequestConfiguration) Marshal() (dAtA []byte, err error)

func (*SecretAccessRequestConfiguration) MarshalTo added in v0.5.0

func (m *SecretAccessRequestConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*SecretAccessRequestConfiguration) MarshalToSizedBuffer added in v0.5.0

func (m *SecretAccessRequestConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretAccessRequestConfiguration) ProtoMessage added in v0.5.0

func (*SecretAccessRequestConfiguration) ProtoMessage()

func (*SecretAccessRequestConfiguration) Reset added in v0.5.0

func (*SecretAccessRequestConfiguration) Size added in v0.5.0

func (m *SecretAccessRequestConfiguration) Size() (n int)

func (*SecretAccessRequestConfiguration) String added in v0.5.0

func (*SecretAccessRequestConfiguration) Unmarshal added in v0.5.0

func (m *SecretAccessRequestConfiguration) Unmarshal(dAtA []byte) error

func (*SecretAccessRequestConfiguration) XXX_DiscardUnknown added in v0.5.0

func (m *SecretAccessRequestConfiguration) XXX_DiscardUnknown()

func (*SecretAccessRequestConfiguration) XXX_Marshal added in v0.5.0

func (m *SecretAccessRequestConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretAccessRequestConfiguration) XXX_Merge added in v0.5.0

func (*SecretAccessRequestConfiguration) XXX_Size added in v0.5.0

func (m *SecretAccessRequestConfiguration) XXX_Size() int

func (*SecretAccessRequestConfiguration) XXX_Unmarshal added in v0.5.0

func (m *SecretAccessRequestConfiguration) XXX_Unmarshal(b []byte) error

type SecretAccessRequestList added in v0.5.0

type SecretAccessRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of SecretAccessRequest objects
	Items []SecretAccessRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*SecretAccessRequestList) DeepCopy added in v0.5.0

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

func (*SecretAccessRequestList) DeepCopyInto added in v0.5.0

func (in *SecretAccessRequestList) DeepCopyInto(out *SecretAccessRequestList)

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

func (*SecretAccessRequestList) DeepCopyObject added in v0.5.0

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

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

func (*SecretAccessRequestList) Descriptor added in v0.5.0

func (*SecretAccessRequestList) Descriptor() ([]byte, []int)

func (*SecretAccessRequestList) Marshal added in v0.5.0

func (m *SecretAccessRequestList) Marshal() (dAtA []byte, err error)

func (*SecretAccessRequestList) MarshalTo added in v0.5.0

func (m *SecretAccessRequestList) MarshalTo(dAtA []byte) (int, error)

func (*SecretAccessRequestList) MarshalToSizedBuffer added in v0.5.0

func (m *SecretAccessRequestList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretAccessRequestList) ProtoMessage added in v0.5.0

func (*SecretAccessRequestList) ProtoMessage()

func (*SecretAccessRequestList) Reset added in v0.5.0

func (m *SecretAccessRequestList) Reset()

func (*SecretAccessRequestList) Size added in v0.5.0

func (m *SecretAccessRequestList) Size() (n int)

func (*SecretAccessRequestList) String added in v0.5.0

func (this *SecretAccessRequestList) String() string

func (*SecretAccessRequestList) Unmarshal added in v0.5.0

func (m *SecretAccessRequestList) Unmarshal(dAtA []byte) error

func (*SecretAccessRequestList) XXX_DiscardUnknown added in v0.5.0

func (m *SecretAccessRequestList) XXX_DiscardUnknown()

func (*SecretAccessRequestList) XXX_Marshal added in v0.5.0

func (m *SecretAccessRequestList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretAccessRequestList) XXX_Merge added in v0.5.0

func (m *SecretAccessRequestList) XXX_Merge(src proto.Message)

func (*SecretAccessRequestList) XXX_Size added in v0.5.0

func (m *SecretAccessRequestList) XXX_Size() int

func (*SecretAccessRequestList) XXX_Unmarshal added in v0.5.0

func (m *SecretAccessRequestList) XXX_Unmarshal(b []byte) error

type SecretAccessRequestSpec added in v0.5.0

type SecretAccessRequestSpec struct {
	// Contains vault database role info
	RoleRef core.TypedLocalObjectReference `json:"roleRef" protobuf:"bytes,1,opt,name=roleRef"`

	Subjects []rbac.Subject `json:"subjects" protobuf:"bytes,2,rep,name=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" protobuf:"bytes,3,opt,name=ttl"`

	SecretAccessRequestConfiguration `json:",inline" protobuf:"bytes,4,opt,name=secretAccessRequestConfiguration"`
}

SecretAccessRequestSpec contains information to request for database credential

func (*SecretAccessRequestSpec) DeepCopy added in v0.5.0

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

func (*SecretAccessRequestSpec) DeepCopyInto added in v0.5.0

func (in *SecretAccessRequestSpec) DeepCopyInto(out *SecretAccessRequestSpec)

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

func (*SecretAccessRequestSpec) Descriptor added in v0.5.0

func (*SecretAccessRequestSpec) Descriptor() ([]byte, []int)

func (*SecretAccessRequestSpec) Marshal added in v0.5.0

func (m *SecretAccessRequestSpec) Marshal() (dAtA []byte, err error)

func (*SecretAccessRequestSpec) MarshalTo added in v0.5.0

func (m *SecretAccessRequestSpec) MarshalTo(dAtA []byte) (int, error)

func (*SecretAccessRequestSpec) MarshalToSizedBuffer added in v0.5.0

func (m *SecretAccessRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretAccessRequestSpec) ProtoMessage added in v0.5.0

func (*SecretAccessRequestSpec) ProtoMessage()

func (*SecretAccessRequestSpec) Reset added in v0.5.0

func (m *SecretAccessRequestSpec) Reset()

func (*SecretAccessRequestSpec) Size added in v0.5.0

func (m *SecretAccessRequestSpec) Size() (n int)

func (*SecretAccessRequestSpec) String added in v0.5.0

func (this *SecretAccessRequestSpec) String() string

func (*SecretAccessRequestSpec) Unmarshal added in v0.5.0

func (m *SecretAccessRequestSpec) Unmarshal(dAtA []byte) error

func (*SecretAccessRequestSpec) XXX_DiscardUnknown added in v0.5.0

func (m *SecretAccessRequestSpec) XXX_DiscardUnknown()

func (*SecretAccessRequestSpec) XXX_Marshal added in v0.5.0

func (m *SecretAccessRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretAccessRequestSpec) XXX_Merge added in v0.5.0

func (m *SecretAccessRequestSpec) XXX_Merge(src proto.Message)

func (*SecretAccessRequestSpec) XXX_Size added in v0.5.0

func (m *SecretAccessRequestSpec) XXX_Size() int

func (*SecretAccessRequestSpec) XXX_Unmarshal added in v0.5.0

func (m *SecretAccessRequestSpec) XXX_Unmarshal(b []byte) error

type SecretAccessRequestStatus added in v0.5.0

type SecretAccessRequestStatus struct {
	// Specifies the phase of SecretAccessRequest object
	Phase RequestStatusPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=RequestStatusPhase"`

	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,2,rep,name=conditions"`

	// Contains lease info
	Lease *Lease `json:"lease,omitempty" protobuf:"bytes,3,opt,name=lease"`

	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"`

	// Name of the secret containing secret engine role credentials
	Secret *kmapi.ObjectReference `json:"secret,omitempty" protobuf:"bytes,5,opt,name=secret"`
}

func (*SecretAccessRequestStatus) DeepCopy added in v0.5.0

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

func (*SecretAccessRequestStatus) DeepCopyInto added in v0.5.0

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

func (*SecretAccessRequestStatus) Descriptor added in v0.5.0

func (*SecretAccessRequestStatus) Descriptor() ([]byte, []int)

func (*SecretAccessRequestStatus) Marshal added in v0.5.0

func (m *SecretAccessRequestStatus) Marshal() (dAtA []byte, err error)

func (*SecretAccessRequestStatus) MarshalTo added in v0.5.0

func (m *SecretAccessRequestStatus) MarshalTo(dAtA []byte) (int, error)

func (*SecretAccessRequestStatus) MarshalToSizedBuffer added in v0.5.0

func (m *SecretAccessRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretAccessRequestStatus) ProtoMessage added in v0.5.0

func (*SecretAccessRequestStatus) ProtoMessage()

func (*SecretAccessRequestStatus) Reset added in v0.5.0

func (m *SecretAccessRequestStatus) Reset()

func (*SecretAccessRequestStatus) Size added in v0.5.0

func (m *SecretAccessRequestStatus) Size() (n int)

func (*SecretAccessRequestStatus) String added in v0.5.0

func (this *SecretAccessRequestStatus) String() string

func (*SecretAccessRequestStatus) Unmarshal added in v0.5.0

func (m *SecretAccessRequestStatus) Unmarshal(dAtA []byte) error

func (*SecretAccessRequestStatus) XXX_DiscardUnknown added in v0.5.0

func (m *SecretAccessRequestStatus) XXX_DiscardUnknown()

func (*SecretAccessRequestStatus) XXX_Marshal added in v0.5.0

func (m *SecretAccessRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretAccessRequestStatus) XXX_Merge added in v0.5.0

func (m *SecretAccessRequestStatus) XXX_Merge(src proto.Message)

func (*SecretAccessRequestStatus) XXX_Size added in v0.5.0

func (m *SecretAccessRequestStatus) XXX_Size() int

func (*SecretAccessRequestStatus) XXX_Unmarshal added in v0.5.0

func (m *SecretAccessRequestStatus) XXX_Unmarshal(b []byte) error

type SecretEngine

type SecretEngine struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              SecretEngineSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            SecretEngineStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=secretengines,singular=secretengine,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (SecretEngine) CustomResourceDefinition

func (_ SecretEngine) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*SecretEngine) DeepCopy

func (in *SecretEngine) DeepCopy() *SecretEngine

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

func (*SecretEngine) DeepCopyInto

func (in *SecretEngine) DeepCopyInto(out *SecretEngine)

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

func (*SecretEngine) DeepCopyObject

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

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

func (*SecretEngine) Descriptor

func (*SecretEngine) Descriptor() ([]byte, []int)

func (SecretEngine) GetPolicyName

func (e SecretEngine) GetPolicyName() string

Generates the policy name which contains required permission for this secret engine

func (SecretEngine) GetSecretEnginePath added in v0.5.0

func (se SecretEngine) GetSecretEnginePath() string

func (SecretEngine) GetSecretEngineType added in v0.5.0

func (se SecretEngine) GetSecretEngineType() api.SecretEngineType

func (SecretEngine) IsValid

func (e SecretEngine) IsValid() error

func (*SecretEngine) Marshal

func (m *SecretEngine) Marshal() (dAtA []byte, err error)

func (*SecretEngine) MarshalTo

func (m *SecretEngine) MarshalTo(dAtA []byte) (int, error)

func (*SecretEngine) MarshalToSizedBuffer

func (m *SecretEngine) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretEngine) ProtoMessage

func (*SecretEngine) ProtoMessage()

func (*SecretEngine) Reset

func (m *SecretEngine) Reset()

func (*SecretEngine) Size

func (m *SecretEngine) Size() (n int)

func (*SecretEngine) String

func (this *SecretEngine) String() string

func (*SecretEngine) Unmarshal

func (m *SecretEngine) Unmarshal(dAtA []byte) error

func (*SecretEngine) XXX_DiscardUnknown

func (m *SecretEngine) XXX_DiscardUnknown()

func (*SecretEngine) XXX_Marshal

func (m *SecretEngine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretEngine) XXX_Merge

func (m *SecretEngine) XXX_Merge(src proto.Message)

func (*SecretEngine) XXX_Size

func (m *SecretEngine) XXX_Size() int

func (*SecretEngine) XXX_Unmarshal

func (m *SecretEngine) XXX_Unmarshal(b []byte) error

type SecretEngineConfiguration

type SecretEngineConfiguration struct {
	AWS           *AWSConfiguration           `json:"aws,omitempty" protobuf:"bytes,1,opt,name=aws"`
	Azure         *AzureConfiguration         `json:"azure,omitempty" protobuf:"bytes,2,opt,name=azure"`
	GCP           *GCPConfiguration           `json:"gcp,omitempty" protobuf:"bytes,3,opt,name=gcp"`
	Postgres      *PostgresConfiguration      `json:"postgres,omitempty" protobuf:"bytes,4,opt,name=postgres"`
	MongoDB       *MongoDBConfiguration       `json:"mongodb,omitempty" protobuf:"bytes,5,opt,name=mongodb"`
	MySQL         *MySQLConfiguration         `json:"mysql,omitempty" protobuf:"bytes,6,opt,name=mysql"`
	KV            *KVConfiguration            `json:"kv,omitempty" protobuf:"bytes,7,opt,name=kv"`
	Elasticsearch *ElasticsearchConfiguration `json:"elasticsearch,omitempty" protobuf:"bytes,8,opt,name=elasticsearch"`
}

func (*SecretEngineConfiguration) DeepCopy

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

func (*SecretEngineConfiguration) DeepCopyInto

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

func (*SecretEngineConfiguration) Descriptor

func (*SecretEngineConfiguration) Descriptor() ([]byte, []int)

func (*SecretEngineConfiguration) Marshal

func (m *SecretEngineConfiguration) Marshal() (dAtA []byte, err error)

func (*SecretEngineConfiguration) MarshalTo

func (m *SecretEngineConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*SecretEngineConfiguration) MarshalToSizedBuffer

func (m *SecretEngineConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretEngineConfiguration) ProtoMessage

func (*SecretEngineConfiguration) ProtoMessage()

func (*SecretEngineConfiguration) Reset

func (m *SecretEngineConfiguration) Reset()

func (*SecretEngineConfiguration) Size

func (m *SecretEngineConfiguration) Size() (n int)

func (*SecretEngineConfiguration) String

func (this *SecretEngineConfiguration) String() string

func (*SecretEngineConfiguration) Unmarshal

func (m *SecretEngineConfiguration) Unmarshal(dAtA []byte) error

func (*SecretEngineConfiguration) XXX_DiscardUnknown

func (m *SecretEngineConfiguration) XXX_DiscardUnknown()

func (*SecretEngineConfiguration) XXX_Marshal

func (m *SecretEngineConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretEngineConfiguration) XXX_Merge

func (m *SecretEngineConfiguration) XXX_Merge(src proto.Message)

func (*SecretEngineConfiguration) XXX_Size

func (m *SecretEngineConfiguration) XXX_Size() int

func (*SecretEngineConfiguration) XXX_Unmarshal

func (m *SecretEngineConfiguration) XXX_Unmarshal(b []byte) error

type SecretEngineList

type SecretEngineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []SecretEngine `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*SecretEngineList) DeepCopy

func (in *SecretEngineList) DeepCopy() *SecretEngineList

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

func (*SecretEngineList) DeepCopyInto

func (in *SecretEngineList) DeepCopyInto(out *SecretEngineList)

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

func (*SecretEngineList) DeepCopyObject

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

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

func (*SecretEngineList) Descriptor

func (*SecretEngineList) Descriptor() ([]byte, []int)

func (*SecretEngineList) Marshal

func (m *SecretEngineList) Marshal() (dAtA []byte, err error)

func (*SecretEngineList) MarshalTo

func (m *SecretEngineList) MarshalTo(dAtA []byte) (int, error)

func (*SecretEngineList) MarshalToSizedBuffer

func (m *SecretEngineList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretEngineList) ProtoMessage

func (*SecretEngineList) ProtoMessage()

func (*SecretEngineList) Reset

func (m *SecretEngineList) Reset()

func (*SecretEngineList) Size

func (m *SecretEngineList) Size() (n int)

func (*SecretEngineList) String

func (this *SecretEngineList) String() string

func (*SecretEngineList) Unmarshal

func (m *SecretEngineList) Unmarshal(dAtA []byte) error

func (*SecretEngineList) XXX_DiscardUnknown

func (m *SecretEngineList) XXX_DiscardUnknown()

func (*SecretEngineList) XXX_Marshal

func (m *SecretEngineList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretEngineList) XXX_Merge

func (m *SecretEngineList) XXX_Merge(src proto.Message)

func (*SecretEngineList) XXX_Size

func (m *SecretEngineList) XXX_Size() int

func (*SecretEngineList) XXX_Unmarshal

func (m *SecretEngineList) XXX_Unmarshal(b []byte) error

type SecretEnginePhase

type SecretEnginePhase string

type SecretEngineSpec

type SecretEngineSpec struct {
	VaultRef kmapi.ObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

	SecretEngineConfiguration `json:",inline" protobuf:"bytes,2,opt,name=secretEngineConfiguration"`
}

func (*SecretEngineSpec) DeepCopy

func (in *SecretEngineSpec) DeepCopy() *SecretEngineSpec

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

func (*SecretEngineSpec) DeepCopyInto

func (in *SecretEngineSpec) DeepCopyInto(out *SecretEngineSpec)

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

func (*SecretEngineSpec) Descriptor

func (*SecretEngineSpec) Descriptor() ([]byte, []int)

func (*SecretEngineSpec) Marshal

func (m *SecretEngineSpec) Marshal() (dAtA []byte, err error)

func (*SecretEngineSpec) MarshalTo

func (m *SecretEngineSpec) MarshalTo(dAtA []byte) (int, error)

func (*SecretEngineSpec) MarshalToSizedBuffer

func (m *SecretEngineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretEngineSpec) ProtoMessage

func (*SecretEngineSpec) ProtoMessage()

func (*SecretEngineSpec) Reset

func (m *SecretEngineSpec) Reset()

func (*SecretEngineSpec) Size

func (m *SecretEngineSpec) Size() (n int)

func (*SecretEngineSpec) String

func (this *SecretEngineSpec) String() string

func (*SecretEngineSpec) Unmarshal

func (m *SecretEngineSpec) Unmarshal(dAtA []byte) error

func (*SecretEngineSpec) XXX_DiscardUnknown

func (m *SecretEngineSpec) XXX_DiscardUnknown()

func (*SecretEngineSpec) XXX_Marshal

func (m *SecretEngineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretEngineSpec) XXX_Merge

func (m *SecretEngineSpec) XXX_Merge(src proto.Message)

func (*SecretEngineSpec) XXX_Size

func (m *SecretEngineSpec) XXX_Size() int

func (*SecretEngineSpec) XXX_Unmarshal

func (m *SecretEngineSpec) XXX_Unmarshal(b []byte) error

type SecretEngineStatus

type SecretEngineStatus struct {
	Phase SecretEnginePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=SecretEnginePhase"`

	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`

	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`

	// Path defines the path used to enable this secret engine
	// Visible to user but immutable
	Path string `json:"path,omitempty" protobuf:"bytes,4,opt,name=path"`
}

func (*SecretEngineStatus) DeepCopy

func (in *SecretEngineStatus) DeepCopy() *SecretEngineStatus

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

func (*SecretEngineStatus) DeepCopyInto

func (in *SecretEngineStatus) DeepCopyInto(out *SecretEngineStatus)

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

func (*SecretEngineStatus) Descriptor

func (*SecretEngineStatus) Descriptor() ([]byte, []int)

func (*SecretEngineStatus) Marshal

func (m *SecretEngineStatus) Marshal() (dAtA []byte, err error)

func (*SecretEngineStatus) MarshalTo

func (m *SecretEngineStatus) MarshalTo(dAtA []byte) (int, error)

func (*SecretEngineStatus) MarshalToSizedBuffer

func (m *SecretEngineStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretEngineStatus) ProtoMessage

func (*SecretEngineStatus) ProtoMessage()

func (*SecretEngineStatus) Reset

func (m *SecretEngineStatus) Reset()

func (*SecretEngineStatus) Size

func (m *SecretEngineStatus) Size() (n int)

func (*SecretEngineStatus) String

func (this *SecretEngineStatus) String() string

func (*SecretEngineStatus) Unmarshal

func (m *SecretEngineStatus) Unmarshal(dAtA []byte) error

func (*SecretEngineStatus) XXX_DiscardUnknown

func (m *SecretEngineStatus) XXX_DiscardUnknown()

func (*SecretEngineStatus) XXX_Marshal

func (m *SecretEngineStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretEngineStatus) XXX_Merge

func (m *SecretEngineStatus) XXX_Merge(src proto.Message)

func (*SecretEngineStatus) XXX_Size

func (m *SecretEngineStatus) XXX_Size() int

func (*SecretEngineStatus) XXX_Unmarshal

func (m *SecretEngineStatus) XXX_Unmarshal(b []byte) error

type SecretRoleBinding added in v0.5.0

type SecretRoleBinding struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              SecretRoleBindingSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            SecretRoleBindingStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=secretrolebindings,singular=secretrolebinding,categories={vault,appscode,all} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (SecretRoleBinding) CustomResourceDefinition added in v0.5.0

func (_ SecretRoleBinding) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*SecretRoleBinding) DeepCopy added in v0.5.0

func (in *SecretRoleBinding) DeepCopy() *SecretRoleBinding

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

func (*SecretRoleBinding) DeepCopyInto added in v0.5.0

func (in *SecretRoleBinding) DeepCopyInto(out *SecretRoleBinding)

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

func (*SecretRoleBinding) DeepCopyObject added in v0.5.0

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

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

func (*SecretRoleBinding) Descriptor added in v0.5.0

func (*SecretRoleBinding) Descriptor() ([]byte, []int)

func (SecretRoleBinding) IsValid added in v0.5.0

func (d SecretRoleBinding) IsValid() error

func (*SecretRoleBinding) Marshal added in v0.5.0

func (m *SecretRoleBinding) Marshal() (dAtA []byte, err error)

func (*SecretRoleBinding) MarshalTo added in v0.5.0

func (m *SecretRoleBinding) MarshalTo(dAtA []byte) (int, error)

func (*SecretRoleBinding) MarshalToSizedBuffer added in v0.5.0

func (m *SecretRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRoleBinding) ProtoMessage added in v0.5.0

func (*SecretRoleBinding) ProtoMessage()

func (*SecretRoleBinding) Reset added in v0.5.0

func (m *SecretRoleBinding) Reset()

func (*SecretRoleBinding) Size added in v0.5.0

func (m *SecretRoleBinding) Size() (n int)

func (*SecretRoleBinding) String added in v0.5.0

func (this *SecretRoleBinding) String() string

func (*SecretRoleBinding) Unmarshal added in v0.5.0

func (m *SecretRoleBinding) Unmarshal(dAtA []byte) error

func (SecretRoleBinding) VaultPolicyBindingName added in v0.5.0

func (srb SecretRoleBinding) VaultPolicyBindingName() string

func (SecretRoleBinding) VaultPolicyName added in v0.5.0

func (srb SecretRoleBinding) VaultPolicyName() string

func (*SecretRoleBinding) XXX_DiscardUnknown added in v0.5.0

func (m *SecretRoleBinding) XXX_DiscardUnknown()

func (*SecretRoleBinding) XXX_Marshal added in v0.5.0

func (m *SecretRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretRoleBinding) XXX_Merge added in v0.5.0

func (m *SecretRoleBinding) XXX_Merge(src proto.Message)

func (*SecretRoleBinding) XXX_Size added in v0.5.0

func (m *SecretRoleBinding) XXX_Size() int

func (*SecretRoleBinding) XXX_Unmarshal added in v0.5.0

func (m *SecretRoleBinding) XXX_Unmarshal(b []byte) error

type SecretRoleBindingList added in v0.5.0

type SecretRoleBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of SecretRoleBinding objects
	Items []SecretRoleBinding `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*SecretRoleBindingList) DeepCopy added in v0.5.0

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

func (*SecretRoleBindingList) DeepCopyInto added in v0.5.0

func (in *SecretRoleBindingList) DeepCopyInto(out *SecretRoleBindingList)

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

func (*SecretRoleBindingList) DeepCopyObject added in v0.5.0

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

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

func (*SecretRoleBindingList) Descriptor added in v0.5.0

func (*SecretRoleBindingList) Descriptor() ([]byte, []int)

func (*SecretRoleBindingList) Marshal added in v0.5.0

func (m *SecretRoleBindingList) Marshal() (dAtA []byte, err error)

func (*SecretRoleBindingList) MarshalTo added in v0.5.0

func (m *SecretRoleBindingList) MarshalTo(dAtA []byte) (int, error)

func (*SecretRoleBindingList) MarshalToSizedBuffer added in v0.5.0

func (m *SecretRoleBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRoleBindingList) ProtoMessage added in v0.5.0

func (*SecretRoleBindingList) ProtoMessage()

func (*SecretRoleBindingList) Reset added in v0.5.0

func (m *SecretRoleBindingList) Reset()

func (*SecretRoleBindingList) Size added in v0.5.0

func (m *SecretRoleBindingList) Size() (n int)

func (*SecretRoleBindingList) String added in v0.5.0

func (this *SecretRoleBindingList) String() string

func (*SecretRoleBindingList) Unmarshal added in v0.5.0

func (m *SecretRoleBindingList) Unmarshal(dAtA []byte) error

func (*SecretRoleBindingList) XXX_DiscardUnknown added in v0.5.0

func (m *SecretRoleBindingList) XXX_DiscardUnknown()

func (*SecretRoleBindingList) XXX_Marshal added in v0.5.0

func (m *SecretRoleBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretRoleBindingList) XXX_Merge added in v0.5.0

func (m *SecretRoleBindingList) XXX_Merge(src proto.Message)

func (*SecretRoleBindingList) XXX_Size added in v0.5.0

func (m *SecretRoleBindingList) XXX_Size() int

func (*SecretRoleBindingList) XXX_Unmarshal added in v0.5.0

func (m *SecretRoleBindingList) XXX_Unmarshal(b []byte) error

type SecretRoleBindingSpec added in v0.5.0

type SecretRoleBindingSpec struct {
	Roles []core.TypedLocalObjectReference `json:"roles" protobuf:"bytes,1,rep,name=roles"`

	Subjects []rbac.Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"`
}

SecretRoleBindingSpec contains information to request for database credential

func (*SecretRoleBindingSpec) DeepCopy added in v0.5.0

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

func (*SecretRoleBindingSpec) DeepCopyInto added in v0.5.0

func (in *SecretRoleBindingSpec) DeepCopyInto(out *SecretRoleBindingSpec)

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

func (*SecretRoleBindingSpec) Descriptor added in v0.5.0

func (*SecretRoleBindingSpec) Descriptor() ([]byte, []int)

func (*SecretRoleBindingSpec) Marshal added in v0.5.0

func (m *SecretRoleBindingSpec) Marshal() (dAtA []byte, err error)

func (*SecretRoleBindingSpec) MarshalTo added in v0.5.0

func (m *SecretRoleBindingSpec) MarshalTo(dAtA []byte) (int, error)

func (*SecretRoleBindingSpec) MarshalToSizedBuffer added in v0.5.0

func (m *SecretRoleBindingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRoleBindingSpec) ProtoMessage added in v0.5.0

func (*SecretRoleBindingSpec) ProtoMessage()

func (*SecretRoleBindingSpec) Reset added in v0.5.0

func (m *SecretRoleBindingSpec) Reset()

func (*SecretRoleBindingSpec) Size added in v0.5.0

func (m *SecretRoleBindingSpec) Size() (n int)

func (*SecretRoleBindingSpec) String added in v0.5.0

func (this *SecretRoleBindingSpec) String() string

func (*SecretRoleBindingSpec) Unmarshal added in v0.5.0

func (m *SecretRoleBindingSpec) Unmarshal(dAtA []byte) error

func (*SecretRoleBindingSpec) XXX_DiscardUnknown added in v0.5.0

func (m *SecretRoleBindingSpec) XXX_DiscardUnknown()

func (*SecretRoleBindingSpec) XXX_Marshal added in v0.5.0

func (m *SecretRoleBindingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretRoleBindingSpec) XXX_Merge added in v0.5.0

func (m *SecretRoleBindingSpec) XXX_Merge(src proto.Message)

func (*SecretRoleBindingSpec) XXX_Size added in v0.5.0

func (m *SecretRoleBindingSpec) XXX_Size() int

func (*SecretRoleBindingSpec) XXX_Unmarshal added in v0.5.0

func (m *SecretRoleBindingSpec) XXX_Unmarshal(b []byte) error

type SecretRoleBindingStatus added in v0.5.0

type SecretRoleBindingStatus struct {
	// Specifies the phase of SecretRoleBinding object
	Phase RequestStatusPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=RequestStatusPhase"`

	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,2,rep,name=conditions"`

	// Contains lease info
	Lease *Lease `json:"lease,omitempty" protobuf:"bytes,3,opt,name=lease"`

	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"`

	PolicyRef *kmapi.ObjectReference `json:"policyRef,omitempty" protobuf:"bytes,5,opt,name=policyRef"`

	PolicyBindingRef *kmapi.ObjectReference `json:"policyBindingRef,omitempty" protobuf:"bytes,6,opt,name=policyBindingRef"`
}

func (*SecretRoleBindingStatus) DeepCopy added in v0.5.0

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

func (*SecretRoleBindingStatus) DeepCopyInto added in v0.5.0

func (in *SecretRoleBindingStatus) DeepCopyInto(out *SecretRoleBindingStatus)

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

func (*SecretRoleBindingStatus) Descriptor added in v0.5.0

func (*SecretRoleBindingStatus) Descriptor() ([]byte, []int)

func (*SecretRoleBindingStatus) Marshal added in v0.5.0

func (m *SecretRoleBindingStatus) Marshal() (dAtA []byte, err error)

func (*SecretRoleBindingStatus) MarshalTo added in v0.5.0

func (m *SecretRoleBindingStatus) MarshalTo(dAtA []byte) (int, error)

func (*SecretRoleBindingStatus) MarshalToSizedBuffer added in v0.5.0

func (m *SecretRoleBindingStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRoleBindingStatus) ProtoMessage added in v0.5.0

func (*SecretRoleBindingStatus) ProtoMessage()

func (*SecretRoleBindingStatus) Reset added in v0.5.0

func (m *SecretRoleBindingStatus) Reset()

func (*SecretRoleBindingStatus) Size added in v0.5.0

func (m *SecretRoleBindingStatus) Size() (n int)

func (*SecretRoleBindingStatus) String added in v0.5.0

func (this *SecretRoleBindingStatus) String() string

func (*SecretRoleBindingStatus) Unmarshal added in v0.5.0

func (m *SecretRoleBindingStatus) Unmarshal(dAtA []byte) error

func (*SecretRoleBindingStatus) XXX_DiscardUnknown added in v0.5.0

func (m *SecretRoleBindingStatus) XXX_DiscardUnknown()

func (*SecretRoleBindingStatus) XXX_Marshal added in v0.5.0

func (m *SecretRoleBindingStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretRoleBindingStatus) XXX_Merge added in v0.5.0

func (m *SecretRoleBindingStatus) XXX_Merge(src proto.Message)

func (*SecretRoleBindingStatus) XXX_Size added in v0.5.0

func (m *SecretRoleBindingStatus) XXX_Size() int

func (*SecretRoleBindingStatus) XXX_Unmarshal added in v0.5.0

func (m *SecretRoleBindingStatus) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL