display

package
v1.131.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package display formats deploy token fields for terminal output. Both the project and the group endpoints return gitlab.DeployToken, so the same formatting serves every deploy-token subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpiresAt

func ExpiresAt(expiresAt *time.Time) string

ExpiresAt renders a deploy token expiry as a full timestamp, since the UI stores its time of day in the browser's time zone.

func Scopes

func Scopes(scopes []string) string

Scopes renders a deploy token's scopes as a comma-delimited list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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