cmd

package
v0.0.0-...-5f4265e Latest Latest
Warning

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

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

Documentation

Overview

The gear 'create-repo' extension.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterInitRepo

func RegisterInitRepo(parent *cobra.Command)

Types

type CommandContext

type CommandContext struct {
	Transport *transport.TransportFlag
}

Repository commands requires a transport object

func (*CommandContext) RegisterCreateRepo

func (ctx *CommandContext) RegisterCreateRepo(parent *cobra.Command)

type PermissionCommandContext

type PermissionCommandContext struct {
	// contains filtered or unexported fields
}

Implements the default container permission serialization

func (*PermissionCommandContext) CreatePermission

func (ctx *PermissionCommandContext) CreatePermission(c *cobra.Command, id string) (*sshjobs.KeyPermission, error)

func (*PermissionCommandContext) DefineFlags

func (ctx *PermissionCommandContext) DefineFlags(c *cobra.Command)

Jump to

Keyboard shortcuts

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