refresh

package
v0.6.302 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package refresh lists workspaces in the current org

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloudflare added in v0.6.295

func GetCloudflare(refreshStore RefreshStore) store.Cloudflared

func GetConfigUpdater added in v0.6.67

func GetConfigUpdater(store RefreshStore) (*ssh.ConfigUpdater, error)

func NewCmdRefresh

func NewCmdRefresh(t *terminal.Terminal, store RefreshStore) *cobra.Command

func RunRefresh added in v0.6.67

func RunRefresh(store RefreshStore) error

func RunRefreshBetter added in v0.6.296

func RunRefreshBetter(store RefreshStore) error

Types

type RefreshRes added in v0.6.67

type RefreshRes struct {
	// contains filtered or unexported fields
}

func RunRefreshAsync added in v0.6.67

func RunRefreshAsync(rstore RefreshStore) *RefreshRes

func (*RefreshRes) Await added in v0.6.67

func (r *RefreshRes) Await() error

type RefreshStore added in v0.6.0

type RefreshStore interface {
	ssh.ConfigUpdaterStore
	ssh.SSHConfigurerV2Store
	GetCurrentUser() (*entity.User, error)
	GetCurrentUserKeys() (*entity.UserKeys, error)
	Chmod(string, fs.FileMode) error
	MkdirAll(string, fs.FileMode) error
	GetBrevCloudflaredBinaryPath() (string, error)
	Create(string) (io.WriteCloser, error)
}

Jump to

Keyboard shortcuts

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