Documentation
¶
Index ¶
- func Apply(cli runner.Client)
- func Compatible(cli runner.Client)
- func Deployment(cli runner.Client)
- func DeploymentDuplicate(cli runner.Client)
- func Get(cli runner.Client)
- func HelmAdaption(client runner.Client)
- func Hook(client runner.Client)
- func Install(cli runner.Client)
- func KillSyncthingProcess(cli runner.Client)
- func LogsForArchive()
- func PortForward(client runner.Client, module, moduleType string)
- func PortForwardService(client runner.Client) error
- func Prepare() (cancelFunc func(), namespaceResult, kubeconfigResult string)
- func ProfileAndAssociate(cli runner.Client)
- func Reset(cli runner.Client)
- func StatefulSet(cli runner.Client)
- func StatefulSetDuplicate(cli runner.Client)
- func TestLog(_ runner.Client)
- func Upgrade(cli runner.Client)
- type T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compatible ¶
* main step: install a old version of nhctl
(1) enter dev mode (2) start port-forward (3) start file sync
then, install a new version of nhctl
(1) check sync status, developing status, port-forward status (2) check sync is ok or not (3) try to end port-forward (4) try to end dev mode
using new version of nhctl to do more operation
func Deployment ¶
func DeploymentDuplicate ¶
func HelmAdaption ¶
func KillSyncthingProcess ¶
func LogsForArchive ¶
func LogsForArchive()
func PortForward ¶
func PortForwardService ¶
func Prepare ¶
func Prepare() (cancelFunc func(), namespaceResult, kubeconfigResult string)
Prepare will install a nhctl client, create a k8s cluster if necessary
func ProfileAndAssociate ¶
func StatefulSet ¶
func StatefulSetDuplicate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.