version

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlooType_name = map[int32]string{
	0: "Unknown",
	1: "Gateway",
	2: "Ingress",
	3: "Knative",
}
View Source
var GlooType_value = map[string]int32{
	"Unknown": 0,
	"Gateway": 1,
	"Ingress": 2,
	"Knative": 3,
}

Functions

This section is empty.

Types

type ClientVersion

type ClientVersion struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientVersion) Descriptor

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

func (*ClientVersion) Equal

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

func (*ClientVersion) GetVersion

func (m *ClientVersion) GetVersion() string

func (*ClientVersion) ProtoMessage

func (*ClientVersion) ProtoMessage()

func (*ClientVersion) Reset

func (m *ClientVersion) Reset()

func (*ClientVersion) String

func (m *ClientVersion) String() string

func (*ClientVersion) XXX_DiscardUnknown

func (m *ClientVersion) XXX_DiscardUnknown()

func (*ClientVersion) XXX_Marshal

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

func (*ClientVersion) XXX_Merge

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

func (*ClientVersion) XXX_Size

func (m *ClientVersion) XXX_Size() int

func (*ClientVersion) XXX_Unmarshal

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

type GlooType

type GlooType int32

type of gloo server instance

const (
	GlooType_Unknown GlooType = 0
	GlooType_Gateway GlooType = 1
	GlooType_Ingress GlooType = 2
	GlooType_Knative GlooType = 3
)

func (GlooType) EnumDescriptor

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

func (GlooType) String

func (x GlooType) String() string

type Kubernetes

type Kubernetes struct {
	// Array of containers comprising a single distribution of gloo
	Containers []*Kubernetes_Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
	// namespace gloo is running in
	Namespace            string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Kubernetes) Descriptor

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

func (*Kubernetes) Equal

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

func (*Kubernetes) GetContainers

func (m *Kubernetes) GetContainers() []*Kubernetes_Container

func (*Kubernetes) GetNamespace

func (m *Kubernetes) GetNamespace() string

func (*Kubernetes) ProtoMessage

func (*Kubernetes) ProtoMessage()

func (*Kubernetes) Reset

func (m *Kubernetes) Reset()

func (*Kubernetes) String

func (m *Kubernetes) String() string

func (*Kubernetes) XXX_DiscardUnknown

func (m *Kubernetes) XXX_DiscardUnknown()

func (*Kubernetes) XXX_Marshal

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

func (*Kubernetes) XXX_Merge

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

func (*Kubernetes) XXX_Size

func (m *Kubernetes) XXX_Size() int

func (*Kubernetes) XXX_Unmarshal

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

type Kubernetes_Container

type Kubernetes_Container struct {
	Tag                  string   `protobuf:"bytes,1,opt,name=Tag,proto3" json:"Tag,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Registry             string   `protobuf:"bytes,3,opt,name=Registry,proto3" json:"Registry,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Kubernetes_Container) Descriptor

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

func (*Kubernetes_Container) Equal

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

func (*Kubernetes_Container) GetName

func (m *Kubernetes_Container) GetName() string

func (*Kubernetes_Container) GetRegistry

func (m *Kubernetes_Container) GetRegistry() string

func (*Kubernetes_Container) GetTag

func (m *Kubernetes_Container) GetTag() string

func (*Kubernetes_Container) ProtoMessage

func (*Kubernetes_Container) ProtoMessage()

func (*Kubernetes_Container) Reset

func (m *Kubernetes_Container) Reset()

func (*Kubernetes_Container) String

func (m *Kubernetes_Container) String() string

func (*Kubernetes_Container) XXX_DiscardUnknown

func (m *Kubernetes_Container) XXX_DiscardUnknown()

func (*Kubernetes_Container) XXX_Marshal

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

func (*Kubernetes_Container) XXX_Merge

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

func (*Kubernetes_Container) XXX_Size

func (m *Kubernetes_Container) XXX_Size() int

func (*Kubernetes_Container) XXX_Unmarshal

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

type ServerVersion

type ServerVersion struct {
	Type GlooType `protobuf:"varint,1,opt,name=type,proto3,enum=gloo.solo.io.GlooType" json:"type,omitempty"`
	// Whether or not this is an enterprise distribution
	Enterprise bool `protobuf:"varint,2,opt,name=enterprise,proto3" json:"enterprise,omitempty"`
	// The type of server distribution
	// Currently only kubernetes is supported
	//
	// Types that are valid to be assigned to VersionType:
	//	*ServerVersion_Kubernetes
	VersionType          isServerVersion_VersionType `protobuf_oneof:"version_type"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ServerVersion) Descriptor

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

func (*ServerVersion) Equal

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

func (*ServerVersion) GetEnterprise

func (m *ServerVersion) GetEnterprise() bool

func (*ServerVersion) GetKubernetes

func (m *ServerVersion) GetKubernetes() *Kubernetes

func (*ServerVersion) GetType

func (m *ServerVersion) GetType() GlooType

func (*ServerVersion) GetVersionType

func (m *ServerVersion) GetVersionType() isServerVersion_VersionType

func (*ServerVersion) ProtoMessage

func (*ServerVersion) ProtoMessage()

func (*ServerVersion) Reset

func (m *ServerVersion) Reset()

func (*ServerVersion) String

func (m *ServerVersion) String() string

func (*ServerVersion) XXX_DiscardUnknown

func (m *ServerVersion) XXX_DiscardUnknown()

func (*ServerVersion) XXX_Marshal

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

func (*ServerVersion) XXX_Merge

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

func (*ServerVersion) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ServerVersion) XXX_Size

func (m *ServerVersion) XXX_Size() int

func (*ServerVersion) XXX_Unmarshal

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

type ServerVersion_Kubernetes

type ServerVersion_Kubernetes struct {
	Kubernetes *Kubernetes `protobuf:"bytes,3,opt,name=kubernetes,proto3,oneof" json:"kubernetes,omitempty"`
}

func (*ServerVersion_Kubernetes) Equal

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

type Version

type Version struct {
	Client *ClientVersion `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// This field is an array of server versions because although there can only be 1 client version, there can
	// potentially be many instances of gloo running on a single cluster
	Server               []*ServerVersion `protobuf:"bytes,2,rep,name=server,proto3" json:"server,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Version) Descriptor

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

func (*Version) Equal

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

func (*Version) GetClient

func (m *Version) GetClient() *ClientVersion

func (*Version) GetServer

func (m *Version) GetServer() []*ServerVersion

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) String

func (m *Version) String() string

func (*Version) XXX_DiscardUnknown

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal

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

func (*Version) XXX_Merge

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

func (*Version) XXX_Size

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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