login

package
v0.0.0-...-5984036 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IdentifierForEmail

func IdentifierForEmail(email string) string

func Main

func Main(email, token string) (err error)

func New

func New() *cobra.Command

New creates a new `login` command.

Types

type Response

type Response struct {
	Kubeconfig string `json:"kubeconfig"`
	Error      string `json:"error"`
}

Response is the structure of the response returned by the login API.

Jump to

Keyboard shortcuts

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