Documentation ¶
Index ¶
- func RegisterCertificateAgentServer(s *grpc.Server, srv CertificateAgentServer)
- type CSRRequest
- func (*CSRRequest) Descriptor() ([]byte, []int)
- func (m *CSRRequest) GetCSRs() []*CertificateSigningRequest
- func (*CSRRequest) ProtoMessage()
- func (m *CSRRequest) Reset()
- func (m *CSRRequest) String() string
- func (m *CSRRequest) XXX_DiscardUnknown()
- func (m *CSRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CSRRequest) XXX_Merge(src proto.Message)
- func (m *CSRRequest) XXX_Size() int
- func (m *CSRRequest) XXX_Unmarshal(b []byte) error
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)
- func (m *Certificate) GetCertificate() string
- func (m *Certificate) GetEntity() *common.Entity
- func (m *Certificate) GetId() string
- func (m *Certificate) GetName() string
- func (m *Certificate) GetNotAfter() int64
- func (m *Certificate) GetNotBefore() int64
- func (m *Certificate) GetStatus() *common.Status
- func (m *Certificate) GetTags() *common.Tags
- func (*Certificate) ProtoMessage()
- func (m *Certificate) Reset()
- func (m *Certificate) String() string
- func (m *Certificate) XXX_DiscardUnknown()
- func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Certificate) XXX_Merge(src proto.Message)
- func (m *Certificate) XXX_Size() int
- func (m *Certificate) XXX_Unmarshal(b []byte) error
- type CertificateAgentClient
- type CertificateAgentServer
- type CertificateRequest
- func (*CertificateRequest) Descriptor() ([]byte, []int)
- func (m *CertificateRequest) GetCertificates() []*Certificate
- func (*CertificateRequest) ProtoMessage()
- func (m *CertificateRequest) Reset()
- func (m *CertificateRequest) String() string
- func (m *CertificateRequest) XXX_DiscardUnknown()
- func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateRequest) XXX_Merge(src proto.Message)
- func (m *CertificateRequest) XXX_Size() int
- func (m *CertificateRequest) XXX_Unmarshal(b []byte) error
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)
- func (m *CertificateResponse) GetError() string
- func (m *CertificateResponse) GetResult() *wrappers.BoolValue
- func (*CertificateResponse) ProtoMessage()
- func (m *CertificateResponse) Reset()
- func (m *CertificateResponse) String() string
- func (m *CertificateResponse) XXX_DiscardUnknown()
- func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateResponse) XXX_Merge(src proto.Message)
- func (m *CertificateResponse) XXX_Size() int
- func (m *CertificateResponse) XXX_Unmarshal(b []byte) error
- type CertificateSigningRequest
- func (*CertificateSigningRequest) Descriptor() ([]byte, []int)
- func (m *CertificateSigningRequest) GetCaName() string
- func (m *CertificateSigningRequest) GetCsr() string
- func (m *CertificateSigningRequest) GetName() string
- func (m *CertificateSigningRequest) GetOldCertificate() string
- func (m *CertificateSigningRequest) GetStatus() *common.Status
- func (m *CertificateSigningRequest) GetValidity() int64
- func (*CertificateSigningRequest) ProtoMessage()
- func (m *CertificateSigningRequest) Reset()
- func (m *CertificateSigningRequest) String() string
- func (m *CertificateSigningRequest) XXX_DiscardUnknown()
- func (m *CertificateSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateSigningRequest) XXX_Merge(src proto.Message)
- func (m *CertificateSigningRequest) XXX_Size() int
- func (m *CertificateSigningRequest) XXX_Unmarshal(b []byte) error
- type RenewCSRResponse
- func (*RenewCSRResponse) Descriptor() ([]byte, []int)
- func (m *RenewCSRResponse) GetCsr() *CertificateSigningRequest
- func (m *RenewCSRResponse) GetError() string
- func (m *RenewCSRResponse) GetResult() *wrappers.BoolValue
- func (*RenewCSRResponse) ProtoMessage()
- func (m *RenewCSRResponse) Reset()
- func (m *RenewCSRResponse) String() string
- func (m *RenewCSRResponse) XXX_DiscardUnknown()
- func (m *RenewCSRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenewCSRResponse) XXX_Merge(src proto.Message)
- func (m *RenewCSRResponse) XXX_Size() int
- func (m *RenewCSRResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCertificateAgentServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCertificateAgentServer ¶
func RegisterCertificateAgentServer(s *grpc.Server, srv CertificateAgentServer)
Types ¶
type CSRRequest ¶
type CSRRequest struct { CSRs []*CertificateSigningRequest `protobuf:"bytes,1,rep,name=CSRs,proto3" json:"CSRs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CSRRequest) Descriptor ¶
func (*CSRRequest) Descriptor() ([]byte, []int)
func (*CSRRequest) GetCSRs ¶
func (m *CSRRequest) GetCSRs() []*CertificateSigningRequest
func (*CSRRequest) ProtoMessage ¶
func (*CSRRequest) ProtoMessage()
func (*CSRRequest) Reset ¶
func (m *CSRRequest) Reset()
func (*CSRRequest) String ¶
func (m *CSRRequest) String() string
func (*CSRRequest) XXX_DiscardUnknown ¶
func (m *CSRRequest) XXX_DiscardUnknown()
func (*CSRRequest) XXX_Marshal ¶
func (m *CSRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CSRRequest) XXX_Merge ¶
func (m *CSRRequest) XXX_Merge(src proto.Message)
func (*CSRRequest) XXX_Size ¶
func (m *CSRRequest) XXX_Size() int
func (*CSRRequest) XXX_Unmarshal ¶
func (m *CSRRequest) XXX_Unmarshal(b []byte) error
type Certificate ¶
type Certificate struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` NotBefore int64 `protobuf:"varint,3,opt,name=notBefore,proto3" json:"notBefore,omitempty"` NotAfter int64 `protobuf:"varint,4,opt,name=notAfter,proto3" json:"notAfter,omitempty"` Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"` Status *common.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Entity *common.Entity `protobuf:"bytes,7,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Certificate) Descriptor ¶
func (*Certificate) Descriptor() ([]byte, []int)
func (*Certificate) GetCertificate ¶
func (m *Certificate) GetCertificate() string
func (*Certificate) GetEntity ¶
func (m *Certificate) GetEntity() *common.Entity
func (*Certificate) GetId ¶
func (m *Certificate) GetId() string
func (*Certificate) GetName ¶
func (m *Certificate) GetName() string
func (*Certificate) GetNotAfter ¶
func (m *Certificate) GetNotAfter() int64
func (*Certificate) GetNotBefore ¶
func (m *Certificate) GetNotBefore() int64
func (*Certificate) GetStatus ¶
func (m *Certificate) GetStatus() *common.Status
func (*Certificate) GetTags ¶
func (m *Certificate) GetTags() *common.Tags
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) Reset ¶
func (m *Certificate) Reset()
func (*Certificate) String ¶
func (m *Certificate) String() string
func (*Certificate) XXX_DiscardUnknown ¶
func (m *Certificate) XXX_DiscardUnknown()
func (*Certificate) XXX_Marshal ¶
func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Certificate) XXX_Merge ¶
func (m *Certificate) XXX_Merge(src proto.Message)
func (*Certificate) XXX_Size ¶
func (m *Certificate) XXX_Size() int
func (*Certificate) XXX_Unmarshal ¶
func (m *Certificate) XXX_Unmarshal(b []byte) error
type CertificateAgentClient ¶
type CertificateAgentClient interface { GetRenewCSR(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RenewCSRResponse, error) RotateCertificate(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) }
CertificateAgentClient is the client API for CertificateAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCertificateAgentClient ¶
func NewCertificateAgentClient(cc *grpc.ClientConn) CertificateAgentClient
type CertificateAgentServer ¶
type CertificateAgentServer interface { GetRenewCSR(context.Context, *empty.Empty) (*RenewCSRResponse, error) RotateCertificate(context.Context, *CertificateRequest) (*CertificateResponse, error) }
CertificateAgentServer is the server API for CertificateAgent service.
type CertificateRequest ¶
type CertificateRequest struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateRequest) Descriptor ¶
func (*CertificateRequest) Descriptor() ([]byte, []int)
func (*CertificateRequest) GetCertificates ¶
func (m *CertificateRequest) GetCertificates() []*Certificate
func (*CertificateRequest) ProtoMessage ¶
func (*CertificateRequest) ProtoMessage()
func (*CertificateRequest) Reset ¶
func (m *CertificateRequest) Reset()
func (*CertificateRequest) String ¶
func (m *CertificateRequest) String() string
func (*CertificateRequest) XXX_DiscardUnknown ¶
func (m *CertificateRequest) XXX_DiscardUnknown()
func (*CertificateRequest) XXX_Marshal ¶
func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateRequest) XXX_Merge ¶
func (m *CertificateRequest) XXX_Merge(src proto.Message)
func (*CertificateRequest) XXX_Size ¶
func (m *CertificateRequest) XXX_Size() int
func (*CertificateRequest) XXX_Unmarshal ¶
func (m *CertificateRequest) XXX_Unmarshal(b []byte) error
type CertificateResponse ¶
type CertificateResponse struct { Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateResponse) Descriptor ¶
func (*CertificateResponse) Descriptor() ([]byte, []int)
func (*CertificateResponse) GetError ¶
func (m *CertificateResponse) GetError() string
func (*CertificateResponse) GetResult ¶
func (m *CertificateResponse) GetResult() *wrappers.BoolValue
func (*CertificateResponse) ProtoMessage ¶
func (*CertificateResponse) ProtoMessage()
func (*CertificateResponse) Reset ¶
func (m *CertificateResponse) Reset()
func (*CertificateResponse) String ¶
func (m *CertificateResponse) String() string
func (*CertificateResponse) XXX_DiscardUnknown ¶
func (m *CertificateResponse) XXX_DiscardUnknown()
func (*CertificateResponse) XXX_Marshal ¶
func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateResponse) XXX_Merge ¶
func (m *CertificateResponse) XXX_Merge(src proto.Message)
func (*CertificateResponse) XXX_Size ¶
func (m *CertificateResponse) XXX_Size() int
func (*CertificateResponse) XXX_Unmarshal ¶
func (m *CertificateResponse) XXX_Unmarshal(b []byte) error
type CertificateSigningRequest ¶
type CertificateSigningRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Csr string `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` OldCertificate string `protobuf:"bytes,3,opt,name=oldCertificate,proto3" json:"oldCertificate,omitempty"` Status *common.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` CaName string `protobuf:"bytes,5,opt,name=caName,proto3" json:"caName,omitempty"` Validity int64 `protobuf:"varint,6,opt,name=validity,proto3" json:"validity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateSigningRequest) Descriptor ¶
func (*CertificateSigningRequest) Descriptor() ([]byte, []int)
func (*CertificateSigningRequest) GetCaName ¶
func (m *CertificateSigningRequest) GetCaName() string
func (*CertificateSigningRequest) GetCsr ¶
func (m *CertificateSigningRequest) GetCsr() string
func (*CertificateSigningRequest) GetName ¶
func (m *CertificateSigningRequest) GetName() string
func (*CertificateSigningRequest) GetOldCertificate ¶
func (m *CertificateSigningRequest) GetOldCertificate() string
func (*CertificateSigningRequest) GetStatus ¶
func (m *CertificateSigningRequest) GetStatus() *common.Status
func (*CertificateSigningRequest) GetValidity ¶
func (m *CertificateSigningRequest) GetValidity() int64
func (*CertificateSigningRequest) ProtoMessage ¶
func (*CertificateSigningRequest) ProtoMessage()
func (*CertificateSigningRequest) Reset ¶
func (m *CertificateSigningRequest) Reset()
func (*CertificateSigningRequest) String ¶
func (m *CertificateSigningRequest) String() string
func (*CertificateSigningRequest) XXX_DiscardUnknown ¶
func (m *CertificateSigningRequest) XXX_DiscardUnknown()
func (*CertificateSigningRequest) XXX_Marshal ¶
func (m *CertificateSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateSigningRequest) XXX_Merge ¶
func (m *CertificateSigningRequest) XXX_Merge(src proto.Message)
func (*CertificateSigningRequest) XXX_Size ¶
func (m *CertificateSigningRequest) XXX_Size() int
func (*CertificateSigningRequest) XXX_Unmarshal ¶
func (m *CertificateSigningRequest) XXX_Unmarshal(b []byte) error
type RenewCSRResponse ¶
type RenewCSRResponse struct { Csr *CertificateSigningRequest `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RenewCSRResponse) Descriptor ¶
func (*RenewCSRResponse) Descriptor() ([]byte, []int)
func (*RenewCSRResponse) GetCsr ¶
func (m *RenewCSRResponse) GetCsr() *CertificateSigningRequest
func (*RenewCSRResponse) GetError ¶
func (m *RenewCSRResponse) GetError() string
func (*RenewCSRResponse) GetResult ¶
func (m *RenewCSRResponse) GetResult() *wrappers.BoolValue
func (*RenewCSRResponse) ProtoMessage ¶
func (*RenewCSRResponse) ProtoMessage()
func (*RenewCSRResponse) Reset ¶
func (m *RenewCSRResponse) Reset()
func (*RenewCSRResponse) String ¶
func (m *RenewCSRResponse) String() string
func (*RenewCSRResponse) XXX_DiscardUnknown ¶
func (m *RenewCSRResponse) XXX_DiscardUnknown()
func (*RenewCSRResponse) XXX_Marshal ¶
func (m *RenewCSRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenewCSRResponse) XXX_Merge ¶
func (m *RenewCSRResponse) XXX_Merge(src proto.Message)
func (*RenewCSRResponse) XXX_Size ¶
func (m *RenewCSRResponse) XXX_Size() int
func (*RenewCSRResponse) XXX_Unmarshal ¶
func (m *RenewCSRResponse) XXX_Unmarshal(b []byte) error
type UnimplementedCertificateAgentServer ¶
type UnimplementedCertificateAgentServer struct { }
UnimplementedCertificateAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedCertificateAgentServer) GetRenewCSR ¶
func (*UnimplementedCertificateAgentServer) GetRenewCSR(ctx context.Context, req *empty.Empty) (*RenewCSRResponse, error)
func (*UnimplementedCertificateAgentServer) RotateCertificate ¶
func (*UnimplementedCertificateAgentServer) RotateCertificate(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
Click to show internal directories.
Click to hide internal directories.