surveyutils

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRouteFlagsInteractive

func AddRouteFlagsInteractive(opts *options.Options) error

func AddUpstreamFlagsInteractive

func AddUpstreamFlagsInteractive(upstream *options.InputUpstream) error

func AddVirtualServiceFlagsInteractive

func AddVirtualServiceFlagsInteractive(vs *options.InputVirtualService) error

func EnsureResourceByName

func EnsureResourceByName(message string, static bool, source string, target *resources.Resource, resources resources.ResourceList) error

func InteractiveNamespace

func InteractiveNamespace(namespace *string) error

func MetadataSurvey

func MetadataSurvey(metadata *core.Metadata) error

func RemoveRouteFlagsInteractive

func RemoveRouteFlagsInteractive(opts *options.Options) error

func ResourceSelectByName

func ResourceSelectByName(message string, resources resources.ResourceList) (resources.ResourceList, error)

func ResourceSelectByNamespace

func ResourceSelectByNamespace(resources resources.ResourceList) (resources.ResourceList, error)

func ResourceSelectMultiByName

func ResourceSelectMultiByName(resources resources.ResourceList) (resources.ResourceList, error)

func ResourceSelectMultiByNamespace

func ResourceSelectMultiByNamespace(resources resources.ResourceList) (resources.ResourceList, error)

func SelectRouteFromVirtualServiceInteractive

func SelectRouteFromVirtualServiceInteractive(vs *gatewayv1.VirtualService, routePrompt string) (int, error)

func SelectRouteInteractive

func SelectRouteInteractive(opts *options.Options, virtualServicePrompt, routePrompt string) (*gatewayv1.VirtualService, int, error)

func SelectVirtualServiceInteractive

func SelectVirtualServiceInteractive(opts *options.Options) error

func SelectVirtualServiceInteractiveWithPrompt

func SelectVirtualServiceInteractiveWithPrompt(opts *options.Options, prompt string) (*gatewayv1.VirtualService, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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