list

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdList

func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command

Types

type ListOptions

type ListOptions struct {
	HttpClient func() (*http.Client, error)
	IO         *iostreams.IOStreams
}

type SSHKey

type SSHKey struct {
	UUID      string `json:"uuid"`
	Key       string `json:"key"`
	Label     string `json:"label"`
	Comment   string `json:"comment"`
	CreatedOn string `json:"created_on"`
	Links     struct {
		Self struct {
			Href string `json:"href"`
		} `json:"self"`
	} `json:"links"`
}

SSHKey represents an SSH key

type SSHKeyList

type SSHKeyList struct {
	Size     int      `json:"size"`
	Page     int      `json:"page"`
	PageLen  int      `json:"pagelen"`
	Next     string   `json:"next"`
	Previous string   `json:"previous"`
	Values   []SSHKey `json:"values"`
}

SSHKeyList represents a paginated list of SSH keys

Jump to

Keyboard shortcuts

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