Documentation ¶
Index ¶
- type AppItem
- func ListAll(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListConfigMaps(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListDeploymentConfigs(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListPersistentVolumeClaims(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListPods(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListRoleBindings(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListRoles(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListRoutes(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListServiceAccounts(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListServices(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func ListStatefulSets(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
- func NewAppItemFromFile(file string, envs map[string]string) (AppItem, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppItem ¶
type AppItem interface { WriteToFile(file string) error LoadFromFile(file string, envs map[string]string) error GetFileName() string String() string Info() string Status() string InfoStatusHtml() string Create(namespace string, restConf *rest.Config) error Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error Update(namespace string, restConf *rest.Config) error UpdateScale(replicas int32, namespace string, restConf *rest.Config) error GetScale() int32 IsScalable() bool GetName() string GetKind() string ToYaml() (string, error) FromData(data []byte) error }
func ListConfigMaps ¶
func ListDeploymentConfigs ¶
func ListDeploymentConfigs(namespace string, restConf *rest.Config, options v12.ListOptions) ([]AppItem, error)
Hint: add more types here
func ListRoleBindings ¶
func ListRoutes ¶
func ListServiceAccounts ¶
func ListServices ¶
func ListStatefulSets ¶
Click to show internal directories.
Click to hide internal directories.