istio_extensions

package
v0.0.0-...-940152b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFieldRules = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFieldRules   = fmt.Errorf("proto: integer overflow")
)
View Source
var E_Rules = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*FieldRules)(nil),
	Field:         1200,
	Name:          "istio.extensions.rules",
	Tag:           "bytes,1200,opt,name=rules",
	Filename:      "istio.io/extensions/field_rules.proto",
}

Functions

This section is empty.

Types

type BoolRules

type BoolRules struct {
	Default bool `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
}

BoolRules describe the rules for the bool type.

func (*BoolRules) Descriptor

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

func (*BoolRules) Equal

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

func (*BoolRules) GetDefault

func (m *BoolRules) GetDefault() bool

func (*BoolRules) GoString

func (this *BoolRules) GoString() string

func (*BoolRules) Marshal

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

func (*BoolRules) MarshalTo

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

func (*BoolRules) MarshalToSizedBuffer

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

func (*BoolRules) ProtoMessage

func (*BoolRules) ProtoMessage()

func (*BoolRules) Reset

func (m *BoolRules) Reset()

func (*BoolRules) Size

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

func (*BoolRules) String

func (this *BoolRules) String() string

func (*BoolRules) Unmarshal

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

func (*BoolRules) XXX_DiscardUnknown

func (m *BoolRules) XXX_DiscardUnknown()

func (*BoolRules) XXX_Marshal

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

func (*BoolRules) XXX_Merge

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

func (*BoolRules) XXX_Size

func (m *BoolRules) XXX_Size() int

func (*BoolRules) XXX_Unmarshal

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

type DoubleRules

type DoubleRules struct {
	Default float64 `protobuf:"fixed64,1,opt,name=default,proto3" json:"default,omitempty"`
}

DoubleRules describe the rules for the double type.

func (*DoubleRules) Descriptor

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

func (*DoubleRules) Equal

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

func (*DoubleRules) GetDefault

func (m *DoubleRules) GetDefault() float64

func (*DoubleRules) GoString

func (this *DoubleRules) GoString() string

func (*DoubleRules) Marshal

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

func (*DoubleRules) MarshalTo

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

func (*DoubleRules) MarshalToSizedBuffer

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

func (*DoubleRules) ProtoMessage

func (*DoubleRules) ProtoMessage()

func (*DoubleRules) Reset

func (m *DoubleRules) Reset()

func (*DoubleRules) Size

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

func (*DoubleRules) String

func (this *DoubleRules) String() string

func (*DoubleRules) Unmarshal

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

func (*DoubleRules) XXX_DiscardUnknown

func (m *DoubleRules) XXX_DiscardUnknown()

func (*DoubleRules) XXX_Marshal

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

func (*DoubleRules) XXX_Merge

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

func (*DoubleRules) XXX_Size

func (m *DoubleRules) XXX_Size() int

func (*DoubleRules) XXX_Unmarshal

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

type FieldRules

type FieldRules struct {
	// Types that are valid to be assigned to Type:
	//	*FieldRules_Float
	//	*FieldRules_Double
	//	*FieldRules_String_
	//	*FieldRules_Bool
	//	*FieldRules_Int32
	//	*FieldRules_Int64
	Type isFieldRules_Type `protobuf_oneof:"type"`
}

Field rules for a particular type. Currently only primitive types of OpenAPI schemas are included. (https://swagger.io/docs/specification/data-models/data-types)

func (*FieldRules) Descriptor

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

func (*FieldRules) Equal

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

func (*FieldRules) GetBool

func (m *FieldRules) GetBool() *BoolRules

func (*FieldRules) GetDouble

func (m *FieldRules) GetDouble() *DoubleRules

func (*FieldRules) GetFloat

func (m *FieldRules) GetFloat() *FloatRules

func (*FieldRules) GetInt32

func (m *FieldRules) GetInt32() *Int32Rules

func (*FieldRules) GetInt64

func (m *FieldRules) GetInt64() *Int64Rules

func (*FieldRules) GetString_

func (m *FieldRules) GetString_() *StringRules

func (*FieldRules) GetType

func (m *FieldRules) GetType() isFieldRules_Type

func (*FieldRules) GoString

func (this *FieldRules) GoString() string

func (*FieldRules) Marshal

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

func (*FieldRules) MarshalTo

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

func (*FieldRules) MarshalToSizedBuffer

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

func (*FieldRules) ProtoMessage

func (*FieldRules) ProtoMessage()

func (*FieldRules) Reset

func (m *FieldRules) Reset()

func (*FieldRules) Size

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

func (*FieldRules) String

func (this *FieldRules) String() string

func (*FieldRules) Unmarshal

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

func (*FieldRules) XXX_DiscardUnknown

func (m *FieldRules) XXX_DiscardUnknown()

func (*FieldRules) XXX_Marshal

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

func (*FieldRules) XXX_Merge

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

func (*FieldRules) XXX_OneofWrappers

func (*FieldRules) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FieldRules) XXX_Size

func (m *FieldRules) XXX_Size() int

func (*FieldRules) XXX_Unmarshal

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

type FieldRules_Bool

type FieldRules_Bool struct {
	Bool *BoolRules `protobuf:"bytes,4,opt,name=bool,proto3,oneof"`
}

func (*FieldRules_Bool) Equal

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

func (*FieldRules_Bool) GoString

func (this *FieldRules_Bool) GoString() string

func (*FieldRules_Bool) MarshalTo

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

func (*FieldRules_Bool) MarshalToSizedBuffer

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

func (*FieldRules_Bool) Size

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

func (*FieldRules_Bool) String

func (this *FieldRules_Bool) String() string

type FieldRules_Double

type FieldRules_Double struct {
	Double *DoubleRules `protobuf:"bytes,2,opt,name=double,proto3,oneof"`
}

func (*FieldRules_Double) Equal

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

func (*FieldRules_Double) GoString

func (this *FieldRules_Double) GoString() string

func (*FieldRules_Double) MarshalTo

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

func (*FieldRules_Double) MarshalToSizedBuffer

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

func (*FieldRules_Double) Size

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

func (*FieldRules_Double) String

func (this *FieldRules_Double) String() string

type FieldRules_Float

type FieldRules_Float struct {
	Float *FloatRules `protobuf:"bytes,1,opt,name=float,proto3,oneof"`
}

func (*FieldRules_Float) Equal

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

func (*FieldRules_Float) GoString

func (this *FieldRules_Float) GoString() string

func (*FieldRules_Float) MarshalTo

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

func (*FieldRules_Float) MarshalToSizedBuffer

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

func (*FieldRules_Float) Size

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

func (*FieldRules_Float) String

func (this *FieldRules_Float) String() string

type FieldRules_Int32

type FieldRules_Int32 struct {
	Int32 *Int32Rules `protobuf:"bytes,5,opt,name=int32,proto3,oneof"`
}

func (*FieldRules_Int32) Equal

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

func (*FieldRules_Int32) GoString

func (this *FieldRules_Int32) GoString() string

func (*FieldRules_Int32) MarshalTo

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

func (*FieldRules_Int32) MarshalToSizedBuffer

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

func (*FieldRules_Int32) Size

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

func (*FieldRules_Int32) String

func (this *FieldRules_Int32) String() string

type FieldRules_Int64

type FieldRules_Int64 struct {
	Int64 *Int64Rules `protobuf:"bytes,6,opt,name=int64,proto3,oneof"`
}

func (*FieldRules_Int64) Equal

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

func (*FieldRules_Int64) GoString

func (this *FieldRules_Int64) GoString() string

func (*FieldRules_Int64) MarshalTo

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

func (*FieldRules_Int64) MarshalToSizedBuffer

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

func (*FieldRules_Int64) Size

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

func (*FieldRules_Int64) String

func (this *FieldRules_Int64) String() string

type FieldRules_String_

type FieldRules_String_ struct {
	String_ *StringRules `protobuf:"bytes,3,opt,name=string,proto3,oneof"`
}

func (*FieldRules_String_) Equal

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

func (*FieldRules_String_) GoString

func (this *FieldRules_String_) GoString() string

func (*FieldRules_String_) MarshalTo

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

func (*FieldRules_String_) MarshalToSizedBuffer

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

func (*FieldRules_String_) Size

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

func (*FieldRules_String_) String

func (this *FieldRules_String_) String() string

type FloatRules

type FloatRules struct {
	Default float32 `protobuf:"fixed32,1,opt,name=default,proto3" json:"default,omitempty"`
}

FloatRules describe the rules for the float type.

func (*FloatRules) Descriptor

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

func (*FloatRules) Equal

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

func (*FloatRules) GetDefault

func (m *FloatRules) GetDefault() float32

func (*FloatRules) GoString

func (this *FloatRules) GoString() string

func (*FloatRules) Marshal

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

func (*FloatRules) MarshalTo

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

func (*FloatRules) MarshalToSizedBuffer

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

func (*FloatRules) ProtoMessage

func (*FloatRules) ProtoMessage()

func (*FloatRules) Reset

func (m *FloatRules) Reset()

func (*FloatRules) Size

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

func (*FloatRules) String

func (this *FloatRules) String() string

func (*FloatRules) Unmarshal

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

func (*FloatRules) XXX_DiscardUnknown

func (m *FloatRules) XXX_DiscardUnknown()

func (*FloatRules) XXX_Marshal

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

func (*FloatRules) XXX_Merge

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

func (*FloatRules) XXX_Size

func (m *FloatRules) XXX_Size() int

func (*FloatRules) XXX_Unmarshal

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

type Int32Rules

type Int32Rules struct {
	Default int32 `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
}

Int32Rules describe the rules for the int32 type.

func (*Int32Rules) Descriptor

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

func (*Int32Rules) Equal

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

func (*Int32Rules) GetDefault

func (m *Int32Rules) GetDefault() int32

func (*Int32Rules) GoString

func (this *Int32Rules) GoString() string

func (*Int32Rules) Marshal

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

func (*Int32Rules) MarshalTo

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

func (*Int32Rules) MarshalToSizedBuffer

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

func (*Int32Rules) ProtoMessage

func (*Int32Rules) ProtoMessage()

func (*Int32Rules) Reset

func (m *Int32Rules) Reset()

func (*Int32Rules) Size

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

func (*Int32Rules) String

func (this *Int32Rules) String() string

func (*Int32Rules) Unmarshal

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

func (*Int32Rules) XXX_DiscardUnknown

func (m *Int32Rules) XXX_DiscardUnknown()

func (*Int32Rules) XXX_Marshal

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

func (*Int32Rules) XXX_Merge

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

func (*Int32Rules) XXX_Size

func (m *Int32Rules) XXX_Size() int

func (*Int32Rules) XXX_Unmarshal

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

type Int64Rules

type Int64Rules struct {
	Default int64 `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
}

Int64Rules describe the rules for the int64 type.

func (*Int64Rules) Descriptor

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

func (*Int64Rules) Equal

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

func (*Int64Rules) GetDefault

func (m *Int64Rules) GetDefault() int64

func (*Int64Rules) GoString

func (this *Int64Rules) GoString() string

func (*Int64Rules) Marshal

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

func (*Int64Rules) MarshalTo

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

func (*Int64Rules) MarshalToSizedBuffer

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

func (*Int64Rules) ProtoMessage

func (*Int64Rules) ProtoMessage()

func (*Int64Rules) Reset

func (m *Int64Rules) Reset()

func (*Int64Rules) Size

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

func (*Int64Rules) String

func (this *Int64Rules) String() string

func (*Int64Rules) Unmarshal

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

func (*Int64Rules) XXX_DiscardUnknown

func (m *Int64Rules) XXX_DiscardUnknown()

func (*Int64Rules) XXX_Marshal

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

func (*Int64Rules) XXX_Merge

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

func (*Int64Rules) XXX_Size

func (m *Int64Rules) XXX_Size() int

func (*Int64Rules) XXX_Unmarshal

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

type StringRules

type StringRules struct {
	Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	// The regular expression the field must match against (RE2 syntax).
	Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"`
}

StringRules describe the rules for the string type.

func (*StringRules) Descriptor

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

func (*StringRules) Equal

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

func (*StringRules) GetDefault

func (m *StringRules) GetDefault() string

func (*StringRules) GetPattern

func (m *StringRules) GetPattern() string

func (*StringRules) GoString

func (this *StringRules) GoString() string

func (*StringRules) Marshal

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

func (*StringRules) MarshalTo

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

func (*StringRules) MarshalToSizedBuffer

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

func (*StringRules) ProtoMessage

func (*StringRules) ProtoMessage()

func (*StringRules) Reset

func (m *StringRules) Reset()

func (*StringRules) Size

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

func (*StringRules) String

func (this *StringRules) String() string

func (*StringRules) Unmarshal

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

func (*StringRules) XXX_DiscardUnknown

func (m *StringRules) XXX_DiscardUnknown()

func (*StringRules) XXX_Marshal

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

func (*StringRules) XXX_Merge

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

func (*StringRules) XXX_Size

func (m *StringRules) XXX_Size() int

func (*StringRules) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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