store

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_storage_kms_store_v1_audit_key_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_progress_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_run_allowed_table_name_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_data_key_version_destruction_job_run_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_database_key_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_oidc_key_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_oplog_key_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_root_key_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_session_key_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_kms_store_v1_token_key_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuditKey added in v0.7.0

type AuditKey struct {

	// private_id is used to access the key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// root key id for the key
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*AuditKey) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AuditKey.ProtoReflect.Descriptor instead.

func (*AuditKey) GetCreateTime added in v0.7.0

func (x *AuditKey) GetCreateTime() *timestamp.Timestamp

func (*AuditKey) GetPrivateId added in v0.7.0

func (x *AuditKey) GetPrivateId() string

func (*AuditKey) GetRootKeyId added in v0.7.0

func (x *AuditKey) GetRootKeyId() string

func (*AuditKey) ProtoMessage added in v0.7.0

func (*AuditKey) ProtoMessage()

func (*AuditKey) ProtoReflect added in v0.7.0

func (x *AuditKey) ProtoReflect() protoreflect.Message

func (*AuditKey) Reset added in v0.7.0

func (x *AuditKey) Reset()

func (*AuditKey) String added in v0.7.0

func (x *AuditKey) String() string

type AuditKeyVersion added in v0.7.0

type AuditKeyVersion struct {

	// private_id is used to access the key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// id for the key version
	// @inject_tag: `gorm:"default:null"`
	AuditKeyId string `protobuf:"bytes,20,opt,name=audit_key_id,json=auditKeyId,proto3" json:"audit_key_id,omitempty" gorm:"default:null"`
	// root_key_version_id of the version of the root key data.
	// @inject_tag: `gorm:"default:null"`
	RootKeyVersionId string `` /* 134-byte string literal not displayed */
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 127-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*AuditKeyVersion) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AuditKeyVersion.ProtoReflect.Descriptor instead.

func (*AuditKeyVersion) GetAuditKeyId added in v0.7.0

func (x *AuditKeyVersion) GetAuditKeyId() string

func (*AuditKeyVersion) GetCreateTime added in v0.7.0

func (x *AuditKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*AuditKeyVersion) GetCtKey added in v0.7.0

func (x *AuditKeyVersion) GetCtKey() []byte

func (*AuditKeyVersion) GetKey added in v0.7.0

func (x *AuditKeyVersion) GetKey() []byte

func (*AuditKeyVersion) GetPrivateId added in v0.7.0

func (x *AuditKeyVersion) GetPrivateId() string

func (*AuditKeyVersion) GetRootKeyVersionId added in v0.7.0

func (x *AuditKeyVersion) GetRootKeyVersionId() string

func (*AuditKeyVersion) GetVersion added in v0.7.0

func (x *AuditKeyVersion) GetVersion() uint32

func (*AuditKeyVersion) ProtoMessage added in v0.7.0

func (*AuditKeyVersion) ProtoMessage()

func (*AuditKeyVersion) ProtoReflect added in v0.7.0

func (x *AuditKeyVersion) ProtoReflect() protoreflect.Message

func (*AuditKeyVersion) Reset added in v0.7.0

func (x *AuditKeyVersion) Reset()

func (*AuditKeyVersion) String added in v0.7.0

func (x *AuditKeyVersion) String() string

type DataKeyVersionDestructionJob added in v0.11.1

type DataKeyVersionDestructionJob struct {

	// key_id is the private id of the data key version being destroyed.
	// @inject_tag: `gorm:"primary_key"`
	KeyId string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"primary_key"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

DataKeyVersionDestructionJob is used to read and write data from the kms_data_key_version_destruction_job table.

func (*DataKeyVersionDestructionJob) Descriptor deprecated added in v0.11.1

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

Deprecated: Use DataKeyVersionDestructionJob.ProtoReflect.Descriptor instead.

func (*DataKeyVersionDestructionJob) GetCreateTime added in v0.11.1

func (x *DataKeyVersionDestructionJob) GetCreateTime() *timestamp.Timestamp

func (*DataKeyVersionDestructionJob) GetKeyId added in v0.11.1

func (x *DataKeyVersionDestructionJob) GetKeyId() string

func (*DataKeyVersionDestructionJob) ProtoMessage added in v0.11.1

func (*DataKeyVersionDestructionJob) ProtoMessage()

func (*DataKeyVersionDestructionJob) ProtoReflect added in v0.11.1

func (*DataKeyVersionDestructionJob) Reset added in v0.11.1

func (x *DataKeyVersionDestructionJob) Reset()

func (*DataKeyVersionDestructionJob) String added in v0.11.1

type DataKeyVersionDestructionJobProgress added in v0.11.1

type DataKeyVersionDestructionJobProgress struct {

	// The id of the data key version that is being revoked
	// @inject_tag: `gorm:"not_null"`
	KeyId string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"not_null"`
	// Scope id this data key version belongs to.
	// @inject_tag: `gorm:"not_null"`
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"not_null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"not_null"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"not_null"`
	// The status of this data key version destruction job
	// One of "pending", "running" or "completed"
	// @inject_tag: `gorm:"not_null"`
	Status string `protobuf:"bytes,40,opt,name=status,proto3" json:"status,omitempty" gorm:"not_null"`
	// The number of rows that have been rewrapped
	// @inject_tag: `gorm:"not_null"`
	CompletedCount int64 `protobuf:"varint,50,opt,name=completed_count,json=completedCount,proto3" json:"completed_count,omitempty" gorm:"not_null"`
	// The total number of rows that need rewrapping
	// @inject_tag: `gorm:"not_null"`
	TotalCount int64 `protobuf:"varint,60,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

func (*DataKeyVersionDestructionJobProgress) Descriptor deprecated added in v0.11.1

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

Deprecated: Use DataKeyVersionDestructionJobProgress.ProtoReflect.Descriptor instead.

func (*DataKeyVersionDestructionJobProgress) GetCompletedCount added in v0.11.1

func (x *DataKeyVersionDestructionJobProgress) GetCompletedCount() int64

func (*DataKeyVersionDestructionJobProgress) GetCreateTime added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) GetKeyId added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) GetScopeId added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) GetStatus added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) GetTotalCount added in v0.11.1

func (x *DataKeyVersionDestructionJobProgress) GetTotalCount() int64

func (*DataKeyVersionDestructionJobProgress) ProtoMessage added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) ProtoMessage()

func (*DataKeyVersionDestructionJobProgress) ProtoReflect added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) Reset added in v0.11.1

func (*DataKeyVersionDestructionJobProgress) String added in v0.11.1

type DataKeyVersionDestructionJobRun added in v0.11.1

type DataKeyVersionDestructionJobRun struct {

	// key_id is the private id of the data key version being destroyed.
	// @inject_tag: `gorm:"primary_key"`
	KeyId string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"primary_key"`
	// table_name is the table name that is being rewrapped by this run.
	// @inject_tag: `gorm:"primary_key"`
	TableName string `protobuf:"bytes,20,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" gorm:"primary_key"`
	// total_count is the total number of rows that need to be rewrapped
	// in this table.
	// @inject_tag: `gorm:"not_null"`
	TotalCount int64 `protobuf:"varint,30,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty" gorm:"not_null"`
	// completed_count is the number of rows that have completed rewrapping.
	// @inject_tag: `gorm:"not_null"`
	CompletedCount int64 `protobuf:"varint,40,opt,name=completed_count,json=completedCount,proto3" json:"completed_count,omitempty" gorm:"not_null"`
	// is_running defines whether this run is currently running. Only
	// one run is allowed to be running at a time.
	// @inject_tag: `gorm:"not_null"`
	IsRunning bool `protobuf:"varint,50,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

DataKeyVersionDestructionJobRun is used to read and write data from the kms_data_key_version_destruction_job_run table.

func (*DataKeyVersionDestructionJobRun) Descriptor deprecated added in v0.11.1

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

Deprecated: Use DataKeyVersionDestructionJobRun.ProtoReflect.Descriptor instead.

func (*DataKeyVersionDestructionJobRun) GetCompletedCount added in v0.11.1

func (x *DataKeyVersionDestructionJobRun) GetCompletedCount() int64

func (*DataKeyVersionDestructionJobRun) GetIsRunning added in v0.11.1

func (x *DataKeyVersionDestructionJobRun) GetIsRunning() bool

func (*DataKeyVersionDestructionJobRun) GetKeyId added in v0.11.1

func (*DataKeyVersionDestructionJobRun) GetTableName added in v0.11.1

func (x *DataKeyVersionDestructionJobRun) GetTableName() string

func (*DataKeyVersionDestructionJobRun) GetTotalCount added in v0.11.1

func (x *DataKeyVersionDestructionJobRun) GetTotalCount() int64

func (*DataKeyVersionDestructionJobRun) ProtoMessage added in v0.11.1

func (*DataKeyVersionDestructionJobRun) ProtoMessage()

func (*DataKeyVersionDestructionJobRun) ProtoReflect added in v0.11.1

func (*DataKeyVersionDestructionJobRun) Reset added in v0.11.1

func (*DataKeyVersionDestructionJobRun) String added in v0.11.1

type DataKeyVersionDestructionJobRunAllowedTableName added in v0.11.1

type DataKeyVersionDestructionJobRunAllowedTableName struct {

	// The name of a table that is allowed to be used
	// in a data key version destruction job run.
	// @inject_tag: `gorm:"not_null"`
	TableName string `protobuf:"bytes,10,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

func (*DataKeyVersionDestructionJobRunAllowedTableName) Descriptor deprecated added in v0.11.1

Deprecated: Use DataKeyVersionDestructionJobRunAllowedTableName.ProtoReflect.Descriptor instead.

func (*DataKeyVersionDestructionJobRunAllowedTableName) GetTableName added in v0.11.1

func (*DataKeyVersionDestructionJobRunAllowedTableName) ProtoMessage added in v0.11.1

func (*DataKeyVersionDestructionJobRunAllowedTableName) ProtoReflect added in v0.11.1

func (*DataKeyVersionDestructionJobRunAllowedTableName) Reset added in v0.11.1

func (*DataKeyVersionDestructionJobRunAllowedTableName) String added in v0.11.1

type DatabaseKey

type DatabaseKey struct {

	// private_id is used to access the key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// root key id for the key
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*DatabaseKey) Descriptor deprecated

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

Deprecated: Use DatabaseKey.ProtoReflect.Descriptor instead.

func (*DatabaseKey) GetCreateTime

func (x *DatabaseKey) GetCreateTime() *timestamp.Timestamp

func (*DatabaseKey) GetPrivateId

func (x *DatabaseKey) GetPrivateId() string

func (*DatabaseKey) GetRootKeyId

func (x *DatabaseKey) GetRootKeyId() string

func (*DatabaseKey) ProtoMessage

func (*DatabaseKey) ProtoMessage()

func (*DatabaseKey) ProtoReflect

func (x *DatabaseKey) ProtoReflect() protoreflect.Message

func (*DatabaseKey) Reset

func (x *DatabaseKey) Reset()

func (*DatabaseKey) String

func (x *DatabaseKey) String() string

type DatabaseKeyVersion

type DatabaseKeyVersion struct {

	// private_id is used to access the key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// database id for the key version
	// @inject_tag: `gorm:"default:null"`
	DatabaseKeyId string `protobuf:"bytes,20,opt,name=database_key_id,json=databaseKeyId,proto3" json:"database_key_id,omitempty" gorm:"default:null"`
	// root_key_version_id of the version of the root key data.
	// @inject_tag: `gorm:"default:null"`
	RootKeyVersionId string `` /* 134-byte string literal not displayed */
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 127-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*DatabaseKeyVersion) Descriptor deprecated

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

Deprecated: Use DatabaseKeyVersion.ProtoReflect.Descriptor instead.

func (*DatabaseKeyVersion) GetCreateTime

func (x *DatabaseKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*DatabaseKeyVersion) GetCtKey

func (x *DatabaseKeyVersion) GetCtKey() []byte

func (*DatabaseKeyVersion) GetDatabaseKeyId

func (x *DatabaseKeyVersion) GetDatabaseKeyId() string

func (*DatabaseKeyVersion) GetKey

func (x *DatabaseKeyVersion) GetKey() []byte

func (*DatabaseKeyVersion) GetPrivateId

func (x *DatabaseKeyVersion) GetPrivateId() string

func (*DatabaseKeyVersion) GetRootKeyVersionId

func (x *DatabaseKeyVersion) GetRootKeyVersionId() string

func (*DatabaseKeyVersion) GetVersion

func (x *DatabaseKeyVersion) GetVersion() uint32

func (*DatabaseKeyVersion) ProtoMessage

func (*DatabaseKeyVersion) ProtoMessage()

func (*DatabaseKeyVersion) ProtoReflect

func (x *DatabaseKeyVersion) ProtoReflect() protoreflect.Message

func (*DatabaseKeyVersion) Reset

func (x *DatabaseKeyVersion) Reset()

func (*DatabaseKeyVersion) String

func (x *DatabaseKeyVersion) String() string

type OidcKey added in v0.1.5

type OidcKey struct {

	// private_id is used to access the key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// root key id for the key
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*OidcKey) Descriptor deprecated added in v0.1.5

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

Deprecated: Use OidcKey.ProtoReflect.Descriptor instead.

func (*OidcKey) GetCreateTime added in v0.1.5

func (x *OidcKey) GetCreateTime() *timestamp.Timestamp

func (*OidcKey) GetPrivateId added in v0.1.5

func (x *OidcKey) GetPrivateId() string

func (*OidcKey) GetRootKeyId added in v0.1.5

func (x *OidcKey) GetRootKeyId() string

func (*OidcKey) ProtoMessage added in v0.1.5

func (*OidcKey) ProtoMessage()

func (*OidcKey) ProtoReflect added in v0.1.5

func (x *OidcKey) ProtoReflect() protoreflect.Message

func (*OidcKey) Reset added in v0.1.5

func (x *OidcKey) Reset()

func (*OidcKey) String added in v0.1.5

func (x *OidcKey) String() string

type OidcKeyVersion added in v0.1.5

type OidcKeyVersion struct {

	// private_id is used to access the key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// id for the key version
	// @inject_tag: `gorm:"default:null"`
	OidcKeyId string `protobuf:"bytes,20,opt,name=oidc_key_id,json=oidcKeyId,proto3" json:"oidc_key_id,omitempty" gorm:"default:null"`
	// root_key_version_id of the version of the root key data.
	// @inject_tag: `gorm:"default:null"`
	RootKeyVersionId string `` /* 134-byte string literal not displayed */
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 127-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*OidcKeyVersion) Descriptor deprecated added in v0.1.5

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

Deprecated: Use OidcKeyVersion.ProtoReflect.Descriptor instead.

func (*OidcKeyVersion) GetCreateTime added in v0.1.5

func (x *OidcKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*OidcKeyVersion) GetCtKey added in v0.1.5

func (x *OidcKeyVersion) GetCtKey() []byte

func (*OidcKeyVersion) GetKey added in v0.1.5

func (x *OidcKeyVersion) GetKey() []byte

func (*OidcKeyVersion) GetOidcKeyId added in v0.1.5

func (x *OidcKeyVersion) GetOidcKeyId() string

func (*OidcKeyVersion) GetPrivateId added in v0.1.5

func (x *OidcKeyVersion) GetPrivateId() string

func (*OidcKeyVersion) GetRootKeyVersionId added in v0.1.5

func (x *OidcKeyVersion) GetRootKeyVersionId() string

func (*OidcKeyVersion) GetVersion added in v0.1.5

func (x *OidcKeyVersion) GetVersion() uint32

func (*OidcKeyVersion) ProtoMessage added in v0.1.5

func (*OidcKeyVersion) ProtoMessage()

func (*OidcKeyVersion) ProtoReflect added in v0.1.5

func (x *OidcKeyVersion) ProtoReflect() protoreflect.Message

func (*OidcKeyVersion) Reset added in v0.1.5

func (x *OidcKeyVersion) Reset()

func (*OidcKeyVersion) String added in v0.1.5

func (x *OidcKeyVersion) String() string

type OplogKey

type OplogKey struct {

	// private_id is used to access the key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// root key id for the key
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*OplogKey) Descriptor deprecated

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

Deprecated: Use OplogKey.ProtoReflect.Descriptor instead.

func (*OplogKey) GetCreateTime

func (x *OplogKey) GetCreateTime() *timestamp.Timestamp

func (*OplogKey) GetPrivateId

func (x *OplogKey) GetPrivateId() string

func (*OplogKey) GetRootKeyId

func (x *OplogKey) GetRootKeyId() string

func (*OplogKey) ProtoMessage

func (*OplogKey) ProtoMessage()

func (*OplogKey) ProtoReflect

func (x *OplogKey) ProtoReflect() protoreflect.Message

func (*OplogKey) Reset

func (x *OplogKey) Reset()

func (*OplogKey) String

func (x *OplogKey) String() string

type OplogKeyVersion

type OplogKeyVersion struct {

	// private_id is used to access the key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// id for the key version
	// @inject_tag: `gorm:"default:null"`
	OplogKeyId string `protobuf:"bytes,20,opt,name=oplog_key_id,json=oplogKeyId,proto3" json:"oplog_key_id,omitempty" gorm:"default:null"`
	// root_key_version_id of the version of the root key data.
	// @inject_tag: `gorm:"default:null"`
	RootKeyVersionId string `` /* 134-byte string literal not displayed */
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 127-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*OplogKeyVersion) Descriptor deprecated

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

Deprecated: Use OplogKeyVersion.ProtoReflect.Descriptor instead.

func (*OplogKeyVersion) GetCreateTime

func (x *OplogKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*OplogKeyVersion) GetCtKey

func (x *OplogKeyVersion) GetCtKey() []byte

func (*OplogKeyVersion) GetKey

func (x *OplogKeyVersion) GetKey() []byte

func (*OplogKeyVersion) GetOplogKeyId

func (x *OplogKeyVersion) GetOplogKeyId() string

func (*OplogKeyVersion) GetPrivateId

func (x *OplogKeyVersion) GetPrivateId() string

func (*OplogKeyVersion) GetRootKeyVersionId

func (x *OplogKeyVersion) GetRootKeyVersionId() string

func (*OplogKeyVersion) GetVersion

func (x *OplogKeyVersion) GetVersion() uint32

func (*OplogKeyVersion) ProtoMessage

func (*OplogKeyVersion) ProtoMessage()

func (*OplogKeyVersion) ProtoReflect

func (x *OplogKeyVersion) ProtoReflect() protoreflect.Message

func (*OplogKeyVersion) Reset

func (x *OplogKeyVersion) Reset()

func (*OplogKeyVersion) String

func (x *OplogKeyVersion) String() string

type RootKey

type RootKey struct {

	// private_id is used to access the root key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,1,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// scope id for the root key
	// @inject_tag: `gorm:"default:null"`
	ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*RootKey) Descriptor deprecated

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

Deprecated: Use RootKey.ProtoReflect.Descriptor instead.

func (*RootKey) GetCreateTime

func (x *RootKey) GetCreateTime() *timestamp.Timestamp

func (*RootKey) GetPrivateId

func (x *RootKey) GetPrivateId() string

func (*RootKey) GetScopeId

func (x *RootKey) GetScopeId() string

func (*RootKey) ProtoMessage

func (*RootKey) ProtoMessage()

func (*RootKey) ProtoReflect

func (x *RootKey) ProtoReflect() protoreflect.Message

func (*RootKey) Reset

func (x *RootKey) Reset()

func (*RootKey) String

func (x *RootKey) String() string

type RootKeyVersion

type RootKeyVersion struct {

	// private_id is used to access the root key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,1,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// scope id for the root key version
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 126-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*RootKeyVersion) Descriptor deprecated

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

Deprecated: Use RootKeyVersion.ProtoReflect.Descriptor instead.

func (*RootKeyVersion) GetCreateTime

func (x *RootKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*RootKeyVersion) GetCtKey

func (x *RootKeyVersion) GetCtKey() []byte

func (*RootKeyVersion) GetKey

func (x *RootKeyVersion) GetKey() []byte

func (*RootKeyVersion) GetPrivateId

func (x *RootKeyVersion) GetPrivateId() string

func (*RootKeyVersion) GetRootKeyId

func (x *RootKeyVersion) GetRootKeyId() string

func (*RootKeyVersion) GetVersion

func (x *RootKeyVersion) GetVersion() uint32

func (*RootKeyVersion) ProtoMessage

func (*RootKeyVersion) ProtoMessage()

func (*RootKeyVersion) ProtoReflect

func (x *RootKeyVersion) ProtoReflect() protoreflect.Message

func (*RootKeyVersion) Reset

func (x *RootKeyVersion) Reset()

func (*RootKeyVersion) String

func (x *RootKeyVersion) String() string

type SessionKey

type SessionKey struct {

	// private_id is used to access the key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// root key id for the key
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*SessionKey) Descriptor deprecated

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

Deprecated: Use SessionKey.ProtoReflect.Descriptor instead.

func (*SessionKey) GetCreateTime

func (x *SessionKey) GetCreateTime() *timestamp.Timestamp

func (*SessionKey) GetPrivateId

func (x *SessionKey) GetPrivateId() string

func (*SessionKey) GetRootKeyId

func (x *SessionKey) GetRootKeyId() string

func (*SessionKey) ProtoMessage

func (*SessionKey) ProtoMessage()

func (*SessionKey) ProtoReflect

func (x *SessionKey) ProtoReflect() protoreflect.Message

func (*SessionKey) Reset

func (x *SessionKey) Reset()

func (*SessionKey) String

func (x *SessionKey) String() string

type SessionKeyVersion

type SessionKeyVersion struct {

	// private_id is used to access the key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// id for the key version
	// @inject_tag: `gorm:"default:null"`
	SessionKeyId string `protobuf:"bytes,20,opt,name=session_key_id,json=sessionKeyId,proto3" json:"session_key_id,omitempty" gorm:"default:null"`
	// root_key_version_id of the version of the root key data.
	// @inject_tag: `gorm:"default:null"`
	RootKeyVersionId string `` /* 134-byte string literal not displayed */
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 127-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*SessionKeyVersion) Descriptor deprecated

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

Deprecated: Use SessionKeyVersion.ProtoReflect.Descriptor instead.

func (*SessionKeyVersion) GetCreateTime

func (x *SessionKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*SessionKeyVersion) GetCtKey

func (x *SessionKeyVersion) GetCtKey() []byte

func (*SessionKeyVersion) GetKey

func (x *SessionKeyVersion) GetKey() []byte

func (*SessionKeyVersion) GetPrivateId

func (x *SessionKeyVersion) GetPrivateId() string

func (*SessionKeyVersion) GetRootKeyVersionId

func (x *SessionKeyVersion) GetRootKeyVersionId() string

func (*SessionKeyVersion) GetSessionKeyId

func (x *SessionKeyVersion) GetSessionKeyId() string

func (*SessionKeyVersion) GetVersion

func (x *SessionKeyVersion) GetVersion() uint32

func (*SessionKeyVersion) ProtoMessage

func (*SessionKeyVersion) ProtoMessage()

func (*SessionKeyVersion) ProtoReflect

func (x *SessionKeyVersion) ProtoReflect() protoreflect.Message

func (*SessionKeyVersion) Reset

func (x *SessionKeyVersion) Reset()

func (*SessionKeyVersion) String

func (x *SessionKeyVersion) String() string

type TokenKey

type TokenKey struct {

	// private_id is used to access the key via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// root key id for the key
	// @inject_tag: `gorm:"default:null"`
	RootKeyId string `protobuf:"bytes,20,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*TokenKey) Descriptor deprecated

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

Deprecated: Use TokenKey.ProtoReflect.Descriptor instead.

func (*TokenKey) GetCreateTime

func (x *TokenKey) GetCreateTime() *timestamp.Timestamp

func (*TokenKey) GetPrivateId

func (x *TokenKey) GetPrivateId() string

func (*TokenKey) GetRootKeyId

func (x *TokenKey) GetRootKeyId() string

func (*TokenKey) ProtoMessage

func (*TokenKey) ProtoMessage()

func (*TokenKey) ProtoReflect

func (x *TokenKey) ProtoReflect() protoreflect.Message

func (*TokenKey) Reset

func (x *TokenKey) Reset()

func (*TokenKey) String

func (x *TokenKey) String() string

type TokenKeyVersion

type TokenKeyVersion struct {

	// private_id is used to access the key version via an API
	// @inject_tag: gorm:"primary_key"
	PrivateId string `protobuf:"bytes,10,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty" gorm:"primary_key"`
	// id for the key version
	// @inject_tag: `gorm:"default:null"`
	TokenKeyId string `protobuf:"bytes,20,opt,name=token_key_id,json=tokenKeyId,proto3" json:"token_key_id,omitempty" gorm:"default:null"`
	// root_key_version_id of the version of the root key data.
	// @inject_tag: `gorm:"default:null"`
	RootKeyVersionId string `` /* 134-byte string literal not displayed */
	// plain-text of the key data.  we are NOT storing this plain-text key
	// in the db.
	// @inject_tag: `gorm:"-" wrapping:"pt,key_data"`
	Key []byte `protobuf:"bytes,40,opt,name=key,proto3" json:"key,omitempty" gorm:"-" wrapping:"pt,key_data"`
	// ciphertext key data stored in the database
	// @inject_tag: `gorm:"column:key;not_null" wrapping:"ct,key_data"`
	CtKey []byte `` /* 127-byte string literal not displayed */
	// version of the key data.  This is not used for optimistic locking, since
	// key versions are immutable.  It's just the version of the key.
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,60,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*TokenKeyVersion) Descriptor deprecated

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

Deprecated: Use TokenKeyVersion.ProtoReflect.Descriptor instead.

func (*TokenKeyVersion) GetCreateTime

func (x *TokenKeyVersion) GetCreateTime() *timestamp.Timestamp

func (*TokenKeyVersion) GetCtKey

func (x *TokenKeyVersion) GetCtKey() []byte

func (*TokenKeyVersion) GetKey

func (x *TokenKeyVersion) GetKey() []byte

func (*TokenKeyVersion) GetPrivateId

func (x *TokenKeyVersion) GetPrivateId() string

func (*TokenKeyVersion) GetRootKeyVersionId

func (x *TokenKeyVersion) GetRootKeyVersionId() string

func (*TokenKeyVersion) GetTokenKeyId

func (x *TokenKeyVersion) GetTokenKeyId() string

func (*TokenKeyVersion) GetVersion

func (x *TokenKeyVersion) GetVersion() uint32

func (*TokenKeyVersion) ProtoMessage

func (*TokenKeyVersion) ProtoMessage()

func (*TokenKeyVersion) ProtoReflect

func (x *TokenKeyVersion) ProtoReflect() protoreflect.Message

func (*TokenKeyVersion) Reset

func (x *TokenKeyVersion) Reset()

func (*TokenKeyVersion) String

func (x *TokenKeyVersion) String() string

Jump to

Keyboard shortcuts

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