quota

package
v6.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2014 License: Apache-2.0 Imports: 13 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 quotas.QuotaRepository) *showQuota

func NewUpdateQuota

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

Types

type CreateQuota

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

func NewCreateQuota

func NewCreateQuota(ui terminal.UI, config configuration.Reader, quotaRepo quotas.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 quotas.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 quotas.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