Documentation ¶
Index ¶
- type Controller
- func (cc *Controller) CommitFeatures(ft *models.Feature, deleted bool) int
- func (cc *Controller) Delete(ctx climax.Context) int
- func (cc *Controller) Import(ctx climax.Context) int
- func (cc *Controller) Info(ctx climax.Context) int
- func (cc *Controller) Init(ctx climax.Context) int
- func (cc *Controller) List(ctx climax.Context) int
- func (cc *Controller) ParseContext(ctx climax.Context) (*models.Feature, error)
- func (cc *Controller) Serve(ctx climax.Context) int
- func (cc *Controller) Set(ctx climax.Context) int
- func (cc *Controller) Watch(ctx climax.Context) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Config *config.Config Client api.ClientIFace }
Controller handler for CLI commands
func New ¶
func New(cfg *config.Config, kv api.ClientIFace) (cc *Controller)
New creates a `Controller`
func (*Controller) CommitFeatures ¶
func (cc *Controller) CommitFeatures(ft *models.Feature, deleted bool) int
func (*Controller) ParseContext ¶
Click to show internal directories.
Click to hide internal directories.