Documentation ¶
Index ¶
- type Application
- func NewApp(name string) *Application
- func NewAppFromDisk(path, appName, namespace string) (*Application, error)
- func NewAppFromNamespace(appName string, namespace string, restConf *rest.Config, labelSelector string) (*Application, error)
- func NewAppWithLabel(name, label string) *Application
- func NewAppsFromDisk(path, namespace string) ([]*Application, error)
- func (app *Application) CreateItems(w io.Writer, namespace string, restConf *rest.Config)
- func (app *Application) DeleteItems(w io.Writer, namespace string, restConf *rest.Config, ...)
- func (app Application) GetItem(kind string, name string) appitem.AppItem
- func (app Application) GetItemsByKinds(kinds string) []appitem.AppItem
- func (app Application) GetScalableItems() []appitem.AppItem
- func (app *Application) Save(w io.Writer, rootFolder string)
- func (app *Application) ScaleItems(replicas int32, w io.Writer, namespace string, restConf *rest.Config)
- func (app *Application) ScaleItemsDefault(w io.Writer, namespace string, restConf *rest.Config)
- func (app *Application) UpdateItems(w io.Writer, namespace string, restConf *rest.Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
func NewApp ¶
func NewApp(name string) *Application
func NewAppFromDisk ¶
func NewAppFromDisk(path, appName, namespace string) (*Application, error)
func NewAppFromNamespace ¶
func NewAppWithLabel ¶
func NewAppWithLabel(name, label string) *Application
func NewAppsFromDisk ¶
func NewAppsFromDisk(path, namespace string) ([]*Application, error)
func (*Application) CreateItems ¶
func (*Application) DeleteItems ¶
func (app *Application) DeleteItems(w io.Writer, namespace string, restConf *rest.Config, options *v12.DeleteOptions)
func (Application) GetItem ¶
func (app Application) GetItem(kind string, name string) appitem.AppItem
func (Application) GetItemsByKinds ¶
func (app Application) GetItemsByKinds(kinds string) []appitem.AppItem
func (Application) GetScalableItems ¶
func (app Application) GetScalableItems() []appitem.AppItem
func (*Application) ScaleItems ¶
func (*Application) ScaleItemsDefault ¶
func (*Application) UpdateItems ¶
Click to show internal directories.
Click to hide internal directories.