istio: istio.io/istio/security/proto/providers/google Index | Files

package google_security_meshca_v1beta1

import "istio.io/istio/security/proto/providers/google"

Index

Package Files

meshca.pb.go

func RegisterMeshCertificateServiceServer Uses

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

type MeshCertificateRequest Uses

type MeshCertificateRequest struct {
    // PEM-encoded certificate request.
    Csr string `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"`
    // Optional subject ID field.
    SubjectId string `protobuf:"bytes,2,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
    // Optional: requested certificate validity period, in seconds.
    ValidityDuration     int64    `protobuf:"varint,3,opt,name=validity_duration,json=validityDuration,proto3" json:"validity_duration,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Certificate request message.

func (*MeshCertificateRequest) Descriptor Uses

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

func (*MeshCertificateRequest) GetCsr Uses

func (m *MeshCertificateRequest) GetCsr() string

func (*MeshCertificateRequest) GetSubjectId Uses

func (m *MeshCertificateRequest) GetSubjectId() string

func (*MeshCertificateRequest) GetValidityDuration Uses

func (m *MeshCertificateRequest) GetValidityDuration() int64

func (*MeshCertificateRequest) ProtoMessage Uses

func (*MeshCertificateRequest) ProtoMessage()

func (*MeshCertificateRequest) Reset Uses

func (m *MeshCertificateRequest) Reset()

func (*MeshCertificateRequest) String Uses

func (m *MeshCertificateRequest) String() string

func (*MeshCertificateRequest) XXX_DiscardUnknown Uses

func (m *MeshCertificateRequest) XXX_DiscardUnknown()

func (*MeshCertificateRequest) XXX_Marshal Uses

func (m *MeshCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshCertificateRequest) XXX_Merge Uses

func (m *MeshCertificateRequest) XXX_Merge(src proto.Message)

func (*MeshCertificateRequest) XXX_Size Uses

func (m *MeshCertificateRequest) XXX_Size() int

func (*MeshCertificateRequest) XXX_Unmarshal Uses

func (m *MeshCertificateRequest) XXX_Unmarshal(b []byte) error

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Certificate response message.

func (*MeshCertificateResponse) Descriptor Uses

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

func (*MeshCertificateResponse) GetCertChain Uses

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

func (*MeshCertificateResponse) ProtoMessage Uses

func (*MeshCertificateResponse) ProtoMessage()

func (*MeshCertificateResponse) Reset Uses

func (m *MeshCertificateResponse) Reset()

func (*MeshCertificateResponse) String Uses

func (m *MeshCertificateResponse) String() string

func (*MeshCertificateResponse) XXX_DiscardUnknown Uses

func (m *MeshCertificateResponse) XXX_DiscardUnknown()

func (*MeshCertificateResponse) XXX_Marshal Uses

func (m *MeshCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshCertificateResponse) XXX_Merge Uses

func (m *MeshCertificateResponse) XXX_Merge(src proto.Message)

func (*MeshCertificateResponse) XXX_Size Uses

func (m *MeshCertificateResponse) XXX_Size() int

func (*MeshCertificateResponse) XXX_Unmarshal Uses

func (m *MeshCertificateResponse) XXX_Unmarshal(b []byte) error

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMeshCertificateServiceClient Uses

func NewMeshCertificateServiceClient(cc *grpc.ClientConn) 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)
}

MeshCertificateServiceServer is the server API for MeshCertificateService service.

type UnimplementedMeshCertificateServiceServer Uses

type UnimplementedMeshCertificateServiceServer struct {
}

UnimplementedMeshCertificateServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMeshCertificateServiceServer) CreateCertificate Uses

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

Package google_security_meshca_v1beta1 imports 7 packages (graph) and is imported by 1 packages. Updated 2019-10-19. Refresh now. Tools for package owners.