version

package
v1.16.18 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 19 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",
	}
	GlooType_value = map[string]int32{
		"Unknown": 0,
		"Gateway": 1,
		"Ingress": 2,
		"Knative": 3,
	}
)

Enum value maps for GlooType.

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_grpc_version_version_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClientVersion

type ClientVersion struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientVersion) Clone added in v1.8.24

func (m *ClientVersion) Clone() proto.Message

Clone function

func (*ClientVersion) Descriptor deprecated

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

Deprecated: Use ClientVersion.ProtoReflect.Descriptor instead.

func (*ClientVersion) Equal

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

Equal function

func (*ClientVersion) GetVersion

func (x *ClientVersion) GetVersion() string

func (*ClientVersion) Hash added in v1.2.13

func (m *ClientVersion) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ClientVersion) ProtoMessage

func (*ClientVersion) ProtoMessage()

func (*ClientVersion) ProtoReflect added in v1.6.0

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

func (*ClientVersion) Reset

func (x *ClientVersion) Reset()

func (*ClientVersion) String

func (x *ClientVersion) String() string

type GlooType

type GlooType int32

type of gloo server instance

const (
	GlooType_Unknown GlooType = 0
	GlooType_Gateway GlooType = 1
	GlooType_Ingress GlooType = 2
	// Deprecated: Will not be available in Gloo Edge 1.11
	//
	// Deprecated: Marked as deprecated in github.com/solo-io/gloo/projects/gloo/api/grpc/version/version.proto.
	GlooType_Knative GlooType = 3
)

func (GlooType) Descriptor added in v1.6.0

func (GlooType) Descriptor() protoreflect.EnumDescriptor

func (GlooType) Enum added in v1.6.0

func (x GlooType) Enum() *GlooType

func (GlooType) EnumDescriptor deprecated

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

Deprecated: Use GlooType.Descriptor instead.

func (GlooType) Number added in v1.6.0

func (x GlooType) Number() protoreflect.EnumNumber

func (GlooType) String

func (x GlooType) String() string

func (GlooType) Type added in v1.6.0

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

func (*Kubernetes) Clone added in v1.8.24

func (m *Kubernetes) Clone() proto.Message

Clone function

func (*Kubernetes) Descriptor deprecated

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

Deprecated: Use Kubernetes.ProtoReflect.Descriptor instead.

func (*Kubernetes) Equal

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

Equal function

func (*Kubernetes) GetContainers

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

func (*Kubernetes) GetNamespace

func (x *Kubernetes) GetNamespace() string

func (*Kubernetes) Hash added in v1.2.13

func (m *Kubernetes) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Kubernetes) ProtoMessage

func (*Kubernetes) ProtoMessage()

func (*Kubernetes) ProtoReflect added in v1.6.0

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

func (*Kubernetes) Reset

func (x *Kubernetes) Reset()

func (*Kubernetes) String

func (x *Kubernetes) String() string

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"`
	OssTag   string `protobuf:"bytes,4,opt,name=OssTag,proto3" json:"OssTag,omitempty"`
	// contains filtered or unexported fields
}

func (*Kubernetes_Container) Clone added in v1.8.24

func (m *Kubernetes_Container) Clone() proto.Message

Clone function

func (*Kubernetes_Container) Descriptor deprecated

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

Deprecated: Use Kubernetes_Container.ProtoReflect.Descriptor instead.

func (*Kubernetes_Container) Equal

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

Equal function

func (*Kubernetes_Container) GetName

func (x *Kubernetes_Container) GetName() string

func (*Kubernetes_Container) GetOssTag added in v1.9.25

func (x *Kubernetes_Container) GetOssTag() string

func (*Kubernetes_Container) GetRegistry

func (x *Kubernetes_Container) GetRegistry() string

func (*Kubernetes_Container) GetTag

func (x *Kubernetes_Container) GetTag() string

func (*Kubernetes_Container) Hash added in v1.2.13

func (m *Kubernetes_Container) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Kubernetes_Container) ProtoMessage

func (*Kubernetes_Container) ProtoMessage()

func (*Kubernetes_Container) ProtoReflect added in v1.6.0

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

func (*Kubernetes_Container) Reset

func (x *Kubernetes_Container) Reset()

func (*Kubernetes_Container) String

func (x *Kubernetes_Container) String() string

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 assignable to VersionType:
	//
	//	*ServerVersion_Kubernetes
	VersionType isServerVersion_VersionType `protobuf_oneof:"version_type"`
	// contains filtered or unexported fields
}

func (*ServerVersion) Clone added in v1.8.24

func (m *ServerVersion) Clone() proto.Message

Clone function

func (*ServerVersion) Descriptor deprecated

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

Deprecated: Use ServerVersion.ProtoReflect.Descriptor instead.

func (*ServerVersion) Equal

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

Equal function

func (*ServerVersion) GetEnterprise

func (x *ServerVersion) GetEnterprise() bool

func (*ServerVersion) GetKubernetes

func (x *ServerVersion) GetKubernetes() *Kubernetes

func (*ServerVersion) GetType

func (x *ServerVersion) GetType() GlooType

func (*ServerVersion) GetVersionType

func (m *ServerVersion) GetVersionType() isServerVersion_VersionType

func (*ServerVersion) Hash added in v1.2.13

func (m *ServerVersion) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ServerVersion) ProtoMessage

func (*ServerVersion) ProtoMessage()

func (*ServerVersion) ProtoReflect added in v1.6.0

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

func (*ServerVersion) Reset

func (x *ServerVersion) Reset()

func (*ServerVersion) String

func (x *ServerVersion) String() string

type ServerVersion_Kubernetes

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

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

func (*Version) Clone added in v1.8.24

func (m *Version) Clone() proto.Message

Clone function

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) Equal

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

Equal function

func (*Version) GetClient

func (x *Version) GetClient() *ClientVersion

func (*Version) GetServer

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

func (*Version) Hash added in v1.2.13

func (m *Version) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect added in v1.6.0

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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