cmd

package
v0.0.0-...-cdf84e9 Latest Latest
Warning

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

Go to latest
Published: May 28, 2014 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPermissionCommand

func AddPermissionCommand(name cmd.ResourceType, handler PermissionCommandHandler)

func RegisterAuthorizedKeys

func RegisterAuthorizedKeys(parent *cobra.Command)

Types

type Command

type Command struct {
	Transport *transport.TransportFlag
}

func (*Command) RegisterAddKeys

func (e *Command) RegisterAddKeys(parent *cobra.Command)

type PermissionCommandHandler

type PermissionCommandHandler interface {
	DefineFlags(cmd *cobra.Command)
	CreatePermission(cmd *cobra.Command, id string) (*jobs.KeyPermission, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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