list

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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

func (*ListBaseimagesCmd) RunE

func (l *ListBaseimagesCmd) RunE(_ *cobra.Command, args []string) (err error)

type ListCmd

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

type ListLandscapeLogsCmd

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

func (*ListLandscapeLogsCmd) RunE

func (l *ListLandscapeLogsCmd) RunE(_ *cobra.Command, args []string) (err error)

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)

func (*ListOrgCmd) RunE

func (l *ListOrgCmd) RunE(_ *cobra.Command, args []string) (err error)

type ListPlansCmd

type ListPlansCmd struct {
	Opts *ListOptions
	// contains filtered or unexported fields
}

func (*ListPlansCmd) RunE

func (c *ListPlansCmd) RunE(_ *cobra.Command, args []string) error

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

func (*ListTeamMembersCmd) RunE

func (l *ListTeamMembersCmd) RunE(_ *cobra.Command, args []string) error

type ListTeamsCmd

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

func (*ListTeamsCmd) RunE

func (l *ListTeamsCmd) RunE(_ *cobra.Command, args []string) (err error)

type ListWorkspacesCmd

type ListWorkspacesCmd struct {
	Opts *ListOptions
	// contains filtered or unexported fields
}

func (*ListWorkspacesCmd) ListWorkspaces

func (l *ListWorkspacesCmd) ListWorkspaces(client Client) ([]api.Workspace, error)

func (*ListWorkspacesCmd) RunE

func (l *ListWorkspacesCmd) RunE(_ *cobra.Command, args []string) (err error)

type LogEntry

type LogEntry struct {
	Timestamp string `json:"timestamp"`
	Kind      string `json:"kind"`
	Data      string `json:"data"`
}

type SSE

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

Jump to

Keyboard shortcuts

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