v1beta1

package
v0.0.0-...-ec5ffe5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1beta1 is a generated protocol buffer package.

This package defines the types that are used when creating Mixer templates. `ValueType` defined in this pacakge is also used by adapters to know the underlying datatype of the instance fields.

It is generated from these files:

mixer/adapter/model/v1beta1/extensions.proto
mixer/adapter/model/v1beta1/type.proto

It has these top-level messages:

Value
IPAddress
Duration
TimeStamp
DNSName
EmailAddress
Uri

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthType = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowType   = fmt.Errorf("proto: integer overflow")
)
View Source
var E_TemplateVariety = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FileOptions)(nil),
	ExtensionType: (*TemplateVariety)(nil),
	Field:         72295727,
	Name:          "istio.mixer.adapter.model.v1beta1.template_variety",
	Tag:           "varint,72295727,opt,name=template_variety,json=templateVariety,enum=istio.mixer.adapter.model.v1beta1.TemplateVariety",
	Filename:      "mixer/adapter/model/v1beta1/extensions.proto",
}
View Source
var TemplateVariety_name = map[int32]string{
	0: "TEMPLATE_VARIETY_CHECK",
	1: "TEMPLATE_VARIETY_REPORT",
	2: "TEMPLATE_VARIETY_QUOTA",
	3: "TEMPLATE_VARIETY_ATTRIBUTE_GENERATOR",
}
View Source
var TemplateVariety_value = map[string]int32{
	"TEMPLATE_VARIETY_CHECK":               0,
	"TEMPLATE_VARIETY_REPORT":              1,
	"TEMPLATE_VARIETY_QUOTA":               2,
	"TEMPLATE_VARIETY_ATTRIBUTE_GENERATOR": 3,
}

Functions

This section is empty.

Types

type DNSName

type DNSName struct {
}

DNSName is used inside templates for fields that are of ValueType "DNS_NAME"

func (*DNSName) Descriptor

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

func (*DNSName) Equal

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

func (*DNSName) GoString

func (this *DNSName) GoString() string

func (*DNSName) Marshal

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

func (*DNSName) MarshalTo

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

func (*DNSName) ProtoMessage

func (*DNSName) ProtoMessage()

func (*DNSName) Reset

func (m *DNSName) Reset()

func (*DNSName) Size

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

func (*DNSName) String

func (this *DNSName) String() string

func (*DNSName) Unmarshal

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

type Duration

type Duration struct {
}

Duration is used inside templates for fields that are of ValueType "DURATION"

func (*Duration) Descriptor

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

func (*Duration) Equal

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

func (*Duration) GoString

func (this *Duration) GoString() string

func (*Duration) Marshal

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

func (*Duration) MarshalTo

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

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) Reset

func (m *Duration) Reset()

func (*Duration) Size

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

func (*Duration) String

func (this *Duration) String() string

func (*Duration) Unmarshal

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

type EmailAddress

type EmailAddress struct {
}

EmailAddress is used inside templates for fields that are of ValueType "EMAIL_ADDRESS" DO NOT USE !! Under Development

func (*EmailAddress) Descriptor

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

func (*EmailAddress) Equal

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

func (*EmailAddress) GoString

func (this *EmailAddress) GoString() string

func (*EmailAddress) Marshal

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

func (*EmailAddress) MarshalTo

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

func (*EmailAddress) ProtoMessage

func (*EmailAddress) ProtoMessage()

func (*EmailAddress) Reset

func (m *EmailAddress) Reset()

func (*EmailAddress) Size

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

func (*EmailAddress) String

func (this *EmailAddress) String() string

func (*EmailAddress) Unmarshal

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

type IPAddress

type IPAddress struct {
}

IPAddress is used inside templates for fields that are of ValueType "IP_ADDRESS"

func (*IPAddress) Descriptor

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

func (*IPAddress) Equal

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

func (*IPAddress) GoString

func (this *IPAddress) GoString() string

func (*IPAddress) Marshal

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

func (*IPAddress) MarshalTo

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

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) Reset

func (m *IPAddress) Reset()

func (*IPAddress) Size

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

func (*IPAddress) String

func (this *IPAddress) String() string

func (*IPAddress) Unmarshal

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

type TemplateVariety

type TemplateVariety int32

The available varieties of templates, controlling the semantics of what an adapter does with each instance.

const (
	// Makes the template applicable for Mixer's check calls.
	TEMPLATE_VARIETY_CHECK TemplateVariety = 0
	// Makes the template applicable for Mixer's report calls.
	TEMPLATE_VARIETY_REPORT TemplateVariety = 1
	// Makes the template applicable for Mixer's quota calls.
	TEMPLATE_VARIETY_QUOTA TemplateVariety = 2
	// Makes the template applicable for Mixer's quota calls.
	TEMPLATE_VARIETY_ATTRIBUTE_GENERATOR TemplateVariety = 3
)

func (TemplateVariety) EnumDescriptor

func (TemplateVariety) EnumDescriptor() ([]byte, []int)

func (TemplateVariety) String

func (x TemplateVariety) String() string

type TimeStamp

type TimeStamp struct {
}

TimeStamp is used inside templates for fields that are of ValueType "TIMESTAMP"

func (*TimeStamp) Descriptor

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

func (*TimeStamp) Equal

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

func (*TimeStamp) GoString

func (this *TimeStamp) GoString() string

func (*TimeStamp) Marshal

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

func (*TimeStamp) MarshalTo

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

func (*TimeStamp) ProtoMessage

func (*TimeStamp) ProtoMessage()

func (*TimeStamp) Reset

func (m *TimeStamp) Reset()

func (*TimeStamp) Size

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

func (*TimeStamp) String

func (this *TimeStamp) String() string

func (*TimeStamp) Unmarshal

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

type Uri

type Uri struct {
}

Uri is used inside templates for fields that are of ValueType "URI" DO NOT USE ! Under Development

func (*Uri) Descriptor

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

func (*Uri) Equal

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

func (*Uri) GoString

func (this *Uri) GoString() string

func (*Uri) Marshal

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

func (*Uri) MarshalTo

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

func (*Uri) ProtoMessage

func (*Uri) ProtoMessage()

func (*Uri) Reset

func (m *Uri) Reset()

func (*Uri) Size

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

func (*Uri) String

func (this *Uri) String() string

func (*Uri) Unmarshal

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

type Value

type Value struct {
}

Value is used inside templates for fields that have dynamic types. The actual datatype of the field depends on the datatype of the expression used in the operator configuration.

func (*Value) Descriptor

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

func (*Value) Equal

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

func (*Value) GoString

func (this *Value) GoString() string

func (*Value) Marshal

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

func (*Value) MarshalTo

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

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) Size

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

func (*Value) String

func (this *Value) String() string

func (*Value) Unmarshal

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

Jump to

Keyboard shortcuts

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