Documentation ¶
Index ¶
- Variables
- type StorageBucket
- func (*StorageBucket) Descriptor() ([]byte, []int)deprecated
- func (x *StorageBucket) GetAttributes() []byte
- func (x *StorageBucket) GetBucketName() string
- func (x *StorageBucket) GetBucketPrefix() string
- func (x *StorageBucket) GetCreateTime() *timestamp.Timestamp
- func (x *StorageBucket) GetDescription() string
- func (x *StorageBucket) GetName() string
- func (x *StorageBucket) GetPluginId() string
- func (x *StorageBucket) GetPublicId() string
- func (x *StorageBucket) GetScopeId() string
- func (x *StorageBucket) GetSecretsHmac() []byte
- func (x *StorageBucket) GetUpdateTime() *timestamp.Timestamp
- func (x *StorageBucket) GetVersion() uint32
- func (x *StorageBucket) GetWorkerFilter() string
- func (*StorageBucket) ProtoMessage()
- func (x *StorageBucket) ProtoReflect() protoreflect.Message
- func (x *StorageBucket) Reset()
- func (x *StorageBucket) String() string
- type StorageBucketSecret
- func (*StorageBucketSecret) Descriptor() ([]byte, []int)deprecated
- func (x *StorageBucketSecret) GetCtSecrets() []byte
- func (x *StorageBucketSecret) GetKeyId() string
- func (x *StorageBucketSecret) GetSecrets() []byte
- func (x *StorageBucketSecret) GetStorageBucketId() string
- func (*StorageBucketSecret) ProtoMessage()
- func (x *StorageBucketSecret) ProtoReflect() protoreflect.Message
- func (x *StorageBucketSecret) Reset()
- func (x *StorageBucketSecret) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_storage_plugin_store_v1_storage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type StorageBucket ¶
type StorageBucket struct { // public_id is a surrogate key suitable for use in a public API. // @inject_tag: `gorm:"primary_key"` PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"` // The scope_id of the owning scope and must be set. // @inject_tag: `gorm:"not_null"` ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"not_null"` // name is optional. If set, it must be globally unique. // @inject_tag: `gorm:"default:null"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"` // description is optional. // @inject_tag: `gorm:"default:null"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"` // The create_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // The update_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"` // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // The plugin_id is the public id of the plugin managing this storage bucket. // @inject_tag: `gorm:"not_null"` PluginId string `protobuf:"bytes,8,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty" gorm:"not_null"` // The name of the external storage bucket (as opposed to the name within boundary) // @inject_tag: `gorm:"not_null"` BucketName string `protobuf:"bytes,9,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty" gorm:"not_null"` // @inject_tag: `gorm:"default:null"` BucketPrefix string `protobuf:"bytes,10,opt,name=bucket_prefix,json=bucketPrefix,proto3" json:"bucket_prefix,omitempty" gorm:"default:null"` // A boolean expression that allows filtering the workers that can handle a storage buckets // @inject_tag: `gorm:"not_null"` WorkerFilter string `protobuf:"bytes,11,opt,name=worker_filter,json=workerFilter,proto3" json:"worker_filter,omitempty" gorm:"not_null"` // attributes is a json formatted field. // @inject_tag: `gorm:"not_null"` Attributes []byte `protobuf:"bytes,12,opt,name=attributes,proto3" json:"attributes,omitempty" gorm:"not_null"` // secrets_hmac is a sha256-hmac of the unencrypted secrets stored in the db. // @inject_tag: `gorm:"not_null"` SecretsHmac []byte `protobuf:"bytes,13,opt,name=secrets_hmac,json=secretsHmac,proto3" json:"secrets_hmac,omitempty" gorm:"not_null"` // contains filtered or unexported fields }
func (*StorageBucket) Descriptor
deprecated
func (*StorageBucket) Descriptor() ([]byte, []int)
Deprecated: Use StorageBucket.ProtoReflect.Descriptor instead.
func (*StorageBucket) GetAttributes ¶
func (x *StorageBucket) GetAttributes() []byte
func (*StorageBucket) GetBucketName ¶
func (x *StorageBucket) GetBucketName() string
func (*StorageBucket) GetBucketPrefix ¶
func (x *StorageBucket) GetBucketPrefix() string
func (*StorageBucket) GetCreateTime ¶
func (x *StorageBucket) GetCreateTime() *timestamp.Timestamp
func (*StorageBucket) GetDescription ¶
func (x *StorageBucket) GetDescription() string
func (*StorageBucket) GetName ¶
func (x *StorageBucket) GetName() string
func (*StorageBucket) GetPluginId ¶
func (x *StorageBucket) GetPluginId() string
func (*StorageBucket) GetPublicId ¶
func (x *StorageBucket) GetPublicId() string
func (*StorageBucket) GetScopeId ¶
func (x *StorageBucket) GetScopeId() string
func (*StorageBucket) GetSecretsHmac ¶
func (x *StorageBucket) GetSecretsHmac() []byte
func (*StorageBucket) GetUpdateTime ¶
func (x *StorageBucket) GetUpdateTime() *timestamp.Timestamp
func (*StorageBucket) GetVersion ¶
func (x *StorageBucket) GetVersion() uint32
func (*StorageBucket) GetWorkerFilter ¶
func (x *StorageBucket) GetWorkerFilter() string
func (*StorageBucket) ProtoMessage ¶
func (*StorageBucket) ProtoMessage()
func (*StorageBucket) ProtoReflect ¶
func (x *StorageBucket) ProtoReflect() protoreflect.Message
func (*StorageBucket) Reset ¶
func (x *StorageBucket) Reset()
func (*StorageBucket) String ¶
func (x *StorageBucket) String() string
type StorageBucketSecret ¶
type StorageBucketSecret struct { // storage_bucket_id is the public id of the storage bucket using this secret. // @inject_tag: `gorm:"primary_key"` StorageBucketId string `` /* 127-byte string literal not displayed */ // secrets is the plain-text of the secret data. We are not storing this plain-text // value in the database. // @inject_tag: `gorm:"-" wrapping:"pt,secrets_data"` Secrets []byte `protobuf:"bytes,2,opt,name=secrets,proto3" json:"secrets,omitempty" gorm:"-" wrapping:"pt,secrets_data"` // ct_secrets is the ciphertext of the secret data stored in the db. // @inject_tag: `gorm:"column:secrets_encrypted;not_null" wrapping:"ct,secrets_data"` CtSecrets []byte `` /* 156-byte string literal not displayed */ // The key_id of the kms database key used for encrypting this entry. // It must be set. // @inject_tag: `gorm:"not_null"` KeyId string `protobuf:"bytes,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" gorm:"not_null"` // contains filtered or unexported fields }
func (*StorageBucketSecret) Descriptor
deprecated
func (*StorageBucketSecret) Descriptor() ([]byte, []int)
Deprecated: Use StorageBucketSecret.ProtoReflect.Descriptor instead.
func (*StorageBucketSecret) GetCtSecrets ¶
func (x *StorageBucketSecret) GetCtSecrets() []byte
func (*StorageBucketSecret) GetKeyId ¶
func (x *StorageBucketSecret) GetKeyId() string
func (*StorageBucketSecret) GetSecrets ¶
func (x *StorageBucketSecret) GetSecrets() []byte
func (*StorageBucketSecret) GetStorageBucketId ¶
func (x *StorageBucketSecret) GetStorageBucketId() string
func (*StorageBucketSecret) ProtoMessage ¶
func (*StorageBucketSecret) ProtoMessage()
func (*StorageBucketSecret) ProtoReflect ¶
func (x *StorageBucketSecret) ProtoReflect() protoreflect.Message
func (*StorageBucketSecret) Reset ¶
func (x *StorageBucketSecret) Reset()
func (*StorageBucketSecret) String ¶
func (x *StorageBucketSecret) String() string
Click to show internal directories.
Click to hide internal directories.