Documentation
¶
Index ¶
- func BeforeApp(c *cli.Context) error
- func ProjectKuberConvert(p *project.Project, c *cli.Context)
- func ProjectKuberDelete(p *project.Project, c *cli.Context)
- func ProjectKuberPS(p *project.Project, c *cli.Context)
- func ProjectKuberScale(p *project.Project, c *cli.Context)
- func ProjectKuberUp(p *project.Project, c *cli.Context)
- func RandStringBytes(n int) string
- func WithProject(factory ProjectFactory, action ProjectAction) func(context *cli.Context)
- type ProjectAction
- type ProjectFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectKuberConvert ¶
ProjectKuberConvert tranforms docker compose to k8s objects
func ProjectKuberDelete ¶
ProjectKuberDelete deletes all rc, svc.
func ProjectKuberPS ¶
ProjectKuberPS lists all rc, svc.
func ProjectKuberScale ¶
ProjectKuberScale scales rc.
func ProjectKuberUp ¶
ProjectKuberUp brings up rc, svc.
func RandStringBytes ¶
RandStringBytes generates randomly n-character string
func WithProject ¶
func WithProject(factory ProjectFactory, action ProjectAction) func(context *cli.Context)
WithProject is an helper function to create a cli.Command action with a ProjectFactory.
Types ¶
Click to show internal directories.
Click to hide internal directories.