common

package
v1.14.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 25 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndPrintObject

func CreateAndPrintObject(ctx context.Context, yml []byte, outputType printers.OutputType, namespace string) error

func GetAuthConfigs added in v1.0.0

func GetAuthConfigs(name string, opts *options.Options) (extauthv1.AuthConfigList, error)

func GetName

func GetName(args []string, opts *options.Options) string

func GetProxies

func GetProxies(name string, opts *options.Options) (gloov1.ProxyList, error)

func GetRateLimitConfigs added in v1.6.11

func GetRateLimitConfigs(name string, opts *options.Options) (ratelimit.RateLimitConfigList, error)

func GetRouteTables added in v0.20.3

func GetRouteTables(name string, opts *options.Options) (v1.RouteTableList, error)

func GetUpstreamGroups added in v0.18.1

func GetUpstreamGroups(name string, opts *options.Options) (gloov1.UpstreamGroupList, error)

func GetUpstreams

func GetUpstreams(name string, opts *options.Options) (gloov1.UpstreamList, error)

func GetVirtualServices

func GetVirtualServices(name string, opts *options.Options) (v1.VirtualServiceList, error)

Types

type Runner added in v1.5.0

type Runner interface {
	Run(cmd string, args ...string) error
}

func NewShellRunner added in v1.5.0

func NewShellRunner(in io.Reader, out io.Writer) Runner

Jump to

Keyboard shortcuts

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