common

package
v1.15.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 GetSettings added in v1.12.55

func GetSettings(opts *options.Options) (*gloov1.Settings, 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)

func ListProxiesFromSettings added in v1.12.55

func ListProxiesFromSettings(namespace string, opts *options.Options, settings *gloov1.Settings) (gloov1.ProxyList, error)

ListProxiesFromSettings retrieves proxies from the proxy debug endpoint, or from kubernetes if the proxy debug endpoint is not available Takes in a settings object to determine whether the proxy debug endpoint is available

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