Versions in this module Expand all Collapse all v1 v1.4.1 Jan 23, 2019 Changes in this version + const Name + var ErrIntOverflowProvider = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthProvider = fmt.Errorf("proto: negative length found during unmarshaling") + func ClientConfig() *plugin.ClientConfig + func RegisterCAServer(s *grpc.Server, srv CAServer) + func Serve(p ca.Provider) + type ActiveIntermediateResponse struct + CrtPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ActiveIntermediateResponse) Descriptor() ([]byte, []int) + func (*ActiveIntermediateResponse) ProtoMessage() + func (dst *ActiveIntermediateResponse) XXX_Merge(src proto.Message) + func (m *ActiveIntermediateResponse) GetCrtPem() string + func (m *ActiveIntermediateResponse) Marshal() (dAtA []byte, err error) + func (m *ActiveIntermediateResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *ActiveIntermediateResponse) XXX_Size() int + func (m *ActiveIntermediateResponse) XXX_Unmarshal(b []byte) error + type ActiveRootResponse struct + CrtPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ActiveRootResponse) Descriptor() ([]byte, []int) + func (*ActiveRootResponse) ProtoMessage() + func (dst *ActiveRootResponse) XXX_Merge(src proto.Message) + func (m *ActiveRootResponse) GetCrtPem() string + func (m *ActiveRootResponse) Marshal() (dAtA []byte, err error) + func (m *ActiveRootResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *ActiveRootResponse) XXX_Size() int + func (m *ActiveRootResponse) XXX_Unmarshal(b []byte) error + type CAClient interface + ActiveIntermediate func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ActiveIntermediateResponse, error) + ActiveRoot func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ActiveRootResponse, error) + Cleanup func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) + Configure func(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*Empty, error) + CrossSignCA func(ctx context.Context, in *CrossSignCARequest, opts ...grpc.CallOption) (*CrossSignCAResponse, error) + GenerateIntermediate func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenerateIntermediateResponse, error) + GenerateIntermediateCSR func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenerateIntermediateCSRResponse, error) + GenerateRoot func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) + SetIntermediate func(ctx context.Context, in *SetIntermediateRequest, opts ...grpc.CallOption) (*Empty, error) + Sign func(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) + SignIntermediate func(ctx context.Context, in *SignIntermediateRequest, opts ...grpc.CallOption) (*SignIntermediateResponse, error) + func NewCAClient(cc *grpc.ClientConn) CAClient + type CAServer interface + ActiveIntermediate func(context.Context, *Empty) (*ActiveIntermediateResponse, error) + ActiveRoot func(context.Context, *Empty) (*ActiveRootResponse, error) + Cleanup func(context.Context, *Empty) (*Empty, error) + Configure func(context.Context, *ConfigureRequest) (*Empty, error) + CrossSignCA func(context.Context, *CrossSignCARequest) (*CrossSignCAResponse, error) + GenerateIntermediate func(context.Context, *Empty) (*GenerateIntermediateResponse, error) + GenerateIntermediateCSR func(context.Context, *Empty) (*GenerateIntermediateCSRResponse, error) + GenerateRoot func(context.Context, *Empty) (*Empty, error) + SetIntermediate func(context.Context, *SetIntermediateRequest) (*Empty, error) + Sign func(context.Context, *SignRequest) (*SignResponse, error) + SignIntermediate func(context.Context, *SignIntermediateRequest) (*SignIntermediateResponse, error) + type ConfigureRPCRequest struct + ClusterId string + IsRoot bool + RawConfig map[string]interface{} + type ConfigureRequest struct + ClusterId string + Config []byte + IsRoot bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConfigureRequest) Descriptor() ([]byte, []int) + func (*ConfigureRequest) ProtoMessage() + func (dst *ConfigureRequest) XXX_Merge(src proto.Message) + 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 (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 (m *ConfigureRequest) XXX_Size() int + func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error + type CrossSignCARequest struct + Crt []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CrossSignCARequest) Descriptor() ([]byte, []int) + func (*CrossSignCARequest) ProtoMessage() + func (dst *CrossSignCARequest) XXX_Merge(src proto.Message) + func (m *CrossSignCARequest) GetCrt() []byte + func (m *CrossSignCARequest) Marshal() (dAtA []byte, err error) + func (m *CrossSignCARequest) MarshalTo(dAtA []byte) (int, error) + 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 (m *CrossSignCARequest) XXX_Size() int + func (m *CrossSignCARequest) XXX_Unmarshal(b []byte) error + type CrossSignCAResponse struct + CrtPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CrossSignCAResponse) Descriptor() ([]byte, []int) + func (*CrossSignCAResponse) ProtoMessage() + func (dst *CrossSignCAResponse) XXX_Merge(src proto.Message) + func (m *CrossSignCAResponse) GetCrtPem() string + func (m *CrossSignCAResponse) Marshal() (dAtA []byte, err error) + func (m *CrossSignCAResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *CrossSignCAResponse) XXX_Size() int + func (m *CrossSignCAResponse) XXX_Unmarshal(b []byte) error + type Empty struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (dst *Empty) XXX_Merge(src proto.Message) + func (m *Empty) Marshal() (dAtA []byte, err error) + func (m *Empty) MarshalTo(dAtA []byte) (int, error) + 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 (m *Empty) XXX_Size() int + func (m *Empty) XXX_Unmarshal(b []byte) error + type GenerateIntermediateCSRResponse struct + CsrPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GenerateIntermediateCSRResponse) Descriptor() ([]byte, []int) + func (*GenerateIntermediateCSRResponse) ProtoMessage() + func (dst *GenerateIntermediateCSRResponse) XXX_Merge(src proto.Message) + func (m *GenerateIntermediateCSRResponse) GetCsrPem() string + func (m *GenerateIntermediateCSRResponse) Marshal() (dAtA []byte, err error) + func (m *GenerateIntermediateCSRResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *GenerateIntermediateCSRResponse) XXX_Size() int + func (m *GenerateIntermediateCSRResponse) XXX_Unmarshal(b []byte) error + type GenerateIntermediateResponse struct + CrtPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GenerateIntermediateResponse) Descriptor() ([]byte, []int) + func (*GenerateIntermediateResponse) ProtoMessage() + func (dst *GenerateIntermediateResponse) XXX_Merge(src proto.Message) + func (m *GenerateIntermediateResponse) GetCrtPem() string + func (m *GenerateIntermediateResponse) Marshal() (dAtA []byte, err error) + func (m *GenerateIntermediateResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *GenerateIntermediateResponse) XXX_Size() int + func (m *GenerateIntermediateResponse) XXX_Unmarshal(b []byte) error + type ProviderPlugin struct + Impl ca.Provider + 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 struct + IntermediatePEM string + RootPEM string + type SetIntermediateRequest struct + IntermediatePem string + RootPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SetIntermediateRequest) Descriptor() ([]byte, []int) + func (*SetIntermediateRequest) ProtoMessage() + func (dst *SetIntermediateRequest) XXX_Merge(src proto.Message) + 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 (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 (m *SetIntermediateRequest) XXX_Size() int + func (m *SetIntermediateRequest) XXX_Unmarshal(b []byte) error + type SignIntermediateRequest struct + Csr []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SignIntermediateRequest) Descriptor() ([]byte, []int) + func (*SignIntermediateRequest) ProtoMessage() + func (dst *SignIntermediateRequest) XXX_Merge(src proto.Message) + func (m *SignIntermediateRequest) GetCsr() []byte + func (m *SignIntermediateRequest) Marshal() (dAtA []byte, err error) + func (m *SignIntermediateRequest) MarshalTo(dAtA []byte) (int, error) + 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 (m *SignIntermediateRequest) XXX_Size() int + func (m *SignIntermediateRequest) XXX_Unmarshal(b []byte) error + type SignIntermediateResponse struct + CrtPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SignIntermediateResponse) Descriptor() ([]byte, []int) + func (*SignIntermediateResponse) ProtoMessage() + func (dst *SignIntermediateResponse) XXX_Merge(src proto.Message) + func (m *SignIntermediateResponse) GetCrtPem() string + func (m *SignIntermediateResponse) Marshal() (dAtA []byte, err error) + func (m *SignIntermediateResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *SignIntermediateResponse) XXX_Size() int + func (m *SignIntermediateResponse) XXX_Unmarshal(b []byte) error + type SignRequest struct + Csr []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SignRequest) Descriptor() ([]byte, []int) + func (*SignRequest) ProtoMessage() + func (dst *SignRequest) XXX_Merge(src proto.Message) + func (m *SignRequest) GetCsr() []byte + func (m *SignRequest) Marshal() (dAtA []byte, err error) + func (m *SignRequest) MarshalTo(dAtA []byte) (int, error) + 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 (m *SignRequest) XXX_Size() int + func (m *SignRequest) XXX_Unmarshal(b []byte) error + type SignResponse struct + CrtPem string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SignResponse) Descriptor() ([]byte, []int) + func (*SignResponse) ProtoMessage() + func (dst *SignResponse) XXX_Merge(src proto.Message) + func (m *SignResponse) GetCrtPem() string + func (m *SignResponse) Marshal() (dAtA []byte, err error) + func (m *SignResponse) MarshalTo(dAtA []byte) (int, error) + 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 (m *SignResponse) XXX_Size() int + func (m *SignResponse) XXX_Unmarshal(b []byte) error