tokens

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOKEN_FILE_PARAM = "token-file"
)
View Source
const TokenRecommendedCommandName = "tokens"
View Source
const WhoAmIRecommendedCommandName = "whoami"

Variables

This section is empty.

Functions

func NewCmdRequestToken

func NewCmdRequestToken(f *clientcmd.Factory) *cobra.Command

func NewCmdTokens added in v0.2.2

func NewCmdTokens(name, fullName string, f *osclientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdValidateToken

func NewCmdValidateToken(f *clientcmd.Factory) *cobra.Command

func NewCmdWhoAmI

func NewCmdWhoAmI(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

Types

type WhoAmIOptions added in v0.5.2

type WhoAmIOptions struct {
	UserInterface osclient.UserInterface

	Out io.Writer
}

func (WhoAmIOptions) WhoAmI added in v0.5.2

func (o WhoAmIOptions) WhoAmI() (*userapi.User, error)

Jump to

Keyboard shortcuts

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