auth

package
v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForgePasswordOption

func ForgePasswordOption(prefix string) string

func ForgeTokenOption

func ForgeTokenOption(prefix string) string

func ForgeURLOption

func ForgeURLOption(prefix string) string

func ForgeUserOption

func ForgeUserOption(prefix string) string

Types

type ForgeAuth

type ForgeAuth struct {
	// contains filtered or unexported fields
}

func NewForgeAuth

func NewForgeAuth() ForgeAuth

func (*ForgeAuth) FromFlags

func (o *ForgeAuth) FromFlags(ctx context.Context, c *cli.Context, prefix string)

func (*ForgeAuth) GetFlags

func (o *ForgeAuth) GetFlags(prefix, category string) []cli.Flag

func (*ForgeAuth) GetPassword

func (o *ForgeAuth) GetPassword() string

func (*ForgeAuth) GetPushURL

func (o *ForgeAuth) GetPushURL() string

func (*ForgeAuth) GetToken

func (o *ForgeAuth) GetToken() string

func (*ForgeAuth) GetURL

func (o *ForgeAuth) GetURL() string

func (*ForgeAuth) GetUsername

func (o *ForgeAuth) GetUsername() string

func (*ForgeAuth) SetPassword

func (o *ForgeAuth) SetPassword(password string)

func (*ForgeAuth) SetToken

func (o *ForgeAuth) SetToken(token string)

func (*ForgeAuth) SetURL

func (o *ForgeAuth) SetURL(url string)

func (*ForgeAuth) SetUsername

func (o *ForgeAuth) SetUsername(username string)

type ForgeAuthInterface

type ForgeAuthInterface interface {
	SetURL(url string)
	GetURL() string

	GetPushURL() string

	SetUsername(username string)
	GetUsername() string

	SetPassword(password string)
	GetPassword() string

	SetToken(token string)
	GetToken() string
}

Jump to

Keyboard shortcuts

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