google_security_meshca_v1

package
v1.37.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_istio_google_security_meshca_v1_meshca_proto protoreflect.FileDescriptor
View Source
var MeshCertificateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.security.meshca.v1.MeshCertificateService",
	HandlerType: (*MeshCertificateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCertificate",
			Handler:    _MeshCertificateService_CreateCertificate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "istio/google/security/meshca/v1/meshca.proto",
}

MeshCertificateService_ServiceDesc is the grpc.ServiceDesc for MeshCertificateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

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 added in v1.33.2

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 added in v1.33.2

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/google.golang.org/grpc/?tab=doc#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)
	// 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

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.

Jump to

Keyboard shortcuts

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