Documentation
¶
Index ¶
- func AddListBaseimagesCmd(p *cobra.Command, opts *ListOptions)
- func AddListCmd(rootCmd *cobra.Command, opts shared.RootOptions)
- func AddListLandscapeLogsCmd(p *cobra.Command, opts *ListOptions)
- func AddListOrgCmd(p *cobra.Command, opts *ListOptions)
- func AddListPlansCmd(list *cobra.Command, opts *ListOptions)
- func AddListTeamMembersCmd(p *cobra.Command, opts *ListOptions)
- type Client
- type LandscapeLogsScope
- type ListBaseimagesCmd
- type ListCmd
- type ListLandscapeLogsCmd
- type ListOptions
- type ListOrgCmd
- type ListPlansCmd
- type ListTeamMembersCmd
- type ListTeamsCmd
- type ListWorkspacesCmd
- type LogEntry
- type SSE
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddListBaseimagesCmd ¶
func AddListBaseimagesCmd(p *cobra.Command, opts *ListOptions)
func AddListCmd ¶
func AddListCmd(rootCmd *cobra.Command, opts shared.RootOptions)
func AddListLandscapeLogsCmd ¶
func AddListLandscapeLogsCmd(p *cobra.Command, opts *ListOptions)
func AddListOrgCmd ¶
func AddListOrgCmd(p *cobra.Command, opts *ListOptions, )
func AddListPlansCmd ¶
func AddListPlansCmd(list *cobra.Command, opts *ListOptions)
func AddListTeamMembersCmd ¶
func AddListTeamMembersCmd(p *cobra.Command, opts *ListOptions)
Types ¶
type Client ¶
type Client interface {
ListTeams(orgId string) ([]api.Team, error)
ListWorkspaces(teamId int) ([]api.Workspace, error)
ListBaseimages() ([]api.Baseimage, error)
ListOrganizations() ([]api.Organization, error)
ListWorkspacePlans() ([]api.WorkspacePlan, error)
ListTeamMembers(teamId int) ([]api.TeamMember, error)
}
type LandscapeLogsScope ¶
type LandscapeLogsScope struct {
// contains filtered or unexported fields
}
type ListBaseimagesCmd ¶
type ListBaseimagesCmd struct {
Opts *ListOptions
// contains filtered or unexported fields
}
func (*ListBaseimagesCmd) ListBaseimages ¶
func (l *ListBaseimagesCmd) ListBaseimages(client Client) error
type ListLandscapeLogsCmd ¶
type ListLandscapeLogsCmd struct {
// contains filtered or unexported fields
}
type ListOptions ¶
type ListOptions struct {
shared.RootOptions
OutputFormat shared.OutputFormat
}
type ListOrgCmd ¶
type ListOrgCmd struct {
Opts *ListOptions
ClientFactory func(shared.RootOptions) (Client, error)
// contains filtered or unexported fields
}
func (*ListOrgCmd) ListOrganizations ¶
func (l *ListOrgCmd) ListOrganizations(client Client) ([]api.Organization, error)
type ListPlansCmd ¶
type ListPlansCmd struct {
Opts *ListOptions
// contains filtered or unexported fields
}
type ListTeamMembersCmd ¶
type ListTeamMembersCmd struct {
Opts *ListOptions
ClientFactory func(shared.RootOptions) (Client, error)
// contains filtered or unexported fields
}
func (*ListTeamMembersCmd) ListTeamMembers ¶
func (l *ListTeamMembersCmd) ListTeamMembers(client Client, teamId int) error
type ListTeamsCmd ¶
type ListTeamsCmd struct {
// contains filtered or unexported fields
}
type ListWorkspacesCmd ¶
type ListWorkspacesCmd struct {
Opts *ListOptions
// contains filtered or unexported fields
}
func (*ListWorkspacesCmd) ListWorkspaces ¶
func (l *ListWorkspacesCmd) ListWorkspaces(client Client) ([]api.Workspace, error)
Click to show internal directories.
Click to hide internal directories.