Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultHostname = "registrytools.cloud"
DefaultHostname is the default hostname for Registry Tools Cloud
Variables ¶
View Source
var (
ErrLoginRequired = errors.New("no credentials found. Set the credentials in the environment or use `rt login`")
)
Functions ¶
func GHACommandFactory ¶
func LoginCommandFactory ¶
func PublishCommandFactory ¶
Types ¶
type ModuleArgs ¶
type ModuleArgs struct {
Namespace string
Version string
Name string
System string
Directory string
}
func ModuleArgsFromAction ¶
func ModuleArgsFromAction() (*ModuleArgs, error)
ModuleArgsFromAction returns a ModuleArgs from GitHub Actions inputs. If any input is missing or invalid, this function will perform a fatal program exit.
func (ModuleArgs) Module ¶
func (m ModuleArgs) Module() module.Module
Click to show internal directories.
Click to hide internal directories.