login

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginCmd

type LoginCmd struct {
	ControlPlane  string `name:"controlplane" default:"https://controlplane.unikraft.cloud" help:"Control plane URL to use for login."`
	AllowInsecure bool   `name:"allow-insecure" short:"k" help:"Allow insecure server connections when using SSL."`

	NoBrowser bool `name:"no-browser" help:"Do not open the browser automatically for login."`

	Token        *os.File `help:"Path to a file containing the authentication token (or '-' for stdin)."`
	Organization string   `help:"Organization to associate the login with."`
}

func (*LoginCmd) Run

func (cmd *LoginCmd) Run(ctx context.Context, cfg *config.Config) error

type LogoutCmd

type LogoutCmd struct{}

func (*LogoutCmd) Run

func (cmd *LogoutCmd) Run(ctx context.Context, cfg *config.Config) error

Jump to

Keyboard shortcuts

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