Versions in this module Expand all Collapse all v7 v7.0.0 Apr 19, 2024 Changes in this version + const BillingMonthDateFormat + const MetricCPU + const MetricMemory + const MetricRouter5XX + const MetricRouterAll + const MetricRouterP95ResponseTime + const MetricRouterRPMPerContainer + const MetricRouterServersAmount + const MetricSwap + const RegionMigrationStatusAborted + const RegionMigrationStatusAborting + const RegionMigrationStatusCreated + const RegionMigrationStatusDataMigrated + const RegionMigrationStatusDone + const RegionMigrationStatusError + const RegionMigrationStatusPreflightError + const RegionMigrationStatusPreflightSuccess + const RegionMigrationStatusPrepared + const RegionMigrationStatusRunning + const RegionMigrationStepAbort + const RegionMigrationStepData + const RegionMigrationStepFinalize + const RegionMigrationStepPreflight + const RegionMigrationStepPrepare + const StepStatusDone + const StepStatusError + const StepStatusRunning + var ErrOTPRequired = http.ErrOTPRequired + var ErrRegionNotFound = errgo.New("Region not found") + var NotifierPlatformNames = map[string]string + var SCMTypeDisplay = map[SCMType]string + var Version = "7.0.0" + func HasFailedString(status DeploymentStatus) bool + func IsFinishedString(status DeploymentStatus) bool + func IsOTPRequired(err error) bool + func MockAuth(ctrl *gomock.Controller) *httpmock.MockClient + type ACMEErrorVariables struct + DNSProvider string + Variables []string + type API interface + AuthAPI func() http.Client + DBAPI func(app, addon string) http.Client + ScalingoAPI func() http.Client + type Addon struct + AddonProvider *AddonProvider + AppID string + DeprovisionedAt time.Time + ID string + Plan *Plan + ProvisionedAt time.Time + ResourceID string + Status AddonStatus + type AddonLogsURLRes struct + URL string + type AddonProvider struct + Category Category + Description string + HDSAvailable bool + ID string + LogoURL string + Name string + Plans []Plan + ProviderName string + ProviderURL string + ShortDescription string + type AddonProvidersService interface + AddonProviderPlansList func(ctx context.Context, addon string) ([]*Plan, error) + AddonProvidersList func(context.Context) ([]*AddonProvider, error) + type AddonProvisionParams struct + AddonProviderID string + Options map[string]string + PlanID string + type AddonProvisionParamsWrapper struct + Addon AddonProvisionParams + type AddonRes struct + Addon Addon + Message string + Variables []string + type AddonStatus string + const AddonStatusProvisioning + const AddonStatusRunning + const AddonStatusSuspended + type AddonToken struct + Token string + type AddonTokenRes struct + Addon AddonToken + type AddonUpgradeParams struct + PlanID string + type AddonUpgradeParamsWrapper struct + Addon AddonUpgradeParams + type AddonsRes struct + Addons []*Addon + type AddonsService interface + AddonDestroy func(ctx context.Context, app, addonID string) error + AddonLogsArchives func(ctx context.Context, app, addonID string, page int) (*LogsArchivesResponse, error) + AddonLogsURL func(ctx context.Context, app, addonID string) (string, error) + AddonProvision func(ctx context.Context, app string, params AddonProvisionParams) (AddonRes, error) + AddonToken func(ctx context.Context, app, addonID string) (string, error) + AddonUpgrade func(ctx context.Context, app, addonID string, params AddonUpgradeParams) (AddonRes, error) + AddonsList func(ctx context.Context, app string) ([]*Addon, error) + type Alert struct + AppID string + ContainerType string + CreatedAt time.Time + Disabled bool + DurationBeforeTrigger time.Duration + ID string + Limit float64 + Metadata map[string]interface{} + Metric string + Notifiers []string + RemindEvery string + SendWhenBelow bool + UpdatedAt time.Time + type AlertAddParams struct + ContainerType string + Disabled bool + DurationBeforeTrigger *time.Duration + Limit float64 + Metric string + Notifiers []string + RemindEvery *time.Duration + SendWhenBelow bool + type AlertRes struct + Alert *Alert + type AlertUpdateParams struct + ContainerType *string + Disabled *bool + DurationBeforeTrigger *time.Duration + Limit *float64 + Metric *string + Notifiers *[]string + RemindEvery *time.Duration + SendWhenBelow *bool + type AlertsRes struct + Alerts []*Alert + type AlertsService interface + AlertAdd func(ctx context.Context, app string, params AlertAddParams) (*Alert, error) + AlertRemove func(ctx context.Context, app, id string) error + AlertShow func(ctx context.Context, app, id string) (*Alert, error) + AlertUpdate func(ctx context.Context, app, id string, params AlertUpdateParams) (*Alert, error) + AlertsList func(ctx context.Context, app string) ([]*Alert, error) + type App struct + BaseURL string + CreatedAt *time.Time + DataAccessConsent *DataAccessConsent + Flags map[string]bool + ForceHTTPS bool + GitURL string + HDSResource bool + ID string + LastDeployedAt *time.Time + LastDeployedBy string + Limits map[string]interface{} + Links *AppLinks + Name string + Owner Owner + Region string + RouterLogs bool + StackID string + Status AppStatus + StickySession bool + URL string + UpdatedAt *time.Time + func (app App) String() string + type AppLinks struct + DeploymentsStream string + type AppResponse struct + App *App + type AppStatsRes struct + Stats []*ContainerStat + type AppStatus string + const AppStatusNew + const AppStatusRestarting + const AppStatusRunning + const AppStatusScaling + const AppStatusStopped + type AppsContainerTypesRes struct + Containers []ContainerType + type AppsCreateOpts struct + Name string + ParentApp string + StackID string + type AppsPsRes struct + Containers []Container + type AppsRestartParams struct + Scope []string + type AppsScaleParams struct + Containers []ContainerType + type AppsService interface + AppsContainerTypes func(ctx context.Context, app string) ([]ContainerType, error) + AppsContainersPs func(ctx context.Context, app string) ([]Container, error) + AppsCreate func(ctx context.Context, opts AppsCreateOpts) (*App, error) + AppsDestroy func(ctx context.Context, name string, currentName string) error + AppsForceHTTPS func(ctx context.Context, name string, enable bool) (*App, error) + AppsList func(ctx context.Context) ([]*App, error) + AppsRename func(ctx context.Context, name string, newName string) (*App, error) + AppsRestart func(ctx context.Context, app string, scope *AppsRestartParams) (*http.Response, error) + AppsRouterLogs func(ctx context.Context, name string, enable bool) (*App, error) + AppsScale func(ctx context.Context, app string, params *AppsScaleParams) (*http.Response, error) + AppsSetStack func(ctx context.Context, name string, stackID string) (*App, error) + AppsShow func(ctx context.Context, appName string) (*App, error) + AppsStats func(ctx context.Context, app string) (*AppStatsRes, error) + AppsStickySession func(ctx context.Context, name string, enable bool) (*App, error) + AppsTransfer func(ctx context.Context, name string, email string) (*App, error) + type AuthStruct struct + Data AuthenticationData + Type string + type AuthenticationData struct + Token string + type Autoscaler struct + AppID string + ContainerType string + Disabled bool + ID string + MaxContainers int + Metric string + MinContainers int + Target float64 + type AutoscalerAddParams struct + ContainerType string + MaxContainers int + Metric string + MinContainers int + Target float64 + type AutoscalerRes struct + Autoscaler Autoscaler + type AutoscalerUpdateParams struct + Disabled *bool + MaxContainers *int + Metric *string + MinContainers *int + Target *float64 + type AutoscalersRes struct + Autoscalers []Autoscaler + type AutoscalersService interface + AutoscalerAdd func(ctx context.Context, app string, params AutoscalerAddParams) (*Autoscaler, error) + AutoscalerRemove func(ctx context.Context, app string, id string) error + AutoscalersList func(ctx context.Context, app string) ([]Autoscaler, error) + type Backup struct + CreatedAt time.Time + DatabaseID string + ID string + Method BackupMethod + Name string + Size uint64 + StartedAt time.Time + Status BackupStatus + type BackupMethod string + const BackupMethodManual + const BackupMethodPeriodic + type BackupRes struct + Backup Backup + type BackupStatus string + const BackupStatusDone + const BackupStatusError + const BackupStatusRunning + const BackupStatusScheduled + type BackupsRes struct + Backups []Backup + type BackupsService interface + BackupCreate func(ctx context.Context, app, addonID string) (*Backup, error) + BackupDownloadURL func(ctx context.Context, app, addonID, backupID string) (string, error) + BackupList func(ctx context.Context, app, addonID string) ([]Backup, error) + BackupShow func(ctx context.Context, app, addonID, backupID string) (*Backup, error) + type BearerTokenRes struct + Token string + type Category struct + Description string + ID string + Name string + Position int + type Client struct + func New(ctx context.Context, cfg ClientConfig) (*Client, error) + func (c *Client) AddonDestroy(ctx context.Context, app, addonID string) error + func (c *Client) AddonLogsArchives(ctx context.Context, app, addonID string, page int) (*LogsArchivesResponse, error) + func (c *Client) AddonLogsURL(ctx context.Context, app, addonID string) (string, error) + func (c *Client) AddonProviderPlansList(ctx context.Context, addon string) ([]*Plan, error) + func (c *Client) AddonProvidersList(ctx context.Context) ([]*AddonProvider, error) + func (c *Client) AddonProvision(ctx context.Context, app string, params AddonProvisionParams) (AddonRes, error) + func (c *Client) AddonShow(ctx context.Context, app, addonID string) (Addon, error) + func (c *Client) AddonToken(ctx context.Context, app, addonID string) (string, error) + func (c *Client) AddonUpgrade(ctx context.Context, app, addonID string, params AddonUpgradeParams) (AddonRes, error) + func (c *Client) AddonsList(ctx context.Context, app string) ([]*Addon, error) + func (c *Client) AlertAdd(ctx context.Context, app string, params AlertAddParams) (*Alert, error) + func (c *Client) AlertRemove(ctx context.Context, app, id string) error + func (c *Client) AlertShow(ctx context.Context, app, id string) (*Alert, error) + func (c *Client) AlertUpdate(ctx context.Context, app, id string, params AlertUpdateParams) (*Alert, error) + func (c *Client) AlertsList(ctx context.Context, app string) ([]*Alert, error) + func (c *Client) AppsContainerTypes(ctx context.Context, app string) ([]ContainerType, error) + func (c *Client) AppsContainersPs(ctx context.Context, app string) ([]Container, error) + func (c *Client) AppsCreate(ctx context.Context, opts AppsCreateOpts) (*App, error) + func (c *Client) AppsDestroy(ctx context.Context, name string, currentName string) error + func (c *Client) AppsForceHTTPS(ctx context.Context, name string, enable bool) (*App, error) + func (c *Client) AppsList(ctx context.Context) ([]*App, error) + func (c *Client) AppsRename(ctx context.Context, name string, newName string) (*App, error) + func (c *Client) AppsRestart(ctx context.Context, app string, scope *AppsRestartParams) (*http.Response, error) + func (c *Client) AppsRouterLogs(ctx context.Context, name string, enable bool) (*App, error) + func (c *Client) AppsScale(ctx context.Context, app string, params *AppsScaleParams) (*http.Response, error) + func (c *Client) AppsSetStack(ctx context.Context, app string, stackID string) (*App, error) + func (c *Client) AppsShow(ctx context.Context, appName string) (*App, error) + func (c *Client) AppsStats(ctx context.Context, app string) (*AppStatsRes, error) + func (c *Client) AppsStickySession(ctx context.Context, name string, enable bool) (*App, error) + func (c *Client) AppsTransfer(ctx context.Context, name string, email string) (*App, error) + func (c *Client) AuthAPI() http.Client + func (c *Client) AutoscalerAdd(ctx context.Context, app string, params AutoscalerAddParams) (*Autoscaler, error) + func (c *Client) AutoscalerRemove(ctx context.Context, app, id string) error + func (c *Client) AutoscalerShow(ctx context.Context, app, id string) (*Autoscaler, error) + func (c *Client) AutoscalerUpdate(ctx context.Context, app, id string, params AutoscalerUpdateParams) (*Autoscaler, error) + func (c *Client) AutoscalersList(ctx context.Context, app string) ([]Autoscaler, error) + func (c *Client) BackupCreate(ctx context.Context, app, addonID string) (*Backup, error) + func (c *Client) BackupDownloadURL(ctx context.Context, app, addonID, backupID string) (string, error) + func (c *Client) BackupList(ctx context.Context, app string, addonID string) ([]Backup, error) + func (c *Client) BackupShow(ctx context.Context, app, addonID, backup string) (*Backup, error) + func (c *Client) CollaboratorAdd(ctx context.Context, app string, email string) (Collaborator, error) + func (c *Client) CollaboratorRemove(ctx context.Context, app string, id string) error + func (c *Client) CollaboratorsList(ctx context.Context, app string) ([]Collaborator, error) + func (c *Client) ContainerSizesList(ctx context.Context) ([]ContainerSize, error) + func (c *Client) ContainersKill(ctx context.Context, app string, signal string, containerID string) error + func (c *Client) ContainersStop(ctx context.Context, appName, containerID string) error + func (c *Client) CreateRegionMigration(ctx context.Context, appID string, params RegionMigrationParams) (RegionMigration, error) + func (c *Client) CronTasksGet(ctx context.Context, app string) (CronTasks, error) + func (c *Client) DBAPI(app, addon string) http.Client + func (c *Client) DatabaseCreateUser(ctx context.Context, app, addonID string, user DatabaseCreateUserParam) (DatabaseUser, error) + func (c *Client) DatabaseDeleteUser(ctx context.Context, app, addonID, userName string) error + func (c *Client) DatabaseDisableFeature(ctx context.Context, app, addonID, feature string) (DatabaseDisableFeatureResponse, error) + func (c *Client) DatabaseEnableFeature(ctx context.Context, app, addonID, feature string) (DatabaseEnableFeatureResponse, error) + func (c *Client) DatabaseListMaintenance(ctx context.Context, app, addonID string, opts PaginationOpts) ([]*Maintenance, PaginationMeta, error) + func (c *Client) DatabaseListUsers(ctx context.Context, app, addonID string) ([]DatabaseUser, error) + func (c *Client) DatabaseShow(ctx context.Context, app, addonID string) (Database, error) + func (c *Client) DatabaseShowMaintenance(ctx context.Context, app, addonID, maintenanceID string) (Maintenance, error) + func (c *Client) DatabaseUpdateMaintenanceWindow(ctx context.Context, app, addonID string, params MaintenanceWindowParams) (Database, error) + func (c *Client) DatabaseUpdatePeriodicBackupsConfig(ctx context.Context, app, addonID string, ...) (Database, error) + func (c *Client) DatabaseUpdateUser(ctx context.Context, app, addonID, username string, ...) (DatabaseUser, error) + func (c *Client) Deployment(ctx context.Context, app string, deploy string) (*Deployment, error) + func (c *Client) DeploymentCacheReset(ctx context.Context, app string) error + func (c *Client) DeploymentList(ctx context.Context, app string) ([]*Deployment, error) + func (c *Client) DeploymentListWithPagination(ctx context.Context, app string, opts PaginationOpts) ([]*Deployment, PaginationMeta, error) + func (c *Client) DeploymentLogs(ctx context.Context, deployURL string) (*http.Response, error) + func (c *Client) DeploymentStream(ctx context.Context, deployURL string) (*websocket.Conn, error) + func (c *Client) DeploymentsCreate(ctx context.Context, app string, params *DeploymentsCreateParams) (*Deployment, error) + func (c *Client) DomainSetCanonical(ctx context.Context, app, id string) (Domain, error) + func (c *Client) DomainSetCertificate(ctx context.Context, app, id, tlsCert, tlsKey string) (Domain, error) + func (c *Client) DomainUnsetCanonical(ctx context.Context, app string) (Domain, error) + func (c *Client) DomainUnsetCertificate(ctx context.Context, app, id string) (Domain, error) + func (c *Client) DomainsAdd(ctx context.Context, app string, params DomainsAddParams) (Domain, error) + func (c *Client) DomainsList(ctx context.Context, app string) ([]Domain, error) + func (c *Client) DomainsRemove(ctx context.Context, app, id string) error + func (c *Client) DomainsShow(ctx context.Context, app, id string) (Domain, error) + func (c *Client) DomainsUpdate(ctx context.Context, app, id string, params DomainsUpdateParams) (Domain, error) + func (c *Client) EventCategoriesList(ctx context.Context) ([]EventCategory, error) + func (c *Client) EventTypesList(ctx context.Context) ([]EventType, error) + func (c *Client) EventsList(ctx context.Context, app string, opts PaginationOpts) (Events, PaginationMeta, error) + func (c *Client) GetAccessToken(ctx context.Context) (string, error) + func (c *Client) InvoiceShow(ctx context.Context, id string) (*Invoice, error) + func (c *Client) InvoicesList(ctx context.Context, opts PaginationOpts) (Invoices, PaginationMeta, error) + func (c *Client) KeysAdd(ctx context.Context, name string, content string) (*Key, error) + func (c *Client) KeysDelete(ctx context.Context, id string) error + func (c *Client) KeysList(ctx context.Context) ([]Key, error) + func (c *Client) ListRegionMigrations(ctx context.Context, appID string) ([]RegionMigration, error) + func (c *Client) LogDrainAdd(ctx context.Context, app string, params LogDrainAddParams) (*LogDrainRes, error) + func (c *Client) LogDrainAddonAdd(ctx context.Context, app string, addonID string, params LogDrainAddParams) (*LogDrainRes, error) + func (c *Client) LogDrainAddonRemove(ctx context.Context, app, addonID string, URL string) error + func (c *Client) LogDrainRemove(ctx context.Context, app, URL string) error + func (c *Client) LogDrainsAddonList(ctx context.Context, app string, addonID string) ([]LogDrain, error) + func (c *Client) LogDrainsList(ctx context.Context, app string) ([]LogDrain, error) + func (c *Client) Logs(ctx context.Context, logsURL string, n int, filter string) (*http.Response, error) + func (c *Client) LogsArchives(ctx context.Context, app string, page int) (*LogsArchivesResponse, error) + func (c *Client) LogsArchivesByCursor(ctx context.Context, app string, cursor string) (*LogsArchivesResponse, error) + func (c *Client) LogsURL(ctx context.Context, app string) (*http.Response, error) + func (c *Client) NotificationPlatformByName(ctx context.Context, name string) ([]*NotificationPlatform, error) + func (c *Client) NotificationPlatformsList(ctx context.Context) ([]*NotificationPlatform, error) + func (c *Client) NotifierByID(ctx context.Context, app, ID string) (*Notifier, error) + func (c *Client) NotifierDestroy(ctx context.Context, app, ID string) error + func (c *Client) NotifierProvision(ctx context.Context, app string, params NotifierParams) (*Notifier, error) + func (c *Client) NotifierUpdate(ctx context.Context, app, ID string, params NotifierParams) (*Notifier, error) + func (c *Client) NotifiersList(ctx context.Context, app string) (Notifiers, error) + func (c *Client) OperationsShow(ctx context.Context, app, opID string) (*Operation, error) + func (c *Client) OperationsShowFromURL(ctx context.Context, url string) (*Operation, error) + func (c *Client) RegionsList(ctx context.Context) ([]Region, error) + func (c *Client) Run(ctx context.Context, opts RunOpts) (*RunRes, error) + func (c *Client) RunRegionMigrationStep(ctx context.Context, appID, migrationID string, step RegionMigrationStep) error + func (c *Client) SCMIntegrationsCreate(ctx context.Context, scmType SCMType, url string, accessToken string) (*SCMIntegration, error) + func (c *Client) SCMIntegrationsDelete(ctx context.Context, id string) error + func (c *Client) SCMIntegrationsImportKeys(ctx context.Context, id string) ([]Key, error) + func (c *Client) SCMIntegrationsList(ctx context.Context) ([]SCMIntegration, error) + func (c *Client) SCMIntegrationsShow(ctx context.Context, id string) (*SCMIntegration, error) + func (c *Client) SCMRepoLinkCreate(ctx context.Context, app string, params SCMRepoLinkCreateParams) (*SCMRepoLink, error) + func (c *Client) SCMRepoLinkDelete(ctx context.Context, app string) error + func (c *Client) SCMRepoLinkDeployments(ctx context.Context, app string) ([]*Deployment, error) + func (c *Client) SCMRepoLinkList(ctx context.Context, opts PaginationOpts) ([]*SCMRepoLink, PaginationMeta, error) + func (c *Client) SCMRepoLinkManualDeploy(ctx context.Context, app, branch string) (*Deployment, error) + func (c *Client) SCMRepoLinkManualReviewApp(ctx context.Context, app, pullRequestID string) error + func (c *Client) SCMRepoLinkPullRequest(ctx context.Context, app string, number int) (*RepoLinkPullRequest, error) + func (c *Client) SCMRepoLinkReviewApps(ctx context.Context, app string) ([]*ReviewApp, error) + func (c *Client) SCMRepoLinkShow(ctx context.Context, app string) (*SCMRepoLink, error) + func (c *Client) SCMRepoLinkUpdate(ctx context.Context, app string, params SCMRepoLinkUpdateParams) (*SCMRepoLink, error) + func (c *Client) ScalingoAPI() http.Client + func (c *Client) Self(ctx context.Context) (*User, error) + func (c *Client) ShowRegionMigration(ctx context.Context, appID, migrationID string) (RegionMigration, error) + func (c *Client) SignUp(ctx context.Context, email, password string) error + func (c *Client) SourcesCreate(ctx context.Context) (*Source, error) + func (c *Client) StacksList(ctx context.Context) ([]Stack, error) + func (c *Client) TokenCreate(ctx context.Context, params TokenCreateParams) (Token, error) + func (c *Client) TokenCreateWithLogin(ctx context.Context, params TokenCreateParams, login LoginParams) (Token, error) + func (c *Client) TokenExchange(ctx context.Context, token string) (string, error) + func (c *Client) TokenShow(ctx context.Context, id int) (Token, error) + func (c *Client) TokensList(ctx context.Context) (Tokens, error) + func (c *Client) UpdateUser(ctx context.Context, params UpdateUserParams) (*User, error) + func (c *Client) UserEventsList(ctx context.Context, opts PaginationOpts) (Events, PaginationMeta, error) + func (c *Client) UserStopFreeTrial(ctx context.Context) error + func (c *Client) VariableMultipleSet(ctx context.Context, app string, variables Variables) (Variables, int, error) + func (c *Client) VariableSet(ctx context.Context, app string, name string, value string) (*Variable, int, error) + func (c *Client) VariableUnset(ctx context.Context, app string, id string) error + func (c *Client) VariablesList(ctx context.Context, app string) (Variables, error) + func (c *Client) VariablesListWithoutAlias(ctx context.Context, app string) (Variables, error) + func (c Client) DatabaseTypeVersion(ctx context.Context, appID, addonID, versionID string) (DatabaseTypeVersion, error) + type ClientConfig struct + APIEndpoint string + APIPrefix string + APIToken string + AuthEndpoint string + AuthPrefix string + DatabaseAPIEndpoint string + DatabaseAPIPrefix string + DisableHTTPClientCache bool + Region string + StaticTokenGenerator *StaticTokenGenerator + TLSConfig *tls.Config + Timeout time.Duration + UserAgent string + type Collaborator struct + AppID string + Email string + ID string + Status CollaboratorStatus + UserID string + Username string + type CollaboratorRes struct + Collaborator Collaborator + type CollaboratorStatus string + const CollaboratorStatusAccepted + const CollaboratorStatusDeleted + const CollaboratorStatusPending + type CollaboratorsRes struct + Collaborators []Collaborator + type CollaboratorsService interface + CollaboratorAdd func(ctx context.Context, app string, email string) (Collaborator, error) + CollaboratorRemove func(ctx context.Context, app string, id string) error + CollaboratorsList func(ctx context.Context, app string) ([]Collaborator, error) + type Container struct + App *App + AppID string + Command string + ContainerSize ContainerSize + CreatedAt *time.Time + DeletedAt *time.Time + ID string + Label string + State string + Type string + TypeIndex int + type ContainerSize struct + HourlyPrice int + HumanCPU string + HumanName string + ID string + Memory int + Name string + Ordinal int + PidsLimit int + Pricings map[string]map[string]string + SKU string + Swap int + ThirtydaysPrice int + type ContainerSizesService interface + ContainerSizesList func(ctx context.Context) ([]ContainerSize, error) + type ContainerStat struct + CPUUsage int + HighestMemoryUsage int64 + HighestSwapUsage int64 + ID string + MemoryLimit int64 + MemoryUsage int64 + SwapLimit int64 + SwapUsage int64 + type ContainerType struct + Amount int + AppID string + Command string + Name string + Size string + type ContainersService interface + ContainersStop func(ctx context.Context, appName, containerID string) error + type CronTasks struct + Jobs []Job + type CronTasksService interface + CronTasksGet func(ctx context.Context, app string) (CronTasks, error) + type DataAccessConsent struct + AppID string + ContainersUntil *time.Time + DatabasesUntil *time.Time + UserID string + type Database struct + AppName string + Cluster bool + CreatedAt time.Time + CurrentOperationID string + EncryptionAtRest bool + Features []DatabaseFeature + Hostname string + ID string + Instances []Instance + MaintenanceWindow MaintenanceWindow + MongoReplSetName string + NextVersionID string + PeriodicBackupsEnabled bool + PeriodicBackupsScheduledAt []int + Plan string + ReadableVersion string + ResourceID string + Status DatabaseStatus + TypeID string + TypeName string + VersionID string + type DatabaseCreateUserParam struct + DatabaseID string + Name string + Password string + PasswordConfirmation string + ReadOnly bool + type DatabaseDisableFeatureResponse struct + Message string + type DatabaseEnableFeatureParams struct + Feature DatabaseFeature + type DatabaseEnableFeatureResponse struct + Message string + Name string + Status DatabaseFeatureStatus + type DatabaseFeature struct + Name string + Status DatabaseFeatureStatus + type DatabaseFeatureStatus string + const DatabaseFeatureStatusActivated + const DatabaseFeatureStatusFailed + const DatabaseFeatureStatusPending + type DatabaseRes struct + Database Database + type DatabaseStatus string + const DatabaseStatusCreating + const DatabaseStatusMigrating + const DatabaseStatusRunning + const DatabaseStatusStopped + const DatabaseStatusUpdating + const DatabaseStatusUpgrading + type DatabaseTypeVersion struct + AllowedPlugins []DatabaseTypeVersionPlugin + Build int + CreatedAt time.Time + DatabaseTypeID string + Features []string + ID string + Major int + Minor int + NextUpgrade *DatabaseTypeVersion + Patch int + UpdatedAt time.Time + func (v DatabaseTypeVersion) String() string + type DatabaseTypeVersionPlugin struct + Description string + DisplayName string + FeatureName string + ID string + InstallName string + type DatabaseTypeVersionShowResponse struct + DatabaseTypeVersion DatabaseTypeVersion + type DatabaseUpdatePeriodicBackupsConfigParams struct + Enabled *bool + ScheduledAt *int + type DatabaseUpdateUserParam struct + DatabaseID string + Password string + PasswordConfirmation string + type DatabaseUser struct + DbmsAttributes *DbmsAttributes + Name string + Password string + Protected bool + ReadOnly bool + type DatabaseUserResponse struct + DatabaseUser DatabaseUser + type DatabaseUsersResponse struct + DatabaseUsers []DatabaseUser + type DatabasesService interface + DatabaseDisableFeature func(ctx context.Context, app, addonID, feature string) (DatabaseDisableFeatureResponse, error) + DatabaseEnableFeature func(ctx context.Context, app, addonID, feature string) (DatabaseEnableFeatureResponse, error) + DatabaseListMaintenance func(ctx context.Context, app, addonID string, opts PaginationOpts) ([]*Maintenance, PaginationMeta, error) + DatabaseShow func(ctx context.Context, app, addonID string) (Database, error) + DatabaseShowMaintenance func(ctx context.Context, app, addonID, maintenanceID string) (Maintenance, error) + DatabaseUpdateMaintenanceWindow func(ctx context.Context, app, addonID string, params MaintenanceWindowParams) (Database, error) + DatabaseUpdatePeriodicBackupsConfig func(ctx context.Context, app, addonID string, ...) (Database, error) + type DbmsAttributes struct + PasswordEncryption string + type Deployment struct + AppID string + CreatedAt *time.Time + Duration int + GitRef string + ID string + Image string + ImageSize uint64 + Links *DeploymentLinks + PostdeployHook string + Registry string + StackBaseImage string + Status DeploymentStatus + User *User + func (d *Deployment) HasFailed() bool + func (d *Deployment) IsFinished() bool + type DeploymentEvent struct + Data json.RawMessage + ID string + Type DeploymentEventType + type DeploymentEventDataLog struct + Content string + type DeploymentEventDataStatus struct + Status DeploymentStatus + type DeploymentEventType string + const DeploymentEventTypeLog + const DeploymentEventTypeNew + const DeploymentEventTypePing + const DeploymentEventTypeStatus + type DeploymentLinks struct + Output string + type DeploymentList struct + Deployments []*Deployment + Meta struct{ ... } + type DeploymentStatus string + const StatusAborted + const StatusBuildError + const StatusBuilding + const StatusCrashedError + const StatusHookError + const StatusPushing + const StatusQueued + const StatusStarting + const StatusSuccess + const StatusTimeoutError + type DeploymentsCreateParams struct + GitRef *string + SourceURL string + type DeploymentsCreateRes struct + Deployment *Deployment + type DeploymentsService interface + Deployment func(ctx context.Context, app string, deploy string) (*Deployment, error) + DeploymentList func(ctx context.Context, app string) ([]*Deployment, error) + DeploymentListWithPagination func(ctx context.Context, app string, opts PaginationOpts) ([]*Deployment, PaginationMeta, error) + DeploymentLogs func(ctx context.Context, deployURL string) (*http.Response, error) + DeploymentStream func(ctx context.Context, deployURL string) (*websocket.Conn, error) + DeploymentsCreate func(ctx context.Context, app string, params *DeploymentsCreateParams) (*Deployment, error) + type DeprecationDate struct + func (deprecationDate *DeprecationDate) UnmarshalJSON(b []byte) error + type DetailedEvent interface + GetEvent func() *Event + PrintableType func() string + TypeDataPtr func() interface{} + When func() string + Who func() string + type DetailedNotifier interface + GetID func() string + GetName func() string + GetNotifier func() *Notifier + GetSelectedEventIDs func() []string + GetSendAllAlerts func() bool + GetSendAllEvents func() bool + GetType func() NotifierType + IsActive func() bool + TypeDataMap func() map[string]interface{} + TypeDataPtr func() interface{} + When func() string + func NewDetailedNotifier(notifierType string, params NotifierParams) DetailedNotifier + type Domain struct + AcmeDNSError ACMEErrorVariables + AcmeDNSFqdn string + AcmeDNSValue string + AppID string + Canonical bool + ID string + LetsEncrypt bool + LetsEncryptEnabled bool + LetsEncryptStatus LetsEncryptStatus + Name string + SSL bool + SslStatus SslStatus + TLSCert string + TLSKey string + Validity time.Time + type DomainRes struct + Domain Domain + type DomainsAddParams struct + Canonical *bool + LetsEncryptEnabled *bool + Name string + TLSCert *string + TLSKey *string + type DomainsRes struct + Domains []Domain + type DomainsService interface + DomainSetCanonical func(ctx context.Context, app, id string) (Domain, error) + DomainSetCertificate func(ctx context.Context, app, id, tlsCert, tlsKey string) (Domain, error) + DomainUnsetCanonical func(ctx context.Context, app string) (Domain, error) + DomainUnsetCertificate func(ctx context.Context, app, id string) (Domain, error) + DomainsAdd func(ctx context.Context, app string, d DomainsAddParams) (Domain, error) + DomainsList func(ctx context.Context, app string) ([]Domain, error) + DomainsRemove func(ctx context.Context, app string, id string) error + DomainsUpdate func(ctx context.Context, app string, id string, d DomainsUpdateParams) (Domain, error) + type DomainsUpdateParams struct + Canonical *bool + LetsEncryptEnabled *bool + TLSCert *string + TLSKey *string + type DownloadURLRes struct + DownloadURL string + type Event struct + AppID string + AppName string + CreatedAt time.Time + ID string + RawTypeData json.RawMessage + Type EventTypeName + TypeData map[string]interface{} + User EventUser + func (ev *Event) GetEvent() *Event + func (ev *Event) PrintableType() string + func (ev *Event) String() string + func (ev *Event) TypeDataPtr() interface{} + func (ev *Event) When() string + func (ev *Event) Who() string + func (pev *Event) Specialize() DetailedEvent + type EventAcceptCollaboratorType struct + TypeData EventAcceptCollaboratorTypeData + func (e *EventAcceptCollaboratorType) TypeDataPtr() interface{} + func (ev *EventAcceptCollaboratorType) String() string + type EventAcceptCollaboratorTypeData struct + Collaborator EventCollaborator + type EventAddCreditType struct + TypeData EventAddCreditTypeData + func (e *EventAddCreditType) TypeDataPtr() interface{} + func (ev *EventAddCreditType) String() string + type EventAddCreditTypeData struct + Amount float64 + PaymentMethod string + type EventAddPaymentMethodType struct + TypeData EventAddPaymentMethodTypeData + func (e *EventAddPaymentMethodType) TypeDataPtr() interface{} + func (ev *EventAddPaymentMethodType) String() string + type EventAddPaymentMethodTypeData struct + type EventAddVoucherType struct + TypeData EventAddVoucherTypeData + func (e *EventAddVoucherType) TypeDataPtr() interface{} + func (ev *EventAddVoucherType) String() string + type EventAddVoucherTypeData struct + Code string + type EventAddon struct + AddonProviderName string + PlanName string + ResourceID string + type EventAddonUpdatedType struct + TypeData EventAddonUpdatedTypeData + func (e *EventAddonUpdatedType) TypeDataPtr() interface{} + func (ev *EventAddonUpdatedType) String() string + type EventAddonUpdatedTypeData struct + AddonID string + AddonPlanName string + AddonProviderID string + AddonProviderName string + AddonResourceID string + AttributesChanged []string + Status []AddonStatus + type EventAlertType struct + TypeData EventAlertTypeData + func (e *EventAlertType) TypeDataPtr() interface{} + func (ev *EventAlertType) String() string + type EventAlertTypeData struct + Activated bool + Limit float64 + LimitText string + Metric string + RawLimit float64 + RawValue float64 + SendWhenBelow bool + SenderName string + Value float64 + ValueText string + type EventAuthorizeGithubType struct + TypeData EventAuthorizeGithubTypeData + func (e *EventAuthorizeGithubType) TypeDataPtr() interface{} + func (ev *EventAuthorizeGithubType) String() string + type EventAuthorizeGithubTypeData struct + GithubUser struct{ ... } + type EventCategory struct + ID string + Name string + Position int + type EventCollaborator struct + Inviter EventUser + type EventCompleteDatabaseMaintenanceType struct + TypeData EventCompleteDatabaseMaintenanceTypeData + func (e *EventCompleteDatabaseMaintenanceType) TypeDataPtr() interface{} + func (ev *EventCompleteDatabaseMaintenanceType) String() string + func (ev *EventCompleteDatabaseMaintenanceType) Who() string + type EventCompleteDatabaseMaintenanceTypeData struct + AddonName string + MaintenanceID string + MaintenanceType string + MaintenanceWindowInHours int + NextMaintenanceWindow time.Time + type EventCrashType struct + TypeData EventCrashTypeData + func (e *EventCrashType) TypeDataPtr() interface{} + func (ev *EventCrashType) String() string + type EventCrashTypeData struct + ContainerType string + CrashLogs string + LogsURL string + type EventCreateDataAccessConsentType struct + TypeData EventCreateDataAccessConsentTypeData + func (e *EventCreateDataAccessConsentType) TypeDataPtr() interface{} + func (ev *EventCreateDataAccessConsentType) String() string + type EventCreateDataAccessConsentTypeData struct + Containers bool + Databases bool + EndAt time.Time + type EventCreateReviewAppType struct + TypeData EventCreateReviewAppTypeData + func (e *EventCreateReviewAppType) TypeDataPtr() interface{} + func (ev *EventCreateReviewAppType) String() string + type EventCreateReviewAppTypeData struct + AppID string + PullRequestComesFromFork bool + PullRequestName string + PullRequestNumber int + PullRequestURL string + ReviewAppName string + ReviewAppURL string + SourceRepoName string + SourceRepoURL string + type EventDatabaseAddFeatureType struct + TypeData EventDatabaseAddFeatureTypeData + func (e *EventDatabaseAddFeatureType) TypeDataPtr() interface{} + func (ev *EventDatabaseAddFeatureType) String() string + type EventDatabaseAddFeatureTypeData struct + AddonProviderID string + AddonProviderName string + AddonUUID string + Feature string + type EventDatabaseRemoveFeatureType struct + TypeData EventDatabaseRemoveFeatureTypeData + func (e *EventDatabaseRemoveFeatureType) TypeDataPtr() interface{} + func (ev *EventDatabaseRemoveFeatureType) String() string + type EventDatabaseRemoveFeatureTypeData struct + AddonProviderID string + AddonProviderName string + AddonUUID string + Feature string + type EventDeleteAddonLogDrainType struct + TypeData EventDeleteAddonLogDrainTypeData + func (e *EventDeleteAddonLogDrainType) TypeDataPtr() interface{} + func (ev *EventDeleteAddonLogDrainType) String() string + type EventDeleteAddonLogDrainTypeData struct + AddonName string + AddonUUID string + URL string + type EventDeleteAddonType struct + TypeData EventDeleteAddonTypeData + func (e *EventDeleteAddonType) TypeDataPtr() interface{} + func (ev *EventDeleteAddonType) String() string + type EventDeleteAddonTypeData struct + type EventDeleteAlertType struct + TypeData EventDeleteAlertTypeData + func (e *EventDeleteAlertType) TypeDataPtr() interface{} + func (ev *EventDeleteAlertType) String() string + type EventDeleteAlertTypeData struct + ContainerType string + Metric string + type EventDeleteAppType struct + func (e *EventDeleteAppType) TypeDataPtr() interface{} + func (ev *EventDeleteAppType) String() string + type EventDeleteAutoscalerType struct + TypeData EventDeleteAutoscalerTypeData + func (e *EventDeleteAutoscalerType) TypeDataPtr() interface{} + func (ev *EventDeleteAutoscalerType) String() string + type EventDeleteAutoscalerTypeData struct + ContainerType string + Metric string + type EventDeleteCollaboratorType struct + TypeData EventDeleteCollaboratorTypeData + func (e *EventDeleteCollaboratorType) TypeDataPtr() interface{} + func (ev *EventDeleteCollaboratorType) String() string + type EventDeleteCollaboratorTypeData struct + Collaborator EventCollaborator + type EventDeleteDomainType struct + TypeData EventDeleteDomainTypeData + func (e *EventDeleteDomainType) TypeDataPtr() interface{} + func (ev *EventDeleteDomainType) String() string + type EventDeleteDomainTypeData struct + Hostname string + type EventDeleteIntegrationType struct + TypeData EventDeleteIntegrationTypeData + func (e *EventDeleteIntegrationType) TypeDataPtr() interface{} + func (ev *EventDeleteIntegrationType) String() string + type EventDeleteIntegrationTypeData struct + Data struct{ ... } + IntegrationID string + IntegrationType SCMType + type EventDeleteKeyType struct + TypeData EventDeleteKeyTypeData + func (e *EventDeleteKeyType) TypeDataPtr() interface{} + func (ev *EventDeleteKeyType) String() string + type EventDeleteKeyTypeData struct + Name string + type EventDeleteLogDrainType struct + TypeData EventDeleteLogDrainTypeData + func (e *EventDeleteLogDrainType) TypeDataPtr() interface{} + func (ev *EventDeleteLogDrainType) String() string + type EventDeleteLogDrainTypeData struct + URL string + type EventDeleteNotifierType struct + TypeData EventDeleteNotifierTypeData + func (e *EventDeleteNotifierType) TypeDataPtr() interface{} + func (ev *EventDeleteNotifierType) String() string + type EventDeleteNotifierTypeData struct + Active bool + NotifierName string + NotifierType string + NotifierTypeData map[string]interface{} + PlatformName string + SelectedEvents []string + SendAllEvents bool + type EventDeleteTokenType struct + TypeData EventDeleteTokenTypeData + func (e *EventDeleteTokenType) TypeDataPtr() interface{} + func (ev *EventDeleteTokenType) String() string + type EventDeleteTokenTypeData struct + TokenID string + TokenName string + type EventDeleteVariableType struct + TypeData EventDeleteVariableTypeData + func (e *EventDeleteVariableType) TypeDataPtr() interface{} + func (ev *EventDeleteVariableType) String() string + type EventDeleteVariableTypeData struct + type EventDeploymentType struct + TypeData EventDeploymentTypeData + func (e *EventDeploymentType) TypeDataPtr() interface{} + func (ev *EventDeploymentType) String() string + type EventDeploymentTypeData struct + DeploymentID string + DeploymentUUID string + Duration int + GitRef string + Pusher string + Status string + type EventDestroyReviewAppType struct + TypeData EventCreateReviewAppTypeData + func (e *EventDestroyReviewAppType) TypeDataPtr() interface{} + func (ev *EventDestroyReviewAppType) String() string + type EventDestroyReviewAppTypeData struct + AppID string + PullRequestComesFromFork bool + PullRequestName string + PullRequestNumber int + PullRequestURL string + ReviewAppName string + SourceRepoName string + SourceRepoURL string + type EventEditAppType struct + TypeData EventEditAppTypeData + func (e *EventEditAppType) TypeDataPtr() interface{} + func (ev *EventEditAppType) String() string + type EventEditAppTypeData struct + ForceHTTPS *bool + type EventEditAutoscalerType struct + TypeData EventEditAutoscalerTypeData + func (e *EventEditAutoscalerType) TypeDataPtr() interface{} + func (ev *EventEditAutoscalerType) String() string + type EventEditAutoscalerTypeData struct + ContainerType string + MaxContainers int + Metric string + MinContainers int + Target float64 + TargetText string + type EventEditDomainType struct + TypeData EventEditDomainTypeData + func (e *EventEditDomainType) TypeDataPtr() interface{} + func (ev *EventEditDomainType) String() string + type EventEditDomainTypeData struct + Hostname string + OldSSL bool + SSL bool + type EventEditHDSContactType struct + TypeData EventEditHDSContactTypeData + func (e *EventEditHDSContactType) TypeDataPtr() interface{} + func (ev *EventEditHDSContactType) String() string + type EventEditHDSContactTypeData struct + AddressCity string + AddressCountry string + AddressLine1 string + AddressLine2 string + AddressZip string + Company string + Email string + Name string + Notes string + PhoneNumber string + type EventEditKeyType struct + TypeData EventEditKeyTypeData + func (e *EventEditKeyType) TypeDataPtr() interface{} + func (ev *EventEditKeyType) String() string + type EventEditKeyTypeData struct + Fingerprint string + Name string + type EventEditNotifierType struct + TypeData EventEditNotifierTypeData + func (e *EventEditNotifierType) TypeDataPtr() interface{} + func (ev *EventEditNotifierType) String() string + type EventEditNotifierTypeData struct + Active bool + NotifierName string + NotifierType string + NotifierTypeData map[string]interface{} + PlatformName string + SelectedEvents []string + SendAllEvents bool + type EventEditVariableType struct + TypeData EventEditVariableTypeData + func (e *EventEditVariableType) TypeDataPtr() interface{} + func (ev *EventEditVariableType) String() string + func (ev *EventEditVariableType) Who() string + type EventEditVariableTypeData struct + AddonName string + OldValue string + type EventEditVariablesType struct + TypeData EventEditVariablesTypeData + func (e *EventEditVariablesType) TypeDataPtr() interface{} + func (ev *EventEditVariablesType) String() string + type EventEditVariablesTypeData struct + DeletedVars EventVariables + NewVars EventVariables + UpdatedVars EventVariables + type EventLinkGithubType struct + TypeData EventLinkGithubTypeData + func (e *EventLinkGithubType) TypeDataPtr() interface{} + func (ev *EventLinkGithubType) String() string + type EventLinkGithubTypeData struct + GithubSource string + LinkerUsername string + RepoName string + type EventLinkSCMType struct + TypeData EventLinkSCMTypeData + func (e *EventLinkSCMType) TypeDataPtr() interface{} + func (ev *EventLinkSCMType) String() string + type EventLinkSCMTypeData struct + AutoDeploy bool + AutoDeployReviewApps bool + Branch string + CreationFromForksAllowed bool + DeleteOnClose bool + DeleteStale bool + HoursBeforeDeleteOnClose int + HoursBeforeDeleteStale int + LinkerUsername string + RepoName string + Source string + type EventLoginFailureType struct + TypeData EventLoginFailureTypeData + func (e *EventLoginFailureType) TypeDataPtr() interface{} + func (ev *EventLoginFailureType) String() string + type EventLoginFailureTypeData EventSecurityTypeData + type EventLoginLockType struct + TypeData EventLoginLockTypeData + func (e *EventLoginLockType) TypeDataPtr() interface{} + func (ev *EventLoginLockType) String() string + type EventLoginLockTypeData EventSecurityTypeData + type EventLoginSuccessType struct + TypeData EventLoginSuccessTypeData + func (e *EventLoginSuccessType) TypeDataPtr() interface{} + func (ev *EventLoginSuccessType) String() string + type EventLoginSuccessTypeData EventSecurityTypeData + type EventLoginUnlockSuccessType struct + TypeData EventLoginUnlockSuccessTypeData + func (e *EventLoginUnlockSuccessType) TypeDataPtr() interface{} + func (ev *EventLoginUnlockSuccessType) String() string + type EventLoginUnlockSuccessTypeData EventSecurityTypeData + type EventNewAddonLogDrainType struct + TypeData EventNewAddonLogDrainTypeData + func (e *EventNewAddonLogDrainType) TypeDataPtr() interface{} + func (ev *EventNewAddonLogDrainType) String() string + type EventNewAddonLogDrainTypeData struct + AddonName string + AddonUUID string + URL string + type EventNewAddonType struct + TypeData EventNewAddonTypeData + func (e *EventNewAddonType) TypeDataPtr() interface{} + func (ev *EventNewAddonType) String() string + type EventNewAddonTypeData struct + type EventNewAlertType struct + TypeData EventNewAlertTypeData + func (e *EventNewAlertType) TypeDataPtr() interface{} + func (ev *EventNewAlertType) String() string + type EventNewAlertTypeData struct + ContainerType string + Limit float64 + LimitText string + Metric string + SendWhenBelow bool + type EventNewAppType struct + TypeData EventNewAppTypeData + func (e *EventNewAppType) TypeDataPtr() interface{} + func (ev *EventNewAppType) String() string + type EventNewAppTypeData struct + GitSource string + type EventNewAutoscalerType struct + TypeData EventNewAutoscalerTypeData + func (e *EventNewAutoscalerType) TypeDataPtr() interface{} + func (ev *EventNewAutoscalerType) String() string + type EventNewAutoscalerTypeData struct + ContainerType string + MaxContainers int + Metric string + MinContainers int + Target float64 + TargetText string + type EventNewCollaboratorType struct + TypeData EventNewCollaboratorTypeData + func (e *EventNewCollaboratorType) TypeDataPtr() interface{} + func (ev *EventNewCollaboratorType) String() string + type EventNewCollaboratorTypeData struct + Collaborator EventCollaborator + type EventNewDomainType struct + TypeData EventNewDomainTypeData + func (e *EventNewDomainType) TypeDataPtr() interface{} + func (ev *EventNewDomainType) String() string + type EventNewDomainTypeData struct + Hostname string + SSL bool + type EventNewIntegrationType struct + TypeData EventNewIntegrationTypeData + func (e *EventNewIntegrationType) TypeDataPtr() interface{} + func (ev *EventNewIntegrationType) String() string + type EventNewIntegrationTypeData struct + Data struct{ ... } + IntegrationID string + IntegrationType SCMType + type EventNewKeyType struct + TypeData EventNewKeyTypeData + func (e *EventNewKeyType) TypeDataPtr() interface{} + func (ev *EventNewKeyType) String() string + type EventNewKeyTypeData struct + Fingerprint string + Name string + type EventNewLogDrainType struct + TypeData EventNewLogDrainTypeData + func (e *EventNewLogDrainType) TypeDataPtr() interface{} + func (ev *EventNewLogDrainType) String() string + type EventNewLogDrainTypeData struct + URL string + type EventNewNotifierType struct + TypeData EventNewNotifierTypeData + func (e *EventNewNotifierType) TypeDataPtr() interface{} + func (ev *EventNewNotifierType) String() string + type EventNewNotifierTypeData struct + Active bool + NotifierName string + NotifierType string + NotifierTypeData map[string]interface{} + PlatformName string + SelectedEvents []string + SendAllEvents bool + type EventNewTokenType struct + TypeData EventNewTokenTypeData + func (e *EventNewTokenType) TypeDataPtr() interface{} + func (ev *EventNewTokenType) String() string + type EventNewTokenTypeData struct + TokenID string + TokenName string + type EventNewUserType struct + TypeData EventNewUserTypeData + func (e *EventNewUserType) TypeDataPtr() interface{} + func (ev *EventNewUserType) String() string + type EventNewUserTypeData struct + type EventNewVariableType struct + TypeData EventNewVariableTypeData + func (e *EventNewVariableType) TypeDataPtr() interface{} + func (ev *EventNewVariableType) String() string + func (ev *EventNewVariableType) Who() string + type EventNewVariableTypeData struct + AddonName string + type EventPasswordResetQueryType struct + TypeData EventPasswordResetQueryTypeData + func (e *EventPasswordResetQueryType) TypeDataPtr() interface{} + func (ev *EventPasswordResetQueryType) String() string + type EventPasswordResetQueryTypeData EventSecurityTypeData + type EventPasswordResetSuccessType struct + TypeData EventPasswordResetSuccessTypeData + func (e *EventPasswordResetSuccessType) TypeDataPtr() interface{} + func (ev *EventPasswordResetSuccessType) String() string + type EventPasswordResetSuccessTypeData EventSecurityTypeData + type EventPaymentAttemptType struct + TypeData EventPaymentAttemptTypeData + func (e *EventPaymentAttemptType) TypeDataPtr() interface{} + func (ev *EventPaymentAttemptType) String() string + type EventPaymentAttemptTypeData struct + Amount float32 + PaymentMethod string + Status string + type EventPlanDatabaseMaintenanceType struct + TypeData EventPlanDatabaseMaintenanceTypeData + func (e *EventPlanDatabaseMaintenanceType) TypeDataPtr() interface{} + func (ev *EventPlanDatabaseMaintenanceType) String() string + func (ev *EventPlanDatabaseMaintenanceType) Who() string + type EventPlanDatabaseMaintenanceTypeData struct + AddonName string + MaintenanceID string + MaintenanceType string + MaintenanceWindowInHours int + NextMaintenanceWindow time.Time + type EventRegenerateTokenType struct + TypeData EventRegenerateTokenTypeData + func (e *EventRegenerateTokenType) TypeDataPtr() interface{} + func (ev *EventRegenerateTokenType) String() string + type EventRegenerateTokenTypeData struct + TokenID string + TokenName string + type EventRenameAppType struct + TypeData EventRenameAppTypeData + func (e *EventRenameAppType) TypeDataPtr() interface{} + func (ev *EventRenameAppType) String() string + type EventRenameAppTypeData struct + NewName string + OldName string + type EventRepeatedCrashType struct + TypeData EventRepeatedCrashTypeData + func (e *EventRepeatedCrashType) TypeDataPtr() interface{} + func (ev *EventRepeatedCrashType) String() string + type EventRepeatedCrashTypeData struct + ContainerType string + CrashLogs string + LogsURL string + type EventRestartType struct + TypeData EventRestartTypeData + func (e *EventRestartType) TypeDataPtr() interface{} + func (ev *EventRestartType) String() string + func (ev *EventRestartType) Who() string + type EventRestartTypeData struct + AddonName string + Scope []string + type EventResumeAddonType struct + TypeData EventResumeAddonTypeData + func (e *EventResumeAddonType) TypeDataPtr() interface{} + func (ev *EventResumeAddonType) String() string + type EventResumeAddonTypeData struct + type EventRevokeGithubType struct + func (e *EventRevokeGithubType) TypeDataPtr() interface{} + func (ev *EventRevokeGithubType) String() string + type EventRunType struct + TypeData EventRunTypeData + func (e *EventRunType) TypeDataPtr() interface{} + func (ev *EventRunType) String() string + func (ev *EventRunType) Who() string + type EventRunTypeData struct + AuditLogID string + Command string + Detached bool + type EventScaleType struct + TypeData EventScaleTypeData + func (e *EventScaleType) TypeDataPtr() interface{} + func (ev *EventScaleType) String() string + type EventScaleTypeData struct + Containers map[string]string + PreviousContainers map[string]string + type EventSecurityTypeData struct + RemoteIP string + type EventStackChangedType struct + TypeData EventStackChangedTypeData + func (e *EventStackChangedType) TypeDataPtr() interface{} + func (ev *EventStackChangedType) String() string + type EventStackChangedTypeData struct + CurrentStackID string + CurrentStackName string + PreviousStackID string + PreviousStackName string + type EventStartDatabaseMaintenanceType struct + TypeData EventStartDatabaseMaintenanceTypeData + func (e *EventStartDatabaseMaintenanceType) TypeDataPtr() interface{} + func (ev *EventStartDatabaseMaintenanceType) String() string + func (ev *EventStartDatabaseMaintenanceType) Who() string + type EventStartDatabaseMaintenanceTypeData struct + AddonName string + MaintenanceID string + MaintenanceType string + MaintenanceWindowInHours int + NextMaintenanceWindow time.Time + type EventStartRegionMigrationType struct + TypeData EventStartRegionMigrationTypeData + func (e *EventStartRegionMigrationType) TypeDataPtr() interface{} + func (ev *EventStartRegionMigrationType) String() string + type EventStartRegionMigrationTypeData struct + Destination string + DstAppName string + MigrationID string + Source string + type EventStopAppType struct + TypeData EventStopAppTypeData + func (e *EventStopAppType) TypeDataPtr() interface{} + func (ev *EventStopAppType) String() string + type EventStopAppTypeData struct + Reason string + type EventSuspendAddonType struct + TypeData EventSuspendAddonTypeData + func (e *EventSuspendAddonType) TypeDataPtr() interface{} + func (ev *EventSuspendAddonType) String() string + type EventSuspendAddonTypeData struct + Reason string + type EventTfaDisabledType struct + TypeData EventTfaDisabledTypeData + func (e *EventTfaDisabledType) TypeDataPtr() interface{} + func (ev *EventTfaDisabledType) String() string + type EventTfaDisabledTypeData struct + type EventTfaEnabledType struct + TypeData EventTfaEnabledTypeData + func (e *EventTfaEnabledType) TypeDataPtr() interface{} + func (ev *EventTfaEnabledType) String() string + type EventTfaEnabledTypeData struct + Provider string + type EventTransferAppType struct + TypeData EventTransferAppTypeData + func (e *EventTransferAppType) TypeDataPtr() interface{} + func (ev *EventTransferAppType) String() string + type EventTransferAppTypeData struct + NewOwner EventUser + OldOwner EventUser + type EventType struct + CategoryID string + Description string + DisplayName string + ID string + Name string + Template string + type EventTypeName string + const EventAcceptCollaborator + const EventAddCredit + const EventAddPaymentMethod + const EventAddVoucher + const EventAddonUpdated + const EventAlert + const EventAuthorizeGithub + const EventCompleteDatabaseMaintenance + const EventCrash + const EventCreateDataAccessConsent + const EventCreateReviewApp + const EventDatabaseAddFeature + const EventDatabaseRemoveFeature + const EventDeleteAddon + const EventDeleteAddonLogDrain + const EventDeleteAlert + const EventDeleteApp + const EventDeleteAutoscaler + const EventDeleteCollaborator + const EventDeleteDomain + const EventDeleteIntegration + const EventDeleteKey + const EventDeleteLogDrain + const EventDeleteNotifier + const EventDeleteToken + const EventDeleteVariable + const EventDeployment + const EventDestroyReviewApp + const EventEditApp + const EventEditAutoscaler + const EventEditDomain + const EventEditHDSContact + const EventEditKey + const EventEditNotifier + const EventEditVariable + const EventEditVariables + const EventLinkGithub + const EventLinkSCM + const EventLoginFailure + const EventLoginLock + const EventLoginSuccess + const EventLoginUnlockSuccess + const EventNewAddon + const EventNewAddonLogDrain + const EventNewAlert + const EventNewApp + const EventNewAutoscaler + const EventNewCollaborator + const EventNewDomain + const EventNewIntegration + const EventNewKey + const EventNewLogDrain + const EventNewNotifier + const EventNewToken + const EventNewUser + const EventNewVariable + const EventPasswordResetQuery + const EventPasswordResetSuccess + const EventPaymentAttempt + const EventPlanDatabaseMaintenance + const EventRegenerateToken + const EventRenameApp + const EventRepeatedCrash + const EventRestart + const EventResumeAddon + const EventRevokeGithub + const EventRun + const EventScale + const EventStackChanged + const EventStartDatabaseMaintenance + const EventStartRegionMigration + const EventStopApp + const EventSuspendAddon + const EventTfaDisabled + const EventTfaEnabled + const EventTransferApp + const EventUnlinkGithub + const EventUnlinkSCM + const EventUpdateSCM + const EventUpgradeAddon + const EventUpgradeDatabase + type EventUnlinkGithubType struct + TypeData EventUnlinkGithubTypeData + func (e *EventUnlinkGithubType) TypeDataPtr() interface{} + func (ev *EventUnlinkGithubType) String() string + type EventUnlinkGithubTypeData struct + GithubSource string + RepoName string + UnlinkerUsername string + type EventUnlinkSCMType struct + TypeData EventUnlinkSCMTypeData + func (e *EventUnlinkSCMType) TypeDataPtr() interface{} + func (ev *EventUnlinkSCMType) String() string + type EventUnlinkSCMTypeData struct + RepoName string + Source string + UnlinkerUsername string + type EventUpdateSCMType struct + TypeData EventLinkSCMTypeData + func (e *EventUpdateSCMType) TypeDataPtr() interface{} + func (ev *EventUpdateSCMType) String() string + type EventUpgradeAddonType struct + TypeData EventUpgradeAddonTypeData + func (e *EventUpgradeAddonType) TypeDataPtr() interface{} + func (ev *EventUpgradeAddonType) String() string + type EventUpgradeAddonTypeData struct + NewPlanName string + OldPlanName string + type EventUpgradeDatabaseType struct + TypeData EventUpgradeDatabaseTypeData + func (e *EventUpgradeDatabaseType) TypeDataPtr() interface{} + func (ev *EventUpgradeDatabaseType) String() string + func (ev *EventUpgradeDatabaseType) Who() string + type EventUpgradeDatabaseTypeData struct + AddonName string + NewVersion string + OldVersion string + type EventUser struct + Email string + ID string + Username string + type EventVariable struct + Name string + Value string + type EventVariables []EventVariable + func (evs EventVariables) Names() string + type Events []DetailedEvent + type EventsRes struct + Events []*Event + Meta struct{ ... } + type EventsService interface + EventCategoriesList func(context.Context) ([]EventCategory, error) + EventTypesList func(context.Context) ([]EventType, error) + EventsList func(ctx context.Context, app string, opts PaginationOpts) (Events, PaginationMeta, error) + UserEventsList func(context.Context, PaginationOpts) (Events, PaginationMeta, error) + type Instance struct + Features []string + Hostname string + ID string + Port int + PrivateIP string + Status InstanceStatus + Type InstanceType + type InstanceStatus string + const InstanceStatusBooting + const InstanceStatusMigrating + const InstanceStatusRemoving + const InstanceStatusRestarting + const InstanceStatusRunning + const InstanceStatusStopped + const InstanceStatusUpgrading + type InstanceType string + const InstanceTypeDBNode + const InstanceTypeHAProxy + const InstanceTypeUtility + type Invoice struct + BillingMonth billingMonthDate + DetailedItems []InvoiceDetailedItem + ID string + InvoiceNumber string + Items []InvoiceItem + PdfURL string + State string + TotalPrice int + TotalPriceWithVat int + VatRate int + type InvoiceDetailedItem struct + App string + ID string + Label string + Price int + type InvoiceItem struct + ID string + Label string + Price int + type InvoiceRes struct + Invoice *Invoice + type Invoices []*Invoice + type InvoicesRes struct + Invoices Invoices + Meta struct{ ... } + type InvoicesService interface + InvoiceShow func(context.Context, string) (*Invoice, error) + InvoicesList func(context.Context, PaginationOpts) (Invoices, PaginationMeta, error) + type Job struct + Command string + LastExecutionDate time.Time + NextExecutionDate time.Time + Size string + type Key struct + Content string + ID string + Name string + type KeyRes struct + Key Key + type KeysRes struct + Keys []Key + type KeysService interface + KeysAdd func(ctx context.Context, name string, content string) (*Key, error) + KeysDelete func(ctx context.Context, id string) error + KeysList func(context.Context) ([]Key, error) + type LetsEncryptStatus string + const LetsEncryptStatusCreated + const LetsEncryptStatusDNSRequired + const LetsEncryptStatusError + const LetsEncryptStatusNew + const LetsEncryptStatusPendingDNS + type ListMaintenanceResponse struct + Maintenance []*Maintenance + Meta struct{ ... } + type ListParams struct + AddonProviders []*AddonProvider + type LogDrain struct + AppID string + URL string + type LogDrainAddParams struct + DrainRegion string + Host string + Port string + Token string + Type string + URL string + type LogDrainAddPayload struct + Drain LogDrainAddParams + type LogDrainRes struct + Drain LogDrain + type LogDrainsRes struct + Drains []LogDrain + type LogDrainsService interface + LogDrainAdd func(ctx context.Context, app string, params LogDrainAddParams) (*LogDrainRes, error) + LogDrainAddonAdd func(ctx context.Context, app string, addonID string, params LogDrainAddParams) (*LogDrainRes, error) + LogDrainAddonRemove func(ctx context.Context, app, addonID string, URL string) error + LogDrainRemove func(ctx context.Context, app, URL string) error + LogDrainsAddonList func(ctx context.Context, app string, addonID string) ([]LogDrain, error) + LogDrainsList func(ctx context.Context, app string) ([]LogDrain, error) + type LoginParams struct + Identifier string + JWT string + OTP string + Password string + type LogsArchiveItem struct + From string + Size int64 + To string + URL string + type LogsArchivesResponse struct + Archives []LogsArchiveItem + HasMore bool + NextCursor string + type LogsArchivesService interface + LogsArchives func(ctx context.Context, app string, page int) (*LogsArchivesResponse, error) + LogsArchivesByCursor func(ctx context.Context, app string, cursor string) (*LogsArchivesResponse, error) + type LogsService interface + Logs func(ctx context.Context, logsURL string, n int, filter string) (*http.Response, error) + LogsURL func(ctx context.Context, app string) (*http.Response, error) + type Maintenance struct + DatabaseID string + EndedAt *time.Time + ID string + StartedAt *time.Time + Status MaintenanceStatus + Type string + type MaintenanceStatus string + const MaintenanceStatusCancelled + const MaintenanceStatusDone + const MaintenanceStatusFailed + const MaintenanceStatusNotified + const MaintenanceStatusQueued + const MaintenanceStatusRunning + const MaintenanceStatusScheduled + type MaintenanceWindow struct + DurationInHour int + StartingHourUTC int + WeekdayUTC int + type MaintenanceWindowParams struct + StartingHourUTC *int + WeekdayUTC *int + type MockSubresourceService struct + func NewMockSubresourceService(ctrl *gomock.Controller) *MockSubresourceService + func (m *MockSubresourceService) EXPECT() *MockSubresourceServiceMockRecorder + type MockSubresourceServiceMockRecorder struct + type NotificationPlatform struct + AvailableEventIDs []string + Description string + DisplayName string + ID string + LogoURL string + Name string + type NotificationPlatformsService interface + NotificationPlatformByName func(ctx context.Context, name string) ([]*NotificationPlatform, error) + NotificationPlatformsList func(context.Context) ([]*NotificationPlatform, error) + type Notifier struct + Active *bool + AppID string + CreatedAt time.Time + ID string + Name string + PlatformID string + RawTypeData json.RawMessage + SelectedEventIDs []string + SendAllAlerts *bool + SendAllEvents *bool + Type NotifierType + TypeData map[string]interface{} + UpdatedAt time.Time + func (n *Notifier) GetID() string + func (n *Notifier) GetName() string + func (n *Notifier) GetNotifier() *Notifier + func (n *Notifier) GetSelectedEventIDs() []string + func (n *Notifier) GetSendAllAlerts() bool + func (n *Notifier) GetSendAllEvents() bool + func (n *Notifier) GetType() NotifierType + func (n *Notifier) IsActive() bool + func (n *Notifier) Specialize() DetailedNotifier + func (n *Notifier) TypeDataMap() map[string]interface{} + func (n *Notifier) TypeDataPtr() interface{} + func (n *Notifier) When() string + type NotifierEmailType struct + TypeData NotifierEmailTypeData + func (n *NotifierEmailType) TypeDataMap() map[string]interface{} + func (n *NotifierEmailType) TypeDataPtr() interface{} + type NotifierEmailTypeData struct + Emails []string + UserIDs []string + type NotifierOutput struct + RawTypeData omit + TypeData NotifierTypeDataParams + type NotifierParams struct + Active *bool + Emails []string + Name string + PhoneNumber string + PlatformID string + SelectedEventIDs []string + SendAllAlerts *bool + SendAllEvents *bool + UserIDs []string + WebhookURL string + type NotifierSlackType struct + TypeData NotifierSlackTypeData + func (n *NotifierSlackType) TypeDataMap() map[string]interface{} + func (n *NotifierSlackType) TypeDataPtr() interface{} + type NotifierSlackTypeData struct + WebhookURL string + type NotifierType string + const NotifierEmail + const NotifierSlack + const NotifierWebhook + type NotifierTypeDataParams struct + Emails []string + PhoneNumber string + UserIDs []string + WebhookURL string + type NotifierWebhookType struct + TypeData NotifierWebhookTypeData + func (n *NotifierWebhookType) TypeDataMap() map[string]interface{} + func (n *NotifierWebhookType) TypeDataPtr() interface{} + type NotifierWebhookTypeData struct + WebhookURL string + type Notifiers []DetailedNotifier + type NotifiersService interface + NotifierByID func(ctx context.Context, app, ID string) (*Notifier, error) + NotifierDestroy func(ctx context.Context, app, ID string) error + NotifierProvision func(ctx context.Context, app string, params NotifierParams) (*Notifier, error) + NotifierUpdate func(ctx context.Context, app, ID string, params NotifierParams) (*Notifier, error) + NotifiersList func(ctx context.Context, app string) (Notifiers, error) + type Operation struct + AppID string + CreatedAt time.Time + Error string + FinishedAt time.Time + ID string + StartOneOffData OperationStartOneOffData + Status OperationStatus + Type OperationType + func (op *Operation) ElapsedDuration() float64 + type OperationResponse struct + Op Operation + type OperationStartOneOffData struct + AttachURL string + ContainerID string + type OperationStatus string + const OperationStatusDone + const OperationStatusError + const OperationStatusPending + const OperationStatusRunning + type OperationType string + const OperationTypeScale + const OperationTypeStart + const OperationTypeStartOneOff + type OperationsService interface + OperationsShow func(ctx context.Context, app, opID string) (*Operation, error) + type Owner struct + Email string + ID string + Username string + type PaginationMeta struct + CurrentPage int + NextPage int + PrevPage int + TotalCount int + TotalPages int + type PaginationOpts struct + Page int + PerPage int + func (opts PaginationOpts) ToMap() map[string]string + type Plan struct + Description string + Disabled bool + DisabledAlternativePlanID bool + DisplayName string + HDSAvailable bool + ID string + Name string + OnDemand bool + Position int + SKU string + type PlansParams struct + Plans []*Plan + type PlatformRes struct + NotificationPlatform *NotificationPlatform + type PlatformsRes struct + NotificationPlatforms []*NotificationPlatform + type PullRequest struct + BaseRef string + BranchName string + ClosedAt time.Time + CreatedAt time.Time + HTMLURL string + Number int + Ref string + Title string + URL string + type Region struct + API string + Dashboard string + DatabaseAPI string + Default bool + DisplayName string + Name string + SSH string + type RegionMigration struct + AppID string + Destination string + DstAppName string + FinishedAt time.Time + ID string + NewAppID string + Source string + SrcAppName string + StartedAt time.Time + Status RegionMigrationStatus + Steps Steps + type RegionMigrationParams struct + Destination string + DstAppName string + type RegionMigrationStatus string + type RegionMigrationStep string + type RegionMigrationsService interface + CreateRegionMigration func(ctx context.Context, appID string, params RegionMigrationParams) (RegionMigration, error) + ListRegionMigrations func(ctx context.Context, appID string) ([]RegionMigration, error) + RunRegionMigrationStep func(ctx context.Context, appID, migrationID string, step RegionMigrationStep) error + ShowRegionMigration func(ctx context.Context, appID, migrationID string) (RegionMigration, error) + type RegionsService interface + RegionsList func(context.Context) ([]Region, error) + type RepoLinkPullRequest struct + HTMLURL string + ID int + Number int + OpenedFromAForkedRepo bool + SourceRepoHTMLURL string + SourceRepoName string + Title string + type ReviewApp struct + AppID string + AppName string + CreatedAt time.Time + ID string + LastDeployment *Deployment + OnCloseDeletionDate time.Time + ParentAppID string + ParentAppName string + PullRequest *PullRequest + RepoLinkID string + StaleDeletionDate time.Time + type RunOpts struct + App string + Async bool + Command []string + Detached bool + Env map[string]string + HasUploads bool + Size string + type RunRes struct + AttachURL string + Container *Container + OperationURL string + type RunsService interface + Run func(ctx context.Context, opts RunOpts) (*RunRes, error) + type SCMIntegration struct + AccessToken string + AvatarURL string + CreatedAt time.Time + Email string + ID string + Owner Owner + ProfileURL string + SCMType SCMType + UID string + URL string + Username string + type SCMIntegrationParams struct + AccessToken string + SCMType SCMType + URL string + type SCMIntegrationParamsReq struct + SCMIntegrationParams SCMIntegrationParams + type SCMIntegrationRes struct + SCMIntegration SCMIntegration + type SCMIntegrationsRes struct + SCMIntegrations []SCMIntegration + type SCMIntegrationsService interface + SCMIntegrationsCreate func(ctx context.Context, scmType SCMType, url string, accessToken string) (*SCMIntegration, error) + SCMIntegrationsDelete func(ctx context.Context, id string) error + SCMIntegrationsImportKeys func(ctx context.Context, id string) ([]Key, error) + SCMIntegrationsList func(context.Context) ([]SCMIntegration, error) + SCMIntegrationsShow func(ctx context.Context, id string) (*SCMIntegration, error) + type SCMRepoLink struct + AppID string + AuthIntegrationUUID string + AutoDeployEnabled bool + AutomaticCreationFromForksAllowed bool + Branch string + CreatedAt time.Time + DeleteOnCloseEnabled bool + DeleteStaleEnabled bool + DeployReviewAppsEnabled bool + HoursBeforeDeleteOnClose uint + HoursBeforeDeleteStale uint + ID string + LastAutoDeployAt time.Time + Linker SCMRepoLinkLinker + Owner string + Repo string + SCMType SCMType + URL string + UpdatedAt time.Time + type SCMRepoLinkCreateParams struct + AuthIntegrationUUID *string + AutoDeployEnabled *bool + AutomaticCreationFromForksAllowed *bool + Branch *string + DeployReviewAppsEnabled *bool + DestroyOnCloseEnabled *bool + DestroyStaleEnabled *bool + HoursBeforeDeleteOnClose *uint + HoursBeforeDeleteStale *uint + Source *string + type SCMRepoLinkDeploymentsResponse struct + Deployments []*Deployment + type SCMRepoLinkLinker struct + Email string + ID string + Username string + type SCMRepoLinkManualDeployResponse struct + Deployment *Deployment + type SCMRepoLinkPullRequestResponse struct + Pull RepoLinkPullRequest + type SCMRepoLinkReviewAppsResponse struct + ReviewApps []*ReviewApp + type SCMRepoLinkService interface + SCMRepoLinkCreate func(ctx context.Context, app string, params SCMRepoLinkCreateParams) (*SCMRepoLink, error) + SCMRepoLinkDelete func(ctx context.Context, app string) error + SCMRepoLinkDeployments func(ctx context.Context, app string) ([]*Deployment, error) + SCMRepoLinkList func(ctx context.Context, opts PaginationOpts) ([]*SCMRepoLink, PaginationMeta, error) + SCMRepoLinkManualDeploy func(ctx context.Context, app, branch string) (*Deployment, error) + SCMRepoLinkManualReviewApp func(ctx context.Context, app, pullRequestID string) error + SCMRepoLinkPullRequest func(ctx context.Context, app string, number int) (*RepoLinkPullRequest, error) + SCMRepoLinkReviewApps func(ctx context.Context, app string) ([]*ReviewApp, error) + SCMRepoLinkShow func(ctx context.Context, app string) (*SCMRepoLink, error) + SCMRepoLinkUpdate func(ctx context.Context, app string, params SCMRepoLinkUpdateParams) (*SCMRepoLink, error) + type SCMRepoLinkUpdateParams struct + AutoDeployEnabled *bool + AutomaticCreationFromForksAllowed *bool + Branch *string + DeployReviewAppsEnabled *bool + DestroyOnCloseEnabled *bool + DestroyStaleEnabled *bool + HoursBeforeDeleteOnClose *uint + HoursBeforeDeleteStale *uint + type SCMRepoLinksResponse struct + Meta struct{ ... } + SCMRepoLinks []*SCMRepoLink + type SCMType string + const SCMGithubEnterpriseType + const SCMGithubType + const SCMGitlabSelfHostedType + const SCMGitlabType + func (t SCMType) Str() string + type ScmRepoLinkResponse struct + SCMRepoLink *SCMRepoLink + type SelfResponse struct + User *User + type SignUpService interface + SignUp func(ctx context.Context, email, password string) error + type Source struct + DownloadURL string + UploadURL string + type SourcesCreateResponse struct + Source *Source + type SourcesService interface + SourcesCreate func(context.Context) (*Source, error) + type SslStatus string + const SslStatusCreated + const SslStatusNew + const SslStatusPendingDNS + type Stack struct + BaseImage string + CreatedAt time.Time + Default bool + DeprecatedAt DeprecationDate + Description string + ID string + Name string + func (s *Stack) IsDeprecated() bool + type StacksService interface + StacksList func(ctx context.Context) ([]Stack, error) + type StaticTokenGenerator struct + func NewStaticTokenGenerator(token string) *StaticTokenGenerator + func (t *StaticTokenGenerator) GetAccessToken(context.Context) (string, error) + func (t *StaticTokenGenerator) SetClient(c *Client) + type Step struct + ID string + Logs string + Name string + Status StepStatus + type StepStatus string + type Steps []Step + type Token struct + CreatedAt time.Time + ID string + LastUsedAt time.Time + Name string + Token string + type TokenCreateParams struct + Name string + type TokenRes struct + Token Token + type Tokens []*Token + type TokensRes struct + Tokens Tokens + type TokensService interface + TokenCreate func(context.Context, TokenCreateParams) (Token, error) + TokenExchange func(ctx context.Context, token string) (string, error) + TokenShow func(ctx context.Context, id int) (Token, error) + TokensList func(context.Context) (Tokens, error) + type UpdateUserParams struct + Email string + Password string + type UpdateUserResponse struct + User *User + type User struct + Email string + Flags map[string]bool + Fullname string + ID string + Username string + type UsersService interface + Self func(context.Context) (*User, error) + UpdateUser func(context.Context, UpdateUserParams) (*User, error) + UserStopFreeTrial func(context.Context) error + type Variable struct + ID string + Name string + Value string + type VariableSetParams struct + Variable *Variable + type Variables []*Variable + func (vs Variables) Contains(name string) (*Variable, bool) + type VariablesRes struct + Variables Variables + type VariablesService interface + VariableMultipleSet func(ctx context.Context, app string, variables Variables) (Variables, int, error) + VariableSet func(ctx context.Context, app string, name string, value string) (*Variable, int, error) + VariableUnset func(ctx context.Context, app string, id string) error + VariablesList func(ctx context.Context, app string) (Variables, error) + VariablesListWithoutAlias func(ctx context.Context, app string) (Variables, error) Other modules containing this package github.com/Scalingo/go-scalingo github.com/Scalingo/go-scalingo/v4 github.com/Scalingo/go-scalingo/v5 github.com/Scalingo/go-scalingo/v6