pat

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package pat implements the `auth pat` subgroup for managing Bitbucket Server/DC personal access tokens.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(f *factory.Factory) *cobra.Command

NewCmdCreate builds `auth pat create --name NAME --scopes S1,S2 [--expires-in DAYS] [--hostname H]`.

func NewCmdList

func NewCmdList(f *factory.Factory) *cobra.Command

NewCmdList builds `auth pat list [--hostname H] [--limit N]`.

func NewCmdPAT

func NewCmdPAT(f *factory.Factory) *cobra.Command

NewCmdPAT returns the `auth pat` subgroup command.

func NewCmdRevoke

func NewCmdRevoke(f *factory.Factory) *cobra.Command

NewCmdRevoke builds `auth pat revoke TOKEN_ID [--hostname H] [--confirm]`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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