quota

package
v6.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2014 License: Apache-2.0 Imports: 14 Imported by: 33

Documentation

Index

Constants

This section is empty.

Variables

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 (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 (*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 (*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