Documentation ¶
Index ¶
- Constants
- Variables
- func ClientConfig() *plugin.ClientConfig
- func RegisterCAServer(s *grpc.Server, srv CAServer)
- func Serve(p ca.Provider)
- type ActiveIntermediateResponse
- func (*ActiveIntermediateResponse) Descriptor() ([]byte, []int)
- func (m *ActiveIntermediateResponse) GetCrtPem() string
- func (m *ActiveIntermediateResponse) Marshal() (dAtA []byte, err error)
- func (m *ActiveIntermediateResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ActiveIntermediateResponse) ProtoMessage()
- func (m *ActiveIntermediateResponse) Reset()
- func (m *ActiveIntermediateResponse) Size() (n int)
- func (m *ActiveIntermediateResponse) String() string
- func (m *ActiveIntermediateResponse) Unmarshal(dAtA []byte) error
- func (m *ActiveIntermediateResponse) XXX_DiscardUnknown()
- func (m *ActiveIntermediateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ActiveIntermediateResponse) XXX_Merge(src proto.Message)
- func (m *ActiveIntermediateResponse) XXX_Size() int
- func (m *ActiveIntermediateResponse) XXX_Unmarshal(b []byte) error
- type ActiveRootResponse
- func (*ActiveRootResponse) Descriptor() ([]byte, []int)
- func (m *ActiveRootResponse) GetCrtPem() string
- func (m *ActiveRootResponse) Marshal() (dAtA []byte, err error)
- func (m *ActiveRootResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ActiveRootResponse) ProtoMessage()
- func (m *ActiveRootResponse) Reset()
- func (m *ActiveRootResponse) Size() (n int)
- func (m *ActiveRootResponse) String() string
- func (m *ActiveRootResponse) Unmarshal(dAtA []byte) error
- func (m *ActiveRootResponse) XXX_DiscardUnknown()
- func (m *ActiveRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ActiveRootResponse) XXX_Merge(src proto.Message)
- func (m *ActiveRootResponse) XXX_Size() int
- func (m *ActiveRootResponse) XXX_Unmarshal(b []byte) error
- type CAClient
- type CAServer
- type ConfigureRPCRequest
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest) GetClusterId() string
- func (m *ConfigureRequest) GetConfig() []byte
- func (m *ConfigureRequest) GetIsRoot() bool
- func (m *ConfigureRequest) Marshal() (dAtA []byte, err error)
- func (m *ConfigureRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigureRequest) ProtoMessage()
- func (m *ConfigureRequest) Reset()
- func (m *ConfigureRequest) Size() (n int)
- func (m *ConfigureRequest) String() string
- func (m *ConfigureRequest) Unmarshal(dAtA []byte) error
- func (m *ConfigureRequest) XXX_DiscardUnknown()
- func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfigureRequest) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest) XXX_Size() int
- func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
- type CrossSignCARequest
- func (*CrossSignCARequest) Descriptor() ([]byte, []int)
- func (m *CrossSignCARequest) GetCrt() []byte
- func (m *CrossSignCARequest) Marshal() (dAtA []byte, err error)
- func (m *CrossSignCARequest) MarshalTo(dAtA []byte) (int, error)
- func (*CrossSignCARequest) ProtoMessage()
- func (m *CrossSignCARequest) Reset()
- func (m *CrossSignCARequest) Size() (n int)
- func (m *CrossSignCARequest) String() string
- func (m *CrossSignCARequest) Unmarshal(dAtA []byte) error
- func (m *CrossSignCARequest) XXX_DiscardUnknown()
- func (m *CrossSignCARequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossSignCARequest) XXX_Merge(src proto.Message)
- func (m *CrossSignCARequest) XXX_Size() int
- func (m *CrossSignCARequest) XXX_Unmarshal(b []byte) error
- type CrossSignCAResponse
- func (*CrossSignCAResponse) Descriptor() ([]byte, []int)
- func (m *CrossSignCAResponse) GetCrtPem() string
- func (m *CrossSignCAResponse) Marshal() (dAtA []byte, err error)
- func (m *CrossSignCAResponse) MarshalTo(dAtA []byte) (int, error)
- func (*CrossSignCAResponse) ProtoMessage()
- func (m *CrossSignCAResponse) Reset()
- func (m *CrossSignCAResponse) Size() (n int)
- func (m *CrossSignCAResponse) String() string
- func (m *CrossSignCAResponse) Unmarshal(dAtA []byte) error
- func (m *CrossSignCAResponse) XXX_DiscardUnknown()
- func (m *CrossSignCAResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossSignCAResponse) XXX_Merge(src proto.Message)
- func (m *CrossSignCAResponse) XXX_Size() int
- func (m *CrossSignCAResponse) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type GenerateIntermediateCSRResponse
- func (*GenerateIntermediateCSRResponse) Descriptor() ([]byte, []int)
- func (m *GenerateIntermediateCSRResponse) GetCsrPem() string
- func (m *GenerateIntermediateCSRResponse) Marshal() (dAtA []byte, err error)
- func (m *GenerateIntermediateCSRResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GenerateIntermediateCSRResponse) ProtoMessage()
- func (m *GenerateIntermediateCSRResponse) Reset()
- func (m *GenerateIntermediateCSRResponse) Size() (n int)
- func (m *GenerateIntermediateCSRResponse) String() string
- func (m *GenerateIntermediateCSRResponse) Unmarshal(dAtA []byte) error
- func (m *GenerateIntermediateCSRResponse) XXX_DiscardUnknown()
- func (m *GenerateIntermediateCSRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GenerateIntermediateCSRResponse) XXX_Merge(src proto.Message)
- func (m *GenerateIntermediateCSRResponse) XXX_Size() int
- func (m *GenerateIntermediateCSRResponse) XXX_Unmarshal(b []byte) error
- type GenerateIntermediateResponse
- func (*GenerateIntermediateResponse) Descriptor() ([]byte, []int)
- func (m *GenerateIntermediateResponse) GetCrtPem() string
- func (m *GenerateIntermediateResponse) Marshal() (dAtA []byte, err error)
- func (m *GenerateIntermediateResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GenerateIntermediateResponse) ProtoMessage()
- func (m *GenerateIntermediateResponse) Reset()
- func (m *GenerateIntermediateResponse) Size() (n int)
- func (m *GenerateIntermediateResponse) String() string
- func (m *GenerateIntermediateResponse) Unmarshal(dAtA []byte) error
- func (m *GenerateIntermediateResponse) XXX_DiscardUnknown()
- func (m *GenerateIntermediateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GenerateIntermediateResponse) XXX_Merge(src proto.Message)
- func (m *GenerateIntermediateResponse) XXX_Size() int
- func (m *GenerateIntermediateResponse) XXX_Unmarshal(b []byte) error
- type ProviderPlugin
- func (ProviderPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
- func (ProviderPlugin) GRPCClient(doneCtx context.Context, _ *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
- func (p ProviderPlugin) GRPCServer(_ *plugin.GRPCBroker, s *grpc.Server) error
- func (p ProviderPlugin) Server(*plugin.MuxBroker) (interface{}, error)
- type SetIntermediateRPCRequest
- type SetIntermediateRequest
- func (*SetIntermediateRequest) Descriptor() ([]byte, []int)
- func (m *SetIntermediateRequest) GetIntermediatePem() string
- func (m *SetIntermediateRequest) GetRootPem() string
- func (m *SetIntermediateRequest) Marshal() (dAtA []byte, err error)
- func (m *SetIntermediateRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SetIntermediateRequest) ProtoMessage()
- func (m *SetIntermediateRequest) Reset()
- func (m *SetIntermediateRequest) Size() (n int)
- func (m *SetIntermediateRequest) String() string
- func (m *SetIntermediateRequest) Unmarshal(dAtA []byte) error
- func (m *SetIntermediateRequest) XXX_DiscardUnknown()
- func (m *SetIntermediateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetIntermediateRequest) XXX_Merge(src proto.Message)
- func (m *SetIntermediateRequest) XXX_Size() int
- func (m *SetIntermediateRequest) XXX_Unmarshal(b []byte) error
- type SignIntermediateRequest
- func (*SignIntermediateRequest) Descriptor() ([]byte, []int)
- func (m *SignIntermediateRequest) GetCsr() []byte
- func (m *SignIntermediateRequest) Marshal() (dAtA []byte, err error)
- func (m *SignIntermediateRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SignIntermediateRequest) ProtoMessage()
- func (m *SignIntermediateRequest) Reset()
- func (m *SignIntermediateRequest) Size() (n int)
- func (m *SignIntermediateRequest) String() string
- func (m *SignIntermediateRequest) Unmarshal(dAtA []byte) error
- func (m *SignIntermediateRequest) XXX_DiscardUnknown()
- func (m *SignIntermediateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignIntermediateRequest) XXX_Merge(src proto.Message)
- func (m *SignIntermediateRequest) XXX_Size() int
- func (m *SignIntermediateRequest) XXX_Unmarshal(b []byte) error
- type SignIntermediateResponse
- func (*SignIntermediateResponse) Descriptor() ([]byte, []int)
- func (m *SignIntermediateResponse) GetCrtPem() string
- func (m *SignIntermediateResponse) Marshal() (dAtA []byte, err error)
- func (m *SignIntermediateResponse) MarshalTo(dAtA []byte) (int, error)
- func (*SignIntermediateResponse) ProtoMessage()
- func (m *SignIntermediateResponse) Reset()
- func (m *SignIntermediateResponse) Size() (n int)
- func (m *SignIntermediateResponse) String() string
- func (m *SignIntermediateResponse) Unmarshal(dAtA []byte) error
- func (m *SignIntermediateResponse) XXX_DiscardUnknown()
- func (m *SignIntermediateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignIntermediateResponse) XXX_Merge(src proto.Message)
- func (m *SignIntermediateResponse) XXX_Size() int
- func (m *SignIntermediateResponse) XXX_Unmarshal(b []byte) error
- type SignRequest
- func (*SignRequest) Descriptor() ([]byte, []int)
- func (m *SignRequest) GetCsr() []byte
- func (m *SignRequest) Marshal() (dAtA []byte, err error)
- func (m *SignRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SignRequest) ProtoMessage()
- func (m *SignRequest) Reset()
- func (m *SignRequest) Size() (n int)
- func (m *SignRequest) String() string
- func (m *SignRequest) Unmarshal(dAtA []byte) error
- func (m *SignRequest) XXX_DiscardUnknown()
- func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignRequest) XXX_Merge(src proto.Message)
- func (m *SignRequest) XXX_Size() int
- func (m *SignRequest) XXX_Unmarshal(b []byte) error
- type SignResponse
- func (*SignResponse) Descriptor() ([]byte, []int)
- func (m *SignResponse) GetCrtPem() string
- func (m *SignResponse) Marshal() (dAtA []byte, err error)
- func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)
- func (*SignResponse) ProtoMessage()
- func (m *SignResponse) Reset()
- func (m *SignResponse) Size() (n int)
- func (m *SignResponse) String() string
- func (m *SignResponse) Unmarshal(dAtA []byte) error
- func (m *SignResponse) XXX_DiscardUnknown()
- func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignResponse) XXX_Merge(src proto.Message)
- func (m *SignResponse) XXX_Size() int
- func (m *SignResponse) XXX_Unmarshal(b []byte) error
Constants ¶
const Name = "consul-connect-ca"
Name is the name of the plugin that users of the package should use with *plugin.Client.Dispense to get the proper plugin instance.
Variables ¶
var ( ErrInvalidLengthProvider = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProvider = fmt.Errorf("proto: integer overflow") )
Functions ¶
func ClientConfig ¶
func ClientConfig() *plugin.ClientConfig
ClientConfig returns a base *plugin.ClientConfig that is configured to be able to dispense CA provider plugins. The returned value should be modified with additional options prior to execution (such as Cmd, Managed, etc.)
func RegisterCAServer ¶
Types ¶
type ActiveIntermediateResponse ¶
type ActiveIntermediateResponse struct { CrtPem string `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActiveIntermediateResponse) Descriptor ¶
func (*ActiveIntermediateResponse) Descriptor() ([]byte, []int)
func (*ActiveIntermediateResponse) GetCrtPem ¶
func (m *ActiveIntermediateResponse) GetCrtPem() string
func (*ActiveIntermediateResponse) Marshal ¶
func (m *ActiveIntermediateResponse) Marshal() (dAtA []byte, err error)
func (*ActiveIntermediateResponse) MarshalTo ¶
func (m *ActiveIntermediateResponse) MarshalTo(dAtA []byte) (int, error)
func (*ActiveIntermediateResponse) ProtoMessage ¶
func (*ActiveIntermediateResponse) ProtoMessage()
func (*ActiveIntermediateResponse) Reset ¶
func (m *ActiveIntermediateResponse) Reset()
func (*ActiveIntermediateResponse) Size ¶
func (m *ActiveIntermediateResponse) Size() (n int)
func (*ActiveIntermediateResponse) String ¶
func (m *ActiveIntermediateResponse) String() string
func (*ActiveIntermediateResponse) Unmarshal ¶
func (m *ActiveIntermediateResponse) Unmarshal(dAtA []byte) error
func (*ActiveIntermediateResponse) XXX_DiscardUnknown ¶
func (m *ActiveIntermediateResponse) XXX_DiscardUnknown()
func (*ActiveIntermediateResponse) XXX_Marshal ¶
func (m *ActiveIntermediateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActiveIntermediateResponse) XXX_Merge ¶
func (dst *ActiveIntermediateResponse) XXX_Merge(src proto.Message)
func (*ActiveIntermediateResponse) XXX_Size ¶
func (m *ActiveIntermediateResponse) XXX_Size() int
func (*ActiveIntermediateResponse) XXX_Unmarshal ¶
func (m *ActiveIntermediateResponse) XXX_Unmarshal(b []byte) error
type ActiveRootResponse ¶
type ActiveRootResponse struct { CrtPem string `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActiveRootResponse) Descriptor ¶
func (*ActiveRootResponse) Descriptor() ([]byte, []int)
func (*ActiveRootResponse) GetCrtPem ¶
func (m *ActiveRootResponse) GetCrtPem() string
func (*ActiveRootResponse) Marshal ¶
func (m *ActiveRootResponse) Marshal() (dAtA []byte, err error)
func (*ActiveRootResponse) MarshalTo ¶
func (m *ActiveRootResponse) MarshalTo(dAtA []byte) (int, error)
func (*ActiveRootResponse) ProtoMessage ¶
func (*ActiveRootResponse) ProtoMessage()
func (*ActiveRootResponse) Reset ¶
func (m *ActiveRootResponse) Reset()
func (*ActiveRootResponse) Size ¶
func (m *ActiveRootResponse) Size() (n int)
func (*ActiveRootResponse) String ¶
func (m *ActiveRootResponse) String() string
func (*ActiveRootResponse) Unmarshal ¶
func (m *ActiveRootResponse) Unmarshal(dAtA []byte) error
func (*ActiveRootResponse) XXX_DiscardUnknown ¶
func (m *ActiveRootResponse) XXX_DiscardUnknown()
func (*ActiveRootResponse) XXX_Marshal ¶
func (m *ActiveRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActiveRootResponse) XXX_Merge ¶
func (dst *ActiveRootResponse) XXX_Merge(src proto.Message)
func (*ActiveRootResponse) XXX_Size ¶
func (m *ActiveRootResponse) XXX_Size() int
func (*ActiveRootResponse) XXX_Unmarshal ¶
func (m *ActiveRootResponse) XXX_Unmarshal(b []byte) error
type CAClient ¶
type CAClient interface { Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*Empty, error) GenerateRoot(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) ActiveRoot(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ActiveRootResponse, error) GenerateIntermediateCSR(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenerateIntermediateCSRResponse, error) SetIntermediate(ctx context.Context, in *SetIntermediateRequest, opts ...grpc.CallOption) (*Empty, error) ActiveIntermediate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ActiveIntermediateResponse, error) GenerateIntermediate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenerateIntermediateResponse, error) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) SignIntermediate(ctx context.Context, in *SignIntermediateRequest, opts ...grpc.CallOption) (*SignIntermediateResponse, error) CrossSignCA(ctx context.Context, in *CrossSignCARequest, opts ...grpc.CallOption) (*CrossSignCAResponse, error) Cleanup(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
CAClient is the client API for CA service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCAClient ¶
func NewCAClient(cc *grpc.ClientConn) CAClient
type CAServer ¶
type CAServer interface { Configure(context.Context, *ConfigureRequest) (*Empty, error) GenerateRoot(context.Context, *Empty) (*Empty, error) ActiveRoot(context.Context, *Empty) (*ActiveRootResponse, error) GenerateIntermediateCSR(context.Context, *Empty) (*GenerateIntermediateCSRResponse, error) SetIntermediate(context.Context, *SetIntermediateRequest) (*Empty, error) ActiveIntermediate(context.Context, *Empty) (*ActiveIntermediateResponse, error) GenerateIntermediate(context.Context, *Empty) (*GenerateIntermediateResponse, error) Sign(context.Context, *SignRequest) (*SignResponse, error) SignIntermediate(context.Context, *SignIntermediateRequest) (*SignIntermediateResponse, error) CrossSignCA(context.Context, *CrossSignCARequest) (*CrossSignCAResponse, error) Cleanup(context.Context, *Empty) (*Empty, error) }
CAServer is the server API for CA service.
type ConfigureRPCRequest ¶
type ConfigureRequest ¶
type ConfigureRequest struct { ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` IsRoot bool `protobuf:"varint,2,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"` Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest) Descriptor ¶
func (*ConfigureRequest) Descriptor() ([]byte, []int)
func (*ConfigureRequest) GetClusterId ¶
func (m *ConfigureRequest) GetClusterId() string
func (*ConfigureRequest) GetConfig ¶
func (m *ConfigureRequest) GetConfig() []byte
func (*ConfigureRequest) GetIsRoot ¶
func (m *ConfigureRequest) GetIsRoot() bool
func (*ConfigureRequest) Marshal ¶
func (m *ConfigureRequest) Marshal() (dAtA []byte, err error)
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) Reset ¶
func (m *ConfigureRequest) Reset()
func (*ConfigureRequest) Size ¶
func (m *ConfigureRequest) Size() (n int)
func (*ConfigureRequest) String ¶
func (m *ConfigureRequest) String() string
func (*ConfigureRequest) Unmarshal ¶
func (m *ConfigureRequest) Unmarshal(dAtA []byte) error
func (*ConfigureRequest) XXX_DiscardUnknown ¶
func (m *ConfigureRequest) XXX_DiscardUnknown()
func (*ConfigureRequest) XXX_Marshal ¶
func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest) XXX_Merge ¶
func (dst *ConfigureRequest) XXX_Merge(src proto.Message)
func (*ConfigureRequest) XXX_Size ¶
func (m *ConfigureRequest) XXX_Size() int
func (*ConfigureRequest) XXX_Unmarshal ¶
func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
type CrossSignCARequest ¶
type CrossSignCARequest struct { Crt []byte `protobuf:"bytes,1,opt,name=crt,proto3" json:"crt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossSignCARequest) Descriptor ¶
func (*CrossSignCARequest) Descriptor() ([]byte, []int)
func (*CrossSignCARequest) GetCrt ¶
func (m *CrossSignCARequest) GetCrt() []byte
func (*CrossSignCARequest) Marshal ¶
func (m *CrossSignCARequest) Marshal() (dAtA []byte, err error)
func (*CrossSignCARequest) MarshalTo ¶
func (m *CrossSignCARequest) MarshalTo(dAtA []byte) (int, error)
func (*CrossSignCARequest) ProtoMessage ¶
func (*CrossSignCARequest) ProtoMessage()
func (*CrossSignCARequest) Reset ¶
func (m *CrossSignCARequest) Reset()
func (*CrossSignCARequest) Size ¶
func (m *CrossSignCARequest) Size() (n int)
func (*CrossSignCARequest) String ¶
func (m *CrossSignCARequest) String() string
func (*CrossSignCARequest) Unmarshal ¶
func (m *CrossSignCARequest) Unmarshal(dAtA []byte) error
func (*CrossSignCARequest) XXX_DiscardUnknown ¶
func (m *CrossSignCARequest) XXX_DiscardUnknown()
func (*CrossSignCARequest) XXX_Marshal ¶
func (m *CrossSignCARequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossSignCARequest) XXX_Merge ¶
func (dst *CrossSignCARequest) XXX_Merge(src proto.Message)
func (*CrossSignCARequest) XXX_Size ¶
func (m *CrossSignCARequest) XXX_Size() int
func (*CrossSignCARequest) XXX_Unmarshal ¶
func (m *CrossSignCARequest) XXX_Unmarshal(b []byte) error
type CrossSignCAResponse ¶
type CrossSignCAResponse struct { CrtPem string `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossSignCAResponse) Descriptor ¶
func (*CrossSignCAResponse) Descriptor() ([]byte, []int)
func (*CrossSignCAResponse) GetCrtPem ¶
func (m *CrossSignCAResponse) GetCrtPem() string
func (*CrossSignCAResponse) Marshal ¶
func (m *CrossSignCAResponse) Marshal() (dAtA []byte, err error)
func (*CrossSignCAResponse) MarshalTo ¶
func (m *CrossSignCAResponse) MarshalTo(dAtA []byte) (int, error)
func (*CrossSignCAResponse) ProtoMessage ¶
func (*CrossSignCAResponse) ProtoMessage()
func (*CrossSignCAResponse) Reset ¶
func (m *CrossSignCAResponse) Reset()
func (*CrossSignCAResponse) Size ¶
func (m *CrossSignCAResponse) Size() (n int)
func (*CrossSignCAResponse) String ¶
func (m *CrossSignCAResponse) String() string
func (*CrossSignCAResponse) Unmarshal ¶
func (m *CrossSignCAResponse) Unmarshal(dAtA []byte) error
func (*CrossSignCAResponse) XXX_DiscardUnknown ¶
func (m *CrossSignCAResponse) XXX_DiscardUnknown()
func (*CrossSignCAResponse) XXX_Marshal ¶
func (m *CrossSignCAResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossSignCAResponse) XXX_Merge ¶
func (dst *CrossSignCAResponse) XXX_Merge(src proto.Message)
func (*CrossSignCAResponse) XXX_Size ¶
func (m *CrossSignCAResponse) XXX_Size() int
func (*CrossSignCAResponse) XXX_Unmarshal ¶
func (m *CrossSignCAResponse) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Protobufs doesn't allow no req/resp so in the cases where there are no arguments we use the Empty message.
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type GenerateIntermediateCSRResponse ¶
type GenerateIntermediateCSRResponse struct { CsrPem string `protobuf:"bytes,1,opt,name=csr_pem,json=csrPem,proto3" json:"csr_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateIntermediateCSRResponse) Descriptor ¶
func (*GenerateIntermediateCSRResponse) Descriptor() ([]byte, []int)
func (*GenerateIntermediateCSRResponse) GetCsrPem ¶
func (m *GenerateIntermediateCSRResponse) GetCsrPem() string
func (*GenerateIntermediateCSRResponse) Marshal ¶
func (m *GenerateIntermediateCSRResponse) Marshal() (dAtA []byte, err error)
func (*GenerateIntermediateCSRResponse) MarshalTo ¶
func (m *GenerateIntermediateCSRResponse) MarshalTo(dAtA []byte) (int, error)
func (*GenerateIntermediateCSRResponse) ProtoMessage ¶
func (*GenerateIntermediateCSRResponse) ProtoMessage()
func (*GenerateIntermediateCSRResponse) Reset ¶
func (m *GenerateIntermediateCSRResponse) Reset()
func (*GenerateIntermediateCSRResponse) Size ¶
func (m *GenerateIntermediateCSRResponse) Size() (n int)
func (*GenerateIntermediateCSRResponse) String ¶
func (m *GenerateIntermediateCSRResponse) String() string
func (*GenerateIntermediateCSRResponse) Unmarshal ¶
func (m *GenerateIntermediateCSRResponse) Unmarshal(dAtA []byte) error
func (*GenerateIntermediateCSRResponse) XXX_DiscardUnknown ¶
func (m *GenerateIntermediateCSRResponse) XXX_DiscardUnknown()
func (*GenerateIntermediateCSRResponse) XXX_Marshal ¶
func (m *GenerateIntermediateCSRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateIntermediateCSRResponse) XXX_Merge ¶
func (dst *GenerateIntermediateCSRResponse) XXX_Merge(src proto.Message)
func (*GenerateIntermediateCSRResponse) XXX_Size ¶
func (m *GenerateIntermediateCSRResponse) XXX_Size() int
func (*GenerateIntermediateCSRResponse) XXX_Unmarshal ¶
func (m *GenerateIntermediateCSRResponse) XXX_Unmarshal(b []byte) error
type GenerateIntermediateResponse ¶
type GenerateIntermediateResponse struct { CrtPem string `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateIntermediateResponse) Descriptor ¶
func (*GenerateIntermediateResponse) Descriptor() ([]byte, []int)
func (*GenerateIntermediateResponse) GetCrtPem ¶
func (m *GenerateIntermediateResponse) GetCrtPem() string
func (*GenerateIntermediateResponse) Marshal ¶
func (m *GenerateIntermediateResponse) Marshal() (dAtA []byte, err error)
func (*GenerateIntermediateResponse) MarshalTo ¶
func (m *GenerateIntermediateResponse) MarshalTo(dAtA []byte) (int, error)
func (*GenerateIntermediateResponse) ProtoMessage ¶
func (*GenerateIntermediateResponse) ProtoMessage()
func (*GenerateIntermediateResponse) Reset ¶
func (m *GenerateIntermediateResponse) Reset()
func (*GenerateIntermediateResponse) Size ¶
func (m *GenerateIntermediateResponse) Size() (n int)
func (*GenerateIntermediateResponse) String ¶
func (m *GenerateIntermediateResponse) String() string
func (*GenerateIntermediateResponse) Unmarshal ¶
func (m *GenerateIntermediateResponse) Unmarshal(dAtA []byte) error
func (*GenerateIntermediateResponse) XXX_DiscardUnknown ¶
func (m *GenerateIntermediateResponse) XXX_DiscardUnknown()
func (*GenerateIntermediateResponse) XXX_Marshal ¶
func (m *GenerateIntermediateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateIntermediateResponse) XXX_Merge ¶
func (dst *GenerateIntermediateResponse) XXX_Merge(src proto.Message)
func (*GenerateIntermediateResponse) XXX_Size ¶
func (m *GenerateIntermediateResponse) XXX_Size() int
func (*GenerateIntermediateResponse) XXX_Unmarshal ¶
func (m *GenerateIntermediateResponse) XXX_Unmarshal(b []byte) error
type ProviderPlugin ¶
ProviderPlugin implements plugin.Plugin for initializing a plugin server and client for both net/rpc and gRPC.
func (ProviderPlugin) Client ¶
func (ProviderPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
func (ProviderPlugin) GRPCClient ¶
func (ProviderPlugin) GRPCClient(doneCtx context.Context, _ *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
func (ProviderPlugin) GRPCServer ¶
func (p ProviderPlugin) GRPCServer(_ *plugin.GRPCBroker, s *grpc.Server) error
func (ProviderPlugin) Server ¶
func (p ProviderPlugin) Server(*plugin.MuxBroker) (interface{}, error)
type SetIntermediateRequest ¶
type SetIntermediateRequest struct { IntermediatePem string `protobuf:"bytes,1,opt,name=intermediate_pem,json=intermediatePem,proto3" json:"intermediate_pem,omitempty"` RootPem string `protobuf:"bytes,2,opt,name=root_pem,json=rootPem,proto3" json:"root_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetIntermediateRequest) Descriptor ¶
func (*SetIntermediateRequest) Descriptor() ([]byte, []int)
func (*SetIntermediateRequest) GetIntermediatePem ¶
func (m *SetIntermediateRequest) GetIntermediatePem() string
func (*SetIntermediateRequest) GetRootPem ¶
func (m *SetIntermediateRequest) GetRootPem() string
func (*SetIntermediateRequest) Marshal ¶
func (m *SetIntermediateRequest) Marshal() (dAtA []byte, err error)
func (*SetIntermediateRequest) MarshalTo ¶
func (m *SetIntermediateRequest) MarshalTo(dAtA []byte) (int, error)
func (*SetIntermediateRequest) ProtoMessage ¶
func (*SetIntermediateRequest) ProtoMessage()
func (*SetIntermediateRequest) Reset ¶
func (m *SetIntermediateRequest) Reset()
func (*SetIntermediateRequest) Size ¶
func (m *SetIntermediateRequest) Size() (n int)
func (*SetIntermediateRequest) String ¶
func (m *SetIntermediateRequest) String() string
func (*SetIntermediateRequest) Unmarshal ¶
func (m *SetIntermediateRequest) Unmarshal(dAtA []byte) error
func (*SetIntermediateRequest) XXX_DiscardUnknown ¶
func (m *SetIntermediateRequest) XXX_DiscardUnknown()
func (*SetIntermediateRequest) XXX_Marshal ¶
func (m *SetIntermediateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetIntermediateRequest) XXX_Merge ¶
func (dst *SetIntermediateRequest) XXX_Merge(src proto.Message)
func (*SetIntermediateRequest) XXX_Size ¶
func (m *SetIntermediateRequest) XXX_Size() int
func (*SetIntermediateRequest) XXX_Unmarshal ¶
func (m *SetIntermediateRequest) XXX_Unmarshal(b []byte) error
type SignIntermediateRequest ¶
type SignIntermediateRequest struct { Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignIntermediateRequest) Descriptor ¶
func (*SignIntermediateRequest) Descriptor() ([]byte, []int)
func (*SignIntermediateRequest) GetCsr ¶
func (m *SignIntermediateRequest) GetCsr() []byte
func (*SignIntermediateRequest) Marshal ¶
func (m *SignIntermediateRequest) Marshal() (dAtA []byte, err error)
func (*SignIntermediateRequest) MarshalTo ¶
func (m *SignIntermediateRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignIntermediateRequest) ProtoMessage ¶
func (*SignIntermediateRequest) ProtoMessage()
func (*SignIntermediateRequest) Reset ¶
func (m *SignIntermediateRequest) Reset()
func (*SignIntermediateRequest) Size ¶
func (m *SignIntermediateRequest) Size() (n int)
func (*SignIntermediateRequest) String ¶
func (m *SignIntermediateRequest) String() string
func (*SignIntermediateRequest) Unmarshal ¶
func (m *SignIntermediateRequest) Unmarshal(dAtA []byte) error
func (*SignIntermediateRequest) XXX_DiscardUnknown ¶
func (m *SignIntermediateRequest) XXX_DiscardUnknown()
func (*SignIntermediateRequest) XXX_Marshal ¶
func (m *SignIntermediateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignIntermediateRequest) XXX_Merge ¶
func (dst *SignIntermediateRequest) XXX_Merge(src proto.Message)
func (*SignIntermediateRequest) XXX_Size ¶
func (m *SignIntermediateRequest) XXX_Size() int
func (*SignIntermediateRequest) XXX_Unmarshal ¶
func (m *SignIntermediateRequest) XXX_Unmarshal(b []byte) error
type SignIntermediateResponse ¶
type SignIntermediateResponse struct { CrtPem string `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignIntermediateResponse) Descriptor ¶
func (*SignIntermediateResponse) Descriptor() ([]byte, []int)
func (*SignIntermediateResponse) GetCrtPem ¶
func (m *SignIntermediateResponse) GetCrtPem() string
func (*SignIntermediateResponse) Marshal ¶
func (m *SignIntermediateResponse) Marshal() (dAtA []byte, err error)
func (*SignIntermediateResponse) MarshalTo ¶
func (m *SignIntermediateResponse) MarshalTo(dAtA []byte) (int, error)
func (*SignIntermediateResponse) ProtoMessage ¶
func (*SignIntermediateResponse) ProtoMessage()
func (*SignIntermediateResponse) Reset ¶
func (m *SignIntermediateResponse) Reset()
func (*SignIntermediateResponse) Size ¶
func (m *SignIntermediateResponse) Size() (n int)
func (*SignIntermediateResponse) String ¶
func (m *SignIntermediateResponse) String() string
func (*SignIntermediateResponse) Unmarshal ¶
func (m *SignIntermediateResponse) Unmarshal(dAtA []byte) error
func (*SignIntermediateResponse) XXX_DiscardUnknown ¶
func (m *SignIntermediateResponse) XXX_DiscardUnknown()
func (*SignIntermediateResponse) XXX_Marshal ¶
func (m *SignIntermediateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignIntermediateResponse) XXX_Merge ¶
func (dst *SignIntermediateResponse) XXX_Merge(src proto.Message)
func (*SignIntermediateResponse) XXX_Size ¶
func (m *SignIntermediateResponse) XXX_Size() int
func (*SignIntermediateResponse) XXX_Unmarshal ¶
func (m *SignIntermediateResponse) XXX_Unmarshal(b []byte) error
type SignRequest ¶
type SignRequest struct { Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignRequest) Descriptor ¶
func (*SignRequest) Descriptor() ([]byte, []int)
func (*SignRequest) GetCsr ¶
func (m *SignRequest) GetCsr() []byte
func (*SignRequest) Marshal ¶
func (m *SignRequest) Marshal() (dAtA []byte, err error)
func (*SignRequest) ProtoMessage ¶
func (*SignRequest) ProtoMessage()
func (*SignRequest) Reset ¶
func (m *SignRequest) Reset()
func (*SignRequest) Size ¶
func (m *SignRequest) Size() (n int)
func (*SignRequest) String ¶
func (m *SignRequest) String() string
func (*SignRequest) Unmarshal ¶
func (m *SignRequest) Unmarshal(dAtA []byte) error
func (*SignRequest) XXX_DiscardUnknown ¶
func (m *SignRequest) XXX_DiscardUnknown()
func (*SignRequest) XXX_Marshal ¶
func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignRequest) XXX_Merge ¶
func (dst *SignRequest) XXX_Merge(src proto.Message)
func (*SignRequest) XXX_Size ¶
func (m *SignRequest) XXX_Size() int
func (*SignRequest) XXX_Unmarshal ¶
func (m *SignRequest) XXX_Unmarshal(b []byte) error
type SignResponse ¶
type SignResponse struct { CrtPem string `protobuf:"bytes,1,opt,name=crt_pem,json=crtPem,proto3" json:"crt_pem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignResponse) Descriptor ¶
func (*SignResponse) Descriptor() ([]byte, []int)
func (*SignResponse) GetCrtPem ¶
func (m *SignResponse) GetCrtPem() string
func (*SignResponse) Marshal ¶
func (m *SignResponse) Marshal() (dAtA []byte, err error)
func (*SignResponse) ProtoMessage ¶
func (*SignResponse) ProtoMessage()
func (*SignResponse) Reset ¶
func (m *SignResponse) Reset()
func (*SignResponse) Size ¶
func (m *SignResponse) Size() (n int)
func (*SignResponse) String ¶
func (m *SignResponse) String() string
func (*SignResponse) Unmarshal ¶
func (m *SignResponse) Unmarshal(dAtA []byte) error
func (*SignResponse) XXX_DiscardUnknown ¶
func (m *SignResponse) XXX_DiscardUnknown()
func (*SignResponse) XXX_Marshal ¶
func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignResponse) XXX_Merge ¶
func (dst *SignResponse) XXX_Merge(src proto.Message)
func (*SignResponse) XXX_Size ¶
func (m *SignResponse) XXX_Size() int
func (*SignResponse) XXX_Unmarshal ¶
func (m *SignResponse) XXX_Unmarshal(b []byte) error