Documentation ¶
Index ¶
- Constants
- type Kratos
- func (k *Kratos) CheckDependency() error
- func (k *Kratos) Create(name, namespace string) error
- func (k *Kratos) CreateInit(file string) error
- func (k *Kratos) Delete(name, namespace string) error
- func (k *Kratos) GetList(namespace string) ([]string, error)
- func (k *Kratos) IsReleaseExist(name, namespace string) (bool, error)
- func (k *Kratos) PrintList(namespace string) error
- func (k *Kratos) SaveConfigToDisk(name, namespace, destination string) error
Constants ¶
View Source
const (
// YamlExt is the default yaml extension
YamlExt = ".yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kratos ¶
Kratos contains info for deployment
func (*Kratos) CheckDependency ¶
CheckDependency check if all dependency are met
func (*Kratos) CreateInit ¶
CreateInit create sample configuration file
func (*Kratos) IsReleaseExist ¶
IsReleaseExist check if a release of an app exist in the list of release
func (*Kratos) SaveConfigToDisk ¶
SaveConfigToDisk get config from secret and write it to disk
Click to show internal directories.
Click to hide internal directories.