bootstrap

package
v0.0.0-...-c8e46ad Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 363 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func False

func False() *wrappers.BoolValue

func FormatMessage

func FormatMessage(out io.Writer, m proto.Message, marshal *protojson.MarshalOptions) error

func Int32

func Int32(i int32) *wrappers.Int32Value

func MarshalAny

func MarshalAny(message proto.Message) (*any.Any, error)

func NewMessage

func NewMessage(typeName string) (proto.Message, error)

func ProtoV1

func ProtoV1(message proto.Message) protov1.Message

ProtoV1 converts a V2 message to V1.

func ProtoV2

func ProtoV2(message protov1.Message) proto.Message

ProtoV2 converts a V1 message to V2.

func True

func True() *wrappers.BoolValue

func UInt32

func UInt32(i uint32) *wrappers.UInt32Value

Types

type Address

type Address = envoy_config_core_v3.Address

func NewPipeAddress

func NewPipeAddress(addr *PipeAddress) *Address

func NewSocketAddress

func NewSocketAddress(addr *SocketAddress) *Address

type AdsConfigSource

type AdsConfigSource = envoy_config_core_v3.ConfigSource_Ads

func NewAdsConfigSource

func NewAdsConfigSource() *AdsConfigSource

NewAdsConfigSource ...

type ApiConfigSource

func NewApiConfigSource

func NewApiConfigSource(clusterName string) *ApiConfigSource

NewApiConfigSource returns a *ApiConfigSource for the named GRPC cluster.

type Bootstrap

func NewBootstrap

func NewBootstrap() *Bootstrap

type CidrRange

type CidrRange = envoy_config_core_v3.CidrRange

func NewCidrForIP

func NewCidrForIP(ip net.IP) *CidrRange

NewCidrForIP returns a /32 for IPv6 and a /128 for IPv6.

type Filter

func NewFilter

func NewFilter(name string, config proto.Message) *Filter

type NamedPort

func NewNamedPort

func NewNamedPort(name string) *NamedPort

type Node

type PathConfigSource

type PathConfigSource = envoy_config_core_v3.ConfigSource_Path

func NewPathConfigSource

func NewPathConfigSource(path string) *PathConfigSource

NewPathConfigSource ...

type PipeAddress

type PipeAddress = envoy_config_core_v3.Pipe

type PortValue

func NewPortValue

func NewPortValue(val uint32) *PortValue

Jump to

Keyboard shortcuts

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