Documentation ¶ Overview ¶ SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License. Index ¶ func New() *cobra.Command type Login func (opts *Login) Run(cmd *cobra.Command, args []string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New() *cobra.Command Types ¶ type Login ¶ type Login struct { User string `long:"user" short:"u" usage:"Username" env:"KRAFTKIT_LOGIN_USER"` Token string `long:"token" short:"t" usage:"Authentication token" env:"KRAFTKIT_LOGIN_TOKEN"` } func (*Login) Run ¶ func (opts *Login) Run(cmd *cobra.Command, args []string) error Source Files ¶ View all Source files login.go Click to show internal directories. Click to hide internal directories.