revokessh

package
v0.6.323 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 13 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

Overview

Package revokessh provides the brev revoke-ssh command for revoking SSH access to a registered device by calling the backend API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRevokeSSH

func NewCmdRevokeSSH(t *terminal.Terminal, store RevokeSSHStore) *cobra.Command

Types

type RevokeSSHStore

type RevokeSSHStore interface {
	GetAccessToken() (string, error)
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
	GetOrganizationsByName(name string) ([]entity.Organization, error)
	ListOrganizations() ([]entity.Organization, error)
	GetUserByID(userID string) (*entity.User, error)
	GetOrgRoleAttachments(orgID string) ([]entity.OrgRoleAttachment, error)
}

RevokeSSHStore defines the store methods needed by the revoke-ssh command.

Jump to

Keyboard shortcuts

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