Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
func NewResourceWithOptions ¶
func NewResourceWithOptions(options *AmpWorkspaceOptions) *resource.Resource
Types ¶
type AmpWorkspace ¶
type AmpWorkspace struct { Workspace *types.WorkspaceDescription WorkspaceLogging *types.LoggingConfigurationMetadata }
type AmpWorkspaceOptions ¶
type AmpWorkspaceOptions struct { resource.CommonOptions Alias string }
func NewOptions ¶
func NewOptions() (options *AmpWorkspaceOptions, flags cmd.Flags)
func (*AmpWorkspaceOptions) SetName ¶
func (o *AmpWorkspaceOptions) SetName(name string)
type AmpWorkspacePrinter ¶
type AmpWorkspacePrinter struct {
Workspaces []AmpWorkspace
}
func NewPrinter ¶
func NewPrinter(workspaces []AmpWorkspace) *AmpWorkspacePrinter
func (*AmpWorkspacePrinter) PrintJSON ¶
func (p *AmpWorkspacePrinter) PrintJSON(writer io.Writer) error
func (*AmpWorkspacePrinter) PrintTable ¶
func (p *AmpWorkspacePrinter) PrintTable(writer io.Writer) error
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
func (*Getter) GetAmpByAlias ¶
func (g *Getter) GetAmpByAlias(alias string) (AmpWorkspace, error)
Click to show internal directories.
Click to hide internal directories.