operator

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int

Type is the type of an operator.

const (
	// Unknown operator signals invalid operator.
	Unknown Type = iota
	// Authenticate operator signals authentication request.
	Authenticate
	// ChangePassword operator signals the changing of password.
	ChangePassword
	// GetPublicKeys operator signals the retrieval of public keys.
	GetPublicKeys
	// GetAPIKeys operator signals the retrieval of API keys.
	GetAPIKeys
	// AddKeySSH operator signals the addition of an SSH public key.
	AddKeySSH
	// AddKeyGPG operator signals the addition of an GPG public key.
	AddKeyGPG
	// AddAPIKey operator signals the addition of an API key.
	AddAPIKey
	// DeletePublicKey operator signals the deletion of a public key.
	DeletePublicKey
	// DeleteAPIKey operator signals the deletion of an API key.
	DeleteAPIKey
	// GetMfaTokens operator signals the retrieval of MFA tokens.
	GetMfaTokens
	// AddMfaToken operator signals the addition of an MFA token.
	AddMfaToken
	// DeleteMfaToken operator signals the deletion of an MFA token.
	DeleteMfaToken
	// GetUsers operator signals the retrieval of users.
	GetUsers
	// GetUser operator signals the retrieval of a specific user.
	GetUser
	// AddUser operator signals the addition of a user.
	AddUser
	// DeleteUser operator signals the deletion of a user.
	DeleteUser
	// IdentifyUser operator signals the retrieval of user identity and
	// associated challenges.
	IdentifyUser
	// LookupAPIKey operator signals the retrieval of user identity associated
	// with an API key
	LookupAPIKey
)

func (Type) String

func (e Type) String() string

String returns string representation of an operator.

Jump to

Keyboard shortcuts

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