teleport

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: GPL-3.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = config.GetConfig()
View Source
var Tracer = otel.Tracer("pkg/providers/Teleport")

Functions

This section is empty.

Types

type TeleportProvider

type TeleportProvider struct {
	Client     *client.Client
	Parameters TeleportProviderParameters
	Name       string `json:"name"`
}

func NewTeleportProvider

func NewTeleportProvider(ctx context.Context, config models.ProviderConfig) (*TeleportProvider, error)

func (*TeleportProvider) GrantAccess

func (a *TeleportProvider) GrantAccess(ctx context.Context, request *models.AccessRequest) error

func (*TeleportProvider) IsAccessExpired

func (a *TeleportProvider) IsAccessExpired(ctx context.Context, request *models.AccessRequest) (bool, error)

func (*TeleportProvider) ListUsersWithAccess

func (a *TeleportProvider) ListUsersWithAccess(ctx context.Context, roleRef models.AccessRoleRef) ([]string, error)

func (*TeleportProvider) RevokeAccess

func (a *TeleportProvider) RevokeAccess(ctx context.Context, request *models.AccessRequest) error

type TeleportProviderParameters

type TeleportProviderParameters struct {
	Group           string `json:"group"`
	GroupDefinition string `json:"groupDefinition"`
	Username        string `json:"username"`
	CredentialsFile string `json:"credentialsFile"`
	Hostname        string `json:"hostname"`
}

Jump to

Keyboard shortcuts

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