istio: istio.io/istio/security/proto Index | Files | Directories

package istio_v1_auth

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

go:generate $REPO_ROOT/bin/mixer_codegen.sh -f security/proto/istioca.proto nolint

Index

Package Files

generate.go istioca.pb.go

Variables

var (
    ErrInvalidLengthIstioca = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowIstioca   = fmt.Errorf("proto: integer overflow")
)

func RegisterIstioCertificateServiceServer Uses

func RegisterIstioCertificateServiceServer(s *grpc.Server, srv IstioCertificateServiceServer)

type IstioCertificateRequest Uses

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 Uses

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

func (*IstioCertificateRequest) Equal Uses

func (this *IstioCertificateRequest) Equal(that interface{}) bool

func (*IstioCertificateRequest) GetCsr Uses

func (m *IstioCertificateRequest) GetCsr() string

func (*IstioCertificateRequest) GetSubjectId Uses

func (m *IstioCertificateRequest) GetSubjectId() string

func (*IstioCertificateRequest) GetValidityDuration Uses

func (m *IstioCertificateRequest) GetValidityDuration() int64

func (*IstioCertificateRequest) GoString Uses

func (this *IstioCertificateRequest) GoString() string

func (*IstioCertificateRequest) Marshal Uses

func (m *IstioCertificateRequest) Marshal() (dAtA []byte, err error)

func (*IstioCertificateRequest) MarshalTo Uses

func (m *IstioCertificateRequest) MarshalTo(dAtA []byte) (int, error)

func (*IstioCertificateRequest) MarshalToSizedBuffer Uses

func (m *IstioCertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IstioCertificateRequest) ProtoMessage Uses

func (*IstioCertificateRequest) ProtoMessage()

func (*IstioCertificateRequest) Reset Uses

func (m *IstioCertificateRequest) Reset()

func (*IstioCertificateRequest) Size Uses

func (m *IstioCertificateRequest) Size() (n int)

func (*IstioCertificateRequest) String Uses

func (this *IstioCertificateRequest) String() string

func (*IstioCertificateRequest) Unmarshal Uses

func (m *IstioCertificateRequest) Unmarshal(dAtA []byte) error

func (*IstioCertificateRequest) XXX_DiscardUnknown Uses

func (m *IstioCertificateRequest) XXX_DiscardUnknown()

func (*IstioCertificateRequest) XXX_Marshal Uses

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

func (*IstioCertificateRequest) XXX_Merge Uses

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

func (*IstioCertificateRequest) XXX_Size Uses

func (m *IstioCertificateRequest) XXX_Size() int

func (*IstioCertificateRequest) XXX_Unmarshal Uses

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

type IstioCertificateResponse Uses

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,proto3" json:"cert_chain,omitempty"`
}

Certificate response message.

func (*IstioCertificateResponse) Descriptor Uses

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

func (*IstioCertificateResponse) Equal Uses

func (this *IstioCertificateResponse) Equal(that interface{}) bool

func (*IstioCertificateResponse) GetCertChain Uses

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

func (*IstioCertificateResponse) GoString Uses

func (this *IstioCertificateResponse) GoString() string

func (*IstioCertificateResponse) Marshal Uses

func (m *IstioCertificateResponse) Marshal() (dAtA []byte, err error)

func (*IstioCertificateResponse) MarshalTo Uses

func (m *IstioCertificateResponse) MarshalTo(dAtA []byte) (int, error)

func (*IstioCertificateResponse) MarshalToSizedBuffer Uses

func (m *IstioCertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IstioCertificateResponse) ProtoMessage Uses

func (*IstioCertificateResponse) ProtoMessage()

func (*IstioCertificateResponse) Reset Uses

func (m *IstioCertificateResponse) Reset()

func (*IstioCertificateResponse) Size Uses

func (m *IstioCertificateResponse) Size() (n int)

func (*IstioCertificateResponse) String Uses

func (this *IstioCertificateResponse) String() string

func (*IstioCertificateResponse) Unmarshal Uses

func (m *IstioCertificateResponse) Unmarshal(dAtA []byte) error

func (*IstioCertificateResponse) XXX_DiscardUnknown Uses

func (m *IstioCertificateResponse) XXX_DiscardUnknown()

func (*IstioCertificateResponse) XXX_Marshal Uses

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

func (*IstioCertificateResponse) XXX_Merge Uses

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

func (*IstioCertificateResponse) XXX_Size Uses

func (m *IstioCertificateResponse) XXX_Size() int

func (*IstioCertificateResponse) XXX_Unmarshal Uses

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

type IstioCertificateServiceClient Uses

type IstioCertificateServiceClient interface {
    // Using provided CSR, returns a signed certificate.
    CreateCertificate(ctx context.Context, in *IstioCertificateRequest, opts ...grpc.CallOption) (*IstioCertificateResponse, error)
}

IstioCertificateServiceClient is the client API for IstioCertificateService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIstioCertificateServiceClient Uses

func NewIstioCertificateServiceClient(cc *grpc.ClientConn) IstioCertificateServiceClient

type IstioCertificateServiceServer Uses

type IstioCertificateServiceServer interface {
    // Using provided CSR, returns a signed certificate.
    CreateCertificate(context.Context, *IstioCertificateRequest) (*IstioCertificateResponse, error)
}

IstioCertificateServiceServer is the server API for IstioCertificateService service.

type UnimplementedIstioCertificateServiceServer Uses

type UnimplementedIstioCertificateServiceServer struct {
}

UnimplementedIstioCertificateServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIstioCertificateServiceServer) CreateCertificate Uses

func (*UnimplementedIstioCertificateServiceServer) CreateCertificate(ctx context.Context, req *IstioCertificateRequest) (*IstioCertificateResponse, error)

Directories

PathSynopsis
authentication/v1alpha1
envoy/config/filter/http/alpn/v2alpha1
envoy/config/filter/http/authn/v2alpha1
providers/google

Package istio_v1_auth imports 11 packages (graph) and is imported by 7 packages. Updated 2020-06-23. Refresh now. Tools for package owners.