envoy_service_runtime_v3

package
v1.5.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRtds        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRtds          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRtds = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterRuntimeDiscoveryServiceServer

func RegisterRuntimeDiscoveryServiceServer(s *grpc.Server, srv RuntimeDiscoveryServiceServer)

Types

type RtdsDummy

type RtdsDummy struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

[#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing services: https://github.com/google/protobuf/issues/4221

func (*RtdsDummy) Descriptor

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

func (*RtdsDummy) Marshal

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

func (*RtdsDummy) MarshalTo

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

func (*RtdsDummy) MarshalToSizedBuffer

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

func (*RtdsDummy) ProtoMessage

func (*RtdsDummy) ProtoMessage()

func (*RtdsDummy) Reset

func (m *RtdsDummy) Reset()

func (*RtdsDummy) Size

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

func (*RtdsDummy) String

func (m *RtdsDummy) String() string

func (*RtdsDummy) Unmarshal

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

func (*RtdsDummy) Validate

func (m *RtdsDummy) Validate() error

Validate checks the field values on RtdsDummy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RtdsDummy) XXX_DiscardUnknown

func (m *RtdsDummy) XXX_DiscardUnknown()

func (*RtdsDummy) XXX_Marshal

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

func (*RtdsDummy) XXX_Merge

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

func (*RtdsDummy) XXX_Size

func (m *RtdsDummy) XXX_Size() int

func (*RtdsDummy) XXX_Unmarshal

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

type RtdsDummyValidationError

type RtdsDummyValidationError struct {
	// contains filtered or unexported fields
}

RtdsDummyValidationError is the validation error returned by RtdsDummy.Validate if the designated constraints aren't met.

func (RtdsDummyValidationError) Cause

func (e RtdsDummyValidationError) Cause() error

Cause function returns cause value.

func (RtdsDummyValidationError) Error

func (e RtdsDummyValidationError) Error() string

Error satisfies the builtin error interface

func (RtdsDummyValidationError) ErrorName

func (e RtdsDummyValidationError) ErrorName() string

ErrorName returns error name.

func (RtdsDummyValidationError) Field

func (e RtdsDummyValidationError) Field() string

Field function returns field value.

func (RtdsDummyValidationError) Key

Key function returns key value.

func (RtdsDummyValidationError) Reason

func (e RtdsDummyValidationError) Reason() string

Reason function returns reason value.

type Runtime

type Runtime struct {
	// Runtime resource name. This makes the Runtime a self-describing xDS
	// resource.
	Name                 string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Layer                *types.Struct `protobuf:"bytes,2,opt,name=layer,proto3" json:"layer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

RTDS resource type. This describes a layer in the runtime virtual filesystem.

func (*Runtime) Descriptor

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

func (*Runtime) GetLayer

func (m *Runtime) GetLayer() *types.Struct

func (*Runtime) GetName

func (m *Runtime) GetName() string

func (*Runtime) Marshal

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

func (*Runtime) MarshalTo

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

func (*Runtime) MarshalToSizedBuffer

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

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) Reset

func (m *Runtime) Reset()

func (*Runtime) Size

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

func (*Runtime) String

func (m *Runtime) String() string

func (*Runtime) Unmarshal

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

func (*Runtime) Validate

func (m *Runtime) Validate() error

Validate checks the field values on Runtime with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Runtime) XXX_DiscardUnknown

func (m *Runtime) XXX_DiscardUnknown()

func (*Runtime) XXX_Marshal

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

func (*Runtime) XXX_Merge

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

func (*Runtime) XXX_Size

func (m *Runtime) XXX_Size() int

func (*Runtime) XXX_Unmarshal

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

type RuntimeDiscoveryServiceClient

type RuntimeDiscoveryServiceClient interface {
	StreamRuntime(ctx context.Context, opts ...grpc.CallOption) (RuntimeDiscoveryService_StreamRuntimeClient, error)
	DeltaRuntime(ctx context.Context, opts ...grpc.CallOption) (RuntimeDiscoveryService_DeltaRuntimeClient, error)
	FetchRuntime(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error)
}

RuntimeDiscoveryServiceClient is the client API for RuntimeDiscoveryService service.

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

func NewRuntimeDiscoveryServiceClient

func NewRuntimeDiscoveryServiceClient(cc *grpc.ClientConn) RuntimeDiscoveryServiceClient

type RuntimeDiscoveryServiceServer

type RuntimeDiscoveryServiceServer interface {
	StreamRuntime(RuntimeDiscoveryService_StreamRuntimeServer) error
	DeltaRuntime(RuntimeDiscoveryService_DeltaRuntimeServer) error
	FetchRuntime(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
}

RuntimeDiscoveryServiceServer is the server API for RuntimeDiscoveryService service.

type RuntimeDiscoveryService_DeltaRuntimeClient

type RuntimeDiscoveryService_DeltaRuntimeClient interface {
	Send(*v3.DeltaDiscoveryRequest) error
	Recv() (*v3.DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type RuntimeDiscoveryService_DeltaRuntimeServer

type RuntimeDiscoveryService_DeltaRuntimeServer interface {
	Send(*v3.DeltaDiscoveryResponse) error
	Recv() (*v3.DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type RuntimeDiscoveryService_StreamRuntimeClient

type RuntimeDiscoveryService_StreamRuntimeClient interface {
	Send(*v3.DiscoveryRequest) error
	Recv() (*v3.DiscoveryResponse, error)
	grpc.ClientStream
}

type RuntimeDiscoveryService_StreamRuntimeServer

type RuntimeDiscoveryService_StreamRuntimeServer interface {
	Send(*v3.DiscoveryResponse) error
	Recv() (*v3.DiscoveryRequest, error)
	grpc.ServerStream
}

type RuntimeValidationError

type RuntimeValidationError struct {
	// contains filtered or unexported fields
}

RuntimeValidationError is the validation error returned by Runtime.Validate if the designated constraints aren't met.

func (RuntimeValidationError) Cause

func (e RuntimeValidationError) Cause() error

Cause function returns cause value.

func (RuntimeValidationError) Error

func (e RuntimeValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeValidationError) ErrorName

func (e RuntimeValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeValidationError) Field

func (e RuntimeValidationError) Field() string

Field function returns field value.

func (RuntimeValidationError) Key

func (e RuntimeValidationError) Key() bool

Key function returns key value.

func (RuntimeValidationError) Reason

func (e RuntimeValidationError) Reason() string

Reason function returns reason value.

type UnimplementedRuntimeDiscoveryServiceServer

type UnimplementedRuntimeDiscoveryServiceServer struct {
}

UnimplementedRuntimeDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRuntimeDiscoveryServiceServer) DeltaRuntime

func (*UnimplementedRuntimeDiscoveryServiceServer) FetchRuntime

func (*UnimplementedRuntimeDiscoveryServiceServer) StreamRuntime

Jump to

Keyboard shortcuts

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