v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

+groupName=engine.kubevault.com

Index

Constants

View Source
const (
	ResourceKindAWSAccessKeyRequest = "AWSAccessKeyRequest"
	ResourceAWSAccessKeyRequest     = "awsaccesskeyrequest"
	ResourceAWSAccessKeyRequests    = "awsaccesskeyrequests"
)
View Source
const (
	ResourceKindAWSRole = "AWSRole"
	ResourceAWSRole     = "awsrole"
	ResourceAWSRoles    = "awsroles"
)
View Source
const (
	AWSCredentialAccessKeyKey = "access_key"
	AWSCredentialSecretKeyKey = "secret_key"
)
View Source
const (
	ResourceKindAzureAccessKeyRequest = "AzureAccessKeyRequest"
	ResourceAzureAccessKeyRequest     = "azureaccesskeyrequest"
	ResourceAzureAccessKeyRequests    = "azureaccesskeyrequests"
)
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 (
	ResourceKindDatabaseAccessRequest = "DatabaseAccessRequest"
	ResourceDatabaseAccessRequest     = "databaseaccessrequest"
	ResourceDatabaseAccessRequests    = "databaseaccessrequests"
)
View Source
const (
	ResourceKindGCPAccessKeyRequest = "GCPAccessKeyRequest"
	ResourceGCPAccessKeyRequest     = "gcpaccesskeyrequest"
	ResourceGCPAccessKeyRequests    = "gcpaccesskeyrequests"
)
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 (
	ResourceKindSecretEngine = "SecretEngine"
	ResourceSecretEngine     = "secretengine"
	ResourceSecretEngines    = "secretengines"
	EngineTypeAWS            = "aws"
	EngineTypeGCP            = "gcp"
	EngineTypeAzure          = "azure"
	EngineTypeDatabase       = "database"
)
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")
)
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 AWSAccessKeyRequest

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

+kubebuilder:object:root=true +kubebuilder:resource:path=awsaccesskeyrequests,singular=awsaccesskeyrequest,categories={vault,appscode,all} +kubebuilder:subresource:status

func (AWSAccessKeyRequest) CustomResourceDefinition

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

func (*AWSAccessKeyRequest) DeepCopy

func (in *AWSAccessKeyRequest) DeepCopy() *AWSAccessKeyRequest

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

func (*AWSAccessKeyRequest) DeepCopyInto

func (in *AWSAccessKeyRequest) DeepCopyInto(out *AWSAccessKeyRequest)

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

func (*AWSAccessKeyRequest) DeepCopyObject

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

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

func (*AWSAccessKeyRequest) Descriptor

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

func (AWSAccessKeyRequest) IsValid

func (d AWSAccessKeyRequest) IsValid() error

func (*AWSAccessKeyRequest) Marshal

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

func (*AWSAccessKeyRequest) MarshalTo

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

func (*AWSAccessKeyRequest) MarshalToSizedBuffer

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

func (*AWSAccessKeyRequest) ProtoMessage

func (*AWSAccessKeyRequest) ProtoMessage()

func (*AWSAccessKeyRequest) Reset

func (m *AWSAccessKeyRequest) Reset()

func (*AWSAccessKeyRequest) Size

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

func (*AWSAccessKeyRequest) String

func (this *AWSAccessKeyRequest) String() string

func (*AWSAccessKeyRequest) Unmarshal

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

func (*AWSAccessKeyRequest) XXX_DiscardUnknown

func (m *AWSAccessKeyRequest) XXX_DiscardUnknown()

func (*AWSAccessKeyRequest) XXX_Marshal

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

func (*AWSAccessKeyRequest) XXX_Merge

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

func (*AWSAccessKeyRequest) XXX_Size

func (m *AWSAccessKeyRequest) XXX_Size() int

func (*AWSAccessKeyRequest) XXX_Unmarshal

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

type AWSAccessKeyRequestCondition

type AWSAccessKeyRequestCondition struct {
	// request approval state, currently Approved or Denied.
	Type RequestConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=RequestConditionType"`

	// brief reason for the request state
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`

	// human readable message with details about the request state
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`

	// timestamp for the last update to this condition
	// +optional
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,4,opt,name=lastUpdateTime"`
}

func (*AWSAccessKeyRequestCondition) DeepCopy

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

func (*AWSAccessKeyRequestCondition) DeepCopyInto

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

func (*AWSAccessKeyRequestCondition) Descriptor

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

func (*AWSAccessKeyRequestCondition) Marshal

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

func (*AWSAccessKeyRequestCondition) MarshalTo

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

func (*AWSAccessKeyRequestCondition) MarshalToSizedBuffer

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

func (*AWSAccessKeyRequestCondition) ProtoMessage

func (*AWSAccessKeyRequestCondition) ProtoMessage()

func (*AWSAccessKeyRequestCondition) Reset

func (m *AWSAccessKeyRequestCondition) Reset()

func (*AWSAccessKeyRequestCondition) Size

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

func (*AWSAccessKeyRequestCondition) String

func (this *AWSAccessKeyRequestCondition) String() string

func (*AWSAccessKeyRequestCondition) Unmarshal

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

func (*AWSAccessKeyRequestCondition) XXX_DiscardUnknown

func (m *AWSAccessKeyRequestCondition) XXX_DiscardUnknown()

func (*AWSAccessKeyRequestCondition) XXX_Marshal

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

func (*AWSAccessKeyRequestCondition) XXX_Merge

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

func (*AWSAccessKeyRequestCondition) XXX_Size

func (m *AWSAccessKeyRequestCondition) XXX_Size() int

func (*AWSAccessKeyRequestCondition) XXX_Unmarshal

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

type AWSAccessKeyRequestList

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

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

func (*AWSAccessKeyRequestList) DeepCopy

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

func (*AWSAccessKeyRequestList) DeepCopyInto

func (in *AWSAccessKeyRequestList) DeepCopyInto(out *AWSAccessKeyRequestList)

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

func (*AWSAccessKeyRequestList) DeepCopyObject

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

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

func (*AWSAccessKeyRequestList) Descriptor

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

func (*AWSAccessKeyRequestList) Marshal

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

func (*AWSAccessKeyRequestList) MarshalTo

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

func (*AWSAccessKeyRequestList) MarshalToSizedBuffer

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

func (*AWSAccessKeyRequestList) ProtoMessage

func (*AWSAccessKeyRequestList) ProtoMessage()

func (*AWSAccessKeyRequestList) Reset

func (m *AWSAccessKeyRequestList) Reset()

func (*AWSAccessKeyRequestList) Size

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

func (*AWSAccessKeyRequestList) String

func (this *AWSAccessKeyRequestList) String() string

func (*AWSAccessKeyRequestList) Unmarshal

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

func (*AWSAccessKeyRequestList) XXX_DiscardUnknown

func (m *AWSAccessKeyRequestList) XXX_DiscardUnknown()

func (*AWSAccessKeyRequestList) XXX_Marshal

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

func (*AWSAccessKeyRequestList) XXX_Merge

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

func (*AWSAccessKeyRequestList) XXX_Size

func (m *AWSAccessKeyRequestList) XXX_Size() int

func (*AWSAccessKeyRequestList) XXX_Unmarshal

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

type AWSAccessKeyRequestSpec

type AWSAccessKeyRequestSpec struct {
	// Contains vault aws role info
	RoleRef RoleRef `json:"roleRef" protobuf:"bytes,1,opt,name=roleRef"`

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

	// 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,3,opt,name=roleARN"`

	// Specifies the TTL for the use of the STS token. This is specified as a string with a duration suffix.
	// Valid only when credential_type is assumed_role or federation_token. When not specified,
	// the default_sts_ttl set for the role will be used. If that is also not set, then the default value of
	// 3600s will be used. AWS places limits on the maximum TTL allowed. See the AWS documentation on the
	// DurationSeconds parameter for AssumeRole (for assumed_role credential types) and
	// GetFederationToken (for federation_token credential types) for more details.
	TTL string `json:"ttl,omitempty" protobuf:"bytes,4,opt,name=ttl"`

	// 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,5,opt,name=useSTS"`
}

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

func (*AWSAccessKeyRequestSpec) DeepCopy

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

func (*AWSAccessKeyRequestSpec) DeepCopyInto

func (in *AWSAccessKeyRequestSpec) DeepCopyInto(out *AWSAccessKeyRequestSpec)

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

func (*AWSAccessKeyRequestSpec) Descriptor

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

func (*AWSAccessKeyRequestSpec) Marshal

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

func (*AWSAccessKeyRequestSpec) MarshalTo

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

func (*AWSAccessKeyRequestSpec) MarshalToSizedBuffer

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

func (*AWSAccessKeyRequestSpec) ProtoMessage

func (*AWSAccessKeyRequestSpec) ProtoMessage()

func (*AWSAccessKeyRequestSpec) Reset

func (m *AWSAccessKeyRequestSpec) Reset()

func (*AWSAccessKeyRequestSpec) Size

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

func (*AWSAccessKeyRequestSpec) String

func (this *AWSAccessKeyRequestSpec) String() string

func (*AWSAccessKeyRequestSpec) Unmarshal

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

func (*AWSAccessKeyRequestSpec) XXX_DiscardUnknown

func (m *AWSAccessKeyRequestSpec) XXX_DiscardUnknown()

func (*AWSAccessKeyRequestSpec) XXX_Marshal

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

func (*AWSAccessKeyRequestSpec) XXX_Merge

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

func (*AWSAccessKeyRequestSpec) XXX_Size

func (m *AWSAccessKeyRequestSpec) XXX_Size() int

func (*AWSAccessKeyRequestSpec) XXX_Unmarshal

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

type AWSAccessKeyRequestStatus

type AWSAccessKeyRequestStatus struct {
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []AWSAccessKeyRequestCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`

	// Name of the secret containing AWSCredential AWSCredentials
	Secret *core.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

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

func (*AWSAccessKeyRequestStatus) DeepCopy

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

func (*AWSAccessKeyRequestStatus) DeepCopyInto

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

func (*AWSAccessKeyRequestStatus) Descriptor

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

func (*AWSAccessKeyRequestStatus) Marshal

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

func (*AWSAccessKeyRequestStatus) MarshalTo

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

func (*AWSAccessKeyRequestStatus) MarshalToSizedBuffer

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

func (*AWSAccessKeyRequestStatus) ProtoMessage

func (*AWSAccessKeyRequestStatus) ProtoMessage()

func (*AWSAccessKeyRequestStatus) Reset

func (m *AWSAccessKeyRequestStatus) Reset()

func (*AWSAccessKeyRequestStatus) Size

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

func (*AWSAccessKeyRequestStatus) String

func (this *AWSAccessKeyRequestStatus) String() string

func (*AWSAccessKeyRequestStatus) Unmarshal

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

func (*AWSAccessKeyRequestStatus) XXX_DiscardUnknown

func (m *AWSAccessKeyRequestStatus) XXX_DiscardUnknown()

func (*AWSAccessKeyRequestStatus) XXX_Marshal

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

func (*AWSAccessKeyRequestStatus) XXX_Merge

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

func (*AWSAccessKeyRequestStatus) XXX_Size

func (m *AWSAccessKeyRequestStatus) XXX_Size() int

func (*AWSAccessKeyRequestStatus) XXX_Unmarshal

func (m *AWSAccessKeyRequestStatus) 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
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            AWSRoleStatus `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 AWSRoleCondition

type AWSRoleCondition struct {
	// Type of AWSRole condition.
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

AWSRoleCondition describes the state of a AWSRole at a certain point.

func (*AWSRoleCondition) DeepCopy

func (in *AWSRoleCondition) DeepCopy() *AWSRoleCondition

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

func (*AWSRoleCondition) DeepCopyInto

func (in *AWSRoleCondition) DeepCopyInto(out *AWSRoleCondition)

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

func (*AWSRoleCondition) Descriptor

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

func (*AWSRoleCondition) Marshal

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

func (*AWSRoleCondition) MarshalTo

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

func (*AWSRoleCondition) MarshalToSizedBuffer

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

func (*AWSRoleCondition) ProtoMessage

func (*AWSRoleCondition) ProtoMessage()

func (*AWSRoleCondition) Reset

func (m *AWSRoleCondition) Reset()

func (*AWSRoleCondition) Size

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

func (*AWSRoleCondition) String

func (this *AWSRoleCondition) String() string

func (*AWSRoleCondition) Unmarshal

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

func (*AWSRoleCondition) XXX_DiscardUnknown

func (m *AWSRoleCondition) XXX_DiscardUnknown()

func (*AWSRoleCondition) XXX_Marshal

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

func (*AWSRoleCondition) XXX_Merge

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

func (*AWSRoleCondition) XXX_Size

func (m *AWSRoleCondition) XXX_Size() int

func (*AWSRoleCondition) XXX_Unmarshal

func (m *AWSRoleCondition) 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 AWSRolePhase

type AWSRolePhase string

type AWSRoleSpec

type AWSRoleSpec struct {
	// VaultRef is the name of a AppBinding referencing to a Vault Server
	VaultRef core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

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

	// Specifies the type of credential to be used when retrieving credentials from the role
	CredentialType AWSCredentialType `json:"credentialType" protobuf:"bytes,3,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,4,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,5,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,6,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,7,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,8,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,9,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 AWSRoleStatus

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

	// ObservedGeneration is the most recent generation observed for this AWSRole. It corresponds to the
	// AWSRole'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 AWSRole current state.
	Conditions []AWSRoleCondition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

func (*AWSRoleStatus) DeepCopy

func (in *AWSRoleStatus) DeepCopy() *AWSRoleStatus

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

func (*AWSRoleStatus) DeepCopyInto

func (in *AWSRoleStatus) DeepCopyInto(out *AWSRoleStatus)

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

func (*AWSRoleStatus) Descriptor

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

func (*AWSRoleStatus) Marshal

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

func (*AWSRoleStatus) MarshalTo

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

func (*AWSRoleStatus) MarshalToSizedBuffer

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

func (*AWSRoleStatus) ProtoMessage

func (*AWSRoleStatus) ProtoMessage()

func (*AWSRoleStatus) Reset

func (m *AWSRoleStatus) Reset()

func (*AWSRoleStatus) Size

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

func (*AWSRoleStatus) String

func (this *AWSRoleStatus) String() string

func (*AWSRoleStatus) Unmarshal

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

func (*AWSRoleStatus) XXX_DiscardUnknown

func (m *AWSRoleStatus) XXX_DiscardUnknown()

func (*AWSRoleStatus) XXX_Marshal

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

func (*AWSRoleStatus) XXX_Merge

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

func (*AWSRoleStatus) XXX_Size

func (m *AWSRoleStatus) XXX_Size() int

func (*AWSRoleStatus) XXX_Unmarshal

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

type AzureAccessKeyRequest

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

+kubebuilder:object:root=true +kubebuilder:resource:path=azureaccesskeyrequests,singular=azureaccesskeyrequest,categories={vault,appscode,all} +kubebuilder:subresource:status

func (AzureAccessKeyRequest) CustomResourceDefinition

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

func (*AzureAccessKeyRequest) DeepCopy

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

func (*AzureAccessKeyRequest) DeepCopyInto

func (in *AzureAccessKeyRequest) DeepCopyInto(out *AzureAccessKeyRequest)

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

func (*AzureAccessKeyRequest) DeepCopyObject

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

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

func (*AzureAccessKeyRequest) Descriptor

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

func (AzureAccessKeyRequest) IsValid

func (d AzureAccessKeyRequest) IsValid() error

func (*AzureAccessKeyRequest) Marshal

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

func (*AzureAccessKeyRequest) MarshalTo

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

func (*AzureAccessKeyRequest) MarshalToSizedBuffer

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

func (*AzureAccessKeyRequest) ProtoMessage

func (*AzureAccessKeyRequest) ProtoMessage()

func (*AzureAccessKeyRequest) Reset

func (m *AzureAccessKeyRequest) Reset()

func (*AzureAccessKeyRequest) Size

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

func (*AzureAccessKeyRequest) String

func (this *AzureAccessKeyRequest) String() string

func (*AzureAccessKeyRequest) Unmarshal

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

func (*AzureAccessKeyRequest) XXX_DiscardUnknown

func (m *AzureAccessKeyRequest) XXX_DiscardUnknown()

func (*AzureAccessKeyRequest) XXX_Marshal

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

func (*AzureAccessKeyRequest) XXX_Merge

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

func (*AzureAccessKeyRequest) XXX_Size

func (m *AzureAccessKeyRequest) XXX_Size() int

func (*AzureAccessKeyRequest) XXX_Unmarshal

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

type AzureAccessKeyRequestCondition

type AzureAccessKeyRequestCondition struct {
	// request approval state, currently Approved or Denied.
	Type RequestConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=RequestConditionType"`

	// brief reason for the request state
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`

	// human readable message with details about the request state
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`

	// timestamp for the last update to this condition
	// +optional
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,4,opt,name=lastUpdateTime"`
}

func (*AzureAccessKeyRequestCondition) DeepCopy

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

func (*AzureAccessKeyRequestCondition) DeepCopyInto

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

func (*AzureAccessKeyRequestCondition) Descriptor

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

func (*AzureAccessKeyRequestCondition) Marshal

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

func (*AzureAccessKeyRequestCondition) MarshalTo

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

func (*AzureAccessKeyRequestCondition) MarshalToSizedBuffer

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

func (*AzureAccessKeyRequestCondition) ProtoMessage

func (*AzureAccessKeyRequestCondition) ProtoMessage()

func (*AzureAccessKeyRequestCondition) Reset

func (m *AzureAccessKeyRequestCondition) Reset()

func (*AzureAccessKeyRequestCondition) Size

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

func (*AzureAccessKeyRequestCondition) String

func (this *AzureAccessKeyRequestCondition) String() string

func (*AzureAccessKeyRequestCondition) Unmarshal

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

func (*AzureAccessKeyRequestCondition) XXX_DiscardUnknown

func (m *AzureAccessKeyRequestCondition) XXX_DiscardUnknown()

func (*AzureAccessKeyRequestCondition) XXX_Marshal

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

func (*AzureAccessKeyRequestCondition) XXX_Merge

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

func (*AzureAccessKeyRequestCondition) XXX_Size

func (m *AzureAccessKeyRequestCondition) XXX_Size() int

func (*AzureAccessKeyRequestCondition) XXX_Unmarshal

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

type AzureAccessKeyRequestList

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

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

func (*AzureAccessKeyRequestList) DeepCopy

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

func (*AzureAccessKeyRequestList) DeepCopyInto

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

func (*AzureAccessKeyRequestList) DeepCopyObject

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

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

func (*AzureAccessKeyRequestList) Descriptor

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

func (*AzureAccessKeyRequestList) Marshal

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

func (*AzureAccessKeyRequestList) MarshalTo

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

func (*AzureAccessKeyRequestList) MarshalToSizedBuffer

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

func (*AzureAccessKeyRequestList) ProtoMessage

func (*AzureAccessKeyRequestList) ProtoMessage()

func (*AzureAccessKeyRequestList) Reset

func (m *AzureAccessKeyRequestList) Reset()

func (*AzureAccessKeyRequestList) Size

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

func (*AzureAccessKeyRequestList) String

func (this *AzureAccessKeyRequestList) String() string

func (*AzureAccessKeyRequestList) Unmarshal

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

func (*AzureAccessKeyRequestList) XXX_DiscardUnknown

func (m *AzureAccessKeyRequestList) XXX_DiscardUnknown()

func (*AzureAccessKeyRequestList) XXX_Marshal

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

func (*AzureAccessKeyRequestList) XXX_Merge

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

func (*AzureAccessKeyRequestList) XXX_Size

func (m *AzureAccessKeyRequestList) XXX_Size() int

func (*AzureAccessKeyRequestList) XXX_Unmarshal

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

type AzureAccessKeyRequestSpec

type AzureAccessKeyRequestSpec struct {
	// Contains vault azure role info
	RoleRef RoleRef `json:"roleRef" protobuf:"bytes,1,opt,name=roleRef"`

	// Contains a reference to the object or user identities the role binding is applied to
	Subjects []rbac.Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"`
}

func (*AzureAccessKeyRequestSpec) DeepCopy

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

func (*AzureAccessKeyRequestSpec) DeepCopyInto

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

func (*AzureAccessKeyRequestSpec) Descriptor

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

func (*AzureAccessKeyRequestSpec) Marshal

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

func (*AzureAccessKeyRequestSpec) MarshalTo

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

func (*AzureAccessKeyRequestSpec) MarshalToSizedBuffer

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

func (*AzureAccessKeyRequestSpec) ProtoMessage

func (*AzureAccessKeyRequestSpec) ProtoMessage()

func (*AzureAccessKeyRequestSpec) Reset

func (m *AzureAccessKeyRequestSpec) Reset()

func (*AzureAccessKeyRequestSpec) Size

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

func (*AzureAccessKeyRequestSpec) String

func (this *AzureAccessKeyRequestSpec) String() string

func (*AzureAccessKeyRequestSpec) Unmarshal

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

func (*AzureAccessKeyRequestSpec) XXX_DiscardUnknown

func (m *AzureAccessKeyRequestSpec) XXX_DiscardUnknown()

func (*AzureAccessKeyRequestSpec) XXX_Marshal

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

func (*AzureAccessKeyRequestSpec) XXX_Merge

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

func (*AzureAccessKeyRequestSpec) XXX_Size

func (m *AzureAccessKeyRequestSpec) XXX_Size() int

func (*AzureAccessKeyRequestSpec) XXX_Unmarshal

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

type AzureAccessKeyRequestStatus

type AzureAccessKeyRequestStatus struct {
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []AzureAccessKeyRequestCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`

	// Name of the secret containing AzureCredential
	Secret *core.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

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

func (*AzureAccessKeyRequestStatus) DeepCopy

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

func (*AzureAccessKeyRequestStatus) DeepCopyInto

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

func (*AzureAccessKeyRequestStatus) Descriptor

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

func (*AzureAccessKeyRequestStatus) Marshal

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

func (*AzureAccessKeyRequestStatus) MarshalTo

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

func (*AzureAccessKeyRequestStatus) MarshalToSizedBuffer

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

func (*AzureAccessKeyRequestStatus) ProtoMessage

func (*AzureAccessKeyRequestStatus) ProtoMessage()

func (*AzureAccessKeyRequestStatus) Reset

func (m *AzureAccessKeyRequestStatus) Reset()

func (*AzureAccessKeyRequestStatus) Size

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

func (*AzureAccessKeyRequestStatus) String

func (this *AzureAccessKeyRequestStatus) String() string

func (*AzureAccessKeyRequestStatus) Unmarshal

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

func (*AzureAccessKeyRequestStatus) XXX_DiscardUnknown

func (m *AzureAccessKeyRequestStatus) XXX_DiscardUnknown()

func (*AzureAccessKeyRequestStatus) XXX_Marshal

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

func (*AzureAccessKeyRequestStatus) XXX_Merge

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

func (*AzureAccessKeyRequestStatus) XXX_Size

func (m *AzureAccessKeyRequestStatus) XXX_Size() int

func (*AzureAccessKeyRequestStatus) XXX_Unmarshal

func (m *AzureAccessKeyRequestStatus) 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            AzureRoleStatus `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 AzureRoleCondition

type AzureRoleCondition struct {
	// Type of AzureRole condition.
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

AzureRoleCondition describes the state of a AzureRole at a certain point.

func (*AzureRoleCondition) DeepCopy

func (in *AzureRoleCondition) DeepCopy() *AzureRoleCondition

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

func (*AzureRoleCondition) DeepCopyInto

func (in *AzureRoleCondition) DeepCopyInto(out *AzureRoleCondition)

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

func (*AzureRoleCondition) Descriptor

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

func (*AzureRoleCondition) Marshal

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

func (*AzureRoleCondition) MarshalTo

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

func (*AzureRoleCondition) MarshalToSizedBuffer

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

func (*AzureRoleCondition) ProtoMessage

func (*AzureRoleCondition) ProtoMessage()

func (*AzureRoleCondition) Reset

func (m *AzureRoleCondition) Reset()

func (*AzureRoleCondition) Size

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

func (*AzureRoleCondition) String

func (this *AzureRoleCondition) String() string

func (*AzureRoleCondition) Unmarshal

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

func (*AzureRoleCondition) XXX_DiscardUnknown

func (m *AzureRoleCondition) XXX_DiscardUnknown()

func (*AzureRoleCondition) XXX_Marshal

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

func (*AzureRoleCondition) XXX_Merge

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

func (*AzureRoleCondition) XXX_Size

func (m *AzureRoleCondition) XXX_Size() int

func (*AzureRoleCondition) XXX_Unmarshal

func (m *AzureRoleCondition) 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 AzureRolePhase

type AzureRolePhase string

type AzureRoleSpec

type AzureRoleSpec struct {
	// VaultRef is the name of a AppBinding referencing to a Vault Server
	VaultRef core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

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

	// 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,3,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,4,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,5,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,6,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 AzureRoleStatus

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

	// ObservedGeneration is the most recent generation observed for this AzureRole. It corresponds to the
	// AzureRole'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 AzureRole current state.
	Conditions []AzureRoleCondition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

func (*AzureRoleStatus) DeepCopy

func (in *AzureRoleStatus) DeepCopy() *AzureRoleStatus

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

func (*AzureRoleStatus) DeepCopyInto

func (in *AzureRoleStatus) DeepCopyInto(out *AzureRoleStatus)

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

func (*AzureRoleStatus) Descriptor

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

func (*AzureRoleStatus) Marshal

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

func (*AzureRoleStatus) MarshalTo

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

func (*AzureRoleStatus) MarshalToSizedBuffer

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

func (*AzureRoleStatus) ProtoMessage

func (*AzureRoleStatus) ProtoMessage()

func (*AzureRoleStatus) Reset

func (m *AzureRoleStatus) Reset()

func (*AzureRoleStatus) Size

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

func (*AzureRoleStatus) String

func (this *AzureRoleStatus) String() string

func (*AzureRoleStatus) Unmarshal

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

func (*AzureRoleStatus) XXX_DiscardUnknown

func (m *AzureRoleStatus) XXX_DiscardUnknown()

func (*AzureRoleStatus) XXX_Marshal

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

func (*AzureRoleStatus) XXX_Merge

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

func (*AzureRoleStatus) XXX_Size

func (m *AzureRoleStatus) XXX_Size() int

func (*AzureRoleStatus) XXX_Unmarshal

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

type AzureSecretType

type AzureSecretType string

type DatabaseAccessRequest

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

+kubebuilder:object:root=true +kubebuilder:resource:path=databaseaccessrequests,singular=databaseaccessrequest,categories={vault,appscode,all} +kubebuilder:subresource:status

func (DatabaseAccessRequest) CustomResourceDefinition

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

func (*DatabaseAccessRequest) DeepCopy

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

func (*DatabaseAccessRequest) DeepCopyInto

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

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

func (*DatabaseAccessRequest) DeepCopyObject

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

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

func (*DatabaseAccessRequest) Descriptor

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

func (DatabaseAccessRequest) IsValid

func (d DatabaseAccessRequest) IsValid() error

func (*DatabaseAccessRequest) Marshal

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

func (*DatabaseAccessRequest) MarshalTo

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

func (*DatabaseAccessRequest) MarshalToSizedBuffer

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

func (*DatabaseAccessRequest) ProtoMessage

func (*DatabaseAccessRequest) ProtoMessage()

func (*DatabaseAccessRequest) Reset

func (m *DatabaseAccessRequest) Reset()

func (*DatabaseAccessRequest) Size

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

func (*DatabaseAccessRequest) String

func (this *DatabaseAccessRequest) String() string

func (*DatabaseAccessRequest) Unmarshal

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

func (*DatabaseAccessRequest) XXX_DiscardUnknown

func (m *DatabaseAccessRequest) XXX_DiscardUnknown()

func (*DatabaseAccessRequest) XXX_Marshal

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

func (*DatabaseAccessRequest) XXX_Merge

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

func (*DatabaseAccessRequest) XXX_Size

func (m *DatabaseAccessRequest) XXX_Size() int

func (*DatabaseAccessRequest) XXX_Unmarshal

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

type DatabaseAccessRequestCondition

type DatabaseAccessRequestCondition struct {
	// request approval state, currently Approved or Denied.
	Type RequestConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=RequestConditionType"`

	// brief reason for the request state
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`

	// human readable message with details about the request state
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`

	// timestamp for the last update to this condition
	// +optional
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,4,opt,name=lastUpdateTime"`
}

func (*DatabaseAccessRequestCondition) DeepCopy

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

func (*DatabaseAccessRequestCondition) DeepCopyInto

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

func (*DatabaseAccessRequestCondition) Descriptor

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

func (*DatabaseAccessRequestCondition) Marshal

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

func (*DatabaseAccessRequestCondition) MarshalTo

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

func (*DatabaseAccessRequestCondition) MarshalToSizedBuffer

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

func (*DatabaseAccessRequestCondition) ProtoMessage

func (*DatabaseAccessRequestCondition) ProtoMessage()

func (*DatabaseAccessRequestCondition) Reset

func (m *DatabaseAccessRequestCondition) Reset()

func (*DatabaseAccessRequestCondition) Size

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

func (*DatabaseAccessRequestCondition) String

func (this *DatabaseAccessRequestCondition) String() string

func (*DatabaseAccessRequestCondition) Unmarshal

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

func (*DatabaseAccessRequestCondition) XXX_DiscardUnknown

func (m *DatabaseAccessRequestCondition) XXX_DiscardUnknown()

func (*DatabaseAccessRequestCondition) XXX_Marshal

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

func (*DatabaseAccessRequestCondition) XXX_Merge

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

func (*DatabaseAccessRequestCondition) XXX_Size

func (m *DatabaseAccessRequestCondition) XXX_Size() int

func (*DatabaseAccessRequestCondition) XXX_Unmarshal

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

type DatabaseAccessRequestList

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

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

func (*DatabaseAccessRequestList) DeepCopy

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

func (*DatabaseAccessRequestList) DeepCopyInto

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

func (*DatabaseAccessRequestList) DeepCopyObject

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

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

func (*DatabaseAccessRequestList) Descriptor

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

func (*DatabaseAccessRequestList) Marshal

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

func (*DatabaseAccessRequestList) MarshalTo

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

func (*DatabaseAccessRequestList) MarshalToSizedBuffer

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

func (*DatabaseAccessRequestList) ProtoMessage

func (*DatabaseAccessRequestList) ProtoMessage()

func (*DatabaseAccessRequestList) Reset

func (m *DatabaseAccessRequestList) Reset()

func (*DatabaseAccessRequestList) Size

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

func (*DatabaseAccessRequestList) String

func (this *DatabaseAccessRequestList) String() string

func (*DatabaseAccessRequestList) Unmarshal

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

func (*DatabaseAccessRequestList) XXX_DiscardUnknown

func (m *DatabaseAccessRequestList) XXX_DiscardUnknown()

func (*DatabaseAccessRequestList) XXX_Marshal

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

func (*DatabaseAccessRequestList) XXX_Merge

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

func (*DatabaseAccessRequestList) XXX_Size

func (m *DatabaseAccessRequestList) XXX_Size() int

func (*DatabaseAccessRequestList) XXX_Unmarshal

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

type DatabaseAccessRequestSpec

type DatabaseAccessRequestSpec struct {
	// Contains vault database role info
	RoleRef RoleRef `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"`
}

DatabaseAccessRequestSpec contains information to request for database credential

func (*DatabaseAccessRequestSpec) DeepCopy

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

func (*DatabaseAccessRequestSpec) DeepCopyInto

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

func (*DatabaseAccessRequestSpec) Descriptor

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

func (*DatabaseAccessRequestSpec) Marshal

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

func (*DatabaseAccessRequestSpec) MarshalTo

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

func (*DatabaseAccessRequestSpec) MarshalToSizedBuffer

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

func (*DatabaseAccessRequestSpec) ProtoMessage

func (*DatabaseAccessRequestSpec) ProtoMessage()

func (*DatabaseAccessRequestSpec) Reset

func (m *DatabaseAccessRequestSpec) Reset()

func (*DatabaseAccessRequestSpec) Size

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

func (*DatabaseAccessRequestSpec) String

func (this *DatabaseAccessRequestSpec) String() string

func (*DatabaseAccessRequestSpec) Unmarshal

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

func (*DatabaseAccessRequestSpec) XXX_DiscardUnknown

func (m *DatabaseAccessRequestSpec) XXX_DiscardUnknown()

func (*DatabaseAccessRequestSpec) XXX_Marshal

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

func (*DatabaseAccessRequestSpec) XXX_Merge

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

func (*DatabaseAccessRequestSpec) XXX_Size

func (m *DatabaseAccessRequestSpec) XXX_Size() int

func (*DatabaseAccessRequestSpec) XXX_Unmarshal

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

type DatabaseAccessRequestStatus

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

	// Name of the secret containing database credentials
	Secret *core.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

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

func (*DatabaseAccessRequestStatus) DeepCopy

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

func (*DatabaseAccessRequestStatus) DeepCopyInto

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

func (*DatabaseAccessRequestStatus) Descriptor

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

func (*DatabaseAccessRequestStatus) Marshal

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

func (*DatabaseAccessRequestStatus) MarshalTo

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

func (*DatabaseAccessRequestStatus) MarshalToSizedBuffer

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

func (*DatabaseAccessRequestStatus) ProtoMessage

func (*DatabaseAccessRequestStatus) ProtoMessage()

func (*DatabaseAccessRequestStatus) Reset

func (m *DatabaseAccessRequestStatus) Reset()

func (*DatabaseAccessRequestStatus) Size

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

func (*DatabaseAccessRequestStatus) String

func (this *DatabaseAccessRequestStatus) String() string

func (*DatabaseAccessRequestStatus) Unmarshal

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

func (*DatabaseAccessRequestStatus) XXX_DiscardUnknown

func (m *DatabaseAccessRequestStatus) XXX_DiscardUnknown()

func (*DatabaseAccessRequestStatus) XXX_Marshal

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

func (*DatabaseAccessRequestStatus) XXX_Merge

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

func (*DatabaseAccessRequestStatus) XXX_Size

func (m *DatabaseAccessRequestStatus) XXX_Size() int

func (*DatabaseAccessRequestStatus) XXX_Unmarshal

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

type GCPAccessKeyRequest

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

+kubebuilder:object:root=true +kubebuilder:resource:path=gcpaccesskeyrequests,singular=gcpaccesskeyrequest,categories={vault,appscode,all} +kubebuilder:subresource:status

func (GCPAccessKeyRequest) CustomResourceDefinition

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

func (*GCPAccessKeyRequest) DeepCopy

func (in *GCPAccessKeyRequest) DeepCopy() *GCPAccessKeyRequest

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

func (*GCPAccessKeyRequest) DeepCopyInto

func (in *GCPAccessKeyRequest) DeepCopyInto(out *GCPAccessKeyRequest)

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

func (*GCPAccessKeyRequest) DeepCopyObject

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

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

func (*GCPAccessKeyRequest) Descriptor

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

func (GCPAccessKeyRequest) IsValid

func (d GCPAccessKeyRequest) IsValid() error

func (*GCPAccessKeyRequest) Marshal

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

func (*GCPAccessKeyRequest) MarshalTo

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

func (*GCPAccessKeyRequest) MarshalToSizedBuffer

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

func (*GCPAccessKeyRequest) ProtoMessage

func (*GCPAccessKeyRequest) ProtoMessage()

func (*GCPAccessKeyRequest) Reset

func (m *GCPAccessKeyRequest) Reset()

func (*GCPAccessKeyRequest) Size

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

func (*GCPAccessKeyRequest) String

func (this *GCPAccessKeyRequest) String() string

func (*GCPAccessKeyRequest) Unmarshal

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

func (*GCPAccessKeyRequest) XXX_DiscardUnknown

func (m *GCPAccessKeyRequest) XXX_DiscardUnknown()

func (*GCPAccessKeyRequest) XXX_Marshal

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

func (*GCPAccessKeyRequest) XXX_Merge

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

func (*GCPAccessKeyRequest) XXX_Size

func (m *GCPAccessKeyRequest) XXX_Size() int

func (*GCPAccessKeyRequest) XXX_Unmarshal

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

type GCPAccessKeyRequestCondition

type GCPAccessKeyRequestCondition struct {
	// request approval state, currently Approved or Denied.
	Type RequestConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=RequestConditionType"`

	// brief reason for the request state
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`

	// human readable message with details about the request state
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`

	// timestamp for the last update to this condition
	// +optional
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,4,opt,name=lastUpdateTime"`
}

func (*GCPAccessKeyRequestCondition) DeepCopy

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

func (*GCPAccessKeyRequestCondition) DeepCopyInto

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

func (*GCPAccessKeyRequestCondition) Descriptor

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

func (*GCPAccessKeyRequestCondition) Marshal

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

func (*GCPAccessKeyRequestCondition) MarshalTo

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

func (*GCPAccessKeyRequestCondition) MarshalToSizedBuffer

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

func (*GCPAccessKeyRequestCondition) ProtoMessage

func (*GCPAccessKeyRequestCondition) ProtoMessage()

func (*GCPAccessKeyRequestCondition) Reset

func (m *GCPAccessKeyRequestCondition) Reset()

func (*GCPAccessKeyRequestCondition) Size

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

func (*GCPAccessKeyRequestCondition) String

func (this *GCPAccessKeyRequestCondition) String() string

func (*GCPAccessKeyRequestCondition) Unmarshal

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

func (*GCPAccessKeyRequestCondition) XXX_DiscardUnknown

func (m *GCPAccessKeyRequestCondition) XXX_DiscardUnknown()

func (*GCPAccessKeyRequestCondition) XXX_Marshal

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

func (*GCPAccessKeyRequestCondition) XXX_Merge

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

func (*GCPAccessKeyRequestCondition) XXX_Size

func (m *GCPAccessKeyRequestCondition) XXX_Size() int

func (*GCPAccessKeyRequestCondition) XXX_Unmarshal

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

type GCPAccessKeyRequestList

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

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

func (*GCPAccessKeyRequestList) DeepCopy

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

func (*GCPAccessKeyRequestList) DeepCopyInto

func (in *GCPAccessKeyRequestList) DeepCopyInto(out *GCPAccessKeyRequestList)

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

func (*GCPAccessKeyRequestList) DeepCopyObject

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

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

func (*GCPAccessKeyRequestList) Descriptor

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

func (*GCPAccessKeyRequestList) Marshal

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

func (*GCPAccessKeyRequestList) MarshalTo

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

func (*GCPAccessKeyRequestList) MarshalToSizedBuffer

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

func (*GCPAccessKeyRequestList) ProtoMessage

func (*GCPAccessKeyRequestList) ProtoMessage()

func (*GCPAccessKeyRequestList) Reset

func (m *GCPAccessKeyRequestList) Reset()

func (*GCPAccessKeyRequestList) Size

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

func (*GCPAccessKeyRequestList) String

func (this *GCPAccessKeyRequestList) String() string

func (*GCPAccessKeyRequestList) Unmarshal

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

func (*GCPAccessKeyRequestList) XXX_DiscardUnknown

func (m *GCPAccessKeyRequestList) XXX_DiscardUnknown()

func (*GCPAccessKeyRequestList) XXX_Marshal

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

func (*GCPAccessKeyRequestList) XXX_Merge

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

func (*GCPAccessKeyRequestList) XXX_Size

func (m *GCPAccessKeyRequestList) XXX_Size() int

func (*GCPAccessKeyRequestList) XXX_Unmarshal

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

type GCPAccessKeyRequestSpec

type GCPAccessKeyRequestSpec struct {
	// Contains vault gcp role info
	RoleRef RoleRef `json:"roleRef" protobuf:"bytes,1,opt,name=roleRef"`

	// Contains a reference to the object or user identities the role binding is applied to
	Subjects []rbac.Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"`

	// 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,3,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,4,opt,name=keyType"`
}

GCPAccessKeyRequestSpec contains information to request for vault gcp credentials

func (*GCPAccessKeyRequestSpec) DeepCopy

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

func (*GCPAccessKeyRequestSpec) DeepCopyInto

func (in *GCPAccessKeyRequestSpec) DeepCopyInto(out *GCPAccessKeyRequestSpec)

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

func (*GCPAccessKeyRequestSpec) Descriptor

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

func (*GCPAccessKeyRequestSpec) Marshal

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

func (*GCPAccessKeyRequestSpec) MarshalTo

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

func (*GCPAccessKeyRequestSpec) MarshalToSizedBuffer

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

func (*GCPAccessKeyRequestSpec) ProtoMessage

func (*GCPAccessKeyRequestSpec) ProtoMessage()

func (*GCPAccessKeyRequestSpec) Reset

func (m *GCPAccessKeyRequestSpec) Reset()

func (*GCPAccessKeyRequestSpec) Size

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

func (*GCPAccessKeyRequestSpec) String

func (this *GCPAccessKeyRequestSpec) String() string

func (*GCPAccessKeyRequestSpec) Unmarshal

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

func (*GCPAccessKeyRequestSpec) XXX_DiscardUnknown

func (m *GCPAccessKeyRequestSpec) XXX_DiscardUnknown()

func (*GCPAccessKeyRequestSpec) XXX_Marshal

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

func (*GCPAccessKeyRequestSpec) XXX_Merge

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

func (*GCPAccessKeyRequestSpec) XXX_Size

func (m *GCPAccessKeyRequestSpec) XXX_Size() int

func (*GCPAccessKeyRequestSpec) XXX_Unmarshal

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

type GCPAccessKeyRequestStatus

type GCPAccessKeyRequestStatus struct {
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []GCPAccessKeyRequestCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`

	// Name of the secret containing GCPCredential
	Secret *core.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

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

func (*GCPAccessKeyRequestStatus) DeepCopy

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

func (*GCPAccessKeyRequestStatus) DeepCopyInto

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

func (*GCPAccessKeyRequestStatus) Descriptor

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

func (*GCPAccessKeyRequestStatus) Marshal

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

func (*GCPAccessKeyRequestStatus) MarshalTo

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

func (*GCPAccessKeyRequestStatus) MarshalToSizedBuffer

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

func (*GCPAccessKeyRequestStatus) ProtoMessage

func (*GCPAccessKeyRequestStatus) ProtoMessage()

func (*GCPAccessKeyRequestStatus) Reset

func (m *GCPAccessKeyRequestStatus) Reset()

func (*GCPAccessKeyRequestStatus) Size

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

func (*GCPAccessKeyRequestStatus) String

func (this *GCPAccessKeyRequestStatus) String() string

func (*GCPAccessKeyRequestStatus) Unmarshal

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

func (*GCPAccessKeyRequestStatus) XXX_DiscardUnknown

func (m *GCPAccessKeyRequestStatus) XXX_DiscardUnknown()

func (*GCPAccessKeyRequestStatus) XXX_Marshal

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

func (*GCPAccessKeyRequestStatus) XXX_Merge

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

func (*GCPAccessKeyRequestStatus) XXX_Size

func (m *GCPAccessKeyRequestStatus) XXX_Size() int

func (*GCPAccessKeyRequestStatus) XXX_Unmarshal

func (m *GCPAccessKeyRequestStatus) 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            GCPRoleStatus `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 GCPRoleCondition

type GCPRoleCondition struct {
	// Type of GCPRole condition.
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

GCPRoleCondition describes the state of a GCPRole at a certain point.

func (*GCPRoleCondition) DeepCopy

func (in *GCPRoleCondition) DeepCopy() *GCPRoleCondition

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

func (*GCPRoleCondition) DeepCopyInto

func (in *GCPRoleCondition) DeepCopyInto(out *GCPRoleCondition)

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

func (*GCPRoleCondition) Descriptor

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

func (*GCPRoleCondition) Marshal

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

func (*GCPRoleCondition) MarshalTo

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

func (*GCPRoleCondition) MarshalToSizedBuffer

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

func (*GCPRoleCondition) ProtoMessage

func (*GCPRoleCondition) ProtoMessage()

func (*GCPRoleCondition) Reset

func (m *GCPRoleCondition) Reset()

func (*GCPRoleCondition) Size

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

func (*GCPRoleCondition) String

func (this *GCPRoleCondition) String() string

func (*GCPRoleCondition) Unmarshal

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

func (*GCPRoleCondition) XXX_DiscardUnknown

func (m *GCPRoleCondition) XXX_DiscardUnknown()

func (*GCPRoleCondition) XXX_Marshal

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

func (*GCPRoleCondition) XXX_Merge

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

func (*GCPRoleCondition) XXX_Size

func (m *GCPRoleCondition) XXX_Size() int

func (*GCPRoleCondition) XXX_Unmarshal

func (m *GCPRoleCondition) 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 GCPRolePhase

type GCPRolePhase string

type GCPRoleSpec

type GCPRoleSpec struct {
	// VaultRef is the name of a AppBinding referencing to a Vault Server
	VaultRef core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

	// 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 GCPRoleStatus

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

	// ObservedGeneration is the most recent generation observed for this GCPRole. It corresponds to the
	// GCPRole'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 GCPRole current state.
	Conditions []GCPRoleCondition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

func (*GCPRoleStatus) DeepCopy

func (in *GCPRoleStatus) DeepCopy() *GCPRoleStatus

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

func (*GCPRoleStatus) DeepCopyInto

func (in *GCPRoleStatus) DeepCopyInto(out *GCPRoleStatus)

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

func (*GCPRoleStatus) Descriptor

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

func (*GCPRoleStatus) Marshal

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

func (*GCPRoleStatus) MarshalTo

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

func (*GCPRoleStatus) MarshalToSizedBuffer

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

func (*GCPRoleStatus) ProtoMessage

func (*GCPRoleStatus) ProtoMessage()

func (*GCPRoleStatus) Reset

func (m *GCPRoleStatus) Reset()

func (*GCPRoleStatus) Size

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

func (*GCPRoleStatus) String

func (this *GCPRoleStatus) String() string

func (*GCPRoleStatus) Unmarshal

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

func (*GCPRoleStatus) XXX_DiscardUnknown

func (m *GCPRoleStatus) XXX_DiscardUnknown()

func (*GCPRoleStatus) XXX_Marshal

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

func (*GCPRoleStatus) XXX_Merge

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

func (*GCPRoleStatus) XXX_Size

func (m *GCPRoleStatus) XXX_Size() int

func (*GCPRoleStatus) XXX_Unmarshal

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

type GCPSecretType

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

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            MongoDBRoleStatus `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 MongoDBRoleCondition

type MongoDBRoleCondition struct {
	// Type of MongoDBRole condition.
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

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

func (*MongoDBRoleCondition) DeepCopy

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

func (*MongoDBRoleCondition) DeepCopyInto

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

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

func (*MongoDBRoleCondition) Descriptor

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

func (*MongoDBRoleCondition) Marshal

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

func (*MongoDBRoleCondition) MarshalTo

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

func (*MongoDBRoleCondition) MarshalToSizedBuffer

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

func (*MongoDBRoleCondition) ProtoMessage

func (*MongoDBRoleCondition) ProtoMessage()

func (*MongoDBRoleCondition) Reset

func (m *MongoDBRoleCondition) Reset()

func (*MongoDBRoleCondition) Size

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

func (*MongoDBRoleCondition) String

func (this *MongoDBRoleCondition) String() string

func (*MongoDBRoleCondition) Unmarshal

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

func (*MongoDBRoleCondition) XXX_DiscardUnknown

func (m *MongoDBRoleCondition) XXX_DiscardUnknown()

func (*MongoDBRoleCondition) XXX_Marshal

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

func (*MongoDBRoleCondition) XXX_Merge

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

func (*MongoDBRoleCondition) XXX_Size

func (m *MongoDBRoleCondition) XXX_Size() int

func (*MongoDBRoleCondition) XXX_Unmarshal

func (m *MongoDBRoleCondition) 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 MongoDBRolePhase

type MongoDBRolePhase string

type MongoDBRoleSpec

type MongoDBRoleSpec struct {
	// VaultRef is the name of a AppBinding referencing to a Vault Server
	VaultRef core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

	// DatabaseRef specifies the database appbinding reference in any namespace
	DatabaseRef *appcat.AppReference `json:"databaseRef,omitempty" protobuf:"bytes,2,opt,name=databaseRef"`

	// Specifies the database name under which the role will be created
	DatabaseName string `json:"databaseName,omitempty" protobuf:"bytes,3,opt,name=databaseName"`

	// Specifies the path where secret engine is enabled
	Path string `json:"path,omitempty" protobuf:"bytes,4,opt,name=path"`

	// 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,5,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,6,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,7,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,8,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 MongoDBRoleStatus

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

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

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

func (*MongoDBRoleStatus) DeepCopy

func (in *MongoDBRoleStatus) DeepCopy() *MongoDBRoleStatus

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

func (*MongoDBRoleStatus) DeepCopyInto

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

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

func (*MongoDBRoleStatus) Descriptor

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

func (*MongoDBRoleStatus) Marshal

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

func (*MongoDBRoleStatus) MarshalTo

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

func (*MongoDBRoleStatus) MarshalToSizedBuffer

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

func (*MongoDBRoleStatus) ProtoMessage

func (*MongoDBRoleStatus) ProtoMessage()

func (*MongoDBRoleStatus) Reset

func (m *MongoDBRoleStatus) Reset()

func (*MongoDBRoleStatus) Size

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

func (*MongoDBRoleStatus) String

func (this *MongoDBRoleStatus) String() string

func (*MongoDBRoleStatus) Unmarshal

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

func (*MongoDBRoleStatus) XXX_DiscardUnknown

func (m *MongoDBRoleStatus) XXX_DiscardUnknown()

func (*MongoDBRoleStatus) XXX_Marshal

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

func (*MongoDBRoleStatus) XXX_Merge

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

func (*MongoDBRoleStatus) XXX_Size

func (m *MongoDBRoleStatus) XXX_Size() int

func (*MongoDBRoleStatus) XXX_Unmarshal

func (m *MongoDBRoleStatus) 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            MySQLRoleStatus `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 MySQLRoleCondition

type MySQLRoleCondition struct {
	// Type of MySQLRole condition.
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

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

func (*MySQLRoleCondition) DeepCopy

func (in *MySQLRoleCondition) DeepCopy() *MySQLRoleCondition

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

func (*MySQLRoleCondition) DeepCopyInto

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

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

func (*MySQLRoleCondition) Descriptor

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

func (*MySQLRoleCondition) Marshal

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

func (*MySQLRoleCondition) MarshalTo

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

func (*MySQLRoleCondition) MarshalToSizedBuffer

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

func (*MySQLRoleCondition) ProtoMessage

func (*MySQLRoleCondition) ProtoMessage()

func (*MySQLRoleCondition) Reset

func (m *MySQLRoleCondition) Reset()

func (*MySQLRoleCondition) Size

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

func (*MySQLRoleCondition) String

func (this *MySQLRoleCondition) String() string

func (*MySQLRoleCondition) Unmarshal

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

func (*MySQLRoleCondition) XXX_DiscardUnknown

func (m *MySQLRoleCondition) XXX_DiscardUnknown()

func (*MySQLRoleCondition) XXX_Marshal

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

func (*MySQLRoleCondition) XXX_Merge

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

func (*MySQLRoleCondition) XXX_Size

func (m *MySQLRoleCondition) XXX_Size() int

func (*MySQLRoleCondition) XXX_Unmarshal

func (m *MySQLRoleCondition) 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 MySQLRolePhase

type MySQLRolePhase string

type MySQLRoleSpec

type MySQLRoleSpec struct {
	// VaultRef is the name of a AppBinding referencing to a Vault Server
	VaultRef core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

	// DatabaseRef specifies the database appbinding reference in any namespace.
	DatabaseRef *appcat.AppReference `json:"databaseRef,omitempty" protobuf:"bytes,2,opt,name=databaseRef"`

	// Specifies the database name under which the role will be created
	DatabaseName string `json:"databaseName,omitempty" protobuf:"bytes,3,opt,name=databaseName"`

	// Specifies the path where secret engine is enabled
	Path string `json:"path,omitempty" protobuf:"bytes,4,opt,name=path"`

	// 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,5,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,6,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,7,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,8,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 MySQLRoleStatus

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

	// 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 []MySQLRoleCondition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

func (*MySQLRoleStatus) DeepCopy

func (in *MySQLRoleStatus) DeepCopy() *MySQLRoleStatus

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

func (*MySQLRoleStatus) DeepCopyInto

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

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

func (*MySQLRoleStatus) Descriptor

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

func (*MySQLRoleStatus) Marshal

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

func (*MySQLRoleStatus) MarshalTo

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

func (*MySQLRoleStatus) MarshalToSizedBuffer

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

func (*MySQLRoleStatus) ProtoMessage

func (*MySQLRoleStatus) ProtoMessage()

func (*MySQLRoleStatus) Reset

func (m *MySQLRoleStatus) Reset()

func (*MySQLRoleStatus) Size

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

func (*MySQLRoleStatus) String

func (this *MySQLRoleStatus) String() string

func (*MySQLRoleStatus) Unmarshal

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

func (*MySQLRoleStatus) XXX_DiscardUnknown

func (m *MySQLRoleStatus) XXX_DiscardUnknown()

func (*MySQLRoleStatus) XXX_Marshal

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

func (*MySQLRoleStatus) XXX_Merge

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

func (*MySQLRoleStatus) XXX_Size

func (m *MySQLRoleStatus) XXX_Size() int

func (*MySQLRoleStatus) XXX_Unmarshal

func (m *MySQLRoleStatus) 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            PostgresRoleStatus `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 PostgresRoleCondition

type PostgresRoleCondition struct {
	// Type of PostgresRole condition.
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Status of the condition, one of True, False, Unknown.
	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

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

func (*PostgresRoleCondition) DeepCopy

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

func (*PostgresRoleCondition) DeepCopyInto

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

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

func (*PostgresRoleCondition) Descriptor

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

func (*PostgresRoleCondition) Marshal

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

func (*PostgresRoleCondition) MarshalTo

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

func (*PostgresRoleCondition) MarshalToSizedBuffer

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

func (*PostgresRoleCondition) ProtoMessage

func (*PostgresRoleCondition) ProtoMessage()

func (*PostgresRoleCondition) Reset

func (m *PostgresRoleCondition) Reset()

func (*PostgresRoleCondition) Size

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

func (*PostgresRoleCondition) String

func (this *PostgresRoleCondition) String() string

func (*PostgresRoleCondition) Unmarshal

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

func (*PostgresRoleCondition) XXX_DiscardUnknown

func (m *PostgresRoleCondition) XXX_DiscardUnknown()

func (*PostgresRoleCondition) XXX_Marshal

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

func (*PostgresRoleCondition) XXX_Merge

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

func (*PostgresRoleCondition) XXX_Size

func (m *PostgresRoleCondition) XXX_Size() int

func (*PostgresRoleCondition) XXX_Unmarshal

func (m *PostgresRoleCondition) 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 PostgresRolePhase

type PostgresRolePhase string

type PostgresRoleSpec

type PostgresRoleSpec struct {
	// VaultRef is the name of a AppBinding referencing to a Vault Server
	VaultRef core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

	// DatabaseRef specifies the database appbinding reference in any namespace
	DatabaseRef *appcat.AppReference `json:"databaseRef,omitempty" protobuf:"bytes,2,opt,name=databaseRef"`

	// Specifies the database name under which the role will be created
	DatabaseName string `json:"databaseName,omitempty" protobuf:"bytes,3,opt,name=databaseName"`

	// Specifies the path where secret engine is enabled
	Path string `json:"path,omitempty" protobuf:"bytes,4,opt,name=path"`

	// 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,5,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,6,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,7,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,8,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,9,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,10,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 PostgresRoleStatus

type PostgresRoleStatus struct {
	// ObservedGeneration is the most recent generation observed for this PostgresROle. It corresponds to the
	// PostgresROle's generation, which is updated on mutation by the API Server.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// Specifies the phase of the PostgresRole
	Phase PostgresRolePhase `json:"phase,omitempty" protobuf:"bytes,2,opt,name=phase,casttype=PostgresRolePhase"`

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

func (*PostgresRoleStatus) DeepCopy

func (in *PostgresRoleStatus) DeepCopy() *PostgresRoleStatus

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

func (*PostgresRoleStatus) DeepCopyInto

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

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

func (*PostgresRoleStatus) Descriptor

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

func (*PostgresRoleStatus) Marshal

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

func (*PostgresRoleStatus) MarshalTo

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

func (*PostgresRoleStatus) MarshalToSizedBuffer

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

func (*PostgresRoleStatus) ProtoMessage

func (*PostgresRoleStatus) ProtoMessage()

func (*PostgresRoleStatus) Reset

func (m *PostgresRoleStatus) Reset()

func (*PostgresRoleStatus) Size

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

func (*PostgresRoleStatus) String

func (this *PostgresRoleStatus) String() string

func (*PostgresRoleStatus) Unmarshal

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

func (*PostgresRoleStatus) XXX_DiscardUnknown

func (m *PostgresRoleStatus) XXX_DiscardUnknown()

func (*PostgresRoleStatus) XXX_Marshal

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

func (*PostgresRoleStatus) XXX_Merge

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

func (*PostgresRoleStatus) XXX_Size

func (m *PostgresRoleStatus) XXX_Size() int

func (*PostgresRoleStatus) XXX_Unmarshal

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

type RequestConditionType

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

These are the possible conditions for a certificate request.

type RoleRef

type RoleRef struct {
	// APIGroup is the group for the resource being referenced
	APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
	// Kind is the type of resource being referenced
	Kind string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
	// Name is the name of resource being referenced
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
	// Namespace is the namespace of the resource being referenced
	Namespace string `json:"namespace" protobuf:"bytes,4,opt,name=namespace"`
}

RoleRef contains information that points to the role being used

func (*RoleRef) DeepCopy

func (in *RoleRef) DeepCopy() *RoleRef

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

func (*RoleRef) DeepCopyInto

func (in *RoleRef) DeepCopyInto(out *RoleRef)

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

func (*RoleRef) Descriptor

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

func (*RoleRef) Marshal

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

func (*RoleRef) MarshalTo

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

func (*RoleRef) MarshalToSizedBuffer

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

func (*RoleRef) ProtoMessage

func (*RoleRef) ProtoMessage()

func (*RoleRef) Reset

func (m *RoleRef) Reset()

func (*RoleRef) Size

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

func (*RoleRef) String

func (this *RoleRef) String() string

func (*RoleRef) Unmarshal

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

func (*RoleRef) XXX_DiscardUnknown

func (m *RoleRef) XXX_DiscardUnknown()

func (*RoleRef) XXX_Marshal

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

func (*RoleRef) XXX_Merge

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

func (*RoleRef) XXX_Size

func (m *RoleRef) XXX_Size() int

func (*RoleRef) XXX_Unmarshal

func (m *RoleRef) 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) 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 SecretEngineCondition

type SecretEngineCondition struct {
	Type string `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	Status core.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The reason for the condition's.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

func (*SecretEngineCondition) DeepCopy

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

func (*SecretEngineCondition) DeepCopyInto

func (in *SecretEngineCondition) DeepCopyInto(out *SecretEngineCondition)

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

func (*SecretEngineCondition) Descriptor

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

func (*SecretEngineCondition) Marshal

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

func (*SecretEngineCondition) MarshalTo

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

func (*SecretEngineCondition) MarshalToSizedBuffer

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

func (*SecretEngineCondition) ProtoMessage

func (*SecretEngineCondition) ProtoMessage()

func (*SecretEngineCondition) Reset

func (m *SecretEngineCondition) Reset()

func (*SecretEngineCondition) Size

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

func (*SecretEngineCondition) String

func (this *SecretEngineCondition) String() string

func (*SecretEngineCondition) Unmarshal

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

func (*SecretEngineCondition) XXX_DiscardUnknown

func (m *SecretEngineCondition) XXX_DiscardUnknown()

func (*SecretEngineCondition) XXX_Marshal

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

func (*SecretEngineCondition) XXX_Merge

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

func (*SecretEngineCondition) XXX_Size

func (m *SecretEngineCondition) XXX_Size() int

func (*SecretEngineCondition) XXX_Unmarshal

func (m *SecretEngineCondition) 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"`
}

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 core.LocalObjectReference `json:"vaultRef" protobuf:"bytes,1,opt,name=vaultRef"`

	// Path defines the path used to enable this secret engine
	// +optional
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`

	SecretEngineConfiguration `json:",inline" protobuf:"bytes,3,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 []SecretEngineCondition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

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

Jump to

Keyboard shortcuts

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