org

package
v0.0.0-...-b6fc690 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoOwner = errs.New("Could not find organization")

Functions

func Get

func Get(desiredOrg string, auth *authentication.Auth, cfg configurer) (string, error)

Get returns the name of an organization/owner in order of precedence: - Returns the normalized form of the given org name. - Returns the name of the most recently used org. - Returns the name of the first org you are a member of.

Types

type ErrOwnerNotFound

type ErrOwnerNotFound struct {
	DesiredOwner string
}

func (ErrOwnerNotFound) Error

func (e ErrOwnerNotFound) Error() string

Jump to

Keyboard shortcuts

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