usersession

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package usersession holds model related to the user session context

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthType added in v0.74.0

type AuthType uint8

AuthType is used to identify the SSH authentication method

const (
	// SSHAuthMethodUnknown is the unknown SSH authentication method
	SSHAuthMethodUnknown AuthType = iota
	// SSHAuthMethodPassword is the password SSH authentication method
	SSHAuthMethodPassword
	// SSHAuthMethodPublicKey is the public key SSH authentication method
	SSHAuthMethodPublicKey
)

SSHAuthMethodConstants are the supported SSH authentication methods

type Type

type Type uint8

Type is used to identify the User Session type

const (
	// UserSessionTypeUnknown is the unknown user session type
	UserSessionTypeUnknown Type = iota
	// UserSessionTypeK8S is the k8s user session type
	UserSessionTypeK8S
	// UserSessionTypeSSH is the ssh user session type
	UserSessionTypeSSH
)

Jump to

Keyboard shortcuts

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