v1alpha1

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrafficRoute

type TrafficRoute struct {
	// HTTP path.
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TrafficRoute is a sample configuration object for testing purposes.

func (*TrafficRoute) Descriptor

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

func (*TrafficRoute) GetPath

func (m *TrafficRoute) GetPath() string

func (*TrafficRoute) ProtoMessage

func (*TrafficRoute) ProtoMessage()

func (*TrafficRoute) Reset

func (m *TrafficRoute) Reset()

func (*TrafficRoute) String

func (m *TrafficRoute) String() string

func (*TrafficRoute) Validate

func (m *TrafficRoute) Validate() error

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

func (*TrafficRoute) XXX_DiscardUnknown

func (m *TrafficRoute) XXX_DiscardUnknown()

func (*TrafficRoute) XXX_Marshal

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

func (*TrafficRoute) XXX_Merge

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

func (*TrafficRoute) XXX_Size

func (m *TrafficRoute) XXX_Size() int

func (*TrafficRoute) XXX_Unmarshal

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

type TrafficRouteValidationError

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

TrafficRouteValidationError is the validation error returned by TrafficRoute.Validate if the designated constraints aren't met.

func (TrafficRouteValidationError) Cause

Cause function returns cause value.

func (TrafficRouteValidationError) Error

Error satisfies the builtin error interface

func (TrafficRouteValidationError) ErrorName

func (e TrafficRouteValidationError) ErrorName() string

ErrorName returns error name.

func (TrafficRouteValidationError) Field

Field function returns field value.

func (TrafficRouteValidationError) Key

Key function returns key value.

func (TrafficRouteValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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