Documentation ¶
Index ¶
- Variables
- func RegisterMeshCertificateServiceServer(s grpc.ServiceRegistrar, srv MeshCertificateServiceServer)
- type MeshCertificateRequest
- func (*MeshCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MeshCertificateRequest) GetCsr() string
- func (x *MeshCertificateRequest) GetRequestId() string
- func (x *MeshCertificateRequest) GetValidity() *durationpb.Duration
- func (*MeshCertificateRequest) ProtoMessage()
- func (x *MeshCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *MeshCertificateRequest) Reset()
- func (x *MeshCertificateRequest) String() string
- type MeshCertificateResponse
- func (*MeshCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MeshCertificateResponse) GetCertChain() []string
- func (*MeshCertificateResponse) ProtoMessage()
- func (x *MeshCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *MeshCertificateResponse) Reset()
- func (x *MeshCertificateResponse) String() string
- type MeshCertificateServiceClient
- type MeshCertificateServiceServer
- type UnimplementedMeshCertificateServiceServer
- type UnsafeMeshCertificateServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_istio_google_security_meshca_v1_meshca_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMeshCertificateServiceServer ¶
func RegisterMeshCertificateServiceServer(s grpc.ServiceRegistrar, 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 *durationpb.Duration `protobuf:"bytes,3,opt,name=validity,proto3" json:"validity,omitempty"` // Reserved 4 // contains filtered or unexported fields }
Certificate request message.
func (*MeshCertificateRequest) Descriptor
deprecated
func (*MeshCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MeshCertificateRequest.ProtoReflect.Descriptor instead.
func (*MeshCertificateRequest) GetCsr ¶
func (x *MeshCertificateRequest) GetCsr() string
func (*MeshCertificateRequest) GetRequestId ¶
func (x *MeshCertificateRequest) GetRequestId() string
func (*MeshCertificateRequest) GetValidity ¶
func (x *MeshCertificateRequest) GetValidity() *durationpb.Duration
func (*MeshCertificateRequest) ProtoMessage ¶
func (*MeshCertificateRequest) ProtoMessage()
func (*MeshCertificateRequest) ProtoReflect ¶
func (x *MeshCertificateRequest) ProtoReflect() protoreflect.Message
func (*MeshCertificateRequest) Reset ¶
func (x *MeshCertificateRequest) Reset()
func (*MeshCertificateRequest) String ¶
func (x *MeshCertificateRequest) String() string
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"` // contains filtered or unexported fields }
Certificate response message.
func (*MeshCertificateResponse) Descriptor
deprecated
func (*MeshCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MeshCertificateResponse.ProtoReflect.Descriptor instead.
func (*MeshCertificateResponse) GetCertChain ¶
func (x *MeshCertificateResponse) GetCertChain() []string
func (*MeshCertificateResponse) ProtoMessage ¶
func (*MeshCertificateResponse) ProtoMessage()
func (*MeshCertificateResponse) ProtoReflect ¶
func (x *MeshCertificateResponse) ProtoReflect() protoreflect.Message
func (*MeshCertificateResponse) Reset ¶
func (x *MeshCertificateResponse) Reset()
func (*MeshCertificateResponse) String ¶
func (x *MeshCertificateResponse) String() string
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/github.com/CloudmindsRobot/gmgo/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 ¶
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.