Versions in this module Expand all Collapse all v1 v1.1.10 Apr 2, 2026 v1.1.9 Apr 2, 2026 Changes in this version + const DefaultBaseURL + const DefaultBillingURL + const DefaultTimeout + var ErrBadRequest = errors.New("bad request") + var ErrConflict = errors.New("resource conflict") + var ErrForbidden = errors.New("forbidden") + var ErrInternalError = errors.New("internal server error") + var ErrNotFound = errors.New("resource not found") + var ErrUnauthorized = errors.New("unauthorized") + func IsBadRequest(err error) bool + func IsConflict(err error) bool + func IsForbidden(err error) bool + func IsNotFound(err error) bool + func IsUnauthorized(err error) bool + type APIError struct + Code string + Details any + ID string + Message string + Status int + func (e *APIError) Error() string + func (e *APIError) Unwrap() error + type AcceptTOURequest struct + TOU *TOUInput + type AddKeyRequest struct + Description string + type AddKeyResponse struct + Key string + type AgentService struct + func (s *AgentService) Create(ctx context.Context, org string, a *agent.Agent) (*agent.Agent, error) + func (s *AgentService) Delete(ctx context.Context, org, name string) error + func (s *AgentService) Get(ctx context.Context, org, name string) (*agent.Agent, error) + func (s *AgentService) List(ctx context.Context, org string) iter.Seq2[agent.Agent, error] + func (s *AgentService) ListAll(ctx context.Context, org string) ([]agent.Agent, error) + func (s *AgentService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[agent.Agent], error) + func (s *AgentService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[agent.Agent, error] + func (s *AgentService) QueryAll(ctx context.Context, org string, q *query.Query) ([]agent.Agent, error) + func (s *AgentService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[agent.Agent], error) + func (s *AgentService) Update(ctx context.Context, org, name string, a *agent.Agent) (*agent.Agent, error) + type AuditContextService struct + func (s *AuditContextService) Create(ctx context.Context, org string, a *auditctx.AuditContext) (*auditctx.AuditContext, error) + func (s *AuditContextService) Delete(ctx context.Context, org, name string) error + func (s *AuditContextService) Get(ctx context.Context, org, name string) (*auditctx.AuditContext, error) + func (s *AuditContextService) List(ctx context.Context, org string) iter.Seq2[auditctx.AuditContext, error] + func (s *AuditContextService) ListAll(ctx context.Context, org string) ([]auditctx.AuditContext, error) + func (s *AuditContextService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[auditctx.AuditContext], error) + func (s *AuditContextService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[auditctx.AuditContext, error] + func (s *AuditContextService) QueryAll(ctx context.Context, org string, q *query.Query) ([]auditctx.AuditContext, error) + func (s *AuditContextService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[auditctx.AuditContext], error) + func (s *AuditContextService) Update(ctx context.Context, org, name string, a *auditctx.AuditContext) (*auditctx.AuditContext, error) + type BillingAccount struct + AccountName string + Created *time.Time + Description string + Email string + Enabled bool + ExtraInfo map[string]string + ID string + MainOrg string + OrgQuota int + type BillingAccountInput struct + AccountName string + Address *BillingAddress + Description string + Email string + ExtraInfo map[string]string + Phone string + type BillingAddress struct + Address1 string + Address2 string + City string + Country string + Name string + PostalCode string + State string + type BillingOrg struct + AccountID string + Created time.Time + Description string + Name string + Tags map[string]string + type BillingService struct + func (s *BillingService) AcceptTOU(ctx context.Context, accountID string, req *AcceptTOURequest) error + func (s *BillingService) CreateAccount(ctx context.Context, req *CreateAccountRequest) (*CreateAccountResponse, error) + func (s *BillingService) CreateOrg(ctx context.Context, accountID string, req *CreateOrgRequest) (*CreateOrgResponse, error) + func (s *BillingService) GetAccount(ctx context.Context, accountID string) (*BillingAccount, error) + func (s *BillingService) GetInvoiceJSON(ctx context.Context, accountID, invoiceID string) (*Invoice, error) + func (s *BillingService) GetInvoicePDF(ctx context.Context, accountID, invoiceID string) ([]byte, error) + func (s *BillingService) GetOrg(ctx context.Context, orgName string) (*BillingOrg, error) + func (s *BillingService) GetOrgAccount(ctx context.Context, orgName string) (*BillingAccount, error) + func (s *BillingService) ListInvoices(ctx context.Context, accountID string, start, end *time.Time) ([]Invoice, error) + func (s *BillingService) QueryChargesByAccount(ctx context.Context, accountID string, req *ChargeQueryRequest) (*ChargeQueryResponse, error) + func (s *BillingService) QueryChargesByOrg(ctx context.Context, orgName string, req *ChargeQueryRequest) (*ChargeQueryResponse, error) + type ChargePeriod struct + EndTime time.Time + Groups []any + StartTime time.Time + type ChargeQueryRequest struct + Detailed bool + EndTime time.Time + Orgs []string + StartTime time.Time + TimeStep string + type ChargeQueryResponse struct + DetailedResults []any + Periods []ChargePeriod + type Client struct + func New(token string, opts ...Option) *Client + func NewWithBaseURL(baseURL, token string, opts ...Option) *Client + func (c *Client) Agents() *AgentService + func (c *Client) AuditContexts() *AuditContextService + func (c *Client) Billing() *BillingService + func (c *Client) CloudAccounts() *CloudAccountService + func (c *Client) Deployments() *DeploymentService + func (c *Client) Domains() *DomainService + func (c *Client) GVCs() *GVCService + func (c *Client) GetRaw(ctx context.Context, path string, result any) error + func (c *Client) Groups() *GroupService + func (c *Client) IPSets() *IPSetService + func (c *Client) Identities() *IdentityService + func (c *Client) Images() *ImageService + func (c *Client) Locations() *LocationService + func (c *Client) Mk8s() *Mk8sService + func (c *Client) Org() string + func (c *Client) Orgs() *OrgService + func (c *Client) PatchRaw(ctx context.Context, path string, body any) error + func (c *Client) PatchRawWithResult(ctx context.Context, path string, body, result any) error + func (c *Client) Policies() *PolicyService + func (c *Client) Quotas() *QuotaService + func (c *Client) Secrets() *SecretService + func (c *Client) ServiceAccounts() *ServiceAccountService + func (c *Client) SetOrg(org string) + func (c *Client) SetToken(token string) + func (c *Client) Tasks() *TaskService + func (c *Client) Users() *UserService + func (c *Client) VolumeSets() *VolumeSetService + func (c *Client) Workloads() *WorkloadService + type CloudAccountService struct + func (s *CloudAccountService) Create(ctx context.Context, org string, ca *cloudaccount.CloudAccount) (*cloudaccount.CloudAccount, error) + func (s *CloudAccountService) Delete(ctx context.Context, org, name string) error + func (s *CloudAccountService) Get(ctx context.Context, org, name string) (*cloudaccount.CloudAccount, error) + func (s *CloudAccountService) List(ctx context.Context, org string) iter.Seq2[cloudaccount.CloudAccount, error] + func (s *CloudAccountService) ListAll(ctx context.Context, org string) ([]cloudaccount.CloudAccount, error) + func (s *CloudAccountService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[cloudaccount.CloudAccount], error) + func (s *CloudAccountService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[cloudaccount.CloudAccount, error] + func (s *CloudAccountService) QueryAll(ctx context.Context, org string, q *query.Query) ([]cloudaccount.CloudAccount, error) + func (s *CloudAccountService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[cloudaccount.CloudAccount], error) + func (s *CloudAccountService) Update(ctx context.Context, org, name string, ca *cloudaccount.CloudAccount) (*cloudaccount.CloudAccount, error) + type CreateAccountRequest struct + Account *BillingAccountInput + Type string + type CreateAccountResponse struct + type CreateOrgRequest struct + Invitees []string + Org *BillingOrg + type CreateOrgResponse struct + WasCreated bool + type CreateVolumeSnapshotRequest struct + Location string + SnapshotExpirationDate string + SnapshotName string + SnapshotTags []map[string]string + VolumeIndex float32 + type CronStartRequest struct + ContainerOverrides []workload.ContainerOverride + Location string + type DeleteVolumeRequest struct + Location string + VolumeIndex float32 + type DeleteVolumeSnapshotRequest struct + Location string + SnapshotName string + VolumeIndex float32 + type DeploymentService struct + func (s *DeploymentService) Get(ctx context.Context, org, gvc, workloadName, name string) (*deployment.Deployment, error) + func (s *DeploymentService) List(ctx context.Context, org, gvc, workloadName string) iter.Seq2[deployment.Deployment, error] + func (s *DeploymentService) ListAll(ctx context.Context, org, gvc, workloadName string) ([]deployment.Deployment, error) + func (s *DeploymentService) ListPage(ctx context.Context, org, gvc, workloadName, cursor string) (*ListResponse[deployment.Deployment], error) + type DomainService struct + func (s *DomainService) Create(ctx context.Context, org string, d *domain.Domain) (*domain.Domain, error) + func (s *DomainService) Delete(ctx context.Context, org, name string) error + func (s *DomainService) Get(ctx context.Context, org, name string) (*domain.Domain, error) + func (s *DomainService) List(ctx context.Context, org string) iter.Seq2[domain.Domain, error] + func (s *DomainService) ListAll(ctx context.Context, org string) ([]domain.Domain, error) + func (s *DomainService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[domain.Domain], error) + func (s *DomainService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[domain.Domain, error] + func (s *DomainService) QueryAll(ctx context.Context, org string, q *query.Query) ([]domain.Domain, error) + func (s *DomainService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[domain.Domain], error) + func (s *DomainService) Update(ctx context.Context, org, name string, d *domain.Domain) (*domain.Domain, error) + type ExpandVolumeRequest struct + Location string + NewStorageCapacity float32 + TimeoutSeconds float32 + VolumeIndex float32 + type GVCService struct + func (s *GVCService) Create(ctx context.Context, org string, g *gvc.Gvc) (*gvc.Gvc, error) + func (s *GVCService) Delete(ctx context.Context, org, name string) error + func (s *GVCService) Get(ctx context.Context, org, name string) (*gvc.Gvc, error) + func (s *GVCService) List(ctx context.Context, org string) iter.Seq2[gvc.Gvc, error] + func (s *GVCService) ListAll(ctx context.Context, org string) ([]gvc.Gvc, error) + func (s *GVCService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[gvc.Gvc], error) + func (s *GVCService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[gvc.Gvc, error] + func (s *GVCService) QueryAll(ctx context.Context, org string, q *query.Query) ([]gvc.Gvc, error) + func (s *GVCService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[gvc.Gvc], error) + func (s *GVCService) Update(ctx context.Context, org, name string, g *gvc.Gvc) (*gvc.Gvc, error) + type GroupService struct + func (s *GroupService) Create(ctx context.Context, org string, g *group.Group) (*group.Group, error) + func (s *GroupService) Delete(ctx context.Context, org, name string) error + func (s *GroupService) Get(ctx context.Context, org, name string) (*group.Group, error) + func (s *GroupService) List(ctx context.Context, org string) iter.Seq2[group.Group, error] + func (s *GroupService) ListAll(ctx context.Context, org string) ([]group.Group, error) + func (s *GroupService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[group.Group], error) + func (s *GroupService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[group.Group, error] + func (s *GroupService) QueryAll(ctx context.Context, org string, q *query.Query) ([]group.Group, error) + func (s *GroupService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[group.Group], error) + func (s *GroupService) Update(ctx context.Context, org, name string, g *group.Group) (*group.Group, error) + type IPSetService struct + func (s *IPSetService) Create(ctx context.Context, org string, i *ipSet.IpSet) (*ipSet.IpSet, error) + func (s *IPSetService) Delete(ctx context.Context, org, name string) error + func (s *IPSetService) Get(ctx context.Context, org, name string) (*ipSet.IpSet, error) + func (s *IPSetService) List(ctx context.Context, org string) iter.Seq2[ipSet.IpSet, error] + func (s *IPSetService) ListAll(ctx context.Context, org string) ([]ipSet.IpSet, error) + func (s *IPSetService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[ipSet.IpSet], error) + func (s *IPSetService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[ipSet.IpSet, error] + func (s *IPSetService) QueryAll(ctx context.Context, org string, q *query.Query) ([]ipSet.IpSet, error) + func (s *IPSetService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[ipSet.IpSet], error) + func (s *IPSetService) Update(ctx context.Context, org, name string, i *ipSet.IpSet) (*ipSet.IpSet, error) + type IdentityService struct + func (s *IdentityService) Create(ctx context.Context, org, gvc string, i *identity.Identity) (*identity.Identity, error) + func (s *IdentityService) Delete(ctx context.Context, org, gvc, name string) error + func (s *IdentityService) Get(ctx context.Context, org, gvc, name string) (*identity.Identity, error) + func (s *IdentityService) List(ctx context.Context, org, gvc string) iter.Seq2[identity.Identity, error] + func (s *IdentityService) ListAll(ctx context.Context, org, gvc string) ([]identity.Identity, error) + func (s *IdentityService) ListPage(ctx context.Context, org, gvc, cursor string) (*ListResponse[identity.Identity], error) + func (s *IdentityService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[identity.Identity, error] + func (s *IdentityService) QueryAll(ctx context.Context, org string, q *query.Query) ([]identity.Identity, error) + func (s *IdentityService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[identity.Identity], error) + func (s *IdentityService) Update(ctx context.Context, org, gvc, name string, i *identity.Identity) (*identity.Identity, error) + type ImageService struct + func (s *ImageService) Delete(ctx context.Context, org, name string) error + func (s *ImageService) Get(ctx context.Context, org, name string) (*image.Image, error) + func (s *ImageService) List(ctx context.Context, org string) iter.Seq2[image.Image, error] + func (s *ImageService) ListAll(ctx context.Context, org string) ([]image.Image, error) + func (s *ImageService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[image.Image], error) + func (s *ImageService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[image.Image, error] + func (s *ImageService) QueryAll(ctx context.Context, org string, q *query.Query) ([]image.Image, error) + func (s *ImageService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[image.Image], error) + type InviteRequest struct + Email string + type Invoice struct + AccountID string + Created *time.Time + EndTime *time.Time + ID string + StartTime *time.Time + Status string + Total float64 + type ListOption func(*listOptions) + func WithLimit(limit int) ListOption + type ListResponse struct + ItemKind string + Items []T + Kind string + Links []base.Link + func (r *ListResponse[T]) HasNext() bool + func (r *ListResponse[T]) NextLink() string + func (r *ListResponse[T]) NextPage(ctx context.Context) (*ListResponse[T], error) + type LocationService struct + func (s *LocationService) Get(ctx context.Context, org, name string) (*location.Location, error) + func (s *LocationService) List(ctx context.Context, org string) iter.Seq2[location.Location, error] + func (s *LocationService) ListAll(ctx context.Context, org string) ([]location.Location, error) + func (s *LocationService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[location.Location], error) + func (s *LocationService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[location.Location, error] + func (s *LocationService) QueryAll(ctx context.Context, org string, q *query.Query) ([]location.Location, error) + func (s *LocationService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[location.Location], error) + type Mk8sService struct + func (s *Mk8sService) Create(ctx context.Context, org string, m *mk8s.Mk8sCluster) (*mk8s.Mk8sCluster, error) + func (s *Mk8sService) Delete(ctx context.Context, org, name string) error + func (s *Mk8sService) Get(ctx context.Context, org, name string) (*mk8s.Mk8sCluster, error) + func (s *Mk8sService) List(ctx context.Context, org string) iter.Seq2[mk8s.Mk8sCluster, error] + func (s *Mk8sService) ListAll(ctx context.Context, org string) ([]mk8s.Mk8sCluster, error) + func (s *Mk8sService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[mk8s.Mk8sCluster], error) + func (s *Mk8sService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[mk8s.Mk8sCluster, error] + func (s *Mk8sService) QueryAll(ctx context.Context, org string, q *query.Query) ([]mk8s.Mk8sCluster, error) + func (s *Mk8sService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[mk8s.Mk8sCluster], error) + func (s *Mk8sService) Update(ctx context.Context, org, name string, m *mk8s.Mk8sCluster) (*mk8s.Mk8sCluster, error) + type Option func(*Client) + func WithBillingURL(url string) Option + func WithHTTPClient(httpClient *http.Client) Option + func WithHeader(key, value string) Option + func WithHeaders(headers http.Header) Option + func WithOrg(org string) Option + func WithTimeout(d time.Duration) Option + func WithUserAgent(userAgent string) Option + type OrgService struct + func (s *OrgService) Get(ctx context.Context, name string) (*org.Org, error) + func (s *OrgService) List(ctx context.Context) iter.Seq2[org.Org, error] + func (s *OrgService) ListAll(ctx context.Context) ([]org.Org, error) + func (s *OrgService) ListPage(ctx context.Context, cursor string) (*ListResponse[org.Org], error) + func (s *OrgService) Query(ctx context.Context, q *query.Query) iter.Seq2[org.Org, error] + func (s *OrgService) QueryAll(ctx context.Context, q *query.Query) ([]org.Org, error) + func (s *OrgService) QueryPage(ctx context.Context, q *query.Query) (*QueryResponse[org.Org], error) + func (s *OrgService) Update(ctx context.Context, name string, o *org.Org) (*org.Org, error) + type PolicyService struct + func (s *PolicyService) Create(ctx context.Context, org string, p *policy.Policy) (*policy.Policy, error) + func (s *PolicyService) Delete(ctx context.Context, org, name string) error + func (s *PolicyService) Get(ctx context.Context, org, name string) (*policy.Policy, error) + func (s *PolicyService) List(ctx context.Context, org string) iter.Seq2[policy.Policy, error] + func (s *PolicyService) ListAll(ctx context.Context, org string) ([]policy.Policy, error) + func (s *PolicyService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[policy.Policy], error) + func (s *PolicyService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[policy.Policy, error] + func (s *PolicyService) QueryAll(ctx context.Context, org string, q *query.Query) ([]policy.Policy, error) + func (s *PolicyService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[policy.Policy], error) + func (s *PolicyService) Update(ctx context.Context, org, name string, p *policy.Policy) (*policy.Policy, error) + type QueryResponse struct + ItemKind base.Kind + Items []T + Kind query.QueryResultKind + Links []base.Link + Query query.Query + func (r *QueryResponse[T]) HasNext() bool + func (r *QueryResponse[T]) NextLink() string + func (r *QueryResponse[T]) NextPage(ctx context.Context) (*QueryResponse[T], error) + type QuotaService struct + func (s *QuotaService) Create(ctx context.Context, org string, q *quota.Quota) (*quota.Quota, error) + func (s *QuotaService) Delete(ctx context.Context, org, name string) error + func (s *QuotaService) Get(ctx context.Context, org, name string) (*quota.Quota, error) + func (s *QuotaService) List(ctx context.Context, org string) iter.Seq2[quota.Quota, error] + func (s *QuotaService) ListAll(ctx context.Context, org string) ([]quota.Quota, error) + func (s *QuotaService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[quota.Quota], error) + func (s *QuotaService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[quota.Quota, error] + func (s *QuotaService) QueryAll(ctx context.Context, org string, q *query.Query) ([]quota.Quota, error) + func (s *QuotaService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[quota.Quota], error) + func (s *QuotaService) Update(ctx context.Context, org, name string, q *quota.Quota) (*quota.Quota, error) + type RestoreVolumeRequest struct + Location string + SnapshotName string + VolumeIndex float32 + Zone string + type SecretService struct + func (s *SecretService) Create(ctx context.Context, org string, sec *secret.Secret) (*secret.Secret, error) + func (s *SecretService) Delete(ctx context.Context, org, name string) error + func (s *SecretService) Get(ctx context.Context, org, name string) (*secret.Secret, error) + func (s *SecretService) List(ctx context.Context, org string) iter.Seq2[secret.Secret, error] + func (s *SecretService) ListAll(ctx context.Context, org string) ([]secret.Secret, error) + func (s *SecretService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[secret.Secret], error) + func (s *SecretService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[secret.Secret, error] + func (s *SecretService) QueryAll(ctx context.Context, org string, q *query.Query) ([]secret.Secret, error) + func (s *SecretService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[secret.Secret], error) + func (s *SecretService) Reveal(ctx context.Context, org, name string) (*secret.Secret, error) + func (s *SecretService) Update(ctx context.Context, org, name string, sec *secret.Secret) (*secret.Secret, error) + type ServiceAccountService struct + func (s *ServiceAccountService) AddKey(ctx context.Context, org, name string, req *AddKeyRequest) (*AddKeyResponse, error) + func (s *ServiceAccountService) Create(ctx context.Context, org string, sa *serviceaccount.ServiceAccount) (*serviceaccount.ServiceAccount, error) + func (s *ServiceAccountService) Delete(ctx context.Context, org, name string) error + func (s *ServiceAccountService) Get(ctx context.Context, org, name string) (*serviceaccount.ServiceAccount, error) + func (s *ServiceAccountService) List(ctx context.Context, org string) iter.Seq2[serviceaccount.ServiceAccount, error] + func (s *ServiceAccountService) ListAll(ctx context.Context, org string) ([]serviceaccount.ServiceAccount, error) + func (s *ServiceAccountService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[serviceaccount.ServiceAccount], error) + func (s *ServiceAccountService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[serviceaccount.ServiceAccount, error] + func (s *ServiceAccountService) QueryAll(ctx context.Context, org string, q *query.Query) ([]serviceaccount.ServiceAccount, error) + func (s *ServiceAccountService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[serviceaccount.ServiceAccount], error) + func (s *ServiceAccountService) Update(ctx context.Context, org, name string, sa *serviceaccount.ServiceAccount) (*serviceaccount.ServiceAccount, error) + type TOUInput struct + Accepted bool + CustomerName string + type TaskService struct + func (s *TaskService) Get(ctx context.Context, org, name string) (*task.Task, error) + func (s *TaskService) List(ctx context.Context, org string) iter.Seq2[task.Task, error] + func (s *TaskService) ListAll(ctx context.Context, org string) ([]task.Task, error) + func (s *TaskService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[task.Task], error) + func (s *TaskService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[task.Task, error] + func (s *TaskService) QueryAll(ctx context.Context, org string, q *query.Query) ([]task.Task, error) + func (s *TaskService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[task.Task], error) + type UserService struct + func (s *UserService) Delete(ctx context.Context, org, name string) error + func (s *UserService) Get(ctx context.Context, org, name string) (*user.User, error) + func (s *UserService) Invite(ctx context.Context, org string, req *InviteRequest) error + func (s *UserService) List(ctx context.Context, org string) iter.Seq2[user.User, error] + func (s *UserService) ListAll(ctx context.Context, org string) ([]user.User, error) + func (s *UserService) ListPage(ctx context.Context, org, cursor string) (*ListResponse[user.User], error) + func (s *UserService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[user.User, error] + func (s *UserService) QueryAll(ctx context.Context, org string, q *query.Query) ([]user.User, error) + func (s *UserService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[user.User], error) + type VolumeSetService struct + func (s *VolumeSetService) Create(ctx context.Context, org, gvc string, v *volumeSet.VolumeSet) (*volumeSet.VolumeSet, error) + func (s *VolumeSetService) CreateCommand(ctx context.Context, org, gvc, volumeSetName string, cmd *command.Command) (*command.Command, error) + func (s *VolumeSetService) CreateVolumeSnapshot(ctx context.Context, org, gvc, volumeSetName string, ...) (*command.Command, error) + func (s *VolumeSetService) Delete(ctx context.Context, org, gvc, name string) error + func (s *VolumeSetService) DeleteCommand(ctx context.Context, org, gvc, volumeSetName, commandID string) error + func (s *VolumeSetService) DeleteVolume(ctx context.Context, org, gvc, volumeSetName string, req *DeleteVolumeRequest) (*command.Command, error) + func (s *VolumeSetService) DeleteVolumeSnapshot(ctx context.Context, org, gvc, volumeSetName string, ...) (*command.Command, error) + func (s *VolumeSetService) ExpandVolume(ctx context.Context, org, gvc, volumeSetName string, req *ExpandVolumeRequest) (*command.Command, error) + func (s *VolumeSetService) Get(ctx context.Context, org, gvc, name string) (*volumeSet.VolumeSet, error) + func (s *VolumeSetService) GetCommand(ctx context.Context, org, gvc, volumeSetName, commandID string) (*command.Command, error) + func (s *VolumeSetService) List(ctx context.Context, org, gvc string) iter.Seq2[volumeSet.VolumeSet, error] + func (s *VolumeSetService) ListAll(ctx context.Context, org, gvc string) ([]volumeSet.VolumeSet, error) + func (s *VolumeSetService) ListCommands(ctx context.Context, org, gvc, volumeSetName string) iter.Seq2[command.Command, error] + func (s *VolumeSetService) ListCommandsAll(ctx context.Context, org, gvc, volumeSetName string) ([]command.Command, error) + func (s *VolumeSetService) ListPage(ctx context.Context, org, gvc, cursor string) (*ListResponse[volumeSet.VolumeSet], error) + func (s *VolumeSetService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[volumeSet.VolumeSet, error] + func (s *VolumeSetService) QueryAll(ctx context.Context, org string, q *query.Query) ([]volumeSet.VolumeSet, error) + func (s *VolumeSetService) QueryCommands(ctx context.Context, org, gvc, volumeSetName string, q *query.Query) iter.Seq2[command.Command, error] + func (s *VolumeSetService) QueryCommandsAll(ctx context.Context, org, gvc, volumeSetName string, q *query.Query) ([]command.Command, error) + func (s *VolumeSetService) QueryCommandsPage(ctx context.Context, org, gvc, volumeSetName string, q *query.Query) (*QueryResponse[command.Command], error) + func (s *VolumeSetService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[volumeSet.VolumeSet], error) + func (s *VolumeSetService) RestoreVolume(ctx context.Context, org, gvc, volumeSetName string, req *RestoreVolumeRequest) (*command.Command, error) + func (s *VolumeSetService) Update(ctx context.Context, org, gvc, name string, v *volumeSet.VolumeSet) (*volumeSet.VolumeSet, error) + func (s *VolumeSetService) UpdateCommand(ctx context.Context, org, gvc, volumeSetName, commandID string, ...) (*command.Command, error) + type WorkloadService struct + func (s *WorkloadService) Create(ctx context.Context, org, gvc string, w *workload.Workload) (*workload.Workload, error) + func (s *WorkloadService) CreateCommand(ctx context.Context, org, gvc, workloadName string, cmd *command.Command) (*command.Command, error) + func (s *WorkloadService) CronStart(ctx context.Context, org, gvc, name string, req *CronStartRequest) (*command.Command, error) + func (s *WorkloadService) Delete(ctx context.Context, org, gvc, name string) error + func (s *WorkloadService) DeleteCommand(ctx context.Context, org, gvc, workloadName, commandID string) error + func (s *WorkloadService) ForceRedeploy(ctx context.Context, org, gvc, name string) error + func (s *WorkloadService) Get(ctx context.Context, org, gvc, name string) (*workload.Workload, error) + func (s *WorkloadService) GetCommand(ctx context.Context, org, gvc, workloadName, commandID string) (*command.Command, error) + func (s *WorkloadService) List(ctx context.Context, org, gvc string) iter.Seq2[workload.Workload, error] + func (s *WorkloadService) ListAll(ctx context.Context, org, gvc string) ([]workload.Workload, error) + func (s *WorkloadService) ListCommands(ctx context.Context, org, gvc, workloadName string) iter.Seq2[command.Command, error] + func (s *WorkloadService) ListCommandsAll(ctx context.Context, org, gvc, workloadName string) ([]command.Command, error) + func (s *WorkloadService) ListPage(ctx context.Context, org, gvc, cursor string) (*ListResponse[workload.Workload], error) + func (s *WorkloadService) Query(ctx context.Context, org string, q *query.Query) iter.Seq2[workload.Workload, error] + func (s *WorkloadService) QueryAll(ctx context.Context, org string, q *query.Query) ([]workload.Workload, error) + func (s *WorkloadService) QueryCommands(ctx context.Context, org, gvc, workloadName string, q *query.Query) iter.Seq2[command.Command, error] + func (s *WorkloadService) QueryCommandsAll(ctx context.Context, org, gvc, workloadName string, q *query.Query) ([]command.Command, error) + func (s *WorkloadService) QueryCommandsPage(ctx context.Context, org, gvc, workloadName string, q *query.Query) (*QueryResponse[command.Command], error) + func (s *WorkloadService) QueryPage(ctx context.Context, org string, q *query.Query) (*QueryResponse[workload.Workload], error) + func (s *WorkloadService) RunCronWorkload(ctx context.Context, org, gvc, workloadName string, ...) (*command.Command, error) + func (s *WorkloadService) StopReplica(ctx context.Context, org, gvc, workloadName string, ...) (*command.Command, error) + func (s *WorkloadService) Update(ctx context.Context, org, gvc, name string, w *workload.Workload) (*workload.Workload, error) + func (s *WorkloadService) UpdateCommand(ctx context.Context, org, gvc, workloadName, commandID string, ...) (*command.Command, error)