cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// VERSION will be overridden by ldflags when we build the project using goreleaser
	VERSION = "DEV"
)

Functions

func Execute

func Execute()

func InitMapper added in v0.0.4

func InitMapper() (meta.RESTMapper, error)

func ResourceOptionsFromResources added in v0.0.4

func ResourceOptionsFromResources(resources []string) ([]cmdcreate.ResourceOptions, bool)

ResourceOptionsFromResources gets us cmdcreate.ResourceOptions for resources that have been specified as --resource flag to `allow akcess` it also returns second value that specified if there are sub resources present in the passed resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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