Versions in this module Expand all Collapse all v0 v0.94.0 Jan 14, 2026 v0.93.1 Oct 23, 2025 v0.93.0 Oct 13, 2025 v0.92.0 Oct 7, 2025 v0.91.0 Mar 10, 2025 v0.90.0 Mar 10, 2025 Changes in this version + type Client struct + Namespaces *NamespacesService + Repositories *RepositoriesService + ServiceKeys *ServiceKeysService + UserAgent string + func NewClient(consoleClient *console.Client, config *Config) (*Client, error) + func (c *Client) Close() + func (c *Client) Host() string + func (c *Client) Query(ctx context.Context, q interface{}, variables map[string]interface{}) error + type Config struct + DebugLog io.Writer + DockerAPIURL string + Region string + type Namespace struct + CreatedAt time.Time + ID string + IsOrgSpaceID bool + IsPublic bool + NumRepos int + UserAccess UserNamespaceAccessInput + type NamespaceAccess struct + ID int + type NamespaceInput struct + ID graphql.String + type NamespaceUser struct + ID string + Name string + NamespaceAccess NamespaceAccess + Username string + type NamespaceUserResult struct + ID int + UserID string + type NamespacesService struct + func (s *NamespacesService) AddNamespaceUser(ctx context.Context, namespaceID, username string, ...) (*NamespaceUserResult, error) + func (s *NamespacesService) CreateNamespace(ctx context.Context, id string) (*Namespace, error) + func (s *NamespacesService) DeleteNamespace(ctx context.Context, ns Namespace) error + func (s *NamespacesService) DeleteNamespaceUser(ctx context.Context, namespaceID, userId string) error + func (s *NamespacesService) GetNamespaceByID(ctx context.Context, id string) (*Namespace, error) + func (s *NamespacesService) GetNamespaceUsers(ctx context.Context, ns Namespace) (*[]NamespaceUser, error) + func (s *NamespacesService) GetNamespaces(ctx context.Context) (*[]Namespace, error) + func (s *NamespacesService) GetRepositories(ctx context.Context, namespaceId string) (*[]Repository, error) + func (s *NamespacesService) UpdateNamespaceUserAccess(ctx context.Context, id int, access UserNamespaceAccessInput) error + type OptionFunc func(*http.Request) error + type RepositoriesService struct + func (r *RepositoriesService) CreateRepository(ctx context.Context, repository RepositoryInput, ...) (*RepositoryResult, error) + func (r *RepositoriesService) DeleteRepository(ctx context.Context, repository Repository) error + func (r *RepositoriesService) GetLatestTag(ctx context.Context, repositoryId string) (*Tag, error) + func (r *RepositoriesService) GetRepository(ctx context.Context, namespaceId, name string) (*Repository, error) + func (r *RepositoriesService) GetTags(ctx context.Context, repositoryId string) (*[]Tag, error) + func (r *RepositoriesService) UpdateRepository(ctx context.Context, repository Repository, details RepositoryDetailsInput) (*RepositoryDetailsInput, error) + type Repository struct + Details RepositoryDetailsInput + ID string + LastPushedAt time.Time + Name string + NamespaceId string + NumPulls int + NumTags int + type RepositoryDetailsInput struct + FullDescription string + ShortDescription string + type RepositoryInput struct + Name string + NamespaceID string + type RepositoryResult struct + ID string + Name string + NamespaceID string + type ServiceKey struct + CreatedAt time.Time + Description string + ID int + Password string + Username string + type ServiceKeyNode struct + CreatedAt time.Time + Description string + ID int + Username string + type ServiceKeysService struct + func (a *ServiceKeysService) CreateServiceKey(ctx context.Context, description string) (*ServiceKey, error) + func (a *ServiceKeysService) DeleteServiceKey(ctx context.Context, key ServiceKey) error + func (a *ServiceKeysService) GetServiceKeyByID(ctx context.Context, id int) (*ServiceKeyNode, error) + func (a *ServiceKeysService) GetServiceKeys(ctx context.Context) (*[]ServiceKeyNode, error) + type Tag struct + CompressedSize int + Digest string + ID int + ImageId string + Name string + NumPulls int + UpdatedAt time.Time + type UpdateUserNamespacesAccessInput struct + ID int + type UserNamespaceAccessInput struct + CanDelete bool + CanPull bool + CanPush bool + IsAdmin bool