version

package
v1.15.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 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 GetJson

func GetJson(pb proto.Message) ([]byte, error)

func GetYaml

func GetYaml(pb proto.Message) ([]byte, error)

func NewKube

func NewKube(namespace, kubeContext string) *kube

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)
}

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