version

package
v1.18.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 20 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 deprecated added in v1.2.13

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

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*ClientVersion) HashUnique

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

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

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 deprecated added in v1.2.13

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

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*Kubernetes) HashUnique

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

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

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 KubernetesClusterVersion added in v1.17.0

type KubernetesClusterVersion struct {
	Major      string `protobuf:"bytes,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor      string `protobuf:"bytes,2,opt,name=minor,proto3" json:"minor,omitempty"`
	GitVersion string `protobuf:"bytes,3,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"`
	BuildDate  string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	Platform   string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesClusterVersion) Clone added in v1.17.0

Clone function

func (*KubernetesClusterVersion) Descriptor deprecated added in v1.17.0

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

Deprecated: Use KubernetesClusterVersion.ProtoReflect.Descriptor instead.

func (*KubernetesClusterVersion) Equal added in v1.17.0

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

Equal function

func (*KubernetesClusterVersion) GetBuildDate added in v1.17.0

func (x *KubernetesClusterVersion) GetBuildDate() string

func (*KubernetesClusterVersion) GetGitVersion added in v1.17.0

func (x *KubernetesClusterVersion) GetGitVersion() string

func (*KubernetesClusterVersion) GetMajor added in v1.17.0

func (x *KubernetesClusterVersion) GetMajor() string

func (*KubernetesClusterVersion) GetMinor added in v1.17.0

func (x *KubernetesClusterVersion) GetMinor() string

func (*KubernetesClusterVersion) GetPlatform added in v1.17.0

func (x *KubernetesClusterVersion) GetPlatform() string

func (*KubernetesClusterVersion) Hash deprecated added in v1.17.0

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

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*KubernetesClusterVersion) HashUnique

func (m *KubernetesClusterVersion) HashUnique(hasher hash.Hash64) (uint64, error)

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

func (*KubernetesClusterVersion) ProtoMessage added in v1.17.0

func (*KubernetesClusterVersion) ProtoMessage()

func (*KubernetesClusterVersion) ProtoReflect added in v1.17.0

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

func (*KubernetesClusterVersion) Reset added in v1.17.0

func (x *KubernetesClusterVersion) Reset()

func (*KubernetesClusterVersion) String added in v1.17.0

func (x *KubernetesClusterVersion) 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 deprecated added in v1.2.13

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

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*Kubernetes_Container) HashUnique

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

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

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 deprecated added in v1.2.13

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

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*ServerVersion) HashUnique

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

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

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"`
	KubernetesCluster *KubernetesClusterVersion `protobuf:"bytes,3,opt,name=kubernetes_cluster,json=kubernetesCluster,proto3" json:"kubernetes_cluster,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) GetKubernetesCluster added in v1.17.0

func (x *Version) GetKubernetesCluster() *KubernetesClusterVersion

func (*Version) GetServer

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

func (*Version) Hash deprecated added in v1.2.13

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

Hash function

Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.

func (*Version) HashUnique

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

HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.

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