cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Copyright © 2022 Zeet, Inc - All Rights Reserved

Copyright © 2022 Zeet, Inc - All Rights Reserved

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeployCmd added in v0.2.0

func NewDeployCmd(f *cmdutil.Factory) *cobra.Command

func NewEnvGetCmd added in v0.2.0

func NewEnvGetCmd(f *cmdutil.Factory) *cobra.Command

func NewEnvSetCmd added in v0.2.0

func NewEnvSetCmd(f *cmdutil.Factory) *cobra.Command

func NewGenDocsCmd added in v0.2.0

func NewGenDocsCmd() *cobra.Command

func NewLoginCmd added in v0.2.0

func NewLoginCmd(f *cmdutil.Factory) *cobra.Command

func NewLogsCmd added in v0.2.0

func NewLogsCmd(f *cmdutil.Factory) *cobra.Command

func NewRestartCmd added in v0.2.0

func NewRestartCmd(f *cmdutil.Factory) *cobra.Command

func NewRootCmd added in v0.2.0

func NewRootCmd(f *cmdutil.Factory) *cobra.Command

NewRootCmd creates a cobra.Command and adds subcommands to it It's called by main.go and passed a cmdutil.Factory

func NewStatusCmd added in v0.2.0

func NewStatusCmd(f *cmdutil.Factory) *cobra.Command

Types

type DeployOptions added in v0.2.0

type DeployOptions struct {
	IO        *iostreams.IOStreams
	ApiClient func() (*api.Client, error)

	Branch   string
	Project  string
	UseCache bool
	Restart  bool
}

type EnvGetOptions added in v0.2.0

type EnvGetOptions struct {
	IO        *iostreams.IOStreams
	ApiClient func() (*api.Client, error)

	Project string
	Keys    []string
}

type EnvSetOptions added in v0.2.0

type EnvSetOptions struct {
	IO        *iostreams.IOStreams
	ApiClient func() (*api.Client, error)

	Project string
	Vars    []string
}

type LoginOptions added in v0.2.0

type LoginOptions struct {
	IO        *iostreams.IOStreams
	ApiClient func() (*api.Client, error)
	Config    func() (config.Config, error)

	AccessToken string
}

type LogsOptions added in v0.2.0

type LogsOptions struct {
	IO        *iostreams.IOStreams
	Config    func() (config.Config, error)
	ApiClient func() (*api.Client, error)

	Live         bool
	DeploymentID string
	Stage        string
	Project      string
}

type StatusOpts added in v0.2.0

type StatusOpts struct {
	IO        *iostreams.IOStreams
	ApiClient func() (*api.Client, error)

	Project string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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