Versions in this module Expand all Collapse all v0 v0.5.0 Aug 31, 2026 Changes in this version + const DefaultAPIBaseURL + const GHCRHost + const SecretProvider + var ErrAccessTokenUnsupported = errors.New(...) + func TokenSecretPath(env, orgID string) string + type Client struct + func NewClient(baseURL, token string) *Client + func (c *Client) BaseURL() string + func (c *Client) CommitFiles(ctx context.Context, projectID string, spec port.CommitSpec) error + func (c *Client) CreateProjectAccessToken(_ context.Context, _ string, _ port.AccessTokenSpec) (string, error) + func (c *Client) DeleteImageRepository(ctx context.Context, target *port.ImageTarget) error + func (c *Client) DeleteProject(ctx context.Context, projectID string) error + func (c *Client) EnsureGroup(ctx context.Context, spec port.GroupSpec) (*port.SCMGroup, error) + func (c *Client) EnsureProject(ctx context.Context, spec port.ProjectSpec) (*port.SCMProject, error) + func (c *Client) Ping(ctx context.Context) error + func (c *Client) SetProjectVariable(ctx context.Context, projectID string, v port.ProjectVariable) error + func (c *Client) WithHTTPClient(h *http.Client) *Client + type SecretStore interface + GetTokenForStack func(ctx context.Context, provider, stackID, path string) (string, error) + type TokenIssuer struct + func NewTokenIssuer(secrets SecretStore) *TokenIssuer + func (t *TokenIssuer) EnsureToken(ctx context.Context, spec port.SCMTokenSpec) (string, error)