Documentation ¶
Overview ¶
Package google_security_istioca_v1alpha1 is a generated protocol buffer package.
It is generated from these files:
security/proto/providers/google/istioca.proto
It has these top-level messages:
IstioCertificateRequest IstioCertificateResponse
Index ¶
- Variables
- func RegisterIstioCertificateServiceServer(s *grpc.Server, srv IstioCertificateServiceServer)
- type IstioCertificateRequest
- func (*IstioCertificateRequest) Descriptor() ([]byte, []int)
- func (this *IstioCertificateRequest) Equal(that interface{}) bool
- func (m *IstioCertificateRequest) GetCsr() string
- func (m *IstioCertificateRequest) GetSubjectId() string
- func (m *IstioCertificateRequest) GetValidityDuration() int64
- func (this *IstioCertificateRequest) GoString() string
- func (m *IstioCertificateRequest) Marshal() (dAtA []byte, err error)
- func (m *IstioCertificateRequest) MarshalTo(dAtA []byte) (int, error)
- func (*IstioCertificateRequest) ProtoMessage()
- func (m *IstioCertificateRequest) Reset()
- func (m *IstioCertificateRequest) Size() (n int)
- func (this *IstioCertificateRequest) String() string
- func (m *IstioCertificateRequest) Unmarshal(dAtA []byte) error
- type IstioCertificateResponse
- func (*IstioCertificateResponse) Descriptor() ([]byte, []int)
- func (this *IstioCertificateResponse) Equal(that interface{}) bool
- func (m *IstioCertificateResponse) GetCertChain() []string
- func (this *IstioCertificateResponse) GoString() string
- func (m *IstioCertificateResponse) Marshal() (dAtA []byte, err error)
- func (m *IstioCertificateResponse) MarshalTo(dAtA []byte) (int, error)
- func (*IstioCertificateResponse) ProtoMessage()
- func (m *IstioCertificateResponse) Reset()
- func (m *IstioCertificateResponse) Size() (n int)
- func (this *IstioCertificateResponse) String() string
- func (m *IstioCertificateResponse) Unmarshal(dAtA []byte) error
- type IstioCertificateServiceClient
- type IstioCertificateServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthIstioca = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIstioca = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterIstioCertificateServiceServer ¶
func RegisterIstioCertificateServiceServer(s *grpc.Server, srv IstioCertificateServiceServer)
Types ¶
type IstioCertificateRequest ¶
type IstioCertificateRequest 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"` }
Certificate request message.
func (*IstioCertificateRequest) Descriptor ¶
func (*IstioCertificateRequest) Descriptor() ([]byte, []int)
func (*IstioCertificateRequest) Equal ¶
func (this *IstioCertificateRequest) Equal(that interface{}) bool
func (*IstioCertificateRequest) GetCsr ¶
func (m *IstioCertificateRequest) GetCsr() string
func (*IstioCertificateRequest) GetSubjectId ¶
func (m *IstioCertificateRequest) GetSubjectId() string
func (*IstioCertificateRequest) GetValidityDuration ¶
func (m *IstioCertificateRequest) GetValidityDuration() int64
func (*IstioCertificateRequest) GoString ¶
func (this *IstioCertificateRequest) GoString() string
func (*IstioCertificateRequest) Marshal ¶
func (m *IstioCertificateRequest) Marshal() (dAtA []byte, err error)
func (*IstioCertificateRequest) MarshalTo ¶
func (m *IstioCertificateRequest) MarshalTo(dAtA []byte) (int, error)
func (*IstioCertificateRequest) ProtoMessage ¶
func (*IstioCertificateRequest) ProtoMessage()
func (*IstioCertificateRequest) Reset ¶
func (m *IstioCertificateRequest) Reset()
func (*IstioCertificateRequest) Size ¶
func (m *IstioCertificateRequest) Size() (n int)
func (*IstioCertificateRequest) String ¶
func (this *IstioCertificateRequest) String() string
func (*IstioCertificateRequest) Unmarshal ¶
func (m *IstioCertificateRequest) Unmarshal(dAtA []byte) error
type IstioCertificateResponse ¶
type IstioCertificateResponse 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" json:"cert_chain,omitempty"` }
Certificate response message.
func (*IstioCertificateResponse) Descriptor ¶
func (*IstioCertificateResponse) Descriptor() ([]byte, []int)
func (*IstioCertificateResponse) Equal ¶
func (this *IstioCertificateResponse) Equal(that interface{}) bool
func (*IstioCertificateResponse) GetCertChain ¶
func (m *IstioCertificateResponse) GetCertChain() []string
func (*IstioCertificateResponse) GoString ¶
func (this *IstioCertificateResponse) GoString() string
func (*IstioCertificateResponse) Marshal ¶
func (m *IstioCertificateResponse) Marshal() (dAtA []byte, err error)
func (*IstioCertificateResponse) MarshalTo ¶
func (m *IstioCertificateResponse) MarshalTo(dAtA []byte) (int, error)
func (*IstioCertificateResponse) ProtoMessage ¶
func (*IstioCertificateResponse) ProtoMessage()
func (*IstioCertificateResponse) Reset ¶
func (m *IstioCertificateResponse) Reset()
func (*IstioCertificateResponse) Size ¶
func (m *IstioCertificateResponse) Size() (n int)
func (*IstioCertificateResponse) String ¶
func (this *IstioCertificateResponse) String() string
func (*IstioCertificateResponse) Unmarshal ¶
func (m *IstioCertificateResponse) Unmarshal(dAtA []byte) error
type IstioCertificateServiceClient ¶
type IstioCertificateServiceClient interface { // Using provided CSR, returns a signed certificate. CreateCertificate(ctx context.Context, in *IstioCertificateRequest, opts ...grpc.CallOption) (*IstioCertificateResponse, error) // Using provided CSR, returns a signed certificate that represents a // Kubernetes pod identity. CreatePodCertificate(ctx context.Context, in *IstioCertificateRequest, opts ...grpc.CallOption) (*IstioCertificateResponse, error) }
func NewIstioCertificateServiceClient ¶
func NewIstioCertificateServiceClient(cc *grpc.ClientConn) IstioCertificateServiceClient
type IstioCertificateServiceServer ¶
type IstioCertificateServiceServer interface { // Using provided CSR, returns a signed certificate. CreateCertificate(context.Context, *IstioCertificateRequest) (*IstioCertificateResponse, error) // Using provided CSR, returns a signed certificate that represents a // Kubernetes pod identity. CreatePodCertificate(context.Context, *IstioCertificateRequest) (*IstioCertificateResponse, error) }
Click to show internal directories.
Click to hide internal directories.