common

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aliases

type Aliases []string

Alternate names that can be used to reference the executable in the CLI.

func (Aliases) HasAlias

func (a Aliases) HasAlias(alias string) bool

type Tags

type Tags []string

A list of tags. Tags can be used with list commands to filter returned data.

func (Tags) HasAnyTag

func (t Tags) HasAnyTag(tags Tags) bool

func (Tags) HasTag

func (t Tags) HasTag(tag string) bool

func (Tags) PreviewString

func (t Tags) PreviewString() string

func (Tags) String

func (t Tags) String() string

type Visibility

type Visibility string
const VisibilityHidden Visibility = "hidden"
const VisibilityInternal Visibility = "internal"
const VisibilityPrivate Visibility = "private"
const VisibilityPublic Visibility = "public"

func (Visibility) IsHidden

func (v Visibility) IsHidden() bool

func (Visibility) IsInternal

func (v Visibility) IsInternal() bool

func (Visibility) IsPrivate

func (v Visibility) IsPrivate() bool

func (Visibility) IsPublic

func (v Visibility) IsPublic() bool

func (Visibility) NewPointer

func (v Visibility) NewPointer() *Visibility

func (Visibility) String

func (v Visibility) String() string

Jump to

Keyboard shortcuts

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