Documentation ¶
Index ¶
- func RegisterMeshCertificateServiceServer(s *grpc.Server, srv MeshCertificateServiceServer)
- type MeshCertificateRequest
- func (*MeshCertificateRequest) Descriptor() ([]byte, []int)
- func (m *MeshCertificateRequest) GetCsr() string
- func (m *MeshCertificateRequest) GetRequestId() string
- func (m *MeshCertificateRequest) GetValidity() *duration.Duration
- func (*MeshCertificateRequest) ProtoMessage()
- func (m *MeshCertificateRequest) Reset()
- func (m *MeshCertificateRequest) String() string
- func (m *MeshCertificateRequest) XXX_DiscardUnknown()
- func (m *MeshCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MeshCertificateRequest) XXX_Merge(src proto.Message)
- func (m *MeshCertificateRequest) XXX_Size() int
- func (m *MeshCertificateRequest) XXX_Unmarshal(b []byte) error
- type MeshCertificateResponse
- func (*MeshCertificateResponse) Descriptor() ([]byte, []int)
- func (m *MeshCertificateResponse) GetCertChain() []string
- func (*MeshCertificateResponse) ProtoMessage()
- func (m *MeshCertificateResponse) Reset()
- func (m *MeshCertificateResponse) String() string
- func (m *MeshCertificateResponse) XXX_DiscardUnknown()
- func (m *MeshCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MeshCertificateResponse) XXX_Merge(src proto.Message)
- func (m *MeshCertificateResponse) XXX_Size() int
- func (m *MeshCertificateResponse) XXX_Unmarshal(b []byte) error
- type MeshCertificateServiceClient
- type MeshCertificateServiceServer
- type UnimplementedMeshCertificateServiceServer
- type UnsafeMeshCertificateServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMeshCertificateServiceServer ¶
func RegisterMeshCertificateServiceServer(s *grpc.Server, srv MeshCertificateServiceServer)
Types ¶
type MeshCertificateRequest ¶
type MeshCertificateRequest struct { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // PEM-encoded certificate request. Csr string `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` // Optional: requested certificate validity period. Validity *duration.Duration `protobuf:"bytes,3,opt,name=validity,proto3" json:"validity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Certificate request message.
func (*MeshCertificateRequest) Descriptor ¶
func (*MeshCertificateRequest) Descriptor() ([]byte, []int)
func (*MeshCertificateRequest) GetCsr ¶
func (m *MeshCertificateRequest) GetCsr() string
func (*MeshCertificateRequest) GetRequestId ¶
func (m *MeshCertificateRequest) GetRequestId() string
func (*MeshCertificateRequest) GetValidity ¶
func (m *MeshCertificateRequest) GetValidity() *duration.Duration
func (*MeshCertificateRequest) ProtoMessage ¶
func (*MeshCertificateRequest) ProtoMessage()
func (*MeshCertificateRequest) Reset ¶
func (m *MeshCertificateRequest) Reset()
func (*MeshCertificateRequest) String ¶
func (m *MeshCertificateRequest) String() string
func (*MeshCertificateRequest) XXX_DiscardUnknown ¶
func (m *MeshCertificateRequest) XXX_DiscardUnknown()
func (*MeshCertificateRequest) XXX_Marshal ¶
func (m *MeshCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MeshCertificateRequest) XXX_Merge ¶
func (m *MeshCertificateRequest) XXX_Merge(src proto.Message)
func (*MeshCertificateRequest) XXX_Size ¶
func (m *MeshCertificateRequest) XXX_Size() int
func (*MeshCertificateRequest) XXX_Unmarshal ¶
func (m *MeshCertificateRequest) XXX_Unmarshal(b []byte) error
type MeshCertificateResponse ¶
type MeshCertificateResponse struct { // PEM-encoded certificate chain. // Leaf cert is element '0'. Root cert is element 'n'. CertChain []string `protobuf:"bytes,1,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Certificate response message.
func (*MeshCertificateResponse) Descriptor ¶
func (*MeshCertificateResponse) Descriptor() ([]byte, []int)
func (*MeshCertificateResponse) GetCertChain ¶
func (m *MeshCertificateResponse) GetCertChain() []string
func (*MeshCertificateResponse) ProtoMessage ¶
func (*MeshCertificateResponse) ProtoMessage()
func (*MeshCertificateResponse) Reset ¶
func (m *MeshCertificateResponse) Reset()
func (*MeshCertificateResponse) String ¶
func (m *MeshCertificateResponse) String() string
func (*MeshCertificateResponse) XXX_DiscardUnknown ¶
func (m *MeshCertificateResponse) XXX_DiscardUnknown()
func (*MeshCertificateResponse) XXX_Marshal ¶
func (m *MeshCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MeshCertificateResponse) XXX_Merge ¶
func (m *MeshCertificateResponse) XXX_Merge(src proto.Message)
func (*MeshCertificateResponse) XXX_Size ¶
func (m *MeshCertificateResponse) XXX_Size() int
func (*MeshCertificateResponse) XXX_Unmarshal ¶
func (m *MeshCertificateResponse) XXX_Unmarshal(b []byte) error
type MeshCertificateServiceClient ¶
type MeshCertificateServiceClient interface { // Using provided CSR, returns a signed certificate that represents a GCP // service account identity. CreateCertificate(ctx context.Context, in *MeshCertificateRequest, opts ...grpc.CallOption) (*MeshCertificateResponse, error) }
MeshCertificateServiceClient is the client API for MeshCertificateService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMeshCertificateServiceClient ¶
func NewMeshCertificateServiceClient(cc grpc.ClientConnInterface) MeshCertificateServiceClient
type MeshCertificateServiceServer ¶
type MeshCertificateServiceServer interface { // Using provided CSR, returns a signed certificate that represents a GCP // service account identity. CreateCertificate(context.Context, *MeshCertificateRequest) (*MeshCertificateResponse, error) // contains filtered or unexported methods }
MeshCertificateServiceServer is the server API for MeshCertificateService service. All implementations must embed UnimplementedMeshCertificateServiceServer for forward compatibility
type UnimplementedMeshCertificateServiceServer ¶
type UnimplementedMeshCertificateServiceServer struct { }
UnimplementedMeshCertificateServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMeshCertificateServiceServer) CreateCertificate ¶
func (UnimplementedMeshCertificateServiceServer) CreateCertificate(context.Context, *MeshCertificateRequest) (*MeshCertificateResponse, error)
type UnsafeMeshCertificateServiceServer ¶ added in v1.33.0
type UnsafeMeshCertificateServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMeshCertificateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MeshCertificateServiceServer will result in compilation errors.