cmd

package
v0.0.0-...-fa857ea Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LATEST_URL   = "https://github.com/okteto/okteto/releases/latest/download"
	INSTALL_PATH = "/usr/local/bin/okteto"
)

Variables

This section is empty.

Functions

func Analytics

func Analytics() *cobra.Command

Analytics turns analytics on/off

func Create

func Create(ctx context.Context) *cobra.Command

Create creates resources

func Delete

func Delete(ctx context.Context) *cobra.Command

Delete creates resources

func Doctor

func Doctor(k8sLogger *io.K8sLogger) *cobra.Command

Doctor generates a zip file with all okteto-related log files

func Down

func Down(k8sLogsCtrl *io.K8sLogger) *cobra.Command

Down deactivates the development container

func Exec

func Exec(k8sLogger *io.K8sLogger) *cobra.Command

Exec executes a command on the CND container

func Init

func Init(at buildTrackerInterface, insights buildDeployTrackerInterface, ioCtrl *io.Controller) *cobra.Command

Init creates okteto manifest

func Kubeconfig

func Kubeconfig(okClientProvider oktetoClientProvider) *cobra.Command

Kubeconfig fetch credentials for a cluster namespace

func List

func List(ctx context.Context) *cobra.Command

List lists resources

func Login

func Login() *cobra.Command

Login starts the login handshake with GitHub and okteto

func Push

func Push(ctx context.Context) *cobra.Command

Push builds, pushes and redeploys the target app

func Restart

func Restart() *cobra.Command

Restart restarts the pods of a given dev mode deployment

func Show

func Show() *cobra.Command

Show shows the current Okteto CLI version

func Status

func Status() *cobra.Command

Status returns the status of the synchronization process

func Update

func Update() *cobra.Command

Update checks if there is a new version available and updates it

func UpdateDeprecated

func UpdateDeprecated() *cobra.Command

UpdateDeprecated checks if there is a new version available and updates it

func Version

func Version() *cobra.Command

Version returns information about the binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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