view

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 19 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 AppVersionView added in v1.6.0

type AppVersionView interface {
	List(appID string, appName string, versionList []software.Version, out io.Writer)
}

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 CaughtEmailSingleView added in v1.5.0

type CaughtEmailSingleView struct {
	spaces.CaughtEmail
	WithHeaders bool
	AsHTML      bool
}

func (*CaughtEmailSingleView) Render added in v1.5.0

func (v *CaughtEmailSingleView) Render(out io.Writer)

type CaughtEmailView added in v1.5.0

type CaughtEmailView struct {
	spaces.CaughtEmail
}

func (*CaughtEmailView) RenderDate added in v1.5.0

func (v *CaughtEmailView) RenderDate() string

func (*CaughtEmailView) RenderRecipients added in v1.5.0

func (v *CaughtEmailView) RenderRecipients(maxCount int) string

func (*CaughtEmailView) RenderSender added in v1.5.0

func (v *CaughtEmailView) RenderSender() string

type CostEstimationView added in v1.11.0

type CostEstimationView struct {
	costestimator.Estimation
}

func (*CostEstimationView) Render added in v1.11.0

func (v *CostEstimationView) Render(out io.Writer)

type DatabaseUserView added in v1.10.0

type DatabaseUserView interface {
	List(userList spaces.DatabaseUserList, out io.Writer)
}

type KeyDetailView

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

type PaymentProfileListView added in v1.11.0

type PaymentProfileListView interface {
	List(profiles []payment.PaymentProfile, out io.Writer)
}

type PaymentProfileView added in v1.11.0

type PaymentProfileView struct {
	payment.PaymentProfile
}

func (*PaymentProfileView) ContractPartnerSummary added in v1.11.0

func (v *PaymentProfileView) ContractPartnerSummary() string

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 SpaceMetricsView added in v1.6.0

type SpaceMetricsView struct {
}

func (*SpaceMetricsView) Render added in v1.6.0

func (*SpaceMetricsView) Render(scope string, loadMetrics func() (spaces.ComputeMetricPointList, error)) error

type TabularAppVersionView added in v1.6.0

type TabularAppVersionView struct{}

func (TabularAppVersionView) List added in v1.6.0

func (t TabularAppVersionView) List(appID string, appName string, versionList []software.Version, 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 TabularDatabaseUserView added in v1.10.0

type TabularDatabaseUserView struct{}

func (TabularDatabaseUserView) List added in v1.10.0

type TabularKeyDetailView

type TabularKeyDetailView struct{}

func (TabularKeyDetailView) KeyDetail

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

type TabularPaymentProfileListView added in v1.11.0

type TabularPaymentProfileListView struct{}

func (TabularPaymentProfileListView) List added in v1.11.0

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)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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