v1alpha1

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_test_apis_sample_v1alpha1_sample_types_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

TrafficRoute is a sample configuration object for testing purposes.

func (*TrafficRoute) DeepCopy added in v1.8.1

func (t *TrafficRoute) DeepCopy() *TrafficRoute

func (*TrafficRoute) DeepCopyInto added in v1.8.1

func (t *TrafficRoute) DeepCopyInto(out *TrafficRoute)

func (*TrafficRoute) Descriptor deprecated

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

Deprecated: Use TrafficRoute.ProtoReflect.Descriptor instead.

func (*TrafficRoute) GetPath

func (x *TrafficRoute) GetPath() string

func (*TrafficRoute) MarshalJSON added in v1.8.1

func (m *TrafficRoute) MarshalJSON() ([]byte, error)

func (*TrafficRoute) ProtoMessage

func (*TrafficRoute) ProtoMessage()

func (*TrafficRoute) ProtoReflect

func (x *TrafficRoute) ProtoReflect() protoreflect.Message

func (*TrafficRoute) Reset

func (x *TrafficRoute) Reset()

func (*TrafficRoute) String

func (x *TrafficRoute) String() string

func (*TrafficRoute) UnmarshalJSON added in v1.8.1

func (m *TrafficRoute) UnmarshalJSON(data []byte) error

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.

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