version

package
v1.18.0-beta21 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KnativeUniqueContainers = []string{"knative-external-proxy", "knative-internal-proxy"}
	IngressUniqueContainers = []string{"ingress"}
	GlooEUniqueContainers   = []string{"gloo-ee"}
)
View Source
var (
	NoNamespaceAllError = eris.New("single namespace must be specified, cannot be namespace all for version command")
)

Functions

func GetClientServerVersions added in v0.21.2

func GetClientServerVersions(ctx context.Context, sv ServerVersion) (*version.Version, error)

func NewKube

func NewKube(namespace, kubeContext string) *kube

NewKube creates a new kube client for our cli It knows how to see its namespace and potentially its context Mainly used to retrieve server versions of gloo owned deployments

func RootCmd

func RootCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command

Types

type ServerVersion

type ServerVersion interface {
	Get(ctx context.Context) ([]*version.ServerVersion, error)
	GetClusterVersion() (*version.KubernetesClusterVersion, error)
}

Directories

Path Synopsis
Package mock_version is a generated GoMock package.
Package mock_version is a generated GoMock package.

Jump to

Keyboard shortcuts

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