Documentation ¶
Index ¶
- Variables
- type AuditKey
- func (*AuditKey) Descriptor() ([]byte, []int)deprecated
- func (x *AuditKey) GetCreateTime() *timestamp.Timestamp
- func (x *AuditKey) GetPrivateId() string
- func (x *AuditKey) GetRootKeyId() string
- func (*AuditKey) ProtoMessage()
- func (x *AuditKey) ProtoReflect() protoreflect.Message
- func (x *AuditKey) Reset()
- func (x *AuditKey) String() string
- type AuditKeyVersion
- func (*AuditKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *AuditKeyVersion) GetAuditKeyId() string
- func (x *AuditKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *AuditKeyVersion) GetCtKey() []byte
- func (x *AuditKeyVersion) GetKey() []byte
- func (x *AuditKeyVersion) GetPrivateId() string
- func (x *AuditKeyVersion) GetRootKeyVersionId() string
- func (x *AuditKeyVersion) GetVersion() uint32
- func (*AuditKeyVersion) ProtoMessage()
- func (x *AuditKeyVersion) ProtoReflect() protoreflect.Message
- func (x *AuditKeyVersion) Reset()
- func (x *AuditKeyVersion) String() string
- type DatabaseKey
- func (*DatabaseKey) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseKey) GetCreateTime() *timestamp.Timestamp
- func (x *DatabaseKey) GetPrivateId() string
- func (x *DatabaseKey) GetRootKeyId() string
- func (*DatabaseKey) ProtoMessage()
- func (x *DatabaseKey) ProtoReflect() protoreflect.Message
- func (x *DatabaseKey) Reset()
- func (x *DatabaseKey) String() string
- type DatabaseKeyVersion
- func (*DatabaseKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *DatabaseKeyVersion) GetCtKey() []byte
- func (x *DatabaseKeyVersion) GetDatabaseKeyId() string
- func (x *DatabaseKeyVersion) GetKey() []byte
- func (x *DatabaseKeyVersion) GetPrivateId() string
- func (x *DatabaseKeyVersion) GetRootKeyVersionId() string
- func (x *DatabaseKeyVersion) GetVersion() uint32
- func (*DatabaseKeyVersion) ProtoMessage()
- func (x *DatabaseKeyVersion) ProtoReflect() protoreflect.Message
- func (x *DatabaseKeyVersion) Reset()
- func (x *DatabaseKeyVersion) String() string
- type OidcKey
- func (*OidcKey) Descriptor() ([]byte, []int)deprecated
- func (x *OidcKey) GetCreateTime() *timestamp.Timestamp
- func (x *OidcKey) GetPrivateId() string
- func (x *OidcKey) GetRootKeyId() string
- func (*OidcKey) ProtoMessage()
- func (x *OidcKey) ProtoReflect() protoreflect.Message
- func (x *OidcKey) Reset()
- func (x *OidcKey) String() string
- type OidcKeyVersion
- func (*OidcKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *OidcKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *OidcKeyVersion) GetCtKey() []byte
- func (x *OidcKeyVersion) GetKey() []byte
- func (x *OidcKeyVersion) GetOidcKeyId() string
- func (x *OidcKeyVersion) GetPrivateId() string
- func (x *OidcKeyVersion) GetRootKeyVersionId() string
- func (x *OidcKeyVersion) GetVersion() uint32
- func (*OidcKeyVersion) ProtoMessage()
- func (x *OidcKeyVersion) ProtoReflect() protoreflect.Message
- func (x *OidcKeyVersion) Reset()
- func (x *OidcKeyVersion) String() string
- type OplogKey
- func (*OplogKey) Descriptor() ([]byte, []int)deprecated
- func (x *OplogKey) GetCreateTime() *timestamp.Timestamp
- func (x *OplogKey) GetPrivateId() string
- func (x *OplogKey) GetRootKeyId() string
- func (*OplogKey) ProtoMessage()
- func (x *OplogKey) ProtoReflect() protoreflect.Message
- func (x *OplogKey) Reset()
- func (x *OplogKey) String() string
- type OplogKeyVersion
- func (*OplogKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *OplogKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *OplogKeyVersion) GetCtKey() []byte
- func (x *OplogKeyVersion) GetKey() []byte
- func (x *OplogKeyVersion) GetOplogKeyId() string
- func (x *OplogKeyVersion) GetPrivateId() string
- func (x *OplogKeyVersion) GetRootKeyVersionId() string
- func (x *OplogKeyVersion) GetVersion() uint32
- func (*OplogKeyVersion) ProtoMessage()
- func (x *OplogKeyVersion) ProtoReflect() protoreflect.Message
- func (x *OplogKeyVersion) Reset()
- func (x *OplogKeyVersion) String() string
- type RootKey
- func (*RootKey) Descriptor() ([]byte, []int)deprecated
- func (x *RootKey) GetCreateTime() *timestamp.Timestamp
- func (x *RootKey) GetPrivateId() string
- func (x *RootKey) GetScopeId() string
- func (*RootKey) ProtoMessage()
- func (x *RootKey) ProtoReflect() protoreflect.Message
- func (x *RootKey) Reset()
- func (x *RootKey) String() string
- type RootKeyVersion
- func (*RootKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *RootKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *RootKeyVersion) GetCtKey() []byte
- func (x *RootKeyVersion) GetKey() []byte
- func (x *RootKeyVersion) GetPrivateId() string
- func (x *RootKeyVersion) GetRootKeyId() string
- func (x *RootKeyVersion) GetVersion() uint32
- func (*RootKeyVersion) ProtoMessage()
- func (x *RootKeyVersion) ProtoReflect() protoreflect.Message
- func (x *RootKeyVersion) Reset()
- func (x *RootKeyVersion) String() string
- type SessionKey
- func (*SessionKey) Descriptor() ([]byte, []int)deprecated
- func (x *SessionKey) GetCreateTime() *timestamp.Timestamp
- func (x *SessionKey) GetPrivateId() string
- func (x *SessionKey) GetRootKeyId() string
- func (*SessionKey) ProtoMessage()
- func (x *SessionKey) ProtoReflect() protoreflect.Message
- func (x *SessionKey) Reset()
- func (x *SessionKey) String() string
- type SessionKeyVersion
- func (*SessionKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *SessionKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *SessionKeyVersion) GetCtKey() []byte
- func (x *SessionKeyVersion) GetKey() []byte
- func (x *SessionKeyVersion) GetPrivateId() string
- func (x *SessionKeyVersion) GetRootKeyVersionId() string
- func (x *SessionKeyVersion) GetSessionKeyId() string
- func (x *SessionKeyVersion) GetVersion() uint32
- func (*SessionKeyVersion) ProtoMessage()
- func (x *SessionKeyVersion) ProtoReflect() protoreflect.Message
- func (x *SessionKeyVersion) Reset()
- func (x *SessionKeyVersion) String() string
- type TokenKey
- func (*TokenKey) Descriptor() ([]byte, []int)deprecated
- func (x *TokenKey) GetCreateTime() *timestamp.Timestamp
- func (x *TokenKey) GetPrivateId() string
- func (x *TokenKey) GetRootKeyId() string
- func (*TokenKey) ProtoMessage()
- func (x *TokenKey) ProtoReflect() protoreflect.Message
- func (x *TokenKey) Reset()
- func (x *TokenKey) String() string
- type TokenKeyVersion
- func (*TokenKeyVersion) Descriptor() ([]byte, []int)deprecated
- func (x *TokenKeyVersion) GetCreateTime() *timestamp.Timestamp
- func (x *TokenKeyVersion) GetCtKey() []byte
- func (x *TokenKeyVersion) GetKey() []byte
- func (x *TokenKeyVersion) GetPrivateId() string
- func (x *TokenKeyVersion) GetRootKeyVersionId() string
- func (x *TokenKeyVersion) GetTokenKeyId() string
- func (x *TokenKeyVersion) GetVersion() uint32
- func (*TokenKeyVersion) ProtoMessage()
- func (x *TokenKeyVersion) ProtoReflect() protoreflect.Message
- func (x *TokenKeyVersion) Reset()
- func (x *TokenKeyVersion) String() string
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_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) GetCreateTime ¶ added in v0.7.0
func (*AuditKey) GetPrivateId ¶ added in v0.7.0
func (*AuditKey) GetRootKeyId ¶ added in v0.7.0
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
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 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) GetCreateTime ¶ added in v0.1.5
func (*OidcKey) GetPrivateId ¶ added in v0.1.5
func (*OidcKey) GetRootKeyId ¶ added in v0.1.5
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
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) GetCreateTime ¶
func (*OplogKey) GetPrivateId ¶
func (*OplogKey) GetRootKeyId ¶
func (*OplogKey) ProtoMessage ¶
func (*OplogKey) ProtoMessage()
func (*OplogKey) ProtoReflect ¶
func (x *OplogKey) ProtoReflect() protoreflect.Message
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) GetCreateTime ¶
func (*RootKey) GetPrivateId ¶
func (*RootKey) GetScopeId ¶
func (*RootKey) ProtoMessage ¶
func (*RootKey) ProtoMessage()
func (*RootKey) ProtoReflect ¶
func (x *RootKey) ProtoReflect() protoreflect.Message
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) GetCreateTime ¶
func (*TokenKey) GetPrivateId ¶
func (*TokenKey) GetRootKeyId ¶
func (*TokenKey) ProtoMessage ¶
func (*TokenKey) ProtoMessage()
func (*TokenKey) ProtoReflect ¶
func (x *TokenKey) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.