clouds

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clouds holds what the cloud viewers (Google Cloud, AWS, Azure) share.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlaceholderViewer added in v0.51.4

func PlaceholderViewer(id dtviewers.ViewerID, name string, shortcut rune, message string) dtviewers.Viewer

PlaceholderViewer returns the viewer of a cloud that is not implemented yet: its page shows message.

Types

type Placeholder added in v0.51.4

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

Placeholder is the screen of a cloud that is not implemented yet: a scrollable text under the cloud's title.

func NewPlaceholder added in v0.51.4

func NewPlaceholder(title, message string) Placeholder

NewPlaceholder creates the screen that shows message under title.

func (Placeholder) AtEdge added in v0.51.4

func (p Placeholder) AtEdge(dir widgets.Direction) bool

AtEdge implements widgets.Boundary: Up at the top and Left leave the screen.

func (Placeholder) Init added in v0.51.4

func (Placeholder) Init() tea.Cmd

Init implements nav.Screen.

func (Placeholder) Title added in v0.51.4

func (p Placeholder) Title() string

Title implements nav.Titled.

func (Placeholder) Update added in v0.51.4

func (p Placeholder) Update(msg tea.Msg) (nav.Screen, tea.Cmd)

Update implements nav.Screen.

func (Placeholder) View added in v0.51.4

func (p Placeholder) View() string

View implements nav.Screen.

type ProjectContext

type ProjectContext interface {
	Schema() schemers.Provider
}

ProjectContext is a cloud project whose data can be browsed.

Directories

Path Synopsis
aws
awsui
Package awsui is the Amazon Web Services viewer.
Package awsui is the Amazon Web Services viewer.
azure
azureui
Package azureui is the Microsoft Azure viewer.
Package azureui is the Microsoft Azure viewer.
gcloud
gcloudui
Package gcloudui is the Google Cloud viewer: projects, credentials and the Firestore databases of a project.
Package gcloudui is the Google Cloud viewer: projects, credentials and the Firestore databases of a project.

Jump to

Keyboard shortcuts

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