Versions in this module Expand all Collapse all v1 v1.115.0 Aug 25, 2026 v1.114.0 Aug 18, 2026 Changes in this version + const DockerHelperDuration v1.113.0 Aug 11, 2026 Changes in this version + const DefaultDuration + const MaxDuration + const MinDuration + func ValidateDuration(d time.Duration) error + type Client struct + func NewClient(gl *gitlab.Client) *Client + func (c *Client) ExchangeDefaultToken(ctx context.Context) (*ExchangeResult, error) + func (c *Client) ExchangeToken(ctx context.Context, duration time.Duration) (*ExchangeResult, error) + type ExchangeResult struct + Audience string + ExpiresAt time.Time + Issuer string + Subject string + Token string + func (r ExchangeResult) MarshalJSON() ([]byte, error) + func (r ExchangeResult) String() string