Help us shape the future of Go! Take the 2026 Go Developer Survey

collections

package
v0.46.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:              "collections",
	Short:            "Retrieve collections",
	TraverseChildren: true,
	GroupID:          "resources",
}
View Source
var GetCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "get <collection_id>",
		Short:   "Get collection info",
		Example: "flow collections get 270d...9c31e",
		Args:    cobra.ExactArgs(1),
	},
	Flags: &collectionFlags,
	Run:   get,
}

Functions

This section is empty.

Types

type CollectionResult

type CollectionResult struct {
	*flow.Collection
}

func (*CollectionResult) JSON

func (c *CollectionResult) JSON() interface{}

func (*CollectionResult) Oneliner

func (c *CollectionResult) Oneliner() string

func (*CollectionResult) String

func (c *CollectionResult) String() string

Jump to

Keyboard shortcuts

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