cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 28 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 NewConfigSetCmd added in v0.4.0

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

func NewDeleteCmd added in v0.6.1

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

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 NewJobRunCmd added in v0.5.2

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

func NewLoginCmd added in v0.2.0

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

func NewLogoutCmd added in v0.7.5

func NewLogoutCmd(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 ConfigSetOptions added in v0.4.0

type ConfigSetOptions struct {
	IO     *iostreams.IOStreams
	Config func() (config.Config, error)
	Vars   []string
}

type DeleteOptions added in v0.6.1

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

	Project string
}

type DeployOptions added in v0.2.0

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

	Image    string
	Branch   string
	Project  string
	UseCache bool
	Restart  bool
	Follow   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 JobRunOptions added in v0.5.2

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

	Project string
	Command string
	Build   bool
	Follow  bool
}

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
	Overwrite   bool
}

type LogoutOptions added in v0.7.5

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

	AccessToken string
	Overwrite   bool
}

type LogsOptions added in v0.2.0

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

	Follow       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
aws
gcp

Jump to

Keyboard shortcuts

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