Documentation ¶
Overview ¶
Package refresh lists workspaces in the current org
Index ¶
- func GetCloudflare(refreshStore RefreshStore) store.Cloudflared
- func GetConfigUpdater(store RefreshStore) (*ssh.ConfigUpdater, error)
- func NewCmdRefresh(t *terminal.Terminal, store RefreshStore) *cobra.Command
- func RunRefresh(store RefreshStore) error
- func RunRefreshBetter(store RefreshStore) error
- type RefreshRes
- type RefreshStore
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) }
Click to show internal directories.
Click to hide internal directories.