quota

package
v6.1.2+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewShowQuota

func NewShowQuota(ui terminal.UI, config configuration.Reader, quotaRepo api.QuotaRepository) *showQuota

func NewUpdateQuota

func NewUpdateQuota(ui terminal.UI, config configuration.Reader, quotaRepo api.QuotaRepository) *updateQuota

Types

type CreateQuota

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

func NewCreateQuota

func NewCreateQuota(ui terminal.UI, config configuration.Reader, quotaRepo api.QuotaRepository) CreateQuota

func (CreateQuota) GetRequirements

func (cmd CreateQuota) GetRequirements(requirementsFactory requirements.Factory, context *cli.Context) ([]requirements.Requirement, error)

func (CreateQuota) Metadata

func (command CreateQuota) Metadata() command_metadata.CommandMetadata

func (CreateQuota) Run

func (cmd CreateQuota) Run(context *cli.Context)

type DeleteQuota

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

func NewDeleteQuota

func NewDeleteQuota(ui terminal.UI, config configuration.Reader, quotaRepo api.QuotaRepository) (cmd *DeleteQuota)

func (*DeleteQuota) GetRequirements

func (cmd *DeleteQuota) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*DeleteQuota) Metadata

func (command *DeleteQuota) Metadata() command_metadata.CommandMetadata

func (*DeleteQuota) Run

func (cmd *DeleteQuota) Run(c *cli.Context)

type ListQuotas

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

func NewListQuotas

func NewListQuotas(ui terminal.UI, config configuration.Reader, quotaRepo api.QuotaRepository) (cmd *ListQuotas)

func (*ListQuotas) GetRequirements

func (cmd *ListQuotas) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*ListQuotas) Metadata

func (command *ListQuotas) Metadata() command_metadata.CommandMetadata

func (*ListQuotas) Run

func (cmd *ListQuotas) Run(c *cli.Context)

Jump to

Keyboard shortcuts

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