operator

package
v1.4.27 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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
)

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