Documentation
¶
Index ¶
- Variables
- type APISpec
- func (*APISpec) Descriptor() ([]byte, []int)deprecated
- func (x *APISpec) GetCaPem() []byte
- func (x *APISpec) GetClient() *CertAndKeyPEM
- func (x *APISpec) GetServer() *CertAndKeyPEM
- func (m *APISpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *APISpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *APISpec) MarshalVT() (dAtA []byte, err error)
- func (*APISpec) ProtoMessage()
- func (x *APISpec) ProtoReflect() protoreflect.Message
- func (x *APISpec) Reset()
- func (m *APISpec) SizeVT() (n int)
- func (x *APISpec) String() string
- func (m *APISpec) UnmarshalVT(dAtA []byte) error
- type CertAndKeyPEM
- func (*CertAndKeyPEM) Descriptor() ([]byte, []int)deprecated
- func (x *CertAndKeyPEM) GetCert() []byte
- func (x *CertAndKeyPEM) GetKey() []byte
- func (m *CertAndKeyPEM) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CertAndKeyPEM) MarshalToVT(dAtA []byte) (int, error)
- func (m *CertAndKeyPEM) MarshalVT() (dAtA []byte, err error)
- func (*CertAndKeyPEM) ProtoMessage()
- func (x *CertAndKeyPEM) ProtoReflect() protoreflect.Message
- func (x *CertAndKeyPEM) Reset()
- func (m *CertAndKeyPEM) SizeVT() (n int)
- func (x *CertAndKeyPEM) String() string
- func (m *CertAndKeyPEM) UnmarshalVT(dAtA []byte) error
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) GetClient ¶
func (x *APISpec) GetClient() *CertAndKeyPEM
func (*APISpec) GetServer ¶
func (x *APISpec) GetServer() *CertAndKeyPEM
func (*APISpec) MarshalToSizedBufferVT ¶ added in v0.12.0
func (*APISpec) MarshalToVT ¶ added in v0.12.0
func (*APISpec) ProtoMessage ¶
func (*APISpec) ProtoMessage()
func (*APISpec) ProtoReflect ¶
func (x *APISpec) ProtoReflect() protoreflect.Message
func (*APISpec) UnmarshalVT ¶ added in v0.12.0
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
Click to show internal directories.
Click to hide internal directories.