commands

package
v0.0.0-...-116ca14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdServer

func CmdServer(c *cli.Context, cfg arc_config.Config, appName string) (int, error)

CmdServer starts a node server

func Init

func Init(c *cli.Context, appName string) (int, error)

Init install an arc agent/node

func RenewCert

func RenewCert(c *cli.Context, cfg *arc_config.Config) (int, error)

RenewCert download a new cert

func RenewCertURI

func RenewCertURI(c *cli.Context) (string, error)

RenewCertURI checks for the renew-cert-uri flag is set. If not checks the env variable ARC_UPDATE_URI and modify this to get the arc api URL.

func Restart

func Restart(c *cli.Context) (int, error)

func Start

func Start(c *cli.Context) (int, error)

func Status

func Status(c *cli.Context) (int, error)

func Stop

func Stop(c *cli.Context) (int, error)

func Update

func Update(c *cli.Context, options map[string]interface{}) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL