Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstraintsAPI ¶
type ConstraintsAPI interface { Close() error GetEnvironmentConstraints() (constraints.Value, error) GetServiceConstraints(string) (constraints.Value, error) SetEnvironmentConstraints(constraints.Value) error SetServiceConstraints(string, constraints.Value) error }
Constraints API defines methods on the client API that the get-constraints and set-constraints commands call
type GetConstraintsCommand ¶
type GetConstraintsCommand struct { envcmd.EnvCommandBase ServiceName string // contains filtered or unexported fields }
GetConstraintsCommand shows the constraints for a service or environment.
func (*GetConstraintsCommand) Info ¶
func (c *GetConstraintsCommand) Info() *cmd.Info
func (*GetConstraintsCommand) Init ¶
func (c *GetConstraintsCommand) Init(args []string) error
func (*GetConstraintsCommand) SetFlags ¶
func (c *GetConstraintsCommand) SetFlags(f *gnuflag.FlagSet)
type SetConstraintsCommand ¶
type SetConstraintsCommand struct { envcmd.EnvCommandBase ServiceName string Constraints constraints.Value // contains filtered or unexported fields }
SetConstraintsCommand shows the constraints for a service or environment.
func (*SetConstraintsCommand) Info ¶
func (c *SetConstraintsCommand) Info() *cmd.Info
func (*SetConstraintsCommand) Init ¶
func (c *SetConstraintsCommand) Init(args []string) (err error)
func (*SetConstraintsCommand) SetFlags ¶
func (c *SetConstraintsCommand) SetFlags(f *gnuflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.