view

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(msg string, body string) (bool, error)

Types

type AppsView added in v1.2.0

type AppsView interface {
	List(softwareList []software.Software, out io.Writer)
}

type BackupView

type BackupView interface {
	List(backupList []backups.Backup, out io.Writer)
	Detail(backup *backups.Backup, recoveries []backups.Recovery, space *spaces.Space, out io.Writer)
}

type KeyDetailView

type KeyDetailView interface {
	KeyDetail(key *sshkeys.SSHKey, out io.Writer)
}

type SpaceApplicationUpdateView added in v1.2.0

type SpaceApplicationUpdateView interface {
	SpaceApplicationUpdate(space *spaces.Space, update *spaces.ApplicationUpdate, out io.Writer)
}

type SpaceDetailView

type SpaceDetailView interface {
	SpaceDetail(space *spaces.Space, updates []spaces.ApplicationUpdate, out io.Writer)
}

type TabularAppsView added in v1.2.0

type TabularAppsView struct{}

func (TabularAppsView) List added in v1.2.0

func (t TabularAppsView) List(softwareList []software.Software, out io.Writer)

type TabularBackupView

type TabularBackupView struct{}

func (TabularBackupView) Detail

func (t TabularBackupView) Detail(backup *backups.Backup, recoveries []backups.Recovery, space *spaces.Space, out io.Writer)

func (TabularBackupView) List

func (t TabularBackupView) List(backupList []backups.Backup, stage string, out io.Writer)

type TabularKeyDetailView

type TabularKeyDetailView struct{}

func (TabularKeyDetailView) KeyDetail

func (t TabularKeyDetailView) KeyDetail(key *sshkeys.SSHKey, out io.Writer)

type TabularSpaceApplicationUpdateView added in v1.2.0

type TabularSpaceApplicationUpdateView struct{}

func (TabularSpaceApplicationUpdateView) SpaceApplicationUpdate added in v1.2.0

func (t TabularSpaceApplicationUpdateView) SpaceApplicationUpdate(space *spaces.Space, update *spaces.ApplicationUpdate, out io.Writer)

type TabularSpaceDetailView

type TabularSpaceDetailView struct{}

func (TabularSpaceDetailView) SpaceDetail

func (t TabularSpaceDetailView) SpaceDetail(space *spaces.Space, updates []spaces.ApplicationUpdate, paymentLink *spaces.SpacePaymentLink, out io.Writer)

type TabularTeamDetailView

type TabularTeamDetailView struct {
	IncludeMembers bool
}

func (TabularTeamDetailView) TeamDetail

func (t TabularTeamDetailView) TeamDetail(team *teams.Team, members []teams.Membership, out io.Writer)

type TeamDetailView

type TeamDetailView interface {
	TeamDetail(team *teams.Team, members []teams.Membership, out io.Writer)
}

Jump to

Keyboard shortcuts

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