google_security_meshca_v1

package
v1.33.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMeshCertificateServiceServer

func RegisterMeshCertificateServiceServer(s *grpc.Server, srv MeshCertificateServiceServer)

func RegisterMeshCertificateServiceService

func RegisterMeshCertificateServiceService(s grpc.ServiceRegistrar, srv *MeshCertificateServiceService)

RegisterMeshCertificateServiceService registers a service implementation with a gRPC server.

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://godoc.org/github.com/fgiudici/grpc-go#ClientConn.NewStream.

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)
}

MeshCertificateServiceServer is the server API for MeshCertificateService service.

type MeshCertificateServiceService

type MeshCertificateServiceService struct {
	// Using provided CSR, returns a signed certificate that represents a GCP
	// service account identity.
	CreateCertificate func(context.Context, *MeshCertificateRequest) (*MeshCertificateResponse, error)
}

MeshCertificateServiceService is the service API for MeshCertificateService service. Fields should be assigned to their respective handler implementations only before RegisterMeshCertificateServiceService is called. Any unassigned fields will result in the handler for that method returning an Unimplemented error.

func NewMeshCertificateServiceService

func NewMeshCertificateServiceService(s interface{}) *MeshCertificateServiceService

NewMeshCertificateServiceService creates a new MeshCertificateServiceService containing the implemented methods of the MeshCertificateService service in s. Any unimplemented methods will result in the gRPC server returning an UNIMPLEMENTED status to the client. This includes situations where the method handler is misspelled or has the wrong signature. For this reason, this function should be used with great care and is not recommended to be used by most users.

type UnimplementedMeshCertificateServiceServer

type UnimplementedMeshCertificateServiceServer struct {
}

UnimplementedMeshCertificateServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMeshCertificateServiceServer) CreateCertificate

type UnstableMeshCertificateServiceService

type UnstableMeshCertificateServiceService interface {
	// Using provided CSR, returns a signed certificate that represents a GCP
	// service account identity.
	CreateCertificate(context.Context, *MeshCertificateRequest) (*MeshCertificateResponse, error)
}

UnstableMeshCertificateServiceService is the service API for MeshCertificateService service. New methods may be added to this interface if they are added to the service definition, which is not a backward-compatible change. For this reason, use of this type is not recommended.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL