secrets

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_resource_secrets_secrets_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APISpec

type APISpec struct {
	CaPem  []byte         `protobuf:"bytes,1,opt,name=ca_pem,json=caPem,proto3" json:"ca_pem,omitempty"`
	Server *CertAndKeyPEM `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	Client *CertAndKeyPEM `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

APISpec describes secrets.API.

func (*APISpec) Descriptor deprecated

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

Deprecated: Use APISpec.ProtoReflect.Descriptor instead.

func (*APISpec) GetCaPem

func (x *APISpec) GetCaPem() []byte

func (*APISpec) GetClient

func (x *APISpec) GetClient() *CertAndKeyPEM

func (*APISpec) GetServer

func (x *APISpec) GetServer() *CertAndKeyPEM

func (*APISpec) MarshalToSizedBufferVT added in v0.12.0

func (m *APISpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*APISpec) MarshalToVT added in v0.12.0

func (m *APISpec) MarshalToVT(dAtA []byte) (int, error)

func (*APISpec) MarshalVT added in v0.12.0

func (m *APISpec) MarshalVT() (dAtA []byte, err error)

func (*APISpec) ProtoMessage

func (*APISpec) ProtoMessage()

func (*APISpec) ProtoReflect

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

func (*APISpec) Reset

func (x *APISpec) Reset()

func (*APISpec) SizeVT added in v0.12.0

func (m *APISpec) SizeVT() (n int)

func (*APISpec) String

func (x *APISpec) String() string

func (*APISpec) UnmarshalVT added in v0.12.0

func (m *APISpec) UnmarshalVT(dAtA []byte) error

type CertAndKeyPEM

type CertAndKeyPEM struct {
	Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
	Key  []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*CertAndKeyPEM) Descriptor deprecated

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

Deprecated: Use CertAndKeyPEM.ProtoReflect.Descriptor instead.

func (*CertAndKeyPEM) GetCert

func (x *CertAndKeyPEM) GetCert() []byte

func (*CertAndKeyPEM) GetKey

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

func (*CertAndKeyPEM) MarshalToSizedBufferVT added in v0.12.0

func (m *CertAndKeyPEM) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CertAndKeyPEM) MarshalToVT added in v0.12.0

func (m *CertAndKeyPEM) MarshalToVT(dAtA []byte) (int, error)

func (*CertAndKeyPEM) MarshalVT added in v0.12.0

func (m *CertAndKeyPEM) MarshalVT() (dAtA []byte, err error)

func (*CertAndKeyPEM) ProtoMessage

func (*CertAndKeyPEM) ProtoMessage()

func (*CertAndKeyPEM) ProtoReflect

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

func (*CertAndKeyPEM) Reset

func (x *CertAndKeyPEM) Reset()

func (*CertAndKeyPEM) SizeVT added in v0.12.0

func (m *CertAndKeyPEM) SizeVT() (n int)

func (*CertAndKeyPEM) String

func (x *CertAndKeyPEM) String() string

func (*CertAndKeyPEM) UnmarshalVT added in v0.12.0

func (m *CertAndKeyPEM) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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