secretsv1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_secrets_v1_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplicationVersionInfo added in v0.11.0

type ApplicationVersionInfo struct {
	GitVersion string `protobuf:"bytes,1,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` // A string representing the tag, build date, and commit SHA.
	GoVersion  string `protobuf:"bytes,2,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`    // A string representing the Go version used to build the application.
	Platform   string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`                       // The platform the application was built for.
	// contains filtered or unexported fields
}

Provides information about the application version.

func (*ApplicationVersionInfo) Descriptor deprecated added in v0.11.0

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

Deprecated: Use ApplicationVersionInfo.ProtoReflect.Descriptor instead.

func (*ApplicationVersionInfo) GetGitVersion added in v0.11.0

func (x *ApplicationVersionInfo) GetGitVersion() string

func (*ApplicationVersionInfo) GetGoVersion added in v0.11.0

func (x *ApplicationVersionInfo) GetGoVersion() string

func (*ApplicationVersionInfo) GetPlatform added in v0.11.0

func (x *ApplicationVersionInfo) GetPlatform() string

func (*ApplicationVersionInfo) ProtoMessage added in v0.11.0

func (*ApplicationVersionInfo) ProtoMessage()

func (*ApplicationVersionInfo) ProtoReflect added in v0.11.0

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

func (*ApplicationVersionInfo) Reset added in v0.11.0

func (x *ApplicationVersionInfo) Reset()

func (*ApplicationVersionInfo) String added in v0.11.0

func (x *ApplicationVersionInfo) String() string

type ApplicationVersionInfoRequest added in v0.11.0

type ApplicationVersionInfoRequest struct {
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/ApplicationVersionInfo`

func (*ApplicationVersionInfoRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use ApplicationVersionInfoRequest.ProtoReflect.Descriptor instead.

func (*ApplicationVersionInfoRequest) ProtoMessage added in v0.11.0

func (*ApplicationVersionInfoRequest) ProtoMessage()

func (*ApplicationVersionInfoRequest) ProtoReflect added in v0.11.0

func (*ApplicationVersionInfoRequest) Reset added in v0.11.0

func (x *ApplicationVersionInfoRequest) Reset()

func (*ApplicationVersionInfoRequest) String added in v0.11.0

type ApplicationVersionInfoResponse added in v0.11.0

type ApplicationVersionInfoResponse struct {
	Info *ApplicationVersionInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

Response message for `secrets.v1.Kv2Service/ApplicationVersionInfo`

func (*ApplicationVersionInfoResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use ApplicationVersionInfoResponse.ProtoReflect.Descriptor instead.

func (*ApplicationVersionInfoResponse) GetInfo added in v0.11.0

func (*ApplicationVersionInfoResponse) ProtoMessage added in v0.11.0

func (*ApplicationVersionInfoResponse) ProtoMessage()

func (*ApplicationVersionInfoResponse) ProtoReflect added in v0.11.0

func (*ApplicationVersionInfoResponse) Reset added in v0.11.0

func (x *ApplicationVersionInfoResponse) Reset()

func (*ApplicationVersionInfoResponse) String added in v0.11.0

type BackupRequest

type BackupRequest struct {
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // The name of the backup. Defaults to `kv2.db`.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/Backup`.

func (*BackupRequest) Descriptor deprecated

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

Deprecated: Use BackupRequest.ProtoReflect.Descriptor instead.

func (*BackupRequest) GetName

func (x *BackupRequest) GetName() string

func (*BackupRequest) ProtoMessage

func (*BackupRequest) ProtoMessage()

func (*BackupRequest) ProtoReflect

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

func (*BackupRequest) Reset

func (x *BackupRequest) Reset()

func (*BackupRequest) String

func (x *BackupRequest) String() string

type BackupResponse

type BackupResponse struct {
	// contains filtered or unexported fields
}

Empty message. Check for an error code to determine success.

func (*BackupResponse) Descriptor deprecated

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

Deprecated: Use BackupResponse.ProtoReflect.Descriptor instead.

func (*BackupResponse) ProtoMessage

func (*BackupResponse) ProtoMessage()

func (*BackupResponse) ProtoReflect

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

func (*BackupResponse) Reset

func (x *BackupResponse) Reset()

func (*BackupResponse) String

func (x *BackupResponse) String() string

type CreateSecretRequest

type CreateSecretRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`     // The plain text key of the secret.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // The encoded value of the secret.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/CreateSecret`.

func (*CreateSecretRequest) Descriptor deprecated

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

Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.

func (*CreateSecretRequest) GetKey

func (x *CreateSecretRequest) GetKey() string

func (*CreateSecretRequest) GetValue

func (x *CreateSecretRequest) GetValue() []byte

func (*CreateSecretRequest) ProtoMessage

func (*CreateSecretRequest) ProtoMessage()

func (*CreateSecretRequest) ProtoReflect

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

func (*CreateSecretRequest) Reset

func (x *CreateSecretRequest) Reset()

func (*CreateSecretRequest) String

func (x *CreateSecretRequest) String() string

type CreateSecretResponse

type CreateSecretResponse struct {
	Secret *SecretMetadata `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // The metadata of the created secret.
	// contains filtered or unexported fields
}

Response message for `secrets.v1.Kv2Service/CreateSecret`.

func (*CreateSecretResponse) Descriptor deprecated

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

Deprecated: Use CreateSecretResponse.ProtoReflect.Descriptor instead.

func (*CreateSecretResponse) GetSecret

func (x *CreateSecretResponse) GetSecret() *SecretMetadata

func (*CreateSecretResponse) ProtoMessage

func (*CreateSecretResponse) ProtoMessage()

func (*CreateSecretResponse) ProtoReflect

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

func (*CreateSecretResponse) Reset

func (x *CreateSecretResponse) Reset()

func (*CreateSecretResponse) String

func (x *CreateSecretResponse) String() string

type DeleteSecretRequest

type DeleteSecretRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The plain text key of the secret.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/DeleteSecret`.

func (*DeleteSecretRequest) Descriptor deprecated

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

Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecretRequest) GetKey

func (x *DeleteSecretRequest) GetKey() string

func (*DeleteSecretRequest) ProtoMessage

func (*DeleteSecretRequest) ProtoMessage()

func (*DeleteSecretRequest) ProtoReflect

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

func (*DeleteSecretRequest) Reset

func (x *DeleteSecretRequest) Reset()

func (*DeleteSecretRequest) String

func (x *DeleteSecretRequest) String() string

type DeleteSecretResponse

type DeleteSecretResponse struct {
	// contains filtered or unexported fields
}

Empty message. Check for an error code to determine success.

func (*DeleteSecretResponse) Descriptor deprecated

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

Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead.

func (*DeleteSecretResponse) ProtoMessage

func (*DeleteSecretResponse) ProtoMessage()

func (*DeleteSecretResponse) ProtoReflect

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

func (*DeleteSecretResponse) Reset

func (x *DeleteSecretResponse) Reset()

func (*DeleteSecretResponse) String

func (x *DeleteSecretResponse) String() string

type GetSecretRequest

type GetSecretRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The plain text key of the secret.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/GetSecret`.

func (*GetSecretRequest) Descriptor deprecated

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

Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetKey

func (x *GetSecretRequest) GetKey() string

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect

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

func (*GetSecretRequest) Reset

func (x *GetSecretRequest) Reset()

func (*GetSecretRequest) String

func (x *GetSecretRequest) String() string

type GetSecretResponse

type GetSecretResponse struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // The requested secret.
	// contains filtered or unexported fields
}

Response message for `secrets.v1.Kv2Service/GetSecret`.

func (*GetSecretResponse) Descriptor deprecated

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

Deprecated: Use GetSecretResponse.ProtoReflect.Descriptor instead.

func (*GetSecretResponse) GetSecret

func (x *GetSecretResponse) GetSecret() *Secret

func (*GetSecretResponse) ProtoMessage

func (*GetSecretResponse) ProtoMessage()

func (*GetSecretResponse) ProtoReflect

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

func (*GetSecretResponse) Reset

func (x *GetSecretResponse) Reset()

func (*GetSecretResponse) String

func (x *GetSecretResponse) String() string

type ListSecretsRequest

type ListSecretsRequest struct {
	// contains filtered or unexported fields
}

Empty message. No request message needed to list secrets.

func (*ListSecretsRequest) Descriptor deprecated

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

Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.

func (*ListSecretsRequest) ProtoMessage

func (*ListSecretsRequest) ProtoMessage()

func (*ListSecretsRequest) ProtoReflect

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

func (*ListSecretsRequest) Reset

func (x *ListSecretsRequest) Reset()

func (*ListSecretsRequest) String

func (x *ListSecretsRequest) String() string

type ListSecretsResponse

type ListSecretsResponse struct {
	Secrets []*SecretMetadata `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // The secret metadata for all available secrets.
	// contains filtered or unexported fields
}

Response message for `secrets.v1.Kv2Service/ListSecrets`.

func (*ListSecretsResponse) Descriptor deprecated

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

Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.

func (*ListSecretsResponse) GetSecrets

func (x *ListSecretsResponse) GetSecrets() []*SecretMetadata

func (*ListSecretsResponse) ProtoMessage

func (*ListSecretsResponse) ProtoMessage()

func (*ListSecretsResponse) ProtoReflect

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

func (*ListSecretsResponse) Reset

func (x *ListSecretsResponse) Reset()

func (*ListSecretsResponse) String

func (x *ListSecretsResponse) String() string

type RevertSecretRequest

type RevertSecretRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The plain text key of the secret.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/RevertSecret`.

func (*RevertSecretRequest) Descriptor deprecated

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

Deprecated: Use RevertSecretRequest.ProtoReflect.Descriptor instead.

func (*RevertSecretRequest) GetKey

func (x *RevertSecretRequest) GetKey() string

func (*RevertSecretRequest) ProtoMessage

func (*RevertSecretRequest) ProtoMessage()

func (*RevertSecretRequest) ProtoReflect

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

func (*RevertSecretRequest) Reset

func (x *RevertSecretRequest) Reset()

func (*RevertSecretRequest) String

func (x *RevertSecretRequest) String() string

type RevertSecretResponse

type RevertSecretResponse struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // The current version of the reverted secret.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/RevertSecret`.

func (*RevertSecretResponse) Descriptor deprecated

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

Deprecated: Use RevertSecretResponse.ProtoReflect.Descriptor instead.

func (*RevertSecretResponse) GetVersion

func (x *RevertSecretResponse) GetVersion() uint32

func (*RevertSecretResponse) ProtoMessage

func (*RevertSecretResponse) ProtoMessage()

func (*RevertSecretResponse) ProtoReflect

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

func (*RevertSecretResponse) Reset

func (x *RevertSecretResponse) Reset()

func (*RevertSecretResponse) String

func (x *RevertSecretResponse) String() string

type Secret

type Secret struct {
	Key     string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`          // The plain text key of the secret.
	Value   []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`      // The encrypted value of the secret.
	Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // The version of the represented secret.
	// contains filtered or unexported fields
}

Represents a single secret version.

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetKey

func (x *Secret) GetKey() string

func (*Secret) GetValue

func (x *Secret) GetValue() []byte

func (*Secret) GetVersion

func (x *Secret) GetVersion() uint32

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type SecretMetadata

type SecretMetadata struct {
	Key      string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`                   // The plain text key of the secret.
	Versions []uint32 `protobuf:"varint,2,rep,packed,name=versions,proto3" json:"versions,omitempty"` // All versions of the secret.
	// contains filtered or unexported fields
}

Represents a secret and all its versions.

func (*SecretMetadata) Descriptor deprecated

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

Deprecated: Use SecretMetadata.ProtoReflect.Descriptor instead.

func (*SecretMetadata) GetKey

func (x *SecretMetadata) GetKey() string

func (*SecretMetadata) GetVersions

func (x *SecretMetadata) GetVersions() []uint32

func (*SecretMetadata) ProtoMessage

func (*SecretMetadata) ProtoMessage()

func (*SecretMetadata) ProtoReflect

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

func (*SecretMetadata) Reset

func (x *SecretMetadata) Reset()

func (*SecretMetadata) String

func (x *SecretMetadata) String() string

type UpdateSecretRequest

type UpdateSecretRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`     // The plain text key of the secret.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // The encoded value of the secret.
	// contains filtered or unexported fields
}

Request message for `secrets.v1.Kv2Service/UpdateSecret`.

func (*UpdateSecretRequest) Descriptor deprecated

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

Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecretRequest) GetKey

func (x *UpdateSecretRequest) GetKey() string

func (*UpdateSecretRequest) GetValue

func (x *UpdateSecretRequest) GetValue() []byte

func (*UpdateSecretRequest) ProtoMessage

func (*UpdateSecretRequest) ProtoMessage()

func (*UpdateSecretRequest) ProtoReflect

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

func (*UpdateSecretRequest) Reset

func (x *UpdateSecretRequest) Reset()

func (*UpdateSecretRequest) String

func (x *UpdateSecretRequest) String() string

type UpdateSecretResponse

type UpdateSecretResponse struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // The version of the updated secret.
	// contains filtered or unexported fields
}

Response message for `secrets.v1.Kv2Service/UpdateSecret`.

func (*UpdateSecretResponse) Descriptor deprecated

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

Deprecated: Use UpdateSecretResponse.ProtoReflect.Descriptor instead.

func (*UpdateSecretResponse) GetVersion

func (x *UpdateSecretResponse) GetVersion() uint32

func (*UpdateSecretResponse) ProtoMessage

func (*UpdateSecretResponse) ProtoMessage()

func (*UpdateSecretResponse) ProtoReflect

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

func (*UpdateSecretResponse) Reset

func (x *UpdateSecretResponse) Reset()

func (*UpdateSecretResponse) String

func (x *UpdateSecretResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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