grpc: google.golang.org/grpc/credentials/tls/certprovider/meshca/internal/v1 Index | Files

package google_security_meshca_v1

import "google.golang.org/grpc/credentials/tls/certprovider/meshca/internal/v1"

Index

Package Files

meshca.pb.go meshca_grpc.pb.go

Variables

var File_istio_google_security_meshca_v1_meshca_proto protoreflect.FileDescriptor

func RegisterMeshCertificateServiceServer Uses

func RegisterMeshCertificateServiceServer(s grpc.ServiceRegistrar, srv MeshCertificateServiceServer)

type MeshCertificateRequest Uses

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"` // Reserved 4
    // contains filtered or unexported fields
}

Certificate request message.

func (*MeshCertificateRequest) Descriptor Uses

func (*MeshCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use MeshCertificateRequest.ProtoReflect.Descriptor instead.

func (*MeshCertificateRequest) GetCsr Uses

func (x *MeshCertificateRequest) GetCsr() string

func (*MeshCertificateRequest) GetRequestId Uses

func (x *MeshCertificateRequest) GetRequestId() string

func (*MeshCertificateRequest) GetValidity Uses

func (x *MeshCertificateRequest) GetValidity() *duration.Duration

func (*MeshCertificateRequest) ProtoMessage Uses

func (*MeshCertificateRequest) ProtoMessage()

func (*MeshCertificateRequest) ProtoReflect Uses

func (x *MeshCertificateRequest) ProtoReflect() protoreflect.Message

func (*MeshCertificateRequest) Reset Uses

func (x *MeshCertificateRequest) Reset()

func (*MeshCertificateRequest) String Uses

func (x *MeshCertificateRequest) String() string

type MeshCertificateResponse Uses

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 Uses

func (*MeshCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use MeshCertificateResponse.ProtoReflect.Descriptor instead.

func (*MeshCertificateResponse) GetCertChain Uses

func (x *MeshCertificateResponse) GetCertChain() []string

func (*MeshCertificateResponse) ProtoMessage Uses

func (*MeshCertificateResponse) ProtoMessage()

func (*MeshCertificateResponse) ProtoReflect Uses

func (x *MeshCertificateResponse) ProtoReflect() protoreflect.Message

func (*MeshCertificateResponse) Reset Uses

func (x *MeshCertificateResponse) Reset()

func (*MeshCertificateResponse) String Uses

func (x *MeshCertificateResponse) String() string

type MeshCertificateServiceClient Uses

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 Uses

func NewMeshCertificateServiceClient(cc grpc.ClientConnInterface) MeshCertificateServiceClient

type MeshCertificateServiceServer Uses

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 Uses

type UnimplementedMeshCertificateServiceServer struct {
}

UnimplementedMeshCertificateServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMeshCertificateServiceServer) CreateCertificate Uses

func (UnimplementedMeshCertificateServiceServer) CreateCertificate(context.Context, *MeshCertificateRequest) (*MeshCertificateResponse, error)

type UnsafeMeshCertificateServiceServer Uses

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.

Package google_security_meshca_v1 imports 10 packages (graph) and is imported by 1 packages. Updated 2020-10-28. Refresh now. Tools for package owners.