Help us shape the future of Go! Take the 2026 Go Developer Survey

gql

package
v1.12.2-0...-eb60e09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package gql is the typed GraphQL client for the vip-cli Go rewrite.

The schema is vendored from the Node project (see SCHEMA.md). Operations live in operations/*.graphql. Run `go generate ./internal/gql/...` to regenerate the typed client into generated.go.

The client is composed of stacked middleware (transport -> retry -> rechallenge -> error-handling, applied outermost-first). Each middleware is a Doer that wraps a next Doer. The rechallenge slot is a no-op in M2; M3 will fill it in with the step-up flow per project_rechallenge_v2.md.

Index

Constants

View Source
const AbortMediaImport_Operation = `` /* 227-byte string literal not displayed */

The mutation executed by AbortMediaImport.

View Source
const AddEnvironmentVariable_Operation = `` /* 180-byte string literal not displayed */

The mutation executed by AddEnvironmentVariable.

View Source
const AppBackupAndJobStatus_Operation = `` /* 503-byte string literal not displayed */

The query executed by AppBackupAndJobStatus.

View Source
const AppBackupJobStatus_Operation = `` /* 318-byte string literal not displayed */

The query executed by AppBackupJobStatus.

View Source
const AppGetByID_Operation = `` /* 218-byte string literal not displayed */

The query executed by AppGetByID.

View Source
const AppGetByName_Operation = `` /* 270-byte string literal not displayed */

The query executed by AppGetByName.

View Source
const AppList_Operation = `` /* 186-byte string literal not displayed */

The query executed by AppList.

View Source
const AppMappedDomains_Operation = `` /* 213-byte string literal not displayed */

The query executed by AppMappedDomains.

View Source
const AppMultiSiteCheck_Operation = `` /* 203-byte string literal not displayed */

The query executed by AppMultiSiteCheck.

View Source
const BackupDBCopy_Operation = `` /* 133-byte string literal not displayed */

The mutation executed by BackupDBCopy.

View Source
const CreateEdgeWorker_Operation = `` /* 262-byte string literal not displayed */

The mutation executed by CreateEdgeWorker.

View Source
const DeleteEdgeWorker_Operation = `
mutation DeleteEdgeWorker ($input: DeleteEdgeWorkerInput!) {
	deleteEdgeWorker(input: $input)
}
`

The mutation executed by DeleteEdgeWorker.

View Source
const DeleteEnvironmentVariable_Operation = `` /* 186-byte string literal not displayed */

The mutation executed by DeleteEnvironmentVariable.

View Source
const DevEnvAppInfo_Operation = `` /* 370-byte string literal not displayed */

The query executed by DevEnvAppInfo.

View Source
const DevEnvSyncSites_Operation = `` /* 289-byte string literal not displayed */

The query executed by DevEnvSyncSites.

View Source
const EdgeWorkerDetailWithSource_Operation = `` /* 323-byte string literal not displayed */

The query executed by EdgeWorkerDetailWithSource.

View Source
const EdgeWorkerDetail_Operation = `` /* 302-byte string literal not displayed */

The query executed by EdgeWorkerDetail.

View Source
const EdgeWorkers_Operation = `` /* 297-byte string literal not displayed */

The query executed by EdgeWorkers.

View Source
const EnablePhpMyAdmin_Operation = `
mutation EnablePhpMyAdmin ($input: EnablePhpMyAdminInput!) {
	enablePHPMyAdmin(input: $input) {
		success
	}
}
`

The mutation executed by EnablePhpMyAdmin.

View Source
const GenerateDBBackupCopyUrl_Operation = `` /* 152-byte string literal not displayed */

The mutation executed by GenerateDBBackupCopyUrl.

View Source
const GenerateLiveBackupCopyDownloadURL_Operation = `` /* 195-byte string literal not displayed */

The mutation executed by GenerateLiveBackupCopyDownloadURL.

View Source
const GeneratePhpMyAdminAccess_Operation = `` /* 132-byte string literal not displayed */

The mutation executed by GeneratePhpMyAdminAccess.

View Source
const GetAppLogs_Operation = `` /* 327-byte string literal not displayed */

The query executed by GetAppLogs.

View Source
const GetAppSlowlogs_Operation = `` /* 346-byte string literal not displayed */

The query executed by GetAppSlowlogs.

View Source
const GetEnvironmentVariablesWithValues_Operation = `` /* 220-byte string literal not displayed */

The query executed by GetEnvironmentVariablesWithValues.

View Source
const GetEnvironmentVariables_Operation = `` /* 199-byte string literal not displayed */

The query executed by GetEnvironmentVariables.

View Source
const ImportSQLEnvInfo_Operation = `` /* 356-byte string literal not displayed */

The query executed by ImportSQLEnvInfo.

View Source
const ImportSQLProgress_Operation = `` /* 547-byte string literal not displayed */

The query executed by ImportSQLProgress.

View Source
const Me_Operation = `
query Me {
	me {
		id
		displayName
		isVIP
		organizationRoles {
			nodes {
				organizationId
				roleId
			}
		}
	}
}
`

The query executed by Me.

View Source
const MediaImportConfig_Operation = `
query MediaImportConfig {
	mediaImportConfig {
		fileNameCharCount
		fileSizeLimitInBytes
		allowedFileTypes
	}
}
`

The query executed by MediaImportConfig.

View Source
const MediaImportProgress_Operation = `` /* 324-byte string literal not displayed */

The query executed by MediaImportProgress.

View Source
const PhpMyAdminStatus_Operation = `` /* 150-byte string literal not displayed */

The query executed by PhpMyAdminStatus.

View Source
const PurgePageCache_Operation = `
mutation PurgePageCache ($input: PurgePageCacheInput!) {
	purgePageCache(input: $input) {
		success
		urls
	}
}
`

The mutation executed by PurgePageCache.

View Source
const ResolveAppByID_Operation = `` /* 184-byte string literal not displayed */

The query executed by ResolveAppByID.

View Source
const ResolveAppByName_Operation = `` /* 233-byte string literal not displayed */

The query executed by ResolveAppByName.

View Source
const SetEdgeWorkerActive_Operation = `` /* 271-byte string literal not displayed */

The mutation executed by SetEdgeWorkerActive.

View Source
const SoftwareSettings_Operation = `` /* 640-byte string literal not displayed */

The query executed by SoftwareSettings.

View Source
const SoftwareUpdateJob_Operation = `` /* 370-byte string literal not displayed */

The query executed by SoftwareUpdateJob.

View Source
const StartCustomDeploy_Operation = `` /* 133-byte string literal not displayed */

The mutation executed by StartCustomDeploy.

View Source
const StartImport_Operation = `` /* 141-byte string literal not displayed */

The mutation executed by StartImport.

View Source
const StartLiveBackupCopy_Operation = `` /* 131-byte string literal not displayed */

The mutation executed by StartLiveBackupCopy.

View Source
const StartMediaImport_Operation = `` /* 205-byte string literal not displayed */

The mutation executed by StartMediaImport.

View Source
const SyncEnvironment_Operation = `` /* 128-byte string literal not displayed */

The mutation executed by SyncEnvironment.

View Source
const SyncPreview_Operation = `` /* 261-byte string literal not displayed */

The query executed by SyncPreview.

View Source
const SyncProgress_Operation = `` /* 212-byte string literal not displayed */

The query executed by SyncProgress.

View Source
const TriggerDatabaseBackup_Operation = `` /* 134-byte string literal not displayed */

The mutation executed by TriggerDatabaseBackup.

View Source
const TriggerWPCLICommand_Operation = `` /* 259-byte string literal not displayed */

The mutation executed by TriggerWPCLICommand.

View Source
const UpdateDefensiveModeConfig_Operation = `` /* 157-byte string literal not displayed */

The mutation executed by UpdateDefensiveModeConfig.

View Source
const UpdateDefensiveModeStatus_Operation = `` /* 163-byte string literal not displayed */

The mutation executed by UpdateDefensiveModeStatus.

View Source
const UpdateEdgeWorker_Operation = `` /* 262-byte string literal not displayed */

The mutation executed by UpdateEdgeWorker.

View Source
const UpdateSoftwareSettings_Operation = `` /* 653-byte string literal not displayed */

The mutation executed by UpdateSoftwareSettings.

View Source
const ValidateCustomDeployAccess_Operation = `` /* 216-byte string literal not displayed */

The mutation executed by ValidateCustomDeployAccess.

View Source
const ValidateEdgeWorker_Operation = `` /* 134-byte string literal not displayed */

The mutation executed by ValidateEdgeWorker.

View Source
const WPEnvInfo_Operation = `` /* 207-byte string literal not displayed */

The query executed by WPEnvInfo.

Variables

Functions

func HTTPClientWithMiddleware

func HTTPClientWithMiddleware(apiHost, token string, mw []Middleware) *http.Client

HTTPClientWithMiddleware returns an *http.Client whose RoundTripper composes the supplied middleware chain via the *Client's Do method. Use this to feed the same chain (error -> rechallenge -> retry) to a genqlient graphql.Client without duplicating the wiring.

The returned *http.Client and the underlying *Client share the same transport.HTTPClient (http.DefaultClient by default), so any rechallenge retry stays on the same connection pool.

func WithAllowGQLErrors

func WithAllowGQLErrors(ctx context.Context) context.Context

WithAllowGQLErrors returns a child context that disables the error middleware's print + exit-on-error behavior for any GraphQL request issued with this context (or one derived from it). Network/401 paths are unaffected — only the GraphQL errors[] check is bypassed.

Types

type AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload

type AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload struct {
	// The unique ID of the Application
	ApplicationId *int64 `json:"applicationId"`
	// The unique ID of the Environment
	EnvironmentId *int64 `json:"environmentId"`
	// Media Import Abort Action Response
	MediaImportStatusChange *AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange `json:"mediaImportStatusChange"`
}

AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload includes the requested fields of the GraphQL type AppEnvironmentAbortMediaImportPayload. The GraphQL type's documentation follows.

Response payload for aborting a Media Import

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload) GetApplicationId

GetApplicationId returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload.ApplicationId, and is useful for accessing the field via an interface.

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload) GetEnvironmentId

GetEnvironmentId returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload.EnvironmentId, and is useful for accessing the field via an interface.

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload) GetMediaImportStatusChange

GetMediaImportStatusChange returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload.MediaImportStatusChange, and is useful for accessing the field via an interface.

type AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange

type AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange struct {
	// Unique Identifier for a Media Import
	ImportId *int64 `json:"importId"`
	// Alias of environmentId
	SiteId *int64 `json:"siteId"`
	// The status of Media Import prior to status change action
	StatusFrom *string `json:"statusFrom"`
	// The status of Media Import after the status change action
	StatusTo *string `json:"statusTo"`
}

AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange includes the requested fields of the GraphQL type AppEnvironmentMediaImportStatusChange. The GraphQL type's documentation follows.

Response payload for executing a status change action on a Media Import

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange) GetImportId

GetImportId returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange.ImportId, and is useful for accessing the field via an interface.

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange) GetSiteId

GetSiteId returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange.SiteId, and is useful for accessing the field via an interface.

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange) GetStatusFrom

GetStatusFrom returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange.StatusFrom, and is useful for accessing the field via an interface.

func (*AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange) GetStatusTo

GetStatusTo returns AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayloadMediaImportStatusChangeAppEnvironmentMediaImportStatusChange.StatusTo, and is useful for accessing the field via an interface.

type AbortMediaImportResponse

type AbortMediaImportResponse struct {
	// Abort a media import.
	AbortMediaImport *AbortMediaImportAbortMediaImportAppEnvironmentAbortMediaImportPayload `json:"abortMediaImport"`
}

AbortMediaImportResponse is returned by AbortMediaImport on success.

func AbortMediaImport

func AbortMediaImport(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentAbortMediaImportInput,
) (data_ *AbortMediaImportResponse, err_ error)

func (*AbortMediaImportResponse) GetAbortMediaImport

GetAbortMediaImport returns AbortMediaImportResponse.AbortMediaImport, and is useful for accessing the field via an interface.

type AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayload

type AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayload struct {
	// The environment variables currently configured on the environment.
	EnvironmentVariables *AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList `json:"environmentVariables"`
}

AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayload includes the requested fields of the GraphQL type EnvironmentVariablesPayload. The GraphQL type's documentation follows.

The updated environment variable list after a mutation.

func (*AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayload) GetEnvironmentVariables

GetEnvironmentVariables returns AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayload.EnvironmentVariables, and is useful for accessing the field via an interface.

type AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList

type AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList struct {
	// The total number of environment variables for this environment
	Total *int64 `json:"total"`
	// The environment variables for this environment
	Nodes []*AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable `json:"nodes"`
}

AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList includes the requested fields of the GraphQL type EnvironmentVariablesList. The GraphQL type's documentation follows.

Customer-provided environment variables / constants

func (*AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList) GetNodes

GetNodes returns AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList.Nodes, and is useful for accessing the field via an interface.

func (*AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList) GetTotal

GetTotal returns AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList.Total, and is useful for accessing the field via an interface.

type AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable

type AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable struct {
	// Environment variable name
	Name string `json:"name"`
}

AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable includes the requested fields of the GraphQL type EnvironmentVariable. The GraphQL type's documentation follows.

Customer-provided environment variable / constant

func (*AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable) GetName

GetName returns AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable.Name, and is useful for accessing the field via an interface.

type AddEnvironmentVariableResponse

type AddEnvironmentVariableResponse struct {
	// Add an environment variable to an application environment.
	AddEnvironmentVariable *AddEnvironmentVariableAddEnvironmentVariableEnvironmentVariablesPayload `json:"addEnvironmentVariable"`
}

AddEnvironmentVariableResponse is returned by AddEnvironmentVariable on success.

func AddEnvironmentVariable

func AddEnvironmentVariable(
	ctx_ context.Context,
	client_ graphql.Client,
	input *EnvironmentVariableInput,
) (data_ *AddEnvironmentVariableResponse, err_ error)

func (*AddEnvironmentVariableResponse) GetAddEnvironmentVariable

GetAddEnvironmentVariable returns AddEnvironmentVariableResponse.AddEnvironmentVariable, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusApp

type AppBackupAndJobStatusApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*AppBackupAndJobStatusAppEnvironmentsAppEnvironment `json:"environments"`
}

AppBackupAndJobStatusApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppBackupAndJobStatusApp) GetEnvironments

GetEnvironments returns AppBackupAndJobStatusApp.Environments, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusApp) GetId

func (v *AppBackupAndJobStatusApp) GetId() *int64

GetId returns AppBackupAndJobStatusApp.Id, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironment

type AppBackupAndJobStatusAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The SQL dump tool used for backups.
	BackupsSqlDumpTool *string `json:"backupsSqlDumpTool"`
	// The most recent backup for the environment.
	LatestBackup *AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup `json:"latestBackup"`
	// Jobs running on or related to the environment.
	Jobs []*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface `json:"-"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironment) GetBackupsSqlDumpTool

func (v *AppBackupAndJobStatusAppEnvironmentsAppEnvironment) GetBackupsSqlDumpTool() *string

GetBackupsSqlDumpTool returns AppBackupAndJobStatusAppEnvironmentsAppEnvironment.BackupsSqlDumpTool, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironment) GetId

GetId returns AppBackupAndJobStatusAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironment) GetJobs

GetJobs returns AppBackupAndJobStatusAppEnvironmentsAppEnvironment.Jobs, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironment) GetLatestBackup

GetLatestBackup returns AppBackupAndJobStatusAppEnvironmentsAppEnvironment.LatestBackup, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironment) MarshalJSON

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironment) UnmarshalJSON

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob struct {
	Typename *string `json:"__typename"`
	// The unique identifier for the job.
	Id *int64 `json:"id"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// Whether the job currently holds an in-progress lock.
	InProgressLock *bool `json:"inProgressLock"`
	// Additional metadata for the job.
	Metadata []*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata `json:"metadata"`
	// The current progress of the job.
	Progress *AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob includes the requested fields of the GraphQL type Job. The GraphQL type's documentation follows.

A background job.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetCompletedAt

GetCompletedAt returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.CompletedAt, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetCreatedAt

GetCreatedAt returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.CreatedAt, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetId

GetId returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.Id, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetInProgressLock

GetInProgressLock returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.InProgressLock, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetMetadata

GetMetadata returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.Metadata, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetProgress

GetProgress returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.Progress, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetType

GetType returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.Type, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetTypename

GetTypename returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob.Typename, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetId returns the interface-field "id" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The unique identifier for the job.
	GetId() *int64
	// GetType returns the interface-field "type" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The job type.
	GetType() *string
	// GetCompletedAt returns the interface-field "completedAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job completed.
	GetCompletedAt() *string
	// GetCreatedAt returns the interface-field "createdAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job was created.
	GetCreatedAt() *string
	// GetInProgressLock returns the interface-field "inProgressLock" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Whether the job currently holds an in-progress lock.
	GetInProgressLock() *bool
	// GetMetadata returns the interface-field "metadata" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Additional metadata for the job.
	GetMetadata() []*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata
	// GetProgress returns the interface-field "progress" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The current progress of the job.
	GetProgress() *AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress
	// contains filtered or unexported methods
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface includes the requested fields of the GraphQL interface JobInterface.

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface is implemented by the following types: AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJob AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob The GraphQL type's documentation follows.

Common fields shared by all job types.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata struct {
	// The metadata key.
	Name *string `json:"name"`
	// The metadata value.
	Value *string `json:"value"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata includes the requested fields of the GraphQL type JobMetadata. The GraphQL type's documentation follows.

A metadata entry attached to a job.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata) GetName

GetName returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata.Name, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata) GetValue

GetValue returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata.Value, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress struct {
	// The current status of the job.
	Status *string `json:"status"`
	// The individual progress steps for the job.
	Steps []*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep `json:"steps"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress includes the requested fields of the GraphQL type JobProgress. The GraphQL type's documentation follows.

Progress details for a job.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetStatus

GetStatus returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Status, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetSteps

GetSteps returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Steps, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep struct {
	// The unique identifier for the step.
	Id *string `json:"id"`
	// The display name of the step.
	Name *string `json:"name"`
	// The step key.
	Step *string `json:"step"`
	// The current status of the step.
	Status *string `json:"status"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep includes the requested fields of the GraphQL type JobProgressStep. The GraphQL type's documentation follows.

A single progress step within a job.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetId

GetId returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Id, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetName

GetName returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Name, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetStatus

GetStatus returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Status, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetStep

GetStep returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Step, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob struct {
	Typename *string `json:"__typename"`
	// The unique identifier for the job.
	Id *int64 `json:"id"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// Whether the job currently holds an in-progress lock.
	InProgressLock *bool `json:"inProgressLock"`
	// Additional metadata for the job.
	Metadata []*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata `json:"metadata"`
	// The current progress of the job.
	Progress *AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob includes the requested fields of the GraphQL type PrimaryDomainSwitchJob. The GraphQL type's documentation follows.

A job that switches an environment's primary domain.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCompletedAt

GetCompletedAt returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CompletedAt, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCreatedAt

GetCreatedAt returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CreatedAt, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetId

GetId returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Id, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetInProgressLock

GetInProgressLock returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.InProgressLock, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetMetadata

GetMetadata returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Metadata, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetProgress

GetProgress returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Progress, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetType

GetType returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Type, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetTypename

GetTypename returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Typename, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup

type AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup struct {
	// The unique identifier for the backup.
	Id *float64 `json:"id"`
	// The backup type.
	Type *string `json:"type"`
	// The backup size in bytes.
	Size *float64 `json:"size"`
	// The backup filename.
	Filename *string `json:"filename"`
	// The SQL dump tool used to generate the backup.
	SqlDumpTool *string `json:"sqlDumpTool"`
	// When the backup was created.
	CreatedAt *string `json:"createdAt"`
}

AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup includes the requested fields of the GraphQL type Backup. The GraphQL type's documentation follows.

A backup available for an environment.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup) GetCreatedAt

GetCreatedAt returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup.CreatedAt, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup) GetFilename

GetFilename returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup.Filename, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup) GetId

GetId returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup.Id, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup) GetSize

GetSize returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup.Size, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup) GetSqlDumpTool

GetSqlDumpTool returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup.SqlDumpTool, and is useful for accessing the field via an interface.

func (*AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup) GetType

GetType returns AppBackupAndJobStatusAppEnvironmentsAppEnvironmentLatestBackup.Type, and is useful for accessing the field via an interface.

type AppBackupAndJobStatusResponse

type AppBackupAndJobStatusResponse struct {
	// Retrieve a single application.
	App *AppBackupAndJobStatusApp `json:"app"`
}

AppBackupAndJobStatusResponse is returned by AppBackupAndJobStatus on success.

func AppBackupAndJobStatus

func AppBackupAndJobStatus(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *AppBackupAndJobStatusResponse, err_ error)

func (*AppBackupAndJobStatusResponse) GetApp

GetApp returns AppBackupAndJobStatusResponse.App, and is useful for accessing the field via an interface.

type AppBackupJobStatusApp

type AppBackupJobStatusApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*AppBackupJobStatusAppEnvironmentsAppEnvironment `json:"environments"`
}

AppBackupJobStatusApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppBackupJobStatusApp) GetEnvironments

GetEnvironments returns AppBackupJobStatusApp.Environments, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusApp) GetId

func (v *AppBackupJobStatusApp) GetId() *int64

GetId returns AppBackupJobStatusApp.Id, and is useful for accessing the field via an interface.

type AppBackupJobStatusAppEnvironmentsAppEnvironment

type AppBackupJobStatusAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// Jobs running on or related to the environment.
	Jobs []*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface `json:"-"`
}

AppBackupJobStatusAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironment) GetId

GetId returns AppBackupJobStatusAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironment) GetJobs

GetJobs returns AppBackupJobStatusAppEnvironmentsAppEnvironment.Jobs, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironment) MarshalJSON

func (*AppBackupJobStatusAppEnvironmentsAppEnvironment) UnmarshalJSON

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob struct {
	Typename *string `json:"__typename"`
	// The unique identifier for the job.
	Id *int64 `json:"id"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// Whether the job currently holds an in-progress lock.
	InProgressLock *bool `json:"inProgressLock"`
	// Additional metadata for the job.
	Metadata []*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata `json:"metadata"`
	// The current progress of the job.
	Progress *AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob includes the requested fields of the GraphQL type Job. The GraphQL type's documentation follows.

A background job.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetCompletedAt

GetCompletedAt returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.CompletedAt, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetCreatedAt

GetCreatedAt returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.CreatedAt, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetId

GetId returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.Id, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetInProgressLock

GetInProgressLock returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.InProgressLock, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetMetadata

GetMetadata returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.Metadata, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetProgress

GetProgress returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.Progress, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetType

GetType returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.Type, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob) GetTypename

GetTypename returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob.Typename, and is useful for accessing the field via an interface.

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetId returns the interface-field "id" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The unique identifier for the job.
	GetId() *int64
	// GetType returns the interface-field "type" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The job type.
	GetType() *string
	// GetCompletedAt returns the interface-field "completedAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job completed.
	GetCompletedAt() *string
	// GetCreatedAt returns the interface-field "createdAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job was created.
	GetCreatedAt() *string
	// GetInProgressLock returns the interface-field "inProgressLock" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Whether the job currently holds an in-progress lock.
	GetInProgressLock() *bool
	// GetMetadata returns the interface-field "metadata" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Additional metadata for the job.
	GetMetadata() []*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata
	// GetProgress returns the interface-field "progress" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The current progress of the job.
	GetProgress() *AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress
	// contains filtered or unexported methods
}

AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface includes the requested fields of the GraphQL interface JobInterface.

AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterface is implemented by the following types: AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJob AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob The GraphQL type's documentation follows.

Common fields shared by all job types.

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata struct {
	// The metadata key.
	Name *string `json:"name"`
	// The metadata value.
	Value *string `json:"value"`
}

AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata includes the requested fields of the GraphQL type JobMetadata. The GraphQL type's documentation follows.

A metadata entry attached to a job.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata) GetName

GetName returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata.Name, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata) GetValue

GetValue returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata.Value, and is useful for accessing the field via an interface.

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress struct {
	// The current status of the job.
	Status *string `json:"status"`
}

AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress includes the requested fields of the GraphQL type JobProgress. The GraphQL type's documentation follows.

Progress details for a job.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetStatus

GetStatus returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Status, and is useful for accessing the field via an interface.

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob

type AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob struct {
	Typename *string `json:"__typename"`
	// The unique identifier for the job.
	Id *int64 `json:"id"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// Whether the job currently holds an in-progress lock.
	InProgressLock *bool `json:"inProgressLock"`
	// Additional metadata for the job.
	Metadata []*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceMetadataJobMetadata `json:"metadata"`
	// The current progress of the job.
	Progress *AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob includes the requested fields of the GraphQL type PrimaryDomainSwitchJob. The GraphQL type's documentation follows.

A job that switches an environment's primary domain.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCompletedAt

GetCompletedAt returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CompletedAt, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCreatedAt

GetCreatedAt returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CreatedAt, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetId

GetId returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Id, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetInProgressLock

GetInProgressLock returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.InProgressLock, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetMetadata

GetMetadata returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Metadata, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetProgress

GetProgress returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Progress, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetType

GetType returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Type, and is useful for accessing the field via an interface.

func (*AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetTypename

GetTypename returns AppBackupJobStatusAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Typename, and is useful for accessing the field via an interface.

type AppBackupJobStatusResponse

type AppBackupJobStatusResponse struct {
	// Retrieve a single application.
	App *AppBackupJobStatusApp `json:"app"`
}

AppBackupJobStatusResponse is returned by AppBackupJobStatus on success.

func AppBackupJobStatus

func AppBackupJobStatus(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *AppBackupJobStatusResponse, err_ error)

func (*AppBackupJobStatusResponse) GetApp

GetApp returns AppBackupJobStatusResponse.App, and is useful for accessing the field via an interface.

type AppBasic

type AppBasic struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The source repository for the application in `owner/name` format.
	Repo *string `json:"repo"`
}

AppBasic includes the GraphQL fields of App requested by the fragment AppBasic. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppBasic) GetId

func (v *AppBasic) GetId() *int64

GetId returns AppBasic.Id, and is useful for accessing the field via an interface.

func (*AppBasic) GetName

func (v *AppBasic) GetName() *string

GetName returns AppBasic.Name, and is useful for accessing the field via an interface.

func (*AppBasic) GetRepo

func (v *AppBasic) GetRepo() *string

GetRepo returns AppBasic.Repo, and is useful for accessing the field via an interface.

type AppEnvironmentAbortMediaImportInput

type AppEnvironmentAbortMediaImportInput struct {
	// The unique ID of the Application
	ApplicationId int64 `json:"applicationId"`
	// The uniqueID of the Environment
	EnvironmentId int64 `json:"environmentId"`
}

Mutation request input to abort a Media Import

func (*AppEnvironmentAbortMediaImportInput) GetApplicationId

func (v *AppEnvironmentAbortMediaImportInput) GetApplicationId() int64

GetApplicationId returns AppEnvironmentAbortMediaImportInput.ApplicationId, and is useful for accessing the field via an interface.

func (*AppEnvironmentAbortMediaImportInput) GetEnvironmentId

func (v *AppEnvironmentAbortMediaImportInput) GetEnvironmentId() int64

GetEnvironmentId returns AppEnvironmentAbortMediaImportInput.EnvironmentId, and is useful for accessing the field via an interface.

type AppEnvironmentCustomDeployInput

type AppEnvironmentCustomDeployInput struct {
	// The application ID, when required by the caller.
	Id *int64 `json:"id"`
	// The environment ID to deploy to.
	EnvironmentId *int64 `json:"environmentId"`
	// The deployment artifact filename.
	Basename *string `json:"basename"`
	// The checksum of the deployment artifact.
	Checksum *string `json:"checksum"`
	// The deploy message to record.
	DeployMessage *string `json:"deployMessage"`
}

Input for starting a custom deploy.

func (*AppEnvironmentCustomDeployInput) GetBasename

func (v *AppEnvironmentCustomDeployInput) GetBasename() *string

GetBasename returns AppEnvironmentCustomDeployInput.Basename, and is useful for accessing the field via an interface.

func (*AppEnvironmentCustomDeployInput) GetChecksum

func (v *AppEnvironmentCustomDeployInput) GetChecksum() *string

GetChecksum returns AppEnvironmentCustomDeployInput.Checksum, and is useful for accessing the field via an interface.

func (*AppEnvironmentCustomDeployInput) GetDeployMessage

func (v *AppEnvironmentCustomDeployInput) GetDeployMessage() *string

GetDeployMessage returns AppEnvironmentCustomDeployInput.DeployMessage, and is useful for accessing the field via an interface.

func (*AppEnvironmentCustomDeployInput) GetEnvironmentId

func (v *AppEnvironmentCustomDeployInput) GetEnvironmentId() *int64

GetEnvironmentId returns AppEnvironmentCustomDeployInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentCustomDeployInput) GetId

GetId returns AppEnvironmentCustomDeployInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentDefensiveModeConfigInput

type AppEnvironmentDefensiveModeConfigInput struct {
	// The challenge type to apply.
	ChallengeType int64 `json:"challengeType"`
	// The absolute connection threshold that triggers defensive mode.
	ConnectionThresholdAbsolute *int64 `json:"connectionThresholdAbsolute"`
	// The connection threshold percentage that triggers defensive mode.
	ConnectionThresholdPercentage *int64 `json:"connectionThresholdPercentage"`
	// Whether defensive mode should be enabled.
	Enabled bool `json:"enabled"`
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
	// The application ID.
	Id int64 `json:"id"`
}

Input for updating defensive mode configuration.

func (*AppEnvironmentDefensiveModeConfigInput) GetChallengeType

func (v *AppEnvironmentDefensiveModeConfigInput) GetChallengeType() int64

GetChallengeType returns AppEnvironmentDefensiveModeConfigInput.ChallengeType, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeConfigInput) GetConnectionThresholdAbsolute

func (v *AppEnvironmentDefensiveModeConfigInput) GetConnectionThresholdAbsolute() *int64

GetConnectionThresholdAbsolute returns AppEnvironmentDefensiveModeConfigInput.ConnectionThresholdAbsolute, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeConfigInput) GetConnectionThresholdPercentage

func (v *AppEnvironmentDefensiveModeConfigInput) GetConnectionThresholdPercentage() *int64

GetConnectionThresholdPercentage returns AppEnvironmentDefensiveModeConfigInput.ConnectionThresholdPercentage, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeConfigInput) GetEnabled

GetEnabled returns AppEnvironmentDefensiveModeConfigInput.Enabled, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeConfigInput) GetEnvironmentId

func (v *AppEnvironmentDefensiveModeConfigInput) GetEnvironmentId() int64

GetEnvironmentId returns AppEnvironmentDefensiveModeConfigInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeConfigInput) GetId

GetId returns AppEnvironmentDefensiveModeConfigInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentDefensiveModeUpdateStatusInput

type AppEnvironmentDefensiveModeUpdateStatusInput struct {
	// Whether defensive mode should be enabled.
	Enabled bool `json:"enabled"`
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
	// The application ID.
	Id int64 `json:"id"`
}

Input for enabling or disabling defensive mode.

func (*AppEnvironmentDefensiveModeUpdateStatusInput) GetEnabled

GetEnabled returns AppEnvironmentDefensiveModeUpdateStatusInput.Enabled, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeUpdateStatusInput) GetEnvironmentId

GetEnvironmentId returns AppEnvironmentDefensiveModeUpdateStatusInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentDefensiveModeUpdateStatusInput) GetId

GetId returns AppEnvironmentDefensiveModeUpdateStatusInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentGenerateDBBackupCopyUrlInput

type AppEnvironmentGenerateDBBackupCopyUrlInput struct {
	// The backup ID to generate a URL for.
	BackupId *float64 `json:"backupId"`
	// The environment ID.
	EnvironmentId *int64 `json:"environmentId"`
	// The application ID.
	Id *int64 `json:"id"`
}

Input for generating a database backup copy download URL.

func (*AppEnvironmentGenerateDBBackupCopyUrlInput) GetBackupId

GetBackupId returns AppEnvironmentGenerateDBBackupCopyUrlInput.BackupId, and is useful for accessing the field via an interface.

func (*AppEnvironmentGenerateDBBackupCopyUrlInput) GetEnvironmentId

func (v *AppEnvironmentGenerateDBBackupCopyUrlInput) GetEnvironmentId() *int64

GetEnvironmentId returns AppEnvironmentGenerateDBBackupCopyUrlInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentGenerateDBBackupCopyUrlInput) GetId

GetId returns AppEnvironmentGenerateDBBackupCopyUrlInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentImportInput

type AppEnvironmentImportInput struct {
	// The backup basename to import.
	Basename *string `json:"basename"`
	// The environment ID.
	EnvironmentId *int64 `json:"environmentId"`
	// The application ID.
	Id *int64 `json:"id"`
	// The expected MD5 checksum.
	Md5 *string `json:"md5"`
	// The search-and-replace rules to apply.
	SearchReplace []*AppEnvironmentImportSearchReplace `json:"searchReplace"`
	// Whether to skip creating a backup before import.
	SkipBackup *bool `json:"skipBackup"`
	// Whether to skip maintenance mode during import.
	SkipMaintenanceMode *bool `json:"skipMaintenanceMode"`
	// The source URL to import from.
	Url *string `json:"url"`
	// The request headers to include when fetching the source URL.
	UrlHeaders []*RequestHeader `json:"urlHeaders"`
}

Input for starting an environment import.

func (*AppEnvironmentImportInput) GetBasename

func (v *AppEnvironmentImportInput) GetBasename() *string

GetBasename returns AppEnvironmentImportInput.Basename, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetEnvironmentId

func (v *AppEnvironmentImportInput) GetEnvironmentId() *int64

GetEnvironmentId returns AppEnvironmentImportInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetId

func (v *AppEnvironmentImportInput) GetId() *int64

GetId returns AppEnvironmentImportInput.Id, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetMd5

func (v *AppEnvironmentImportInput) GetMd5() *string

GetMd5 returns AppEnvironmentImportInput.Md5, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetSearchReplace

GetSearchReplace returns AppEnvironmentImportInput.SearchReplace, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetSkipBackup

func (v *AppEnvironmentImportInput) GetSkipBackup() *bool

GetSkipBackup returns AppEnvironmentImportInput.SkipBackup, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetSkipMaintenanceMode

func (v *AppEnvironmentImportInput) GetSkipMaintenanceMode() *bool

GetSkipMaintenanceMode returns AppEnvironmentImportInput.SkipMaintenanceMode, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetUrl

func (v *AppEnvironmentImportInput) GetUrl() *string

GetUrl returns AppEnvironmentImportInput.Url, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportInput) GetUrlHeaders

func (v *AppEnvironmentImportInput) GetUrlHeaders() []*RequestHeader

GetUrlHeaders returns AppEnvironmentImportInput.UrlHeaders, and is useful for accessing the field via an interface.

type AppEnvironmentImportSearchReplace

type AppEnvironmentImportSearchReplace struct {
	// The source string to replace.
	From *string `json:"from"`
	// The replacement string.
	To *string `json:"to,omitempty"`
}

A search-and-replace rule applied during import.

func (*AppEnvironmentImportSearchReplace) GetFrom

GetFrom returns AppEnvironmentImportSearchReplace.From, and is useful for accessing the field via an interface.

func (*AppEnvironmentImportSearchReplace) GetTo

GetTo returns AppEnvironmentImportSearchReplace.To, and is useful for accessing the field via an interface.

type AppEnvironmentLiveBackupCopyDownloadURLInput

type AppEnvironmentLiveBackupCopyDownloadURLInput struct {
	// The live backup copy ID.
	CopyId string `json:"copyId"`
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
	// The application ID.
	Id int64 `json:"id"`
}

Input for generating a live backup copy download URL.

func (*AppEnvironmentLiveBackupCopyDownloadURLInput) GetCopyId

GetCopyId returns AppEnvironmentLiveBackupCopyDownloadURLInput.CopyId, and is useful for accessing the field via an interface.

func (*AppEnvironmentLiveBackupCopyDownloadURLInput) GetEnvironmentId

GetEnvironmentId returns AppEnvironmentLiveBackupCopyDownloadURLInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentLiveBackupCopyDownloadURLInput) GetId

GetId returns AppEnvironmentLiveBackupCopyDownloadURLInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentLogType

type AppEnvironmentLogType string

The available environment log streams.

const (
	// Application logs (`type: app`).
	AppEnvironmentLogTypeApp AppEnvironmentLogType = "app"
	// Batch job logs (`type: batch`).
	AppEnvironmentLogTypeBatch AppEnvironmentLogType = "batch"
)

type AppEnvironmentStartDBBackupCopyInput

type AppEnvironmentStartDBBackupCopyInput struct {
	// The backup ID to copy.
	BackupId *float64 `json:"backupId"`
	// The environment ID.
	EnvironmentId *int64 `json:"environmentId"`
	// The application ID.
	Id *int64 `json:"id"`
	// The subsite ID to target, when applicable.
	SubsiteId *int64 `json:"subsiteId"`
	// The tables to include in the copy.
	Tables []*string `json:"tables"`
}

Input for starting a database backup copy.

func (*AppEnvironmentStartDBBackupCopyInput) GetBackupId

GetBackupId returns AppEnvironmentStartDBBackupCopyInput.BackupId, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartDBBackupCopyInput) GetEnvironmentId

func (v *AppEnvironmentStartDBBackupCopyInput) GetEnvironmentId() *int64

GetEnvironmentId returns AppEnvironmentStartDBBackupCopyInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartDBBackupCopyInput) GetId

GetId returns AppEnvironmentStartDBBackupCopyInput.Id, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartDBBackupCopyInput) GetSubsiteId

func (v *AppEnvironmentStartDBBackupCopyInput) GetSubsiteId() *int64

GetSubsiteId returns AppEnvironmentStartDBBackupCopyInput.SubsiteId, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartDBBackupCopyInput) GetTables

func (v *AppEnvironmentStartDBBackupCopyInput) GetTables() []*string

GetTables returns AppEnvironmentStartDBBackupCopyInput.Tables, and is useful for accessing the field via an interface.

type AppEnvironmentStartMediaImportInput

type AppEnvironmentStartMediaImportInput struct {
	// API version to be used for the media import
	ApiVersion *string `json:"apiVersion"`
	// The unique ID of the Application
	ApplicationId int64 `json:"applicationId"`
	// Publicly accessible URL that contains an archive of the media files to be imported
	ArchiveUrl string `json:"archiveUrl"`
	// The uniqueID of the Environment
	EnvironmentId int64 `json:"environmentId"`
	// Whether to import intermediate images or not
	ImportIntermediateImages *bool `json:"importIntermediateImages"`
	// Whether to overwrite existing files or not
	OverwriteExistingFiles *bool `json:"overwriteExistingFiles"`
}

Mutation request input to start a Media Import

func (*AppEnvironmentStartMediaImportInput) GetApiVersion

func (v *AppEnvironmentStartMediaImportInput) GetApiVersion() *string

GetApiVersion returns AppEnvironmentStartMediaImportInput.ApiVersion, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartMediaImportInput) GetApplicationId

func (v *AppEnvironmentStartMediaImportInput) GetApplicationId() int64

GetApplicationId returns AppEnvironmentStartMediaImportInput.ApplicationId, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartMediaImportInput) GetArchiveUrl

func (v *AppEnvironmentStartMediaImportInput) GetArchiveUrl() string

GetArchiveUrl returns AppEnvironmentStartMediaImportInput.ArchiveUrl, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartMediaImportInput) GetEnvironmentId

func (v *AppEnvironmentStartMediaImportInput) GetEnvironmentId() int64

GetEnvironmentId returns AppEnvironmentStartMediaImportInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartMediaImportInput) GetImportIntermediateImages

func (v *AppEnvironmentStartMediaImportInput) GetImportIntermediateImages() *bool

GetImportIntermediateImages returns AppEnvironmentStartMediaImportInput.ImportIntermediateImages, and is useful for accessing the field via an interface.

func (*AppEnvironmentStartMediaImportInput) GetOverwriteExistingFiles

func (v *AppEnvironmentStartMediaImportInput) GetOverwriteExistingFiles() *bool

GetOverwriteExistingFiles returns AppEnvironmentStartMediaImportInput.OverwriteExistingFiles, and is useful for accessing the field via an interface.

type AppEnvironmentSyncInput

type AppEnvironmentSyncInput struct {
	// The copy configuration payload.
	Config *json.RawMessage `json:"config"`
	// The environment ID to sync.
	EnvironmentId int64 `json:"environmentId"`
	// The source environment ID to sync from.
	FromEnvironmentId *int64 `json:"fromEnvironmentId"`
	// The application ID.
	Id int64 `json:"id"`
}

Input for triggering an environment sync.

func (*AppEnvironmentSyncInput) GetConfig

func (v *AppEnvironmentSyncInput) GetConfig() *json.RawMessage

GetConfig returns AppEnvironmentSyncInput.Config, and is useful for accessing the field via an interface.

func (*AppEnvironmentSyncInput) GetEnvironmentId

func (v *AppEnvironmentSyncInput) GetEnvironmentId() int64

GetEnvironmentId returns AppEnvironmentSyncInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentSyncInput) GetFromEnvironmentId

func (v *AppEnvironmentSyncInput) GetFromEnvironmentId() *int64

GetFromEnvironmentId returns AppEnvironmentSyncInput.FromEnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentSyncInput) GetId

func (v *AppEnvironmentSyncInput) GetId() int64

GetId returns AppEnvironmentSyncInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentTriggerDBBackupInput

type AppEnvironmentTriggerDBBackupInput struct {
	// Whether to perform a dry run.
	DryRun *bool `json:"dryRun"`
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
	// The application ID.
	Id int64 `json:"id"`
}

Input for triggering a database backup.

func (*AppEnvironmentTriggerDBBackupInput) GetDryRun

func (v *AppEnvironmentTriggerDBBackupInput) GetDryRun() *bool

GetDryRun returns AppEnvironmentTriggerDBBackupInput.DryRun, and is useful for accessing the field via an interface.

func (*AppEnvironmentTriggerDBBackupInput) GetEnvironmentId

func (v *AppEnvironmentTriggerDBBackupInput) GetEnvironmentId() int64

GetEnvironmentId returns AppEnvironmentTriggerDBBackupInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentTriggerDBBackupInput) GetId

GetId returns AppEnvironmentTriggerDBBackupInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentTriggerWPCLICommandInput

type AppEnvironmentTriggerWPCLICommandInput struct {
	// The command we want to run. Note: should not include 'wp'
	Command *string `json:"command"`
	// The environment ID where we want to run the command
	EnvironmentId *int64 `json:"environmentId"`
	// The application ID
	Id *int64 `json:"id"`
}

Variables for the Run WP-CLI Command mutation

func (*AppEnvironmentTriggerWPCLICommandInput) GetCommand

GetCommand returns AppEnvironmentTriggerWPCLICommandInput.Command, and is useful for accessing the field via an interface.

func (*AppEnvironmentTriggerWPCLICommandInput) GetEnvironmentId

func (v *AppEnvironmentTriggerWPCLICommandInput) GetEnvironmentId() *int64

GetEnvironmentId returns AppEnvironmentTriggerWPCLICommandInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*AppEnvironmentTriggerWPCLICommandInput) GetId

GetId returns AppEnvironmentTriggerWPCLICommandInput.Id, and is useful for accessing the field via an interface.

type AppEnvironmentWPCliStrategy

type AppEnvironmentWPCliStrategy string

The strategies available for running WP-CLI commands.

const (
	// Run WP-CLI over SSH.
	AppEnvironmentWPCliStrategySsh AppEnvironmentWPCliStrategy = "ssh"
	// Run WP-CLI over a websocket connection.
	AppEnvironmentWPCliStrategyWebsocket AppEnvironmentWPCliStrategy = "websocket"
)

type AppGetByIDApp

type AppGetByIDApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The source repository for the application in `owner/name` format.
	Repo *string `json:"repo"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*AppGetByIDAppEnvironmentsAppEnvironment `json:"environments"`
}

AppGetByIDApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppGetByIDApp) GetEnvironments

GetEnvironments returns AppGetByIDApp.Environments, and is useful for accessing the field via an interface.

func (*AppGetByIDApp) GetId

func (v *AppGetByIDApp) GetId() *int64

GetId returns AppGetByIDApp.Id, and is useful for accessing the field via an interface.

func (*AppGetByIDApp) GetName

func (v *AppGetByIDApp) GetName() *string

GetName returns AppGetByIDApp.Name, and is useful for accessing the field via an interface.

func (*AppGetByIDApp) GetRepo

func (v *AppGetByIDApp) GetRepo() *string

GetRepo returns AppGetByIDApp.Repo, and is useful for accessing the field via an interface.

type AppGetByIDAppEnvironmentsAppEnvironment

type AppGetByIDAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The currently configured branch for the environment.
	Branch *string `json:"branch"`
	// The current deployed commit SHA.
	CurrentCommit *string `json:"currentCommit"`
	// The primary domain for the environment.
	PrimaryDomain *AppGetByIDAppEnvironmentsAppEnvironmentPrimaryDomain `json:"primaryDomain"`
	// Whether the environment has been launched.
	Launched *bool `json:"launched"`
	// The deployment strategy configured for the environment.
	DeploymentStrategy *string `json:"deploymentStrategy"`
}

AppGetByIDAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns AppGetByIDAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetBranch

GetBranch returns AppGetByIDAppEnvironmentsAppEnvironment.Branch, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetCurrentCommit

func (v *AppGetByIDAppEnvironmentsAppEnvironment) GetCurrentCommit() *string

GetCurrentCommit returns AppGetByIDAppEnvironmentsAppEnvironment.CurrentCommit, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetDeploymentStrategy

func (v *AppGetByIDAppEnvironmentsAppEnvironment) GetDeploymentStrategy() *string

GetDeploymentStrategy returns AppGetByIDAppEnvironmentsAppEnvironment.DeploymentStrategy, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetId

GetId returns AppGetByIDAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetLaunched

GetLaunched returns AppGetByIDAppEnvironmentsAppEnvironment.Launched, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetName

GetName returns AppGetByIDAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetPrimaryDomain

GetPrimaryDomain returns AppGetByIDAppEnvironmentsAppEnvironment.PrimaryDomain, and is useful for accessing the field via an interface.

func (*AppGetByIDAppEnvironmentsAppEnvironment) GetType

GetType returns AppGetByIDAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

type AppGetByIDAppEnvironmentsAppEnvironmentPrimaryDomain

type AppGetByIDAppEnvironmentsAppEnvironmentPrimaryDomain struct {
	// The domain name (i.e. something like example.com or sub.example.com)
	Name string `json:"name"`
}

AppGetByIDAppEnvironmentsAppEnvironmentPrimaryDomain includes the requested fields of the GraphQL type Domain. The GraphQL type's documentation follows.

A domain for an environment

func (*AppGetByIDAppEnvironmentsAppEnvironmentPrimaryDomain) GetName

GetName returns AppGetByIDAppEnvironmentsAppEnvironmentPrimaryDomain.Name, and is useful for accessing the field via an interface.

type AppGetByIDResponse

type AppGetByIDResponse struct {
	// Retrieve a single application.
	App *AppGetByIDApp `json:"app"`
}

AppGetByIDResponse is returned by AppGetByID on success.

func AppGetByID

func AppGetByID(
	ctx_ context.Context,
	client_ graphql.Client,
	id int64,
) (data_ *AppGetByIDResponse, err_ error)

func (*AppGetByIDResponse) GetApp

func (v *AppGetByIDResponse) GetApp() *AppGetByIDApp

GetApp returns AppGetByIDResponse.App, and is useful for accessing the field via an interface.

type AppGetByNameAppsAppList

type AppGetByNameAppsAppList struct {
	// A legacy alias for `nodes`.
	Edges []*AppGetByNameAppsAppListEdgesApp `json:"edges"`
}

AppGetByNameAppsAppList includes the requested fields of the GraphQL type AppList. The GraphQL type's documentation follows.

A paginated list of applications.

func (*AppGetByNameAppsAppList) GetEdges

GetEdges returns AppGetByNameAppsAppList.Edges, and is useful for accessing the field via an interface.

type AppGetByNameAppsAppListEdgesApp

type AppGetByNameAppsAppListEdgesApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The source repository for the application in `owner/name` format.
	Repo *string `json:"repo"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment `json:"environments"`
}

AppGetByNameAppsAppListEdgesApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppGetByNameAppsAppListEdgesApp) GetEnvironments

GetEnvironments returns AppGetByNameAppsAppListEdgesApp.Environments, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesApp) GetId

GetId returns AppGetByNameAppsAppListEdgesApp.Id, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesApp) GetName

GetName returns AppGetByNameAppsAppListEdgesApp.Name, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesApp) GetRepo

GetRepo returns AppGetByNameAppsAppListEdgesApp.Repo, and is useful for accessing the field via an interface.

type AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment

type AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The currently configured branch for the environment.
	Branch *string `json:"branch"`
	// The current deployed commit SHA.
	CurrentCommit *string `json:"currentCommit"`
	// The primary domain for the environment.
	PrimaryDomain *AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironmentPrimaryDomain `json:"primaryDomain"`
	// Whether the environment has been launched.
	Launched *bool `json:"launched"`
	// The deployment strategy configured for the environment.
	DeploymentStrategy *string `json:"deploymentStrategy"`
}

AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetBranch

GetBranch returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Branch, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetCurrentCommit

GetCurrentCommit returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.CurrentCommit, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetDeploymentStrategy

GetDeploymentStrategy returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.DeploymentStrategy, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetId

GetId returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetLaunched

GetLaunched returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Launched, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetName

GetName returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetPrimaryDomain

GetPrimaryDomain returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.PrimaryDomain, and is useful for accessing the field via an interface.

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetType

GetType returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

type AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironmentPrimaryDomain

type AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironmentPrimaryDomain struct {
	// The domain name (i.e. something like example.com or sub.example.com)
	Name string `json:"name"`
}

AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironmentPrimaryDomain includes the requested fields of the GraphQL type Domain. The GraphQL type's documentation follows.

A domain for an environment

func (*AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironmentPrimaryDomain) GetName

GetName returns AppGetByNameAppsAppListEdgesAppEnvironmentsAppEnvironmentPrimaryDomain.Name, and is useful for accessing the field via an interface.

type AppGetByNameResponse

type AppGetByNameResponse struct {
	// Retrieve a paginated list of applications.
	Apps *AppGetByNameAppsAppList `json:"apps"`
}

AppGetByNameResponse is returned by AppGetByName on success.

func AppGetByName

func AppGetByName(
	ctx_ context.Context,
	client_ graphql.Client,
	name string,
) (data_ *AppGetByNameResponse, err_ error)

func (*AppGetByNameResponse) GetApps

GetApps returns AppGetByNameResponse.Apps, and is useful for accessing the field via an interface.

type AppListAppsAppList

type AppListAppsAppList struct {
	// The total number of matching applications.
	Total *int64 `json:"total"`
	// The cursor for the next page of applications.
	NextCursor *string `json:"nextCursor"`
	// A legacy alias for `nodes`.
	Edges []*AppListAppsAppListEdgesApp `json:"edges"`
}

AppListAppsAppList includes the requested fields of the GraphQL type AppList. The GraphQL type's documentation follows.

A paginated list of applications.

func (*AppListAppsAppList) GetEdges

GetEdges returns AppListAppsAppList.Edges, and is useful for accessing the field via an interface.

func (*AppListAppsAppList) GetNextCursor

func (v *AppListAppsAppList) GetNextCursor() *string

GetNextCursor returns AppListAppsAppList.NextCursor, and is useful for accessing the field via an interface.

func (*AppListAppsAppList) GetTotal

func (v *AppListAppsAppList) GetTotal() *int64

GetTotal returns AppListAppsAppList.Total, and is useful for accessing the field via an interface.

type AppListAppsAppListEdgesApp

type AppListAppsAppListEdgesApp struct {
	AppBasic `json:"-"`
}

AppListAppsAppListEdgesApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppListAppsAppListEdgesApp) GetId

func (v *AppListAppsAppListEdgesApp) GetId() *int64

GetId returns AppListAppsAppListEdgesApp.Id, and is useful for accessing the field via an interface.

func (*AppListAppsAppListEdgesApp) GetName

func (v *AppListAppsAppListEdgesApp) GetName() *string

GetName returns AppListAppsAppListEdgesApp.Name, and is useful for accessing the field via an interface.

func (*AppListAppsAppListEdgesApp) GetRepo

func (v *AppListAppsAppListEdgesApp) GetRepo() *string

GetRepo returns AppListAppsAppListEdgesApp.Repo, and is useful for accessing the field via an interface.

func (*AppListAppsAppListEdgesApp) MarshalJSON

func (v *AppListAppsAppListEdgesApp) MarshalJSON() ([]byte, error)

func (*AppListAppsAppListEdgesApp) UnmarshalJSON

func (v *AppListAppsAppListEdgesApp) UnmarshalJSON(b []byte) error

type AppListResponse

type AppListResponse struct {
	// Retrieve a paginated list of applications.
	Apps *AppListAppsAppList `json:"apps"`
}

AppListResponse is returned by AppList on success.

func AppList

func AppList(
	ctx_ context.Context,
	client_ graphql.Client,
	first *int64,
	after *string,
) (data_ *AppListResponse, err_ error)

func (*AppListResponse) GetApps

func (v *AppListResponse) GetApps() *AppListAppsAppList

GetApps returns AppListResponse.Apps, and is useful for accessing the field via an interface.

type AppMappedDomainsApp

type AppMappedDomainsApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*AppMappedDomainsAppEnvironmentsAppEnvironment `json:"environments"`
}

AppMappedDomainsApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppMappedDomainsApp) GetEnvironments

GetEnvironments returns AppMappedDomainsApp.Environments, and is useful for accessing the field via an interface.

func (*AppMappedDomainsApp) GetId

func (v *AppMappedDomainsApp) GetId() *int64

GetId returns AppMappedDomainsApp.Id, and is useful for accessing the field via an interface.

func (*AppMappedDomainsApp) GetName

func (v *AppMappedDomainsApp) GetName() *string

GetName returns AppMappedDomainsApp.Name, and is useful for accessing the field via an interface.

type AppMappedDomainsAppEnvironmentsAppEnvironment

type AppMappedDomainsAppEnvironmentsAppEnvironment struct {
	// The unique label for the environment.
	UniqueLabel *string `json:"uniqueLabel"`
	// Whether the environment is a multisite install.
	IsMultisite *bool `json:"isMultisite"`
	// The domains mapped to the environment.
	Domains *AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainList `json:"domains"`
}

AppMappedDomainsAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*AppMappedDomainsAppEnvironmentsAppEnvironment) GetDomains

GetDomains returns AppMappedDomainsAppEnvironmentsAppEnvironment.Domains, and is useful for accessing the field via an interface.

func (*AppMappedDomainsAppEnvironmentsAppEnvironment) GetIsMultisite

GetIsMultisite returns AppMappedDomainsAppEnvironmentsAppEnvironment.IsMultisite, and is useful for accessing the field via an interface.

func (*AppMappedDomainsAppEnvironmentsAppEnvironment) GetUniqueLabel

GetUniqueLabel returns AppMappedDomainsAppEnvironmentsAppEnvironment.UniqueLabel, and is useful for accessing the field via an interface.

type AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainList

type AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainList struct {
	// The domains returned in the current page.
	Nodes []*AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain `json:"nodes"`
}

AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainList includes the requested fields of the GraphQL type DomainList. The GraphQL type's documentation follows.

A paginated list of domains.

func (*AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainList) GetNodes

GetNodes returns AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainList.Nodes, and is useful for accessing the field via an interface.

type AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain

type AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain struct {
	// The domain name (i.e. something like example.com or sub.example.com)
	Name string `json:"name"`
	// Is this the primary domain for the environment?
	IsPrimary *bool `json:"isPrimary"`
}

AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain includes the requested fields of the GraphQL type Domain. The GraphQL type's documentation follows.

A domain for an environment

func (*AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain) GetIsPrimary

GetIsPrimary returns AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain.IsPrimary, and is useful for accessing the field via an interface.

func (*AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain) GetName

GetName returns AppMappedDomainsAppEnvironmentsAppEnvironmentDomainsDomainListNodesDomain.Name, and is useful for accessing the field via an interface.

type AppMappedDomainsResponse

type AppMappedDomainsResponse struct {
	// Retrieve a single application.
	App *AppMappedDomainsApp `json:"app"`
}

AppMappedDomainsResponse is returned by AppMappedDomains on success.

func AppMappedDomains

func AppMappedDomains(
	ctx_ context.Context,
	client_ graphql.Client,
	appId *int64,
	envId *int64,
) (data_ *AppMappedDomainsResponse, err_ error)

func (*AppMappedDomainsResponse) GetApp

GetApp returns AppMappedDomainsResponse.App, and is useful for accessing the field via an interface.

type AppMultiSiteCheckApp

type AppMultiSiteCheckApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The source repository for the application in `owner/name` format.
	Repo *string `json:"repo"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*AppMultiSiteCheckAppEnvironmentsAppEnvironment `json:"environments"`
}

AppMultiSiteCheckApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*AppMultiSiteCheckApp) GetEnvironments

GetEnvironments returns AppMultiSiteCheckApp.Environments, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckApp) GetId

func (v *AppMultiSiteCheckApp) GetId() *int64

GetId returns AppMultiSiteCheckApp.Id, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckApp) GetName

func (v *AppMultiSiteCheckApp) GetName() *string

GetName returns AppMultiSiteCheckApp.Name, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckApp) GetRepo

func (v *AppMultiSiteCheckApp) GetRepo() *string

GetRepo returns AppMultiSiteCheckApp.Repo, and is useful for accessing the field via an interface.

type AppMultiSiteCheckAppEnvironmentsAppEnvironment

type AppMultiSiteCheckAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// Whether the environment is a multisite install.
	IsMultisite *bool `json:"isMultisite"`
	// Whether the multisite install uses subdirectories.
	IsSubdirectoryMultisite *bool `json:"isSubdirectoryMultisite"`
}

AppMultiSiteCheckAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns AppMultiSiteCheckAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetId

GetId returns AppMultiSiteCheckAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetIsMultisite

GetIsMultisite returns AppMultiSiteCheckAppEnvironmentsAppEnvironment.IsMultisite, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetIsSubdirectoryMultisite

func (v *AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetIsSubdirectoryMultisite() *bool

GetIsSubdirectoryMultisite returns AppMultiSiteCheckAppEnvironmentsAppEnvironment.IsSubdirectoryMultisite, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetName

GetName returns AppMultiSiteCheckAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*AppMultiSiteCheckAppEnvironmentsAppEnvironment) GetType

GetType returns AppMultiSiteCheckAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

type AppMultiSiteCheckResponse

type AppMultiSiteCheckResponse struct {
	// Retrieve a single application.
	App *AppMultiSiteCheckApp `json:"app"`
}

AppMultiSiteCheckResponse is returned by AppMultiSiteCheck on success.

func AppMultiSiteCheck

func AppMultiSiteCheck(
	ctx_ context.Context,
	client_ graphql.Client,
	appId *int64,
	envId *int64,
) (data_ *AppMultiSiteCheckResponse, err_ error)

func (*AppMultiSiteCheckResponse) GetApp

GetApp returns AppMultiSiteCheckResponse.App, and is useful for accessing the field via an interface.

type BackupDBCopyResponse

type BackupDBCopyResponse struct {
	// Start copying a database backup.
	StartDBBackupCopy *BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload `json:"startDBBackupCopy"`
}

BackupDBCopyResponse is returned by BackupDBCopy on success.

func BackupDBCopy

func BackupDBCopy(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentStartDBBackupCopyInput,
) (data_ *BackupDBCopyResponse, err_ error)

func (*BackupDBCopyResponse) GetStartDBBackupCopy

GetStartDBBackupCopy returns BackupDBCopyResponse.StartDBBackupCopy, and is useful for accessing the field via an interface.

type BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload

type BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload struct {
	// A human-readable result message.
	Message *string `json:"message"`
	// Whether the operation succeeded.
	Success *bool `json:"success"`
}

BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload includes the requested fields of the GraphQL type AppEnvironmentStartDBBackupCopyPayload. The GraphQL type's documentation follows.

The result of starting a database backup copy.

func (*BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload) GetMessage

GetMessage returns BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload.Message, and is useful for accessing the field via an interface.

func (*BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload) GetSuccess

GetSuccess returns BackupDBCopyStartDBBackupCopyAppEnvironmentStartDBBackupCopyPayload.Success, and is useful for accessing the field via an interface.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client composes a transport with middleware. It implements Doer.

func NewClient

func NewClient(cfg Config) *Client

func (*Client) APIHost

func (c *Client) APIHost() string

APIHost returns the configured API host. Used by callers (e.g. defensivemode) that need to POST directly to /graphql.

func (*Client) Do

func (c *Client) Do(req *http.Request) (*http.Response, error)

type Config

type Config struct {
	APIHost     string // e.g. "https://api.wpvip.com"
	TestMode    bool   // if true, skip the x_query rewrite (matches NODE_ENV=test)
	Token       string // bearer token (set by callers; auth package supplies)
	HTTPClient  *http.Client
	Middleware  []Middleware // outermost first
	ExitOnError bool         // honored by Error middleware (Task 5)
	SilenceAuth bool         // honored by Error middleware (Task 5)
}

Config selects the GraphQL endpoint and per-environment behaviors.

type CreateEdgeWorkerCreateEdgeWorker

type CreateEdgeWorkerCreateEdgeWorker struct {
	EdgeWorkerFields `json:"-"`
}

CreateEdgeWorkerCreateEdgeWorker includes the requested fields of the GraphQL type EdgeWorker. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*CreateEdgeWorkerCreateEdgeWorker) GetActive

func (v *CreateEdgeWorkerCreateEdgeWorker) GetActive() bool

GetActive returns CreateEdgeWorkerCreateEdgeWorker.Active, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetCreatedAt

func (v *CreateEdgeWorkerCreateEdgeWorker) GetCreatedAt() string

GetCreatedAt returns CreateEdgeWorkerCreateEdgeWorker.CreatedAt, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetId

GetId returns CreateEdgeWorkerCreateEdgeWorker.Id, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetLocation

GetLocation returns CreateEdgeWorkerCreateEdgeWorker.Location, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetName

GetName returns CreateEdgeWorkerCreateEdgeWorker.Name, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetOnFailure

GetOnFailure returns CreateEdgeWorkerCreateEdgeWorker.OnFailure, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetPhases

GetPhases returns CreateEdgeWorkerCreateEdgeWorker.Phases, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) GetUpdatedAt

func (v *CreateEdgeWorkerCreateEdgeWorker) GetUpdatedAt() string

GetUpdatedAt returns CreateEdgeWorkerCreateEdgeWorker.UpdatedAt, and is useful for accessing the field via an interface.

func (*CreateEdgeWorkerCreateEdgeWorker) MarshalJSON

func (v *CreateEdgeWorkerCreateEdgeWorker) MarshalJSON() ([]byte, error)

func (*CreateEdgeWorkerCreateEdgeWorker) UnmarshalJSON

func (v *CreateEdgeWorkerCreateEdgeWorker) UnmarshalJSON(b []byte) error

type CreateEdgeWorkerResponse

type CreateEdgeWorkerResponse struct {
	// Create and upload a new inactive WASM edge worker. Use setEdgeWorkerActive to enable it after review.
	CreateEdgeWorker *CreateEdgeWorkerCreateEdgeWorker `json:"createEdgeWorker"`
}

CreateEdgeWorkerResponse is returned by CreateEdgeWorker on success.

func CreateEdgeWorker

func CreateEdgeWorker(
	ctx_ context.Context,
	client_ graphql.Client,
	input *edgeworkerinput.Create,
) (data_ *CreateEdgeWorkerResponse, err_ error)

func (*CreateEdgeWorkerResponse) GetCreateEdgeWorker

GetCreateEdgeWorker returns CreateEdgeWorkerResponse.CreateEdgeWorker, and is useful for accessing the field via an interface.

type DeleteEdgeWorkerInput

type DeleteEdgeWorkerInput struct {
	// The identifier of the edge worker to delete.
	EdgeWorkerId int64 `json:"edgeWorkerId"`
	// The environment the worker belongs to.
	EnvironmentId int64 `json:"environmentId"`
}

Input for deleting an edge worker.

func (*DeleteEdgeWorkerInput) GetEdgeWorkerId

func (v *DeleteEdgeWorkerInput) GetEdgeWorkerId() int64

GetEdgeWorkerId returns DeleteEdgeWorkerInput.EdgeWorkerId, and is useful for accessing the field via an interface.

func (*DeleteEdgeWorkerInput) GetEnvironmentId

func (v *DeleteEdgeWorkerInput) GetEnvironmentId() int64

GetEnvironmentId returns DeleteEdgeWorkerInput.EnvironmentId, and is useful for accessing the field via an interface.

type DeleteEdgeWorkerResponse

type DeleteEdgeWorkerResponse struct {
	// Permanently delete a WASM edge worker.
	DeleteEdgeWorker *bool `json:"deleteEdgeWorker"`
}

DeleteEdgeWorkerResponse is returned by DeleteEdgeWorker on success.

func DeleteEdgeWorker

func DeleteEdgeWorker(
	ctx_ context.Context,
	client_ graphql.Client,
	input *DeleteEdgeWorkerInput,
) (data_ *DeleteEdgeWorkerResponse, err_ error)

func (*DeleteEdgeWorkerResponse) GetDeleteEdgeWorker

func (v *DeleteEdgeWorkerResponse) GetDeleteEdgeWorker() *bool

GetDeleteEdgeWorker returns DeleteEdgeWorkerResponse.DeleteEdgeWorker, and is useful for accessing the field via an interface.

type DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayload

type DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayload struct {
	// The environment variables currently configured on the environment.
	EnvironmentVariables *DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList `json:"environmentVariables"`
}

DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayload includes the requested fields of the GraphQL type EnvironmentVariablesPayload. The GraphQL type's documentation follows.

The updated environment variable list after a mutation.

func (*DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayload) GetEnvironmentVariables

GetEnvironmentVariables returns DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayload.EnvironmentVariables, and is useful for accessing the field via an interface.

type DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList

type DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList struct {
	// The total number of environment variables for this environment
	Total *int64 `json:"total"`
	// The environment variables for this environment
	Nodes []*DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable `json:"nodes"`
}

DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList includes the requested fields of the GraphQL type EnvironmentVariablesList. The GraphQL type's documentation follows.

Customer-provided environment variables / constants

func (*DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList) GetNodes

GetNodes returns DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList.Nodes, and is useful for accessing the field via an interface.

func (*DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList) GetTotal

GetTotal returns DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesList.Total, and is useful for accessing the field via an interface.

type DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable

type DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable struct {
	// Environment variable name
	Name string `json:"name"`
}

DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable includes the requested fields of the GraphQL type EnvironmentVariable. The GraphQL type's documentation follows.

Customer-provided environment variable / constant

func (*DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable) GetName

GetName returns DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayloadEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable.Name, and is useful for accessing the field via an interface.

type DeleteEnvironmentVariableResponse

type DeleteEnvironmentVariableResponse struct {
	// Delete an environment variable from an application environment.
	DeleteEnvironmentVariable *DeleteEnvironmentVariableDeleteEnvironmentVariableEnvironmentVariablesPayload `json:"deleteEnvironmentVariable"`
}

DeleteEnvironmentVariableResponse is returned by DeleteEnvironmentVariable on success.

func DeleteEnvironmentVariable

func DeleteEnvironmentVariable(
	ctx_ context.Context,
	client_ graphql.Client,
	input *EnvironmentVariableInput,
) (data_ *DeleteEnvironmentVariableResponse, err_ error)

func (*DeleteEnvironmentVariableResponse) GetDeleteEnvironmentVariable

GetDeleteEnvironmentVariable returns DeleteEnvironmentVariableResponse.DeleteEnvironmentVariable, and is useful for accessing the field via an interface.

type DevEnvAppInfoApp

type DevEnvAppInfoApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*DevEnvAppInfoAppEnvironmentsAppEnvironment `json:"environments"`
}

DevEnvAppInfoApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*DevEnvAppInfoApp) GetEnvironments

GetEnvironments returns DevEnvAppInfoApp.Environments, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoApp) GetId

func (v *DevEnvAppInfoApp) GetId() *int64

GetId returns DevEnvAppInfoApp.Id, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoApp) GetName

func (v *DevEnvAppInfoApp) GetName() *string

GetName returns DevEnvAppInfoApp.Name, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironment

type DevEnvAppInfoAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// Whether the environment is a multisite install.
	IsMultisite *bool `json:"isMultisite"`
	// The primary domain for the environment.
	PrimaryDomain *DevEnvAppInfoAppEnvironmentsAppEnvironmentPrimaryDomain `json:"primaryDomain"`
	// The environment variables configured for the environment.
	EnvironmentVariables *DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList `json:"environmentVariables"`
	// The software settings for the environment.
	SoftwareSettings *DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings `json:"softwareSettings"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns DevEnvAppInfoAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetEnvironmentVariables

GetEnvironmentVariables returns DevEnvAppInfoAppEnvironmentsAppEnvironment.EnvironmentVariables, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetId

GetId returns DevEnvAppInfoAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetIsMultisite

func (v *DevEnvAppInfoAppEnvironmentsAppEnvironment) GetIsMultisite() *bool

GetIsMultisite returns DevEnvAppInfoAppEnvironmentsAppEnvironment.IsMultisite, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetName

GetName returns DevEnvAppInfoAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetPrimaryDomain

GetPrimaryDomain returns DevEnvAppInfoAppEnvironmentsAppEnvironment.PrimaryDomain, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetSoftwareSettings

GetSoftwareSettings returns DevEnvAppInfoAppEnvironmentsAppEnvironment.SoftwareSettings, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironment) GetType

GetType returns DevEnvAppInfoAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList

type DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList struct {
	// The environment variables for this environment
	Nodes []*DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable `json:"nodes"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList includes the requested fields of the GraphQL type EnvironmentVariablesList. The GraphQL type's documentation follows.

Customer-provided environment variables / constants

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList) GetNodes

GetNodes returns DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList.Nodes, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable

type DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable struct {
	// Environment variable name
	Name string `json:"name"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable includes the requested fields of the GraphQL type EnvironmentVariable. The GraphQL type's documentation follows.

Customer-provided environment variable / constant

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable) GetName

GetName returns DevEnvAppInfoAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable.Name, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentPrimaryDomain

type DevEnvAppInfoAppEnvironmentsAppEnvironmentPrimaryDomain struct {
	// The domain name (i.e. something like example.com or sub.example.com)
	Name string `json:"name"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentPrimaryDomain includes the requested fields of the GraphQL type Domain. The GraphQL type's documentation follows.

A domain for an environment

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentPrimaryDomain) GetName

GetName returns DevEnvAppInfoAppEnvironmentsAppEnvironmentPrimaryDomain.Name, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings struct {
	// The PHP software settings.
	Php *DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware `json:"php"`
	// The WordPress software settings.
	Wordpress *DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware `json:"wordpress"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettings. The GraphQL type's documentation follows.

Available software settings for an application environment.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings) GetPhp

GetPhp returns DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings.Php, and is useful for accessing the field via an interface.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings) GetWordpress

GetWordpress returns DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettings.Wordpress, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware struct {
	// The currently selected version.
	Current *DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion `json:"current"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion struct {
	// The version identifier.
	Version string `json:"version"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsVersion. The GraphQL type's documentation follows.

A software version option available for an environment.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion) GetVersion

GetVersion returns DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion.Version, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware struct {
	// The currently selected version.
	Current *DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion `json:"current"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion

type DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion struct {
	// The version identifier.
	Version string `json:"version"`
}

DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsVersion. The GraphQL type's documentation follows.

A software version option available for an environment.

func (*DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion) GetVersion

GetVersion returns DevEnvAppInfoAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftwareCurrentAppEnvironmentSoftwareSettingsVersion.Version, and is useful for accessing the field via an interface.

type DevEnvAppInfoResponse

type DevEnvAppInfoResponse struct {
	// Retrieve a single application.
	App *DevEnvAppInfoApp `json:"app"`
}

DevEnvAppInfoResponse is returned by DevEnvAppInfo on success.

func DevEnvAppInfo

func DevEnvAppInfo(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
) (data_ *DevEnvAppInfoResponse, err_ error)

dev-env create @app.env pre-population. Node source: getApplicationInformation — src/lib/dev-environment/dev-environment-core.ts:735 getOptionsFromAppInfo — src/lib/dev-environment/dev-environment-cli.ts:257 Fetches all environments (no useful server-side filter; the env is picked client-side by type) with the fields that seed the wizard defaults.

func (*DevEnvAppInfoResponse) GetApp

GetApp returns DevEnvAppInfoResponse.App, and is useful for accessing the field via an interface.

type DevEnvSyncSitesApp

type DevEnvSyncSitesApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*DevEnvSyncSitesAppEnvironmentsAppEnvironment `json:"environments"`
}

DevEnvSyncSitesApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*DevEnvSyncSitesApp) GetEnvironments

GetEnvironments returns DevEnvSyncSitesApp.Environments, and is useful for accessing the field via an interface.

type DevEnvSyncSitesAppEnvironmentsAppEnvironment

type DevEnvSyncSitesAppEnvironmentsAppEnvironment struct {
	// Get WordPress Site Details from SDS
	WpSitesSDS *DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList `json:"wpSitesSDS"`
}

DevEnvSyncSitesAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironment) GetWpSitesSDS

GetWpSitesSDS returns DevEnvSyncSitesAppEnvironmentsAppEnvironment.WpSitesSDS, and is useful for accessing the field via an interface.

type DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList

type DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList struct {
	// The total number of matching WordPress sites.
	Total *int64 `json:"total"`
	// The cursor for the next page of WordPress sites.
	NextCursor *string `json:"nextCursor"`
	// The WordPress sites returned in the current page.
	Nodes []*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite `json:"nodes"`
}

DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList includes the requested fields of the GraphQL type WPSiteList. The GraphQL type's documentation follows.

A paginated list of WordPress sites.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList) GetNextCursor

GetNextCursor returns DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList.NextCursor, and is useful for accessing the field via an interface.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList) GetNodes

GetNodes returns DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList.Nodes, and is useful for accessing the field via an interface.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList) GetTotal

GetTotal returns DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList.Total, and is useful for accessing the field via an interface.

type DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite

type DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite struct {
	// WordPress Site/Blog ID
	BlogId *int64 `json:"blogId"`
	// WordPress Home URL option
	HomeUrl *string `json:"homeUrl"`
	// WordPress Site URL option
	SiteUrl *string `json:"siteUrl"`
}

DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite includes the requested fields of the GraphQL type WPSite. The GraphQL type's documentation follows.

A WordPress site or subsite within an environment.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite) GetBlogId

GetBlogId returns DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite.BlogId, and is useful for accessing the field via an interface.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite) GetHomeUrl

GetHomeUrl returns DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite.HomeUrl, and is useful for accessing the field via an interface.

func (*DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite) GetSiteUrl

GetSiteUrl returns DevEnvSyncSitesAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite.SiteUrl, and is useful for accessing the field via an interface.

type DevEnvSyncSitesResponse

type DevEnvSyncSitesResponse struct {
	// Retrieve a single application.
	App *DevEnvSyncSitesApp `json:"app"`
}

DevEnvSyncSitesResponse is returned by DevEnvSyncSites on success.

func DevEnvSyncSites

func DevEnvSyncSites(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	environmentId int64,
	after *string,
	first int64,
) (data_ *DevEnvSyncSitesResponse, err_ error)

func (*DevEnvSyncSitesResponse) GetApp

GetApp returns DevEnvSyncSitesResponse.App, and is useful for accessing the field via an interface.

type Doer

type Doer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer mirrors genqlient's interface plus what middleware needs.

type EdgeWorkerDetailApp

type EdgeWorkerDetailApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*EdgeWorkerDetailAppEnvironmentsAppEnvironment `json:"environments"`
}

EdgeWorkerDetailApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*EdgeWorkerDetailApp) GetEnvironments

GetEnvironments returns EdgeWorkerDetailApp.Environments, and is useful for accessing the field via an interface.

type EdgeWorkerDetailAppEnvironmentsAppEnvironment

type EdgeWorkerDetailAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The WASM edge workers deployed to the environment.
	EdgeWorkers []*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker `json:"edgeWorkers"`
}

EdgeWorkerDetailAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironment) GetEdgeWorkers

GetEdgeWorkers returns EdgeWorkerDetailAppEnvironmentsAppEnvironment.EdgeWorkers, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironment) GetId

GetId returns EdgeWorkerDetailAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

type EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker

type EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker struct {
	EdgeWorkerFields `json:"-"`
}

EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker includes the requested fields of the GraphQL type EdgeWorker. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetActive

GetActive returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Active, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetCreatedAt

GetCreatedAt returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.CreatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetId

GetId returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Id, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetLocation

GetLocation returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Location, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetName

GetName returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Name, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetOnFailure

GetOnFailure returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.OnFailure, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetPhases

GetPhases returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Phases, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetUpdatedAt

GetUpdatedAt returns EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.UpdatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) MarshalJSON

func (*EdgeWorkerDetailAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) UnmarshalJSON

type EdgeWorkerDetailResponse

type EdgeWorkerDetailResponse struct {
	// Retrieve a single application.
	App *EdgeWorkerDetailApp `json:"app"`
}

EdgeWorkerDetailResponse is returned by EdgeWorkerDetail on success.

func EdgeWorkerDetail

func EdgeWorkerDetail(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *EdgeWorkerDetailResponse, err_ error)

func (*EdgeWorkerDetailResponse) GetApp

GetApp returns EdgeWorkerDetailResponse.App, and is useful for accessing the field via an interface.

type EdgeWorkerDetailWithSourceApp

type EdgeWorkerDetailWithSourceApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment `json:"environments"`
}

EdgeWorkerDetailWithSourceApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*EdgeWorkerDetailWithSourceApp) GetEnvironments

GetEnvironments returns EdgeWorkerDetailWithSourceApp.Environments, and is useful for accessing the field via an interface.

type EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment

type EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The WASM edge workers deployed to the environment.
	EdgeWorkers []*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker `json:"edgeWorkers"`
}

EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment) GetEdgeWorkers

GetEdgeWorkers returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment.EdgeWorkers, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment) GetId

GetId returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

type EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker

type EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker struct {
	EdgeWorkerFields `json:"-"`
	// The original source code, if it was stored. Fetched on demand.
	Source *string `json:"source"`
}

EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker includes the requested fields of the GraphQL type EdgeWorker. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetActive

GetActive returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Active, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetCreatedAt

GetCreatedAt returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.CreatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetId

GetId returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Id, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetLocation

GetLocation returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Location, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetName

GetName returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Name, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetOnFailure

GetOnFailure returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.OnFailure, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetPhases

GetPhases returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Phases, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetSource

GetSource returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Source, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetUpdatedAt

GetUpdatedAt returns EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.UpdatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) MarshalJSON

func (*EdgeWorkerDetailWithSourceAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) UnmarshalJSON

type EdgeWorkerDetailWithSourceResponse

type EdgeWorkerDetailWithSourceResponse struct {
	// Retrieve a single application.
	App *EdgeWorkerDetailWithSourceApp `json:"app"`
}

EdgeWorkerDetailWithSourceResponse is returned by EdgeWorkerDetailWithSource on success.

func EdgeWorkerDetailWithSource

func EdgeWorkerDetailWithSource(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *EdgeWorkerDetailWithSourceResponse, err_ error)

func (*EdgeWorkerDetailWithSourceResponse) GetApp

GetApp returns EdgeWorkerDetailWithSourceResponse.App, and is useful for accessing the field via an interface.

type EdgeWorkerFields

type EdgeWorkerFields struct {
	// The unique identifier for the edge worker.
	Id int64 `json:"id"`
	// The human-readable name of the edge worker.
	Name string `json:"name"`
	// An optional rule scoping which requests the worker runs on. Runs on all requests when null.
	Location *EdgeWorkerFieldsLocationEdgeWorkerLocation `json:"location"`
	// The request lifecycle phases the worker runs in.
	Phases []EdgeWorkerPhase `json:"phases"`
	// The behavior to apply when the worker errors at runtime.
	OnFailure EdgeWorkerOnFailure `json:"onFailure"`
	// Whether the worker is currently active.
	Active bool `json:"active"`
	// When the worker was created.
	CreatedAt string `json:"createdAt"`
	// When the worker was last modified.
	UpdatedAt string `json:"updatedAt"`
}

EdgeWorkerFields includes the GraphQL fields of EdgeWorker requested by the fragment EdgeWorkerFields. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*EdgeWorkerFields) GetActive

func (v *EdgeWorkerFields) GetActive() bool

GetActive returns EdgeWorkerFields.Active, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetCreatedAt

func (v *EdgeWorkerFields) GetCreatedAt() string

GetCreatedAt returns EdgeWorkerFields.CreatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetId

func (v *EdgeWorkerFields) GetId() int64

GetId returns EdgeWorkerFields.Id, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetLocation

GetLocation returns EdgeWorkerFields.Location, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetName

func (v *EdgeWorkerFields) GetName() string

GetName returns EdgeWorkerFields.Name, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetOnFailure

func (v *EdgeWorkerFields) GetOnFailure() EdgeWorkerOnFailure

GetOnFailure returns EdgeWorkerFields.OnFailure, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetPhases

func (v *EdgeWorkerFields) GetPhases() []EdgeWorkerPhase

GetPhases returns EdgeWorkerFields.Phases, and is useful for accessing the field via an interface.

func (*EdgeWorkerFields) GetUpdatedAt

func (v *EdgeWorkerFields) GetUpdatedAt() string

GetUpdatedAt returns EdgeWorkerFields.UpdatedAt, and is useful for accessing the field via an interface.

type EdgeWorkerFieldsLocationEdgeWorkerLocation

type EdgeWorkerFieldsLocationEdgeWorkerLocation struct {
	// The operator used to match the request path.
	Operator EdgeWorkerLocationOperator `json:"operator"`
	// The value to compare the request path against.
	Value string `json:"value"`
}

EdgeWorkerFieldsLocationEdgeWorkerLocation includes the requested fields of the GraphQL type EdgeWorkerLocation. The GraphQL type's documentation follows.

A rule scoping which requests an edge worker runs on.

func (*EdgeWorkerFieldsLocationEdgeWorkerLocation) GetOperator

GetOperator returns EdgeWorkerFieldsLocationEdgeWorkerLocation.Operator, and is useful for accessing the field via an interface.

func (*EdgeWorkerFieldsLocationEdgeWorkerLocation) GetValue

GetValue returns EdgeWorkerFieldsLocationEdgeWorkerLocation.Value, and is useful for accessing the field via an interface.

type EdgeWorkerLocationOperator

type EdgeWorkerLocationOperator string

The operators available for matching an edge worker location.

const (
	// Match when the path contains the value.
	EdgeWorkerLocationOperatorContains EdgeWorkerLocationOperator = "contains"
	// Match when the path exactly equals the value.
	EdgeWorkerLocationOperatorEquals EdgeWorkerLocationOperator = "equals"
	// Match when the path starts with the value.
	EdgeWorkerLocationOperatorStartsWith EdgeWorkerLocationOperator = "starts_with"
	// Match when the path ends with the value.
	EdgeWorkerLocationOperatorEndsWith EdgeWorkerLocationOperator = "ends_with"
)

type EdgeWorkerOnFailure

type EdgeWorkerOnFailure string

The behavior to apply when an edge worker errors at runtime.

const (
	// Continue serving the request as if the worker had not run.
	EdgeWorkerOnFailureContinue EdgeWorkerOnFailure = "continue"
	// Fail the request when the worker errors.
	EdgeWorkerOnFailureError EdgeWorkerOnFailure = "error"
)

type EdgeWorkerPhase

type EdgeWorkerPhase string

The request lifecycle phases an edge worker can run in.

const (
	// Run while the request is being processed.
	EdgeWorkerPhaseRequest EdgeWorkerPhase = "request"
	// Run while the response is being processed.
	EdgeWorkerPhaseResponse EdgeWorkerPhase = "response"
)

type EdgeWorkersApp

type EdgeWorkersApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*EdgeWorkersAppEnvironmentsAppEnvironment `json:"environments"`
}

EdgeWorkersApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*EdgeWorkersApp) GetEnvironments

GetEnvironments returns EdgeWorkersApp.Environments, and is useful for accessing the field via an interface.

type EdgeWorkersAppEnvironmentsAppEnvironment

type EdgeWorkersAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The WASM edge workers deployed to the environment.
	EdgeWorkers []*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker `json:"edgeWorkers"`
}

EdgeWorkersAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*EdgeWorkersAppEnvironmentsAppEnvironment) GetEdgeWorkers

GetEdgeWorkers returns EdgeWorkersAppEnvironmentsAppEnvironment.EdgeWorkers, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironment) GetId

GetId returns EdgeWorkersAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

type EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker

type EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker struct {
	EdgeWorkerFields `json:"-"`
}

EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker includes the requested fields of the GraphQL type EdgeWorker. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetActive

GetActive returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Active, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetCreatedAt

GetCreatedAt returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.CreatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetId

GetId returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Id, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetLocation

GetLocation returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Location, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetName

GetName returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Name, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetOnFailure

GetOnFailure returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.OnFailure, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetPhases

GetPhases returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.Phases, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) GetUpdatedAt

GetUpdatedAt returns EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker.UpdatedAt, and is useful for accessing the field via an interface.

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) MarshalJSON

func (*EdgeWorkersAppEnvironmentsAppEnvironmentEdgeWorkersEdgeWorker) UnmarshalJSON

type EdgeWorkersResponse

type EdgeWorkersResponse struct {
	// Retrieve a single application.
	App *EdgeWorkersApp `json:"app"`
}

EdgeWorkersResponse is returned by EdgeWorkers on success.

func EdgeWorkers

func EdgeWorkers(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *EdgeWorkersResponse, err_ error)

func (*EdgeWorkersResponse) GetApp

func (v *EdgeWorkersResponse) GetApp() *EdgeWorkersApp

GetApp returns EdgeWorkersResponse.App, and is useful for accessing the field via an interface.

type EnablePhpMyAdminEnablePHPMyAdminEnablePhpMyAdminPayload

type EnablePhpMyAdminEnablePHPMyAdminEnablePhpMyAdminPayload struct {
	// Whether phpMyAdmin was enabled successfully.
	Success *bool `json:"success"`
}

EnablePhpMyAdminEnablePHPMyAdminEnablePhpMyAdminPayload includes the requested fields of the GraphQL type EnablePhpMyAdminPayload. The GraphQL type's documentation follows.

The result of enabling phpMyAdmin.

func (*EnablePhpMyAdminEnablePHPMyAdminEnablePhpMyAdminPayload) GetSuccess

GetSuccess returns EnablePhpMyAdminEnablePHPMyAdminEnablePhpMyAdminPayload.Success, and is useful for accessing the field via an interface.

type EnablePhpMyAdminInput

type EnablePhpMyAdminInput struct {
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
}

Input for enabling phpMyAdmin.

func (*EnablePhpMyAdminInput) GetEnvironmentId

func (v *EnablePhpMyAdminInput) GetEnvironmentId() int64

GetEnvironmentId returns EnablePhpMyAdminInput.EnvironmentId, and is useful for accessing the field via an interface.

type EnablePhpMyAdminResponse

type EnablePhpMyAdminResponse struct {
	// Enable phpMyAdmin for an environment.
	EnablePHPMyAdmin *EnablePhpMyAdminEnablePHPMyAdminEnablePhpMyAdminPayload `json:"enablePHPMyAdmin"`
}

EnablePhpMyAdminResponse is returned by EnablePhpMyAdmin on success.

func EnablePhpMyAdmin

func EnablePhpMyAdmin(
	ctx_ context.Context,
	client_ graphql.Client,
	input *EnablePhpMyAdminInput,
) (data_ *EnablePhpMyAdminResponse, err_ error)

func (*EnablePhpMyAdminResponse) GetEnablePHPMyAdmin

GetEnablePHPMyAdmin returns EnablePhpMyAdminResponse.EnablePHPMyAdmin, and is useful for accessing the field via an interface.

type EnvironmentVariableInput

type EnvironmentVariableInput struct {
	// The unique ID of the Application
	ApplicationId int64 `json:"applicationId"`
	// The unique ID of the environment
	EnvironmentId int64 `json:"environmentId"`
	// Environment variable name (must consist of uppercase letters, numbers, and underscore
	Name string `json:"name"`
	// Whether to reload the site manifest after the operation
	ReloadManifest *bool `json:"reloadManifest"`
	// Environment variable value
	Value string `json:"value"`
}

Input for creating, updating, or deleting an environment variable.

func (*EnvironmentVariableInput) GetApplicationId

func (v *EnvironmentVariableInput) GetApplicationId() int64

GetApplicationId returns EnvironmentVariableInput.ApplicationId, and is useful for accessing the field via an interface.

func (*EnvironmentVariableInput) GetEnvironmentId

func (v *EnvironmentVariableInput) GetEnvironmentId() int64

GetEnvironmentId returns EnvironmentVariableInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*EnvironmentVariableInput) GetName

func (v *EnvironmentVariableInput) GetName() string

GetName returns EnvironmentVariableInput.Name, and is useful for accessing the field via an interface.

func (*EnvironmentVariableInput) GetReloadManifest

func (v *EnvironmentVariableInput) GetReloadManifest() *bool

GetReloadManifest returns EnvironmentVariableInput.ReloadManifest, and is useful for accessing the field via an interface.

func (*EnvironmentVariableInput) GetValue

func (v *EnvironmentVariableInput) GetValue() string

GetValue returns EnvironmentVariableInput.Value, and is useful for accessing the field via an interface.

type ErrorConfig

type ErrorConfig struct {
	Stderr      io.Writer
	Exit        func(int)
	Silence     bool // mirrors silenceAuthErrors
	ExitOnError bool // mirrors exitOnError
}

ErrorConfig controls the behavior of the error middleware.

type GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload

type GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload struct {
	// The generated download URL.
	Url *string `json:"url"`
	// Whether the operation succeeded.
	Success *bool `json:"success"`
}

GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload includes the requested fields of the GraphQL type AppEnvironmentGenerateDBBackupCopyUrlPayload. The GraphQL type's documentation follows.

The result of generating a database backup copy download URL.

func (*GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload) GetSuccess

GetSuccess returns GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload.Success, and is useful for accessing the field via an interface.

func (*GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload) GetUrl

GetUrl returns GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload.Url, and is useful for accessing the field via an interface.

type GenerateDBBackupCopyUrlResponse

type GenerateDBBackupCopyUrlResponse struct {
	// Generate a presigned download URL for a copied database backup.
	GenerateDBBackupCopyUrl *GenerateDBBackupCopyUrlGenerateDBBackupCopyUrlAppEnvironmentGenerateDBBackupCopyUrlPayload `json:"generateDBBackupCopyUrl"`
}

GenerateDBBackupCopyUrlResponse is returned by GenerateDBBackupCopyUrl on success.

func (*GenerateDBBackupCopyUrlResponse) GetGenerateDBBackupCopyUrl

GetGenerateDBBackupCopyUrl returns GenerateDBBackupCopyUrlResponse.GenerateDBBackupCopyUrl, and is useful for accessing the field via an interface.

type GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload

type GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload struct {
	// Whether the operation succeeded.
	Success bool `json:"success"`
	// The generated download URL.
	Url *string `json:"url"`
	// Whether the live backup copy is still processing.
	Processing bool `json:"processing"`
	// The size of the downloadable copy in bytes.
	Size *int64 `json:"size"`
}

GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload includes the requested fields of the GraphQL type AppEnvironmentLiveBackupCopyDownloadURLPayload. The GraphQL type's documentation follows.

The result of generating a live backup copy download URL.

func (*GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload) GetProcessing

GetProcessing returns GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload.Processing, and is useful for accessing the field via an interface.

func (*GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload) GetSize

GetSize returns GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload.Size, and is useful for accessing the field via an interface.

func (*GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload) GetSuccess

GetSuccess returns GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload.Success, and is useful for accessing the field via an interface.

func (*GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload) GetUrl

GetUrl returns GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload.Url, and is useful for accessing the field via an interface.

type GenerateLiveBackupCopyDownloadURLResponse

type GenerateLiveBackupCopyDownloadURLResponse struct {
	// Generate a live backup copy download URL.
	GenerateLiveBackupCopyDownloadURL *GenerateLiveBackupCopyDownloadURLGenerateLiveBackupCopyDownloadURLAppEnvironmentLiveBackupCopyDownloadURLPayload `json:"generateLiveBackupCopyDownloadURL"`
}

GenerateLiveBackupCopyDownloadURLResponse is returned by GenerateLiveBackupCopyDownloadURL on success.

func (*GenerateLiveBackupCopyDownloadURLResponse) GetGenerateLiveBackupCopyDownloadURL

GetGenerateLiveBackupCopyDownloadURL returns GenerateLiveBackupCopyDownloadURLResponse.GenerateLiveBackupCopyDownloadURL, and is useful for accessing the field via an interface.

type GeneratePhpMyAdminAccessGeneratePHPMyAdminAccessGeneratePhpMyAdminAccessPayload

type GeneratePhpMyAdminAccessGeneratePHPMyAdminAccessGeneratePhpMyAdminAccessPayload struct {
	// The generated phpMyAdmin URL.
	Url *string `json:"url"`
}

GeneratePhpMyAdminAccessGeneratePHPMyAdminAccessGeneratePhpMyAdminAccessPayload includes the requested fields of the GraphQL type GeneratePhpMyAdminAccessPayload. The GraphQL type's documentation follows.

The result of generating phpMyAdmin access.

func (*GeneratePhpMyAdminAccessGeneratePHPMyAdminAccessGeneratePhpMyAdminAccessPayload) GetUrl

GetUrl returns GeneratePhpMyAdminAccessGeneratePHPMyAdminAccessGeneratePhpMyAdminAccessPayload.Url, and is useful for accessing the field via an interface.

type GeneratePhpMyAdminAccessInput

type GeneratePhpMyAdminAccessInput struct {
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
}

Input for generating phpMyAdmin access.

func (*GeneratePhpMyAdminAccessInput) GetEnvironmentId

func (v *GeneratePhpMyAdminAccessInput) GetEnvironmentId() int64

GetEnvironmentId returns GeneratePhpMyAdminAccessInput.EnvironmentId, and is useful for accessing the field via an interface.

type GeneratePhpMyAdminAccessResponse

type GeneratePhpMyAdminAccessResponse struct {
	// Generate temporary phpMyAdmin access for an environment.
	GeneratePHPMyAdminAccess *GeneratePhpMyAdminAccessGeneratePHPMyAdminAccessGeneratePhpMyAdminAccessPayload `json:"generatePHPMyAdminAccess"`
}

GeneratePhpMyAdminAccessResponse is returned by GeneratePhpMyAdminAccess on success.

func GeneratePhpMyAdminAccess

func GeneratePhpMyAdminAccess(
	ctx_ context.Context,
	client_ graphql.Client,
	input *GeneratePhpMyAdminAccessInput,
) (data_ *GeneratePhpMyAdminAccessResponse, err_ error)

func (*GeneratePhpMyAdminAccessResponse) GetGeneratePHPMyAdminAccess

GetGeneratePHPMyAdminAccess returns GeneratePhpMyAdminAccessResponse.GeneratePHPMyAdminAccess, and is useful for accessing the field via an interface.

type GetAppLogsApp

type GetAppLogsApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*GetAppLogsAppEnvironmentsAppEnvironment `json:"environments"`
}

GetAppLogsApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*GetAppLogsApp) GetEnvironments

GetEnvironments returns GetAppLogsApp.Environments, and is useful for accessing the field via an interface.

func (*GetAppLogsApp) GetId

func (v *GetAppLogsApp) GetId() *int64

GetId returns GetAppLogsApp.Id, and is useful for accessing the field via an interface.

type GetAppLogsAppEnvironmentsAppEnvironment

type GetAppLogsAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// Application and platform logs for the environment. Use `type: app` or `type: batch`. Returns `pollingDelaySeconds` to guide incremental polling.
	Logs *GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList `json:"logs"`
}

GetAppLogsAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*GetAppLogsAppEnvironmentsAppEnvironment) GetId

GetId returns GetAppLogsAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*GetAppLogsAppEnvironmentsAppEnvironment) GetLogs

GetLogs returns GetAppLogsAppEnvironmentsAppEnvironment.Logs, and is useful for accessing the field via an interface.

type GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList

type GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList struct {
	// The log entries returned in the current page.
	Nodes []*GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog `json:"nodes"`
	// The cursor for the next page of log entries.
	NextCursor *string `json:"nextCursor"`
	// The suggested polling delay before fetching logs again.
	PollingDelaySeconds int64 `json:"pollingDelaySeconds"`
}

GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList includes the requested fields of the GraphQL type AppEnvironmentLogsList. The GraphQL type's documentation follows.

A paginated list of environment log entries.

func (*GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList) GetNextCursor

GetNextCursor returns GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList.NextCursor, and is useful for accessing the field via an interface.

func (*GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList) GetNodes

GetNodes returns GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList.Nodes, and is useful for accessing the field via an interface.

func (*GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList) GetPollingDelaySeconds

GetPollingDelaySeconds returns GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsList.PollingDelaySeconds, and is useful for accessing the field via an interface.

type GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog

type GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog struct {
	// When the log entry was recorded.
	Timestamp *string `json:"timestamp"`
	// The log message.
	Message *string `json:"message"`
}

GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog includes the requested fields of the GraphQL type AppEnvironmentLog. The GraphQL type's documentation follows.

A single environment log entry.

func (*GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog) GetMessage

GetMessage returns GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog.Message, and is useful for accessing the field via an interface.

func (*GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog) GetTimestamp

GetTimestamp returns GetAppLogsAppEnvironmentsAppEnvironmentLogsAppEnvironmentLogsListNodesAppEnvironmentLog.Timestamp, and is useful for accessing the field via an interface.

type GetAppLogsResponse

type GetAppLogsResponse struct {
	// Retrieve a single application.
	App *GetAppLogsApp `json:"app"`
}

GetAppLogsResponse is returned by GetAppLogs on success.

func GetAppLogs

func GetAppLogs(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
	logType AppEnvironmentLogType,
	limit int64,
	after *string,
) (data_ *GetAppLogsResponse, err_ error)

func (*GetAppLogsResponse) GetApp

func (v *GetAppLogsResponse) GetApp() *GetAppLogsApp

GetApp returns GetAppLogsResponse.App, and is useful for accessing the field via an interface.

type GetAppSlowlogsApp

type GetAppSlowlogsApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*GetAppSlowlogsAppEnvironmentsAppEnvironment `json:"environments"`
}

GetAppSlowlogsApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*GetAppSlowlogsApp) GetEnvironments

GetEnvironments returns GetAppSlowlogsApp.Environments, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsApp) GetId

func (v *GetAppSlowlogsApp) GetId() *int64

GetId returns GetAppSlowlogsApp.Id, and is useful for accessing the field via an interface.

type GetAppSlowlogsAppEnvironmentsAppEnvironment

type GetAppSlowlogsAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// Database slow query logs for the environment.
	Slowlogs *GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList `json:"slowlogs"`
}

GetAppSlowlogsAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironment) GetId

GetId returns GetAppSlowlogsAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironment) GetSlowlogs

GetSlowlogs returns GetAppSlowlogsAppEnvironmentsAppEnvironment.Slowlogs, and is useful for accessing the field via an interface.

type GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList

type GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList struct {
	// The slow log entries returned in the current page.
	Nodes []*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog `json:"nodes"`
	// The cursor for the next page of slow log entries.
	NextCursor *string `json:"nextCursor"`
	// The suggested polling delay before fetching slow logs again.
	PollingDelaySeconds int64 `json:"pollingDelaySeconds"`
}

GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList includes the requested fields of the GraphQL type AppEnvironmentSlowlogsList. The GraphQL type's documentation follows.

A paginated list of slow log entries.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList) GetNextCursor

GetNextCursor returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList.NextCursor, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList) GetNodes

GetNodes returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList.Nodes, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList) GetPollingDelaySeconds

GetPollingDelaySeconds returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsList.PollingDelaySeconds, and is useful for accessing the field via an interface.

type GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog

type GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog struct {
	// When the slow query was recorded.
	Timestamp *string `json:"timestamp"`
	// The number of rows returned by the query.
	RowsSent *string `json:"rowsSent"`
	// The number of rows examined by the query.
	RowsExamined *string `json:"rowsExamined"`
	// How long the query took to execute.
	QueryTime *string `json:"queryTime"`
	// The request URI associated with the slow query.
	RequestUri *string `json:"requestUri"`
	// The SQL query text.
	Query *string `json:"query"`
}

GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog includes the requested fields of the GraphQL type AppEnvironmentSlowlog. The GraphQL type's documentation follows.

A single slow query log entry.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog) GetQuery

GetQuery returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog.Query, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog) GetQueryTime

GetQueryTime returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog.QueryTime, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog) GetRequestUri

GetRequestUri returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog.RequestUri, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog) GetRowsExamined

GetRowsExamined returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog.RowsExamined, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog) GetRowsSent

GetRowsSent returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog.RowsSent, and is useful for accessing the field via an interface.

func (*GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog) GetTimestamp

GetTimestamp returns GetAppSlowlogsAppEnvironmentsAppEnvironmentSlowlogsAppEnvironmentSlowlogsListNodesAppEnvironmentSlowlog.Timestamp, and is useful for accessing the field via an interface.

type GetAppSlowlogsResponse

type GetAppSlowlogsResponse struct {
	// Retrieve a single application.
	App *GetAppSlowlogsApp `json:"app"`
}

GetAppSlowlogsResponse is returned by GetAppSlowlogs on success.

func GetAppSlowlogs

func GetAppSlowlogs(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
	limit int64,
	after *string,
) (data_ *GetAppSlowlogsResponse, err_ error)

func (*GetAppSlowlogsResponse) GetApp

GetApp returns GetAppSlowlogsResponse.App, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesApp

type GetEnvironmentVariablesApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*GetEnvironmentVariablesAppEnvironmentsAppEnvironment `json:"environments"`
}

GetEnvironmentVariablesApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*GetEnvironmentVariablesApp) GetEnvironments

GetEnvironments returns GetEnvironmentVariablesApp.Environments, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesApp) GetId

func (v *GetEnvironmentVariablesApp) GetId() *int64

GetId returns GetEnvironmentVariablesApp.Id, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesAppEnvironmentsAppEnvironment

type GetEnvironmentVariablesAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The environment variables configured for the environment.
	EnvironmentVariables *GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList `json:"environmentVariables"`
}

GetEnvironmentVariablesAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*GetEnvironmentVariablesAppEnvironmentsAppEnvironment) GetEnvironmentVariables

GetEnvironmentVariables returns GetEnvironmentVariablesAppEnvironmentsAppEnvironment.EnvironmentVariables, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesAppEnvironmentsAppEnvironment) GetId

GetId returns GetEnvironmentVariablesAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList

type GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList struct {
	// The total number of environment variables for this environment
	Total *int64 `json:"total"`
	// The environment variables for this environment
	Nodes []*GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable `json:"nodes"`
}

GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList includes the requested fields of the GraphQL type EnvironmentVariablesList. The GraphQL type's documentation follows.

Customer-provided environment variables / constants

func (*GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList) GetNodes

GetNodes returns GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList.Nodes, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList) GetTotal

GetTotal returns GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList.Total, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable

type GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable struct {
	// Environment variable name
	Name string `json:"name"`
}

GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable includes the requested fields of the GraphQL type EnvironmentVariable. The GraphQL type's documentation follows.

Customer-provided environment variable / constant

func (*GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable) GetName

GetName returns GetEnvironmentVariablesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable.Name, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesResponse

type GetEnvironmentVariablesResponse struct {
	// Retrieve a single application.
	App *GetEnvironmentVariablesApp `json:"app"`
}

GetEnvironmentVariablesResponse is returned by GetEnvironmentVariables on success.

func GetEnvironmentVariables

func GetEnvironmentVariables(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *GetEnvironmentVariablesResponse, err_ error)

func (*GetEnvironmentVariablesResponse) GetApp

GetApp returns GetEnvironmentVariablesResponse.App, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesWithValuesApp

type GetEnvironmentVariablesWithValuesApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment `json:"environments"`
}

GetEnvironmentVariablesWithValuesApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*GetEnvironmentVariablesWithValuesApp) GetEnvironments

GetEnvironments returns GetEnvironmentVariablesWithValuesApp.Environments, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesWithValuesApp) GetId

GetId returns GetEnvironmentVariablesWithValuesApp.Id, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment

type GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The environment variables configured for the environment.
	EnvironmentVariables *GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList `json:"environmentVariables"`
}

GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment) GetEnvironmentVariables

GetEnvironmentVariables returns GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment.EnvironmentVariables, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment) GetId

GetId returns GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList

type GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList struct {
	// The total number of environment variables for this environment
	Total *int64 `json:"total"`
	// The environment variables for this environment
	Nodes []*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable `json:"nodes"`
}

GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList includes the requested fields of the GraphQL type EnvironmentVariablesList. The GraphQL type's documentation follows.

Customer-provided environment variables / constants

func (*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList) GetNodes

GetNodes returns GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList.Nodes, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList) GetTotal

GetTotal returns GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesList.Total, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable

type GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable struct {
	// Environment variable name
	Name string `json:"name"`
	// Environment variable value
	Value *string `json:"value"`
}

GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable includes the requested fields of the GraphQL type EnvironmentVariable. The GraphQL type's documentation follows.

Customer-provided environment variable / constant

func (*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable) GetName

GetName returns GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable.Name, and is useful for accessing the field via an interface.

func (*GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable) GetValue

GetValue returns GetEnvironmentVariablesWithValuesAppEnvironmentsAppEnvironmentEnvironmentVariablesEnvironmentVariablesListNodesEnvironmentVariable.Value, and is useful for accessing the field via an interface.

type GetEnvironmentVariablesWithValuesResponse

type GetEnvironmentVariablesWithValuesResponse struct {
	// Retrieve a single application.
	App *GetEnvironmentVariablesWithValuesApp `json:"app"`
}

GetEnvironmentVariablesWithValuesResponse is returned by GetEnvironmentVariablesWithValues on success.

func GetEnvironmentVariablesWithValues

func GetEnvironmentVariablesWithValues(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *GetEnvironmentVariablesWithValuesResponse, err_ error)

func (*GetEnvironmentVariablesWithValuesResponse) GetApp

GetApp returns GetEnvironmentVariablesWithValuesResponse.App, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoApp

type ImportSQLEnvInfoApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The internal numeric identifier for the application type.
	TypeId *int64 `json:"typeId"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*ImportSQLEnvInfoAppEnvironmentsAppEnvironment `json:"environments"`
}

ImportSQLEnvInfoApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*ImportSQLEnvInfoApp) GetEnvironments

GetEnvironments returns ImportSQLEnvInfoApp.Environments, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoApp) GetId

func (v *ImportSQLEnvInfoApp) GetId() *int64

GetId returns ImportSQLEnvInfoApp.Id, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoApp) GetName

func (v *ImportSQLEnvInfoApp) GetName() *string

GetName returns ImportSQLEnvInfoApp.Name, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoApp) GetTypeId

func (v *ImportSQLEnvInfoApp) GetTypeId() *int64

GetTypeId returns ImportSQLEnvInfoApp.TypeId, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoAppEnvironmentsAppEnvironment

type ImportSQLEnvInfoAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The display name of the environment.
	Name *string `json:"name"`
	// Whether the environment has been launched.
	Launched *bool `json:"launched"`
	// Whether the environment runs on Kubernetes.
	IsK8sResident *bool `json:"isK8sResident"`
	// The primary domain for the environment.
	PrimaryDomain *ImportSQLEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain `json:"primaryDomain"`
	// The current import status for the environment.
	ImportStatus *ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus `json:"importStatus"`
	// Get WordPress Site Details from SDS
	WpSitesSDS *ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList `json:"wpSitesSDS"`
}

ImportSQLEnvInfoAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetId

GetId returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetImportStatus

GetImportStatus returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.ImportStatus, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetIsK8sResident

func (v *ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetIsK8sResident() *bool

GetIsK8sResident returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.IsK8sResident, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetLaunched

GetLaunched returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.Launched, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetName

GetName returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetPrimaryDomain

GetPrimaryDomain returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.PrimaryDomain, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetType

GetType returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironment) GetWpSitesSDS

GetWpSitesSDS returns ImportSQLEnvInfoAppEnvironmentsAppEnvironment.WpSitesSDS, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus struct {
	// Whether any database operation is currently in progress.
	DbOperationInProgress *bool `json:"dbOperationInProgress"`
	// Whether an import is currently in progress.
	ImportInProgress *bool `json:"importInProgress"`
}

ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus includes the requested fields of the GraphQL type AppEnvironmentImportStatus. The GraphQL type's documentation follows.

The current status of an environment import.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus) GetDbOperationInProgress

func (v *ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus) GetDbOperationInProgress() *bool

GetDbOperationInProgress returns ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus.DbOperationInProgress, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus) GetImportInProgress

GetImportInProgress returns ImportSQLEnvInfoAppEnvironmentsAppEnvironmentImportStatus.ImportInProgress, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain struct {
	// The domain name (i.e. something like example.com or sub.example.com)
	Name string `json:"name"`
}

ImportSQLEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain includes the requested fields of the GraphQL type Domain. The GraphQL type's documentation follows.

A domain for an environment

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain) GetName

GetName returns ImportSQLEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain.Name, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList struct {
	// The WordPress sites returned in the current page.
	Nodes []*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite `json:"nodes"`
}

ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList includes the requested fields of the GraphQL type WPSiteList. The GraphQL type's documentation follows.

A paginated list of WordPress sites.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList) GetNodes

GetNodes returns ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteList.Nodes, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite

type ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite struct {
	// WordPress Home URL option
	HomeUrl *string `json:"homeUrl"`
	// [DEPRECATING SOON] Alias for blogId
	Id *int64 `json:"id"`
}

ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite includes the requested fields of the GraphQL type WPSite. The GraphQL type's documentation follows.

A WordPress site or subsite within an environment.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite) GetHomeUrl

GetHomeUrl returns ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite.HomeUrl, and is useful for accessing the field via an interface.

func (*ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite) GetId

GetId returns ImportSQLEnvInfoAppEnvironmentsAppEnvironmentWpSitesSDSWPSiteListNodesWPSite.Id, and is useful for accessing the field via an interface.

type ImportSQLEnvInfoResponse

type ImportSQLEnvInfoResponse struct {
	// Retrieve a single application.
	App *ImportSQLEnvInfoApp `json:"app"`
}

ImportSQLEnvInfoResponse is returned by ImportSQLEnvInfo on success.

func ImportSQLEnvInfo

func ImportSQLEnvInfo(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *ImportSQLEnvInfoResponse, err_ error)

func (*ImportSQLEnvInfoResponse) GetApp

GetApp returns ImportSQLEnvInfoResponse.App, and is useful for accessing the field via an interface.

type ImportSQLProgressApp

type ImportSQLProgressApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*ImportSQLProgressAppEnvironmentsAppEnvironment `json:"environments"`
}

ImportSQLProgressApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*ImportSQLProgressApp) GetEnvironments

GetEnvironments returns ImportSQLProgressApp.Environments, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironment

type ImportSQLProgressAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// Whether the environment runs on Kubernetes.
	IsK8sResident *bool `json:"isK8sResident"`
	// Whether the environment has been launched.
	Launched *bool `json:"launched"`
	// Jobs running on or related to the environment.
	Jobs []*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterface `json:"-"`
	// The current import status for the environment.
	ImportStatus *ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus `json:"importStatus"`
}

ImportSQLProgressAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) GetId

GetId returns ImportSQLProgressAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) GetImportStatus

GetImportStatus returns ImportSQLProgressAppEnvironmentsAppEnvironment.ImportStatus, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) GetIsK8sResident

GetIsK8sResident returns ImportSQLProgressAppEnvironmentsAppEnvironment.IsK8sResident, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) GetJobs

GetJobs returns ImportSQLProgressAppEnvironmentsAppEnvironment.Jobs, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) GetLaunched

GetLaunched returns ImportSQLProgressAppEnvironmentsAppEnvironment.Launched, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) MarshalJSON

func (*ImportSQLProgressAppEnvironmentsAppEnvironment) UnmarshalJSON

type ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus

type ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus struct {
	// Whether any database operation is currently in progress.
	DbOperationInProgress *bool `json:"dbOperationInProgress"`
	// Whether an import is currently in progress.
	ImportInProgress *bool `json:"importInProgress"`
	// Detailed progress information for the import.
	Progress *ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress `json:"progress"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus includes the requested fields of the GraphQL type AppEnvironmentImportStatus. The GraphQL type's documentation follows.

The current status of an environment import.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus) GetDbOperationInProgress

GetDbOperationInProgress returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus.DbOperationInProgress, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus) GetImportInProgress

GetImportInProgress returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus.ImportInProgress, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus) GetProgress

GetProgress returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatus.Progress, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress

type ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress struct {
	// When the operation started, as a Unix timestamp.
	Started_at *int64 `json:"started_at"`
	// The steps completed by the operation.
	Steps []*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep `json:"steps"`
	// When the operation finished, as a Unix timestamp.
	Finished_at *int64 `json:"finished_at"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress includes the requested fields of the GraphQL type AppEnvironmentStatusProgress. The GraphQL type's documentation follows.

Progress details for an environment operation.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress) GetFinished_at

GetFinished_at returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress.Finished_at, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress) GetStarted_at

GetStarted_at returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress.Started_at, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress) GetSteps

GetSteps returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgress.Steps, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep

type ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep struct {
	// The display name of the step.
	Name *string `json:"name"`
	// When the step started, as a Unix timestamp.
	Started_at *int64 `json:"started_at"`
	// When the step finished, as a Unix timestamp.
	Finished_at *int64 `json:"finished_at"`
	// The result of the step.
	Result *string `json:"result"`
	// The output lines produced by the step.
	Output []*string `json:"output"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep includes the requested fields of the GraphQL type AppEnvironmentStatusProgressStep. The GraphQL type's documentation follows.

A single step in an environment progress flow.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep) GetFinished_at

GetFinished_at returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep.Finished_at, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep) GetName

GetName returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep.Name, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep) GetOutput

GetOutput returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep.Output, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep) GetResult

GetResult returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep.Result, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep) GetStarted_at

GetStarted_at returns ImportSQLProgressAppEnvironmentsAppEnvironmentImportStatusProgressAppEnvironmentStatusProgressStepsAppEnvironmentStatusProgressStep.Started_at, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob struct {
	Typename *string `json:"__typename"`
	// The unique identifier for the job.
	Id *int64 `json:"id"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// The current progress of the job.
	Progress *ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob includes the requested fields of the GraphQL type Job. The GraphQL type's documentation follows.

A background job.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob) GetCompletedAt

GetCompletedAt returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob.CompletedAt, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob) GetCreatedAt

GetCreatedAt returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob.CreatedAt, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob) GetId

GetId returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob.Id, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob) GetProgress

GetProgress returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob.Progress, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob) GetType

GetType returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob.Type, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob) GetTypename

GetTypename returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob.Typename, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterface

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterface interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetId returns the interface-field "id" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The unique identifier for the job.
	GetId() *int64
	// GetType returns the interface-field "type" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The job type.
	GetType() *string
	// GetCompletedAt returns the interface-field "completedAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job completed.
	GetCompletedAt() *string
	// GetCreatedAt returns the interface-field "createdAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job was created.
	GetCreatedAt() *string
	// GetProgress returns the interface-field "progress" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The current progress of the job.
	GetProgress() *ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress
	// contains filtered or unexported methods
}

ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterface includes the requested fields of the GraphQL interface JobInterface.

ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterface is implemented by the following types: ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJob ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob The GraphQL type's documentation follows.

Common fields shared by all job types.

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress struct {
	// The current status of the job.
	Status *string `json:"status"`
	// The individual progress steps for the job.
	Steps []*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep `json:"steps"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress includes the requested fields of the GraphQL type JobProgress. The GraphQL type's documentation follows.

Progress details for a job.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetStatus

GetStatus returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Status, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetSteps

GetSteps returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Steps, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep struct {
	// The unique identifier for the step.
	Id *string `json:"id"`
	// The display name of the step.
	Name *string `json:"name"`
	// The current status of the step.
	Status *string `json:"status"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep includes the requested fields of the GraphQL type JobProgressStep. The GraphQL type's documentation follows.

A single progress step within a job.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetId

GetId returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Id, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetName

GetName returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Name, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetStatus

GetStatus returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Status, and is useful for accessing the field via an interface.

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob

type ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob struct {
	Typename *string `json:"__typename"`
	// The unique identifier for the job.
	Id *int64 `json:"id"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// The current progress of the job.
	Progress *ImportSQLProgressAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob includes the requested fields of the GraphQL type PrimaryDomainSwitchJob. The GraphQL type's documentation follows.

A job that switches an environment's primary domain.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCompletedAt

GetCompletedAt returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CompletedAt, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCreatedAt

GetCreatedAt returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CreatedAt, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetId

GetId returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Id, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetProgress

GetProgress returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Progress, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetType

GetType returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Type, and is useful for accessing the field via an interface.

func (*ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetTypename

GetTypename returns ImportSQLProgressAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Typename, and is useful for accessing the field via an interface.

type ImportSQLProgressResponse

type ImportSQLProgressResponse struct {
	// Retrieve a single application.
	App *ImportSQLProgressApp `json:"app"`
}

ImportSQLProgressResponse is returned by ImportSQLProgress on success.

func ImportSQLProgress

func ImportSQLProgress(
	ctx_ context.Context,
	client_ graphql.Client,
	appId *int64,
	envId *int64,
) (data_ *ImportSQLProgressResponse, err_ error)

func (*ImportSQLProgressResponse) GetApp

GetApp returns ImportSQLProgressResponse.App, and is useful for accessing the field via an interface.

type LiveBackupCopyConfigInput

type LiveBackupCopyConfigInput struct {
	// The live backup copy configuration payload.
	Config *json.RawMessage `json:"config"`
	// The environment ID.
	EnvironmentId int64 `json:"environmentId"`
	// The application ID.
	Id int64 `json:"id"`
}

Input for starting a live backup copy.

func (*LiveBackupCopyConfigInput) GetConfig

func (v *LiveBackupCopyConfigInput) GetConfig() *json.RawMessage

GetConfig returns LiveBackupCopyConfigInput.Config, and is useful for accessing the field via an interface.

func (*LiveBackupCopyConfigInput) GetEnvironmentId

func (v *LiveBackupCopyConfigInput) GetEnvironmentId() int64

GetEnvironmentId returns LiveBackupCopyConfigInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*LiveBackupCopyConfigInput) GetId

func (v *LiveBackupCopyConfigInput) GetId() int64

GetId returns LiveBackupCopyConfigInput.Id, and is useful for accessing the field via an interface.

type MeMe

type MeMe struct {
	// The unique identifier for the current user.
	Id *int64 `json:"id"`
	// The display name for the current user.
	DisplayName *string `json:"displayName"`
	// Whether the current user currently has VIP access.
	IsVIP *bool `json:"isVIP"`
	// The organization roles assigned to the current user.
	OrganizationRoles *MeMeOrganizationRolesUserOrganizationRoleList `json:"organizationRoles"`
}

MeMe includes the requested fields of the GraphQL type Me. The GraphQL type's documentation follows.

The currently authenticated user.

func (*MeMe) GetDisplayName

func (v *MeMe) GetDisplayName() *string

GetDisplayName returns MeMe.DisplayName, and is useful for accessing the field via an interface.

func (*MeMe) GetId

func (v *MeMe) GetId() *int64

GetId returns MeMe.Id, and is useful for accessing the field via an interface.

func (*MeMe) GetIsVIP

func (v *MeMe) GetIsVIP() *bool

GetIsVIP returns MeMe.IsVIP, and is useful for accessing the field via an interface.

func (*MeMe) GetOrganizationRoles

func (v *MeMe) GetOrganizationRoles() *MeMeOrganizationRolesUserOrganizationRoleList

GetOrganizationRoles returns MeMe.OrganizationRoles, and is useful for accessing the field via an interface.

type MeMeOrganizationRolesUserOrganizationRoleList

type MeMeOrganizationRolesUserOrganizationRoleList struct {
	// The role assignments returned in the current page.
	Nodes []*MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole `json:"nodes"`
}

MeMeOrganizationRolesUserOrganizationRoleList includes the requested fields of the GraphQL type UserOrganizationRoleList. The GraphQL type's documentation follows.

A paginated list of user organization roles.

func (*MeMeOrganizationRolesUserOrganizationRoleList) GetNodes

GetNodes returns MeMeOrganizationRolesUserOrganizationRoleList.Nodes, and is useful for accessing the field via an interface.

type MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole

type MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole struct {
	// The organization ID the role applies to.
	OrganizationId *int64 `json:"organizationId"`
	// The role ID assigned to the user.
	RoleId *OrgRoleId `json:"roleId"`
}

MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole includes the requested fields of the GraphQL type UserOrganizationRole. The GraphQL type's documentation follows.

An organization role assigned to a user.

func (*MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole) GetOrganizationId

GetOrganizationId returns MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole.OrganizationId, and is useful for accessing the field via an interface.

func (*MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole) GetRoleId

GetRoleId returns MeMeOrganizationRolesUserOrganizationRoleListNodesUserOrganizationRole.RoleId, and is useful for accessing the field via an interface.

type MeResponse

type MeResponse struct {
	// Retrieve the currently authenticated user.
	Me *MeMe `json:"me"`
}

MeResponse is returned by Me on success.

func Me

func Me(
	ctx_ context.Context,
	client_ graphql.Client,
) (data_ *MeResponse, err_ error)

func (*MeResponse) GetMe

func (v *MeResponse) GetMe() *MeMe

GetMe returns MeResponse.Me, and is useful for accessing the field via an interface.

type MediaImportConfigMediaImportConfig

type MediaImportConfigMediaImportConfig struct {
	// Allowed File Name Length
	FileNameCharCount *int64 `json:"fileNameCharCount"`
	// Allowed File Size Limit
	FileSizeLimitInBytes *int64 `json:"fileSizeLimitInBytes"`
	// Allowed File Types
	AllowedFileTypes *json.RawMessage `json:"allowedFileTypes"`
}

MediaImportConfigMediaImportConfig includes the requested fields of the GraphQL type MediaImportConfig. The GraphQL type's documentation follows.

Media Import Configuration

func (*MediaImportConfigMediaImportConfig) GetAllowedFileTypes

func (v *MediaImportConfigMediaImportConfig) GetAllowedFileTypes() *json.RawMessage

GetAllowedFileTypes returns MediaImportConfigMediaImportConfig.AllowedFileTypes, and is useful for accessing the field via an interface.

func (*MediaImportConfigMediaImportConfig) GetFileNameCharCount

func (v *MediaImportConfigMediaImportConfig) GetFileNameCharCount() *int64

GetFileNameCharCount returns MediaImportConfigMediaImportConfig.FileNameCharCount, and is useful for accessing the field via an interface.

func (*MediaImportConfigMediaImportConfig) GetFileSizeLimitInBytes

func (v *MediaImportConfigMediaImportConfig) GetFileSizeLimitInBytes() *int64

GetFileSizeLimitInBytes returns MediaImportConfigMediaImportConfig.FileSizeLimitInBytes, and is useful for accessing the field via an interface.

type MediaImportConfigResponse

type MediaImportConfigResponse struct {
	// Retrieve the current media import configuration.
	MediaImportConfig *MediaImportConfigMediaImportConfig `json:"mediaImportConfig"`
}

MediaImportConfigResponse is returned by MediaImportConfig on success.

func MediaImportConfig

func MediaImportConfig(
	ctx_ context.Context,
	client_ graphql.Client,
) (data_ *MediaImportConfigResponse, err_ error)

func (*MediaImportConfigResponse) GetMediaImportConfig

GetMediaImportConfig returns MediaImportConfigResponse.MediaImportConfig, and is useful for accessing the field via an interface.

type MediaImportProgressApp

type MediaImportProgressApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*MediaImportProgressAppEnvironmentsAppEnvironment `json:"environments"`
}

MediaImportProgressApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*MediaImportProgressApp) GetEnvironments

GetEnvironments returns MediaImportProgressApp.Environments, and is useful for accessing the field via an interface.

type MediaImportProgressAppEnvironmentsAppEnvironment

type MediaImportProgressAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The repository name for the environment's codebase.
	Repo *string `json:"repo"`
	// The current media import status for the environment.
	MediaImportStatus *MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus `json:"mediaImportStatus"`
}

MediaImportProgressAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*MediaImportProgressAppEnvironmentsAppEnvironment) GetId

GetId returns MediaImportProgressAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironment) GetMediaImportStatus

GetMediaImportStatus returns MediaImportProgressAppEnvironmentsAppEnvironment.MediaImportStatus, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironment) GetName

GetName returns MediaImportProgressAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironment) GetRepo

GetRepo returns MediaImportProgressAppEnvironmentsAppEnvironment.Repo, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironment) GetType

GetType returns MediaImportProgressAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

type MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus

type MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus struct {
	// Unique Identifier for a Media Import
	ImportId *int64 `json:"importId"`
	// Alias of environmentId
	SiteId *int64 `json:"siteId"`
	// The actual status of the Media Import
	Status *string `json:"status"`
	// Total number of media files that are to be import
	FilesTotal *int64 `json:"filesTotal"`
	// Total number of media files that were imported
	FilesProcessed *int64 `json:"filesProcessed"`
	// Media Import failure details
	FailureDetails *MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails `json:"failureDetails"`
}

MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus includes the requested fields of the GraphQL type AppEnvironmentMediaImportStatus. The GraphQL type's documentation follows.

Current status of a Media Import

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus) GetFailureDetails

GetFailureDetails returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus.FailureDetails, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus) GetFilesProcessed

GetFilesProcessed returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus.FilesProcessed, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus) GetFilesTotal

GetFilesTotal returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus.FilesTotal, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus) GetImportId

GetImportId returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus.ImportId, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus) GetSiteId

GetSiteId returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus.SiteId, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus) GetStatus

GetStatus returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatus.Status, and is useful for accessing the field via an interface.

type MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails

type MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails struct {
	// Status of the Media Import prior to failing
	PreviousStatus *string `json:"previousStatus"`
	// List of global errors per import
	GlobalErrors []*string `json:"globalErrors"`
	// URL to download the media import error log
	FileErrorsUrl *string `json:"fileErrorsUrl"`
}

MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails includes the requested fields of the GraphQL type AppEnvironmentMediaImportStatusFailureDetails. The GraphQL type's documentation follows.

Media Import Failure details

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails) GetFileErrorsUrl

GetFileErrorsUrl returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails.FileErrorsUrl, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails) GetGlobalErrors

GetGlobalErrors returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails.GlobalErrors, and is useful for accessing the field via an interface.

func (*MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails) GetPreviousStatus

GetPreviousStatus returns MediaImportProgressAppEnvironmentsAppEnvironmentMediaImportStatusFailureDetails.PreviousStatus, and is useful for accessing the field via an interface.

type MediaImportProgressResponse

type MediaImportProgressResponse struct {
	// Retrieve a single application.
	App *MediaImportProgressApp `json:"app"`
}

MediaImportProgressResponse is returned by MediaImportProgress on success.

func MediaImportProgress

func MediaImportProgress(
	ctx_ context.Context,
	client_ graphql.Client,
	appId *int64,
	envId *int64,
) (data_ *MediaImportProgressResponse, err_ error)

func (*MediaImportProgressResponse) GetApp

GetApp returns MediaImportProgressResponse.App, and is useful for accessing the field via an interface.

type Middleware

type Middleware func(next Doer) Doer

Middleware wraps a Doer with a new Doer.

func NewErrorMiddleware

func NewErrorMiddleware(cfg ErrorConfig) Middleware

NewErrorMiddleware returns a Middleware that:

  • On HTTP 401 (and !Silence): prints "Unauthorized: <message>" to Stderr and calls Exit(1).
  • On GraphQL errors: prints "Error: <message>" for each error; calls Exit(1) if ExitOnError.

Message wording is exact Node parity with src/lib/api.ts errorLink.

func NewRechallengeMiddleware

func NewRechallengeMiddleware(cfg RechallengeConfig) Middleware

NewRechallengeMiddleware is the real middleware (M3) replacing the M2 no-op.

On each outbound request:

  1. Parse the GraphQL operation from the body. Non-mutations pass through.
  2. Preflight: if TokenCache has a token for the mutation's primary field, attach it to the request as the elevated header.
  3. Call next. Read response body.
  4. If response contains errors[] with extensions.code == elevated-permission-required and a valid extensions.rechallenge, run the rechallenge flow.
  5. On flow success: replay request ONCE with the elevated header.
  6. On flow failure: report WHY to stderr, then return the ORIGINAL response (so error middleware sees it and the exit code is unchanged).

Mirrors src/lib/rechallenge/link.ts, except for step 6's report: Node hides the step-up failure behind a `debug()` call, so unless DEBUG was already set the user is told only that they lack permission — which is neither the problem nor actionable.

func NewRetryMiddleware

func NewRetryMiddleware(cfg RetryConfig) Middleware

type Operation

type Operation struct {
	OperationName    string
	IsMutation       bool
	PrimaryFieldName string // first FIELD in the operation's selection set
}

Operation describes the relevant shape of a GraphQL request as inspected by the rechallenge middleware.

func ParseOperationFromBody

func ParseOperationFromBody(body []byte) (*Operation, error)

ParseOperationFromBody decodes the JSON request body, parses the contained "query" string, and reports whether it's a mutation along with its primary field name (the rechallenge "scope").

type OrgRoleId

type OrgRoleId string

The available organization role IDs.

const (
	// Organization administrator.
	OrgRoleIdAdmin OrgRoleId = "admin"
	// Organization member.
	OrgRoleIdMember OrgRoleId = "member"
	// Organization viewer.
	OrgRoleIdViewer OrgRoleId = "viewer"
)

type PhpMyAdminStatusApp

type PhpMyAdminStatusApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*PhpMyAdminStatusAppEnvironmentsAppEnvironment `json:"environments"`
}

PhpMyAdminStatusApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*PhpMyAdminStatusApp) GetEnvironments

GetEnvironments returns PhpMyAdminStatusApp.Environments, and is useful for accessing the field via an interface.

type PhpMyAdminStatusAppEnvironmentsAppEnvironment

type PhpMyAdminStatusAppEnvironmentsAppEnvironment struct {
	// The phpMyAdmin availability status for the environment.
	PhpMyAdminStatus *PhpMyAdminStatusAppEnvironmentsAppEnvironmentPhpMyAdminStatusPHPMyAdminStatus `json:"phpMyAdminStatus"`
}

PhpMyAdminStatusAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*PhpMyAdminStatusAppEnvironmentsAppEnvironment) GetPhpMyAdminStatus

GetPhpMyAdminStatus returns PhpMyAdminStatusAppEnvironmentsAppEnvironment.PhpMyAdminStatus, and is useful for accessing the field via an interface.

type PhpMyAdminStatusAppEnvironmentsAppEnvironmentPhpMyAdminStatusPHPMyAdminStatus

type PhpMyAdminStatusAppEnvironmentsAppEnvironmentPhpMyAdminStatusPHPMyAdminStatus struct {
	// The current phpMyAdmin status value.
	Status *string `json:"status"`
}

PhpMyAdminStatusAppEnvironmentsAppEnvironmentPhpMyAdminStatusPHPMyAdminStatus includes the requested fields of the GraphQL type PHPMyAdminStatus. The GraphQL type's documentation follows.

The phpMyAdmin status for an environment.

func (*PhpMyAdminStatusAppEnvironmentsAppEnvironmentPhpMyAdminStatusPHPMyAdminStatus) GetStatus

GetStatus returns PhpMyAdminStatusAppEnvironmentsAppEnvironmentPhpMyAdminStatusPHPMyAdminStatus.Status, and is useful for accessing the field via an interface.

type PhpMyAdminStatusResponse

type PhpMyAdminStatusResponse struct {
	// Retrieve a single application.
	App *PhpMyAdminStatusApp `json:"app"`
}

PhpMyAdminStatusResponse is returned by PhpMyAdminStatus on success.

func PhpMyAdminStatus

func PhpMyAdminStatus(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *PhpMyAdminStatusResponse, err_ error)

func (*PhpMyAdminStatusResponse) GetApp

GetApp returns PhpMyAdminStatusResponse.App, and is useful for accessing the field via an interface.

type PurgePageCacheInput

type PurgePageCacheInput struct {
	// The application ID whose cache should be purged.
	AppId int64 `json:"appId"`
	// The environment ID whose cache should be purged.
	EnvironmentId int64 `json:"environmentId"`
	// The URLs to purge from page cache.
	Urls []string `json:"urls"`
}

Input for purging page cache entries.

func (*PurgePageCacheInput) GetAppId

func (v *PurgePageCacheInput) GetAppId() int64

GetAppId returns PurgePageCacheInput.AppId, and is useful for accessing the field via an interface.

func (*PurgePageCacheInput) GetEnvironmentId

func (v *PurgePageCacheInput) GetEnvironmentId() int64

GetEnvironmentId returns PurgePageCacheInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*PurgePageCacheInput) GetUrls

func (v *PurgePageCacheInput) GetUrls() []string

GetUrls returns PurgePageCacheInput.Urls, and is useful for accessing the field via an interface.

type PurgePageCachePurgePageCachePurgePageCachePayload

type PurgePageCachePurgePageCachePurgePageCachePayload struct {
	// Whether the purge request succeeded.
	Success bool `json:"success"`
	// The URLs that were targeted for purge.
	Urls []string `json:"urls"`
}

PurgePageCachePurgePageCachePurgePageCachePayload includes the requested fields of the GraphQL type PurgePageCachePayload. The GraphQL type's documentation follows.

The result of a page cache purge request.

func (*PurgePageCachePurgePageCachePurgePageCachePayload) GetSuccess

GetSuccess returns PurgePageCachePurgePageCachePurgePageCachePayload.Success, and is useful for accessing the field via an interface.

func (*PurgePageCachePurgePageCachePurgePageCachePayload) GetUrls

GetUrls returns PurgePageCachePurgePageCachePurgePageCachePayload.Urls, and is useful for accessing the field via an interface.

type PurgePageCacheResponse

type PurgePageCacheResponse struct {
	// Purge page cache object(s)
	PurgePageCache *PurgePageCachePurgePageCachePurgePageCachePayload `json:"purgePageCache"`
}

PurgePageCacheResponse is returned by PurgePageCache on success.

func PurgePageCache

func PurgePageCache(
	ctx_ context.Context,
	client_ graphql.Client,
	input *PurgePageCacheInput,
) (data_ *PurgePageCacheResponse, err_ error)

func (*PurgePageCacheResponse) GetPurgePageCache

GetPurgePageCache returns PurgePageCacheResponse.PurgePageCache, and is useful for accessing the field via an interface.

type RechallengeConfig

type RechallengeConfig struct {
	TokenCache *rechallenge.TokenCache
	Runner     *rechallenge.Runner
	// Context, if non-nil, supplies the context used for Parker calls.
	// Defaults to the request context, preserving command diagnostics and
	// cancellation through the flow.
	Context func() context.Context
	// Interactive, when non-nil, replaces the default
	// rechallenge.IsInteractiveContext(nil) fallback for the Runner's
	// Interactive flag. main.go wires this from a closure over the cobra
	// command tree so the middleware honors --non-interactive.
	Interactive func() bool
	// Wait, when non-nil, replaces rechallenge.ShouldWaitForRechallenge as the
	// source of the "block on step-up even though nobody is here" opt-in.
	// Injected by tests; production reads the environment.
	Wait func() bool
	// Stderr receives the step-up failure notice. Defaults to os.Stderr.
	Stderr io.Writer
}

RechallengeConfig wires the middleware to its token cache + runner.

type RequestHeader

type RequestHeader struct {
	// The header name.
	Name string `json:"name"`
	// The header value.
	Value string `json:"value"`
}

A request header to include in a cache debug request.

func (*RequestHeader) GetName

func (v *RequestHeader) GetName() string

GetName returns RequestHeader.Name, and is useful for accessing the field via an interface.

func (*RequestHeader) GetValue

func (v *RequestHeader) GetValue() string

GetValue returns RequestHeader.Value, and is useful for accessing the field via an interface.

type ResolveAppByIDApp

type ResolveAppByIDApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The application platform type, such as WordPress or Node.js.
	Type *string `json:"type"`
	// The internal numeric identifier for the application type.
	TypeId *int64 `json:"typeId"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*ResolveAppByIDAppEnvironmentsAppEnvironment `json:"environments"`
}

ResolveAppByIDApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*ResolveAppByIDApp) GetEnvironments

GetEnvironments returns ResolveAppByIDApp.Environments, and is useful for accessing the field via an interface.

func (*ResolveAppByIDApp) GetId

func (v *ResolveAppByIDApp) GetId() *int64

GetId returns ResolveAppByIDApp.Id, and is useful for accessing the field via an interface.

func (*ResolveAppByIDApp) GetName

func (v *ResolveAppByIDApp) GetName() *string

GetName returns ResolveAppByIDApp.Name, and is useful for accessing the field via an interface.

func (*ResolveAppByIDApp) GetType

func (v *ResolveAppByIDApp) GetType() *string

GetType returns ResolveAppByIDApp.Type, and is useful for accessing the field via an interface.

func (*ResolveAppByIDApp) GetTypeId

func (v *ResolveAppByIDApp) GetTypeId() *int64

GetTypeId returns ResolveAppByIDApp.TypeId, and is useful for accessing the field via an interface.

type ResolveAppByIDAppEnvironmentsAppEnvironment

type ResolveAppByIDAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The unique label for the environment.
	UniqueLabel *string `json:"uniqueLabel"`
	// The default domain assigned to the environment.
	DefaultDomain *string `json:"defaultDomain"`
	// Whether the environment is a multisite install.
	IsMultisite *bool `json:"isMultisite"`
}

ResolveAppByIDAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns ResolveAppByIDAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetDefaultDomain

func (v *ResolveAppByIDAppEnvironmentsAppEnvironment) GetDefaultDomain() *string

GetDefaultDomain returns ResolveAppByIDAppEnvironmentsAppEnvironment.DefaultDomain, and is useful for accessing the field via an interface.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetId

GetId returns ResolveAppByIDAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetIsMultisite

GetIsMultisite returns ResolveAppByIDAppEnvironmentsAppEnvironment.IsMultisite, and is useful for accessing the field via an interface.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetName

GetName returns ResolveAppByIDAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetType

GetType returns ResolveAppByIDAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

func (*ResolveAppByIDAppEnvironmentsAppEnvironment) GetUniqueLabel

GetUniqueLabel returns ResolveAppByIDAppEnvironmentsAppEnvironment.UniqueLabel, and is useful for accessing the field via an interface.

type ResolveAppByIDResponse

type ResolveAppByIDResponse struct {
	// Retrieve a single application.
	App *ResolveAppByIDApp `json:"app"`
}

ResolveAppByIDResponse is returned by ResolveAppByID on success.

func ResolveAppByID

func ResolveAppByID(
	ctx_ context.Context,
	client_ graphql.Client,
	id int64,
) (data_ *ResolveAppByIDResponse, err_ error)

func (*ResolveAppByIDResponse) GetApp

GetApp returns ResolveAppByIDResponse.App, and is useful for accessing the field via an interface.

type ResolveAppByNameAppsAppList

type ResolveAppByNameAppsAppList struct {
	// A legacy alias for `nodes`.
	Edges []*ResolveAppByNameAppsAppListEdgesApp `json:"edges"`
}

ResolveAppByNameAppsAppList includes the requested fields of the GraphQL type AppList. The GraphQL type's documentation follows.

A paginated list of applications.

func (*ResolveAppByNameAppsAppList) GetEdges

GetEdges returns ResolveAppByNameAppsAppList.Edges, and is useful for accessing the field via an interface.

type ResolveAppByNameAppsAppListEdgesApp

type ResolveAppByNameAppsAppListEdgesApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The application platform type, such as WordPress or Node.js.
	Type *string `json:"type"`
	// The internal numeric identifier for the application type.
	TypeId *int64 `json:"typeId"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment `json:"environments"`
}

ResolveAppByNameAppsAppListEdgesApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*ResolveAppByNameAppsAppListEdgesApp) GetEnvironments

GetEnvironments returns ResolveAppByNameAppsAppListEdgesApp.Environments, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesApp) GetId

GetId returns ResolveAppByNameAppsAppListEdgesApp.Id, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesApp) GetName

GetName returns ResolveAppByNameAppsAppListEdgesApp.Name, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesApp) GetType

GetType returns ResolveAppByNameAppsAppListEdgesApp.Type, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesApp) GetTypeId

GetTypeId returns ResolveAppByNameAppsAppListEdgesApp.TypeId, and is useful for accessing the field via an interface.

type ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment

type ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The unique label for the environment.
	UniqueLabel *string `json:"uniqueLabel"`
	// The default domain assigned to the environment.
	DefaultDomain *string `json:"defaultDomain"`
	// Whether the environment is a multisite install.
	IsMultisite *bool `json:"isMultisite"`
}

ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetDefaultDomain

GetDefaultDomain returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.DefaultDomain, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetId

GetId returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetIsMultisite

GetIsMultisite returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.IsMultisite, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetName

GetName returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetType

GetType returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

func (*ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment) GetUniqueLabel

GetUniqueLabel returns ResolveAppByNameAppsAppListEdgesAppEnvironmentsAppEnvironment.UniqueLabel, and is useful for accessing the field via an interface.

type ResolveAppByNameResponse

type ResolveAppByNameResponse struct {
	// Retrieve a paginated list of applications.
	Apps *ResolveAppByNameAppsAppList `json:"apps"`
}

ResolveAppByNameResponse is returned by ResolveAppByName on success.

func ResolveAppByName

func ResolveAppByName(
	ctx_ context.Context,
	client_ graphql.Client,
	name string,
) (data_ *ResolveAppByNameResponse, err_ error)

func (*ResolveAppByNameResponse) GetApps

GetApps returns ResolveAppByNameResponse.Apps, and is useful for accessing the field via an interface.

type RetryConfig

type RetryConfig struct {
	MaxAttempts  int
	InitialDelay time.Duration
	MaxDelay     time.Duration
	NoDelay      bool // tests set this to skip sleeps
}

type SetEdgeWorkerActiveInput

type SetEdgeWorkerActiveInput struct {
	// Whether the worker should be active.
	Active bool `json:"active"`
	// The identifier of the edge worker to toggle.
	EdgeWorkerId int64 `json:"edgeWorkerId"`
	// The environment the worker belongs to.
	EnvironmentId int64 `json:"environmentId"`
}

Input for enabling or disabling an edge worker.

func (*SetEdgeWorkerActiveInput) GetActive

func (v *SetEdgeWorkerActiveInput) GetActive() bool

GetActive returns SetEdgeWorkerActiveInput.Active, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveInput) GetEdgeWorkerId

func (v *SetEdgeWorkerActiveInput) GetEdgeWorkerId() int64

GetEdgeWorkerId returns SetEdgeWorkerActiveInput.EdgeWorkerId, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveInput) GetEnvironmentId

func (v *SetEdgeWorkerActiveInput) GetEnvironmentId() int64

GetEnvironmentId returns SetEdgeWorkerActiveInput.EnvironmentId, and is useful for accessing the field via an interface.

type SetEdgeWorkerActiveResponse

type SetEdgeWorkerActiveResponse struct {
	// Enable or disable an existing WASM edge worker.
	SetEdgeWorkerActive *SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker `json:"setEdgeWorkerActive"`
}

SetEdgeWorkerActiveResponse is returned by SetEdgeWorkerActive on success.

func SetEdgeWorkerActive

func SetEdgeWorkerActive(
	ctx_ context.Context,
	client_ graphql.Client,
	input *SetEdgeWorkerActiveInput,
) (data_ *SetEdgeWorkerActiveResponse, err_ error)

func (*SetEdgeWorkerActiveResponse) GetSetEdgeWorkerActive

GetSetEdgeWorkerActive returns SetEdgeWorkerActiveResponse.SetEdgeWorkerActive, and is useful for accessing the field via an interface.

type SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker

type SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker struct {
	EdgeWorkerFields `json:"-"`
}

SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker includes the requested fields of the GraphQL type EdgeWorker. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetActive

GetActive returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.Active, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetCreatedAt

GetCreatedAt returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.CreatedAt, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetId

GetId returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.Id, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetLocation

GetLocation returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.Location, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetName

GetName returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.Name, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetOnFailure

GetOnFailure returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.OnFailure, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetPhases

GetPhases returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.Phases, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) GetUpdatedAt

GetUpdatedAt returns SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker.UpdatedAt, and is useful for accessing the field via an interface.

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) MarshalJSON

func (*SetEdgeWorkerActiveSetEdgeWorkerActiveEdgeWorker) UnmarshalJSON

type SoftwareNode

type SoftwareNode struct {
	// The display name of the software.
	Name string `json:"name"`
	// The internal slug of the software.
	Slug string `json:"slug"`
	// Whether the software version is pinned.
	Pinned bool `json:"pinned"`
	// The currently selected version.
	Current *SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion `json:"current"`
	// The available version options.
	Options []*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion `json:"options"`
}

SoftwareNode includes the GraphQL fields of AppEnvironmentSoftwareSettingsSoftware requested by the fragment SoftwareNode. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*SoftwareNode) GetCurrent

GetCurrent returns SoftwareNode.Current, and is useful for accessing the field via an interface.

func (*SoftwareNode) GetName

func (v *SoftwareNode) GetName() string

GetName returns SoftwareNode.Name, and is useful for accessing the field via an interface.

func (*SoftwareNode) GetOptions

GetOptions returns SoftwareNode.Options, and is useful for accessing the field via an interface.

func (*SoftwareNode) GetPinned

func (v *SoftwareNode) GetPinned() bool

GetPinned returns SoftwareNode.Pinned, and is useful for accessing the field via an interface.

func (*SoftwareNode) GetSlug

func (v *SoftwareNode) GetSlug() string

GetSlug returns SoftwareNode.Slug, and is useful for accessing the field via an interface.

type SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion

type SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion struct {
	// The version identifier.
	Version string `json:"version"`
	// Whether this is the default version.
	Default bool `json:"default"`
	// Whether this version is deprecated.
	Deprecated bool `json:"deprecated"`
	// Whether this version is unstable.
	Unstable bool `json:"unstable"`
	// Whether this version is compatible with the environment.
	Compatible bool `json:"compatible"`
	// The latest available release for this software.
	LatestRelease string `json:"latestRelease"`
	// Whether this version is private.
	Private bool `json:"private"`
}

SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsVersion. The GraphQL type's documentation follows.

A software version option available for an environment.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetCompatible

GetCompatible returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.Compatible, and is useful for accessing the field via an interface.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetDefault

GetDefault returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.Default, and is useful for accessing the field via an interface.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetDeprecated

GetDeprecated returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.Deprecated, and is useful for accessing the field via an interface.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetLatestRelease

GetLatestRelease returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.LatestRelease, and is useful for accessing the field via an interface.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetPrivate

GetPrivate returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.Private, and is useful for accessing the field via an interface.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetUnstable

GetUnstable returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.Unstable, and is useful for accessing the field via an interface.

func (*SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion) GetVersion

GetVersion returns SoftwareNodeCurrentAppEnvironmentSoftwareSettingsVersion.Version, and is useful for accessing the field via an interface.

type SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion

type SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion struct {
	// The version identifier.
	Version string `json:"version"`
	// Whether this is the default version.
	Default bool `json:"default"`
	// Whether this version is deprecated.
	Deprecated bool `json:"deprecated"`
	// Whether this version is unstable.
	Unstable bool `json:"unstable"`
	// Whether this version is compatible with the environment.
	Compatible bool `json:"compatible"`
	// The latest available release for this software.
	LatestRelease string `json:"latestRelease"`
	// Whether this version is private.
	Private bool `json:"private"`
}

SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsVersion. The GraphQL type's documentation follows.

A software version option available for an environment.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetCompatible

GetCompatible returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.Compatible, and is useful for accessing the field via an interface.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetDefault

GetDefault returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.Default, and is useful for accessing the field via an interface.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetDeprecated

GetDeprecated returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.Deprecated, and is useful for accessing the field via an interface.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetLatestRelease

GetLatestRelease returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.LatestRelease, and is useful for accessing the field via an interface.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetPrivate

GetPrivate returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.Private, and is useful for accessing the field via an interface.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetUnstable

GetUnstable returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.Unstable, and is useful for accessing the field via an interface.

func (*SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion) GetVersion

GetVersion returns SoftwareNodeOptionsAppEnvironmentSoftwareSettingsVersion.Version, and is useful for accessing the field via an interface.

type SoftwareSettingsApp

type SoftwareSettingsApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The internal numeric identifier for the application type.
	TypeId *int64 `json:"typeId"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*SoftwareSettingsAppEnvironmentsAppEnvironment `json:"environments"`
}

SoftwareSettingsApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*SoftwareSettingsApp) GetEnvironments

GetEnvironments returns SoftwareSettingsApp.Environments, and is useful for accessing the field via an interface.

func (*SoftwareSettingsApp) GetId

func (v *SoftwareSettingsApp) GetId() *int64

GetId returns SoftwareSettingsApp.Id, and is useful for accessing the field via an interface.

func (*SoftwareSettingsApp) GetName

func (v *SoftwareSettingsApp) GetName() *string

GetName returns SoftwareSettingsApp.Name, and is useful for accessing the field via an interface.

func (*SoftwareSettingsApp) GetTypeId

func (v *SoftwareSettingsApp) GetTypeId() *int64

GetTypeId returns SoftwareSettingsApp.TypeId, and is useful for accessing the field via an interface.

type SoftwareSettingsAppEnvironmentsAppEnvironment

type SoftwareSettingsAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The software settings for the environment.
	SoftwareSettings *SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings `json:"softwareSettings"`
}

SoftwareSettingsAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*SoftwareSettingsAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns SoftwareSettingsAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironment) GetId

GetId returns SoftwareSettingsAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironment) GetName

GetName returns SoftwareSettingsAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironment) GetSoftwareSettings

GetSoftwareSettings returns SoftwareSettingsAppEnvironmentsAppEnvironment.SoftwareSettings, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironment) GetType

GetType returns SoftwareSettingsAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings struct {
	// The WordPress software settings.
	Wordpress *SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware `json:"wordpress"`
	// The PHP software settings.
	Php *SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware `json:"php"`
	// The mu-plugins software settings.
	Muplugins *SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware `json:"muplugins"`
	// The Node.js software settings.
	Nodejs *SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware `json:"nodejs"`
}

SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettings. The GraphQL type's documentation follows.

Available software settings for an application environment.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings) GetMuplugins

GetMuplugins returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings.Muplugins, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings) GetNodejs

GetNodejs returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings.Nodejs, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings) GetPhp

GetPhp returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings.Php, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings) GetWordpress

GetWordpress returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettings.Wordpress, and is useful for accessing the field via an interface.

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware

type SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*SoftwareSettingsAppEnvironmentsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type SoftwareSettingsResponse

type SoftwareSettingsResponse struct {
	// Retrieve a single application.
	App *SoftwareSettingsApp `json:"app"`
}

SoftwareSettingsResponse is returned by SoftwareSettings on success.

func SoftwareSettings

func SoftwareSettings(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *SoftwareSettingsResponse, err_ error)

func (*SoftwareSettingsResponse) GetApp

GetApp returns SoftwareSettingsResponse.App, and is useful for accessing the field via an interface.

type SoftwareUpdateJobApp

type SoftwareUpdateJobApp struct {
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*SoftwareUpdateJobAppEnvironmentsAppEnvironment `json:"environments"`
}

SoftwareUpdateJobApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*SoftwareUpdateJobApp) GetEnvironments

GetEnvironments returns SoftwareUpdateJobApp.Environments, and is useful for accessing the field via an interface.

type SoftwareUpdateJobAppEnvironmentsAppEnvironment

type SoftwareUpdateJobAppEnvironmentsAppEnvironment struct {
	// Jobs running on or related to the environment.
	Jobs []*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterface `json:"-"`
}

SoftwareUpdateJobAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironment) GetJobs

GetJobs returns SoftwareUpdateJobAppEnvironmentsAppEnvironment.Jobs, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironment) MarshalJSON

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironment) UnmarshalJSON

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob struct {
	Typename *string `json:"__typename"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// Whether the job currently holds an in-progress lock.
	InProgressLock *bool `json:"inProgressLock"`
	// The current progress of the job.
	Progress *SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob includes the requested fields of the GraphQL type Job. The GraphQL type's documentation follows.

A background job.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob) GetCompletedAt

GetCompletedAt returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob.CompletedAt, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob) GetCreatedAt

GetCreatedAt returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob.CreatedAt, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob) GetInProgressLock

GetInProgressLock returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob.InProgressLock, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob) GetProgress

GetProgress returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob.Progress, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob) GetType

GetType returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob.Type, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob) GetTypename

GetTypename returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob.Typename, and is useful for accessing the field via an interface.

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterface

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterface interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetType returns the interface-field "type" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The job type.
	GetType() *string
	// GetCompletedAt returns the interface-field "completedAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job completed.
	GetCompletedAt() *string
	// GetCreatedAt returns the interface-field "createdAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// When the job was created.
	GetCreatedAt() *string
	// GetInProgressLock returns the interface-field "inProgressLock" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Whether the job currently holds an in-progress lock.
	GetInProgressLock() *bool
	// GetProgress returns the interface-field "progress" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// The current progress of the job.
	GetProgress() *SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress
	// contains filtered or unexported methods
}

SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterface includes the requested fields of the GraphQL interface JobInterface.

SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterface is implemented by the following types: SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJob SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob The GraphQL type's documentation follows.

Common fields shared by all job types.

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress struct {
	// The current status of the job.
	Status *string `json:"status"`
	// The individual progress steps for the job.
	Steps []*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep `json:"steps"`
}

SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress includes the requested fields of the GraphQL type JobProgress. The GraphQL type's documentation follows.

Progress details for a job.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetStatus

GetStatus returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Status, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress) GetSteps

GetSteps returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress.Steps, and is useful for accessing the field via an interface.

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep struct {
	// The step key.
	Step *string `json:"step"`
	// The display name of the step.
	Name *string `json:"name"`
	// The current status of the step.
	Status *string `json:"status"`
}

SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep includes the requested fields of the GraphQL type JobProgressStep. The GraphQL type's documentation follows.

A single progress step within a job.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetName

GetName returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Name, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetStatus

GetStatus returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Status, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep) GetStep

GetStep returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgressStepsJobProgressStep.Step, and is useful for accessing the field via an interface.

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob

type SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob struct {
	Typename *string `json:"__typename"`
	// The job type.
	Type *string `json:"type"`
	// When the job completed.
	CompletedAt *string `json:"completedAt"`
	// When the job was created.
	CreatedAt *string `json:"createdAt"`
	// Whether the job currently holds an in-progress lock.
	InProgressLock *bool `json:"inProgressLock"`
	// The current progress of the job.
	Progress *SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsJobInterfaceProgressJobProgress `json:"progress"`
}

SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob includes the requested fields of the GraphQL type PrimaryDomainSwitchJob. The GraphQL type's documentation follows.

A job that switches an environment's primary domain.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCompletedAt

GetCompletedAt returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CompletedAt, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetCreatedAt

GetCreatedAt returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.CreatedAt, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetInProgressLock

GetInProgressLock returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.InProgressLock, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetProgress

GetProgress returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Progress, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetType

GetType returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Type, and is useful for accessing the field via an interface.

func (*SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob) GetTypename

GetTypename returns SoftwareUpdateJobAppEnvironmentsAppEnvironmentJobsPrimaryDomainSwitchJob.Typename, and is useful for accessing the field via an interface.

type SoftwareUpdateJobResponse

type SoftwareUpdateJobResponse struct {
	// Retrieve a single application.
	App *SoftwareUpdateJobApp `json:"app"`
}

SoftwareUpdateJobResponse is returned by SoftwareUpdateJob on success.

func SoftwareUpdateJob

func SoftwareUpdateJob(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *SoftwareUpdateJobResponse, err_ error)

func (*SoftwareUpdateJobResponse) GetApp

GetApp returns SoftwareUpdateJobResponse.App, and is useful for accessing the field via an interface.

type StartCustomDeployResponse

type StartCustomDeployResponse struct {
	// Start a custom deploy on an environment.
	StartCustomDeploy *StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload `json:"startCustomDeploy"`
}

StartCustomDeployResponse is returned by StartCustomDeploy on success.

func StartCustomDeploy

func StartCustomDeploy(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentCustomDeployInput,
) (data_ *StartCustomDeployResponse, err_ error)

func (*StartCustomDeployResponse) GetStartCustomDeploy

GetStartCustomDeploy returns StartCustomDeployResponse.StartCustomDeploy, and is useful for accessing the field via an interface.

type StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload

type StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload struct {
	// Whether the custom deploy request succeeded.
	Success *bool `json:"success"`
	// A human-readable message about the deploy request.
	Message *string `json:"message"`
}

StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload includes the requested fields of the GraphQL type AppEnvironmentCustomDeployPayload. The GraphQL type's documentation follows.

The result of starting a custom deploy.

func (*StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload) GetMessage

GetMessage returns StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload.Message, and is useful for accessing the field via an interface.

func (*StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload) GetSuccess

GetSuccess returns StartCustomDeployStartCustomDeployAppEnvironmentCustomDeployPayload.Success, and is useful for accessing the field via an interface.

type StartImportResponse

type StartImportResponse struct {
	// Start importing data into an environment.
	StartImport *StartImportStartImportAppEnvironmentImportPayload `json:"startImport"`
}

StartImportResponse is returned by StartImport on success.

func StartImport

func StartImport(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentImportInput,
) (data_ *StartImportResponse, err_ error)

The startImport server resolver calls input.searchReplace.filter(...) and expects urlHeaders to be present, so empty arrays must be sent as [] rather than omitted. Disable genqlient's default omitempty on these list fields to match the Node CLI (which always sends searchReplace: []). The $input variable is on its own line so the for-directives attach to the operation, not $input.

`--search-replace="a"` (no comma) leaves arr[1] undefined in Node (vip-import-sql.js:821-827), and JSON.stringify drops undefined properties, so the pair goes over the wire as {from:"a"} with NO `to` key. Sending to:"" instead means "replace every occurrence of a with nothing" — silent data destruction. omitempty lets a nil *string reproduce Node's omission; a non-nil pointer to "" (from a trailing comma, "a,") still serializes.

func (*StartImportResponse) GetStartImport

GetStartImport returns StartImportResponse.StartImport, and is useful for accessing the field via an interface.

type StartImportStartImportAppEnvironmentImportPayload

type StartImportStartImportAppEnvironmentImportPayload struct {
	// The application that owns the environment.
	App *StartImportStartImportAppEnvironmentImportPayloadApp `json:"app"`
	// A human-readable result message.
	Message *string `json:"message"`
	// Whether the operation succeeded.
	Success *bool `json:"success"`
}

StartImportStartImportAppEnvironmentImportPayload includes the requested fields of the GraphQL type AppEnvironmentImportPayload. The GraphQL type's documentation follows.

The result of starting an environment import.

func (*StartImportStartImportAppEnvironmentImportPayload) GetApp

GetApp returns StartImportStartImportAppEnvironmentImportPayload.App, and is useful for accessing the field via an interface.

func (*StartImportStartImportAppEnvironmentImportPayload) GetMessage

GetMessage returns StartImportStartImportAppEnvironmentImportPayload.Message, and is useful for accessing the field via an interface.

func (*StartImportStartImportAppEnvironmentImportPayload) GetSuccess

GetSuccess returns StartImportStartImportAppEnvironmentImportPayload.Success, and is useful for accessing the field via an interface.

type StartImportStartImportAppEnvironmentImportPayloadApp

type StartImportStartImportAppEnvironmentImportPayloadApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
}

StartImportStartImportAppEnvironmentImportPayloadApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*StartImportStartImportAppEnvironmentImportPayloadApp) GetId

GetId returns StartImportStartImportAppEnvironmentImportPayloadApp.Id, and is useful for accessing the field via an interface.

func (*StartImportStartImportAppEnvironmentImportPayloadApp) GetName

GetName returns StartImportStartImportAppEnvironmentImportPayloadApp.Name, and is useful for accessing the field via an interface.

type StartLiveBackupCopyResponse

type StartLiveBackupCopyResponse struct {
	// Start a live backup copy.
	StartLiveBackupCopy *StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload `json:"startLiveBackupCopy"`
}

StartLiveBackupCopyResponse is returned by StartLiveBackupCopy on success.

func StartLiveBackupCopy

func StartLiveBackupCopy(
	ctx_ context.Context,
	client_ graphql.Client,
	input *LiveBackupCopyConfigInput,
) (data_ *StartLiveBackupCopyResponse, err_ error)

func (*StartLiveBackupCopyResponse) GetStartLiveBackupCopy

GetStartLiveBackupCopy returns StartLiveBackupCopyResponse.StartLiveBackupCopy, and is useful for accessing the field via an interface.

type StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload

type StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload struct {
	// A human-readable result message.
	Message *string `json:"message"`
	// The live backup copy ID.
	CopyId *string `json:"copyId"`
}

StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload includes the requested fields of the GraphQL type AppEnvironmentStartLiveBackupCopyPayload. The GraphQL type's documentation follows.

The result of starting a live backup copy.

func (*StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload) GetCopyId

GetCopyId returns StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload.CopyId, and is useful for accessing the field via an interface.

func (*StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload) GetMessage

GetMessage returns StartLiveBackupCopyStartLiveBackupCopyAppEnvironmentStartLiveBackupCopyPayload.Message, and is useful for accessing the field via an interface.

type StartMediaImportResponse

type StartMediaImportResponse struct {
	// Import media into an environment.
	StartMediaImport *StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload `json:"startMediaImport"`
}

StartMediaImportResponse is returned by StartMediaImport on success.

func StartMediaImport

func StartMediaImport(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentStartMediaImportInput,
) (data_ *StartMediaImportResponse, err_ error)

func (*StartMediaImportResponse) GetStartMediaImport

GetStartMediaImport returns StartMediaImportResponse.StartMediaImport, and is useful for accessing the field via an interface.

type StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload

type StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload struct {
	// The unique ID of the Application
	ApplicationId *int64 `json:"applicationId"`
	// The unique ID of the Environment
	EnvironmentId *int64 `json:"environmentId"`
	// Media Import Status
	MediaImportStatus *StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus `json:"mediaImportStatus"`
}

StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload includes the requested fields of the GraphQL type AppEnvironmentMediaImportPayload. The GraphQL type's documentation follows.

Response payload for starting and fetching a Media Import

func (*StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload) GetApplicationId

GetApplicationId returns StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload.ApplicationId, and is useful for accessing the field via an interface.

func (*StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload) GetEnvironmentId

GetEnvironmentId returns StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload.EnvironmentId, and is useful for accessing the field via an interface.

func (*StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload) GetMediaImportStatus

GetMediaImportStatus returns StartMediaImportStartMediaImportAppEnvironmentMediaImportPayload.MediaImportStatus, and is useful for accessing the field via an interface.

type StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus

type StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus struct {
	// Unique Identifier for a Media Import
	ImportId *int64 `json:"importId"`
	// Alias of environmentId
	SiteId *int64 `json:"siteId"`
	// The actual status of the Media Import
	Status *string `json:"status"`
}

StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus includes the requested fields of the GraphQL type AppEnvironmentMediaImportStatus. The GraphQL type's documentation follows.

Current status of a Media Import

func (*StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus) GetImportId

GetImportId returns StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus.ImportId, and is useful for accessing the field via an interface.

func (*StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus) GetSiteId

GetSiteId returns StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus.SiteId, and is useful for accessing the field via an interface.

func (*StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus) GetStatus

GetStatus returns StartMediaImportStartMediaImportAppEnvironmentMediaImportPayloadMediaImportStatusAppEnvironmentMediaImportStatus.Status, and is useful for accessing the field via an interface.

type SyncEnvironmentResponse

type SyncEnvironmentResponse struct {
	// Trigger a sync for an application environment.
	SyncEnvironment *SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayload `json:"syncEnvironment"`
}

SyncEnvironmentResponse is returned by SyncEnvironment on success.

func SyncEnvironment

func SyncEnvironment(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentSyncInput,
) (data_ *SyncEnvironmentResponse, err_ error)

func (*SyncEnvironmentResponse) GetSyncEnvironment

GetSyncEnvironment returns SyncEnvironmentResponse.SyncEnvironment, and is useful for accessing the field via an interface.

type SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayload

type SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayload struct {
	// The environment being synced.
	Environment *SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayloadEnvironmentAppEnvironment `json:"environment"`
}

SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayload includes the requested fields of the GraphQL type AppEnvironmentSyncPayload. The GraphQL type's documentation follows.

The result of triggering an environment sync.

func (*SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayload) GetEnvironment

GetEnvironment returns SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayload.Environment, and is useful for accessing the field via an interface.

type SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayloadEnvironmentAppEnvironment

type SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayloadEnvironmentAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
}

SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayloadEnvironmentAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayloadEnvironmentAppEnvironment) GetId

GetId returns SyncEnvironmentSyncEnvironmentAppEnvironmentSyncPayloadEnvironmentAppEnvironment.Id, and is useful for accessing the field via an interface.

type SyncPreviewApp

type SyncPreviewApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*SyncPreviewAppEnvironmentsAppEnvironment `json:"environments"`
}

SyncPreviewApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*SyncPreviewApp) GetEnvironments

GetEnvironments returns SyncPreviewApp.Environments, and is useful for accessing the field via an interface.

func (*SyncPreviewApp) GetId

func (v *SyncPreviewApp) GetId() *int64

GetId returns SyncPreviewApp.Id, and is useful for accessing the field via an interface.

type SyncPreviewAppEnvironmentsAppEnvironment

type SyncPreviewAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// A preview of the next environment sync.
	SyncPreview *SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview `json:"syncPreview"`
}

SyncPreviewAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*SyncPreviewAppEnvironmentsAppEnvironment) GetId

GetId returns SyncPreviewAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*SyncPreviewAppEnvironmentsAppEnvironment) GetSyncPreview

GetSyncPreview returns SyncPreviewAppEnvironmentsAppEnvironment.SyncPreview, and is useful for accessing the field via an interface.

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview struct {
	// Whether the environment can be synced.
	CanSync *bool `json:"canSync"`
	// The validation errors preventing sync.
	Errors []*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewErrorsAppEnvironmentSyncError `json:"errors"`
	// The backup that will be used for sync.
	Backup *SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewBackupAppEnvironmentBackup `json:"backup"`
	// The replacements that will be applied during sync.
	Replacements []*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement `json:"replacements"`
}

SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview includes the requested fields of the GraphQL type AppEnvironmentSyncPreview. The GraphQL type's documentation follows.

A preview of whether an environment can be synced.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview) GetBackup

GetBackup returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview.Backup, and is useful for accessing the field via an interface.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview) GetCanSync

GetCanSync returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview.CanSync, and is useful for accessing the field via an interface.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview) GetErrors

GetErrors returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview.Errors, and is useful for accessing the field via an interface.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview) GetReplacements

GetReplacements returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreview.Replacements, and is useful for accessing the field via an interface.

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewBackupAppEnvironmentBackup

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewBackupAppEnvironmentBackup struct {
	// When the backup was created.
	CreatedAt *string `json:"createdAt"`
}

SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewBackupAppEnvironmentBackup includes the requested fields of the GraphQL type AppEnvironmentBackup. The GraphQL type's documentation follows.

A lightweight backup summary for an environment.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewBackupAppEnvironmentBackup) GetCreatedAt

GetCreatedAt returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewBackupAppEnvironmentBackup.CreatedAt, and is useful for accessing the field via an interface.

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewErrorsAppEnvironmentSyncError

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewErrorsAppEnvironmentSyncError struct {
	// The error message.
	Message *string `json:"message"`
}

SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewErrorsAppEnvironmentSyncError includes the requested fields of the GraphQL type AppEnvironmentSyncError. The GraphQL type's documentation follows.

A sync validation error.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewErrorsAppEnvironmentSyncError) GetMessage

GetMessage returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewErrorsAppEnvironmentSyncError.Message, and is useful for accessing the field via an interface.

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement

type SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement struct {
	// The source value.
	From *string `json:"from"`
	// The replacement value.
	To *string `json:"to"`
}

SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement includes the requested fields of the GraphQL type AppEnvironmentSyncReplacement. The GraphQL type's documentation follows.

A string replacement that will be applied during sync.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement) GetFrom

GetFrom returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement.From, and is useful for accessing the field via an interface.

func (*SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement) GetTo

GetTo returns SyncPreviewAppEnvironmentsAppEnvironmentSyncPreviewReplacementsAppEnvironmentSyncReplacement.To, and is useful for accessing the field via an interface.

type SyncPreviewResponse

type SyncPreviewResponse struct {
	// Retrieve a single application.
	App *SyncPreviewApp `json:"app"`
}

SyncPreviewResponse is returned by SyncPreview on success.

func SyncPreview

func SyncPreview(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *SyncPreviewResponse, err_ error)

The pre-flight Node runs before the sync mutation. Node folds these fields into vip-sync.js's appQuery; vip-next resolves app/env through a shared query, so the preview is fetched separately by the confirmation payload (src/lib/cli/command.js:913-933).

func (*SyncPreviewResponse) GetApp

func (v *SyncPreviewResponse) GetApp() *SyncPreviewApp

GetApp returns SyncPreviewResponse.App, and is useful for accessing the field via an interface.

type SyncProgressApp

type SyncProgressApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*SyncProgressAppEnvironmentsAppEnvironment `json:"environments"`
}

SyncProgressApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*SyncProgressApp) GetEnvironments

GetEnvironments returns SyncProgressApp.Environments, and is useful for accessing the field via an interface.

func (*SyncProgressApp) GetId

func (v *SyncProgressApp) GetId() *int64

GetId returns SyncProgressApp.Id, and is useful for accessing the field via an interface.

type SyncProgressAppEnvironmentsAppEnvironment

type SyncProgressAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The current sync progress for the environment.
	SyncProgress *SyncProgressAppEnvironmentsAppEnvironmentSyncProgress `json:"syncProgress"`
}

SyncProgressAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*SyncProgressAppEnvironmentsAppEnvironment) GetId

GetId returns SyncProgressAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*SyncProgressAppEnvironmentsAppEnvironment) GetSyncProgress

GetSyncProgress returns SyncProgressAppEnvironmentsAppEnvironment.SyncProgress, and is useful for accessing the field via an interface.

type SyncProgressAppEnvironmentsAppEnvironmentSyncProgress

type SyncProgressAppEnvironmentsAppEnvironmentSyncProgress struct {
	// The overall sync status.
	Status *string `json:"status"`
	// The sync job ID.
	Sync *int64 `json:"sync"`
	// The individual sync steps.
	Steps []*SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep `json:"steps"`
}

SyncProgressAppEnvironmentsAppEnvironmentSyncProgress includes the requested fields of the GraphQL type AppEnvironmentSyncProgress. The GraphQL type's documentation follows.

Progress details for an environment sync.

func (*SyncProgressAppEnvironmentsAppEnvironmentSyncProgress) GetStatus

GetStatus returns SyncProgressAppEnvironmentsAppEnvironmentSyncProgress.Status, and is useful for accessing the field via an interface.

func (*SyncProgressAppEnvironmentsAppEnvironmentSyncProgress) GetSteps

GetSteps returns SyncProgressAppEnvironmentsAppEnvironmentSyncProgress.Steps, and is useful for accessing the field via an interface.

func (*SyncProgressAppEnvironmentsAppEnvironmentSyncProgress) GetSync

GetSync returns SyncProgressAppEnvironmentsAppEnvironmentSyncProgress.Sync, and is useful for accessing the field via an interface.

type SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep

type SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep struct {
	// The display name of the step.
	Name *string `json:"name"`
	// The step status.
	Status *string `json:"status"`
	// The step identifier.
	Step *string `json:"step"`
}

SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep includes the requested fields of the GraphQL type AppEnvironmentSyncStep. The GraphQL type's documentation follows.

A single step in an environment sync.

func (*SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep) GetName

GetName returns SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep.Name, and is useful for accessing the field via an interface.

func (*SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep) GetStatus

GetStatus returns SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep.Status, and is useful for accessing the field via an interface.

func (*SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep) GetStep

GetStep returns SyncProgressAppEnvironmentsAppEnvironmentSyncProgressStepsAppEnvironmentSyncStep.Step, and is useful for accessing the field via an interface.

type SyncProgressResponse

type SyncProgressResponse struct {
	// Retrieve a single application.
	App *SyncProgressApp `json:"app"`
}

SyncProgressResponse is returned by SyncProgress on success.

func SyncProgress

func SyncProgress(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *SyncProgressResponse, err_ error)

func (*SyncProgressResponse) GetApp

GetApp returns SyncProgressResponse.App, and is useful for accessing the field via an interface.

type TriggerDatabaseBackupResponse

type TriggerDatabaseBackupResponse struct {
	// Trigger a database backup.
	TriggerDatabaseBackup *TriggerDatabaseBackupTriggerDatabaseBackupAppEnvironmentTriggerDBBackupPayload `json:"triggerDatabaseBackup"`
}

TriggerDatabaseBackupResponse is returned by TriggerDatabaseBackup on success.

func TriggerDatabaseBackup

func TriggerDatabaseBackup(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentTriggerDBBackupInput,
) (data_ *TriggerDatabaseBackupResponse, err_ error)

func (*TriggerDatabaseBackupResponse) GetTriggerDatabaseBackup

GetTriggerDatabaseBackup returns TriggerDatabaseBackupResponse.TriggerDatabaseBackup, and is useful for accessing the field via an interface.

type TriggerDatabaseBackupTriggerDatabaseBackupAppEnvironmentTriggerDBBackupPayload

type TriggerDatabaseBackupTriggerDatabaseBackupAppEnvironmentTriggerDBBackupPayload struct {
	// Whether the operation succeeded.
	Success *bool `json:"success"`
}

TriggerDatabaseBackupTriggerDatabaseBackupAppEnvironmentTriggerDBBackupPayload includes the requested fields of the GraphQL type AppEnvironmentTriggerDBBackupPayload. The GraphQL type's documentation follows.

The result of triggering a database backup.

func (*TriggerDatabaseBackupTriggerDatabaseBackupAppEnvironmentTriggerDBBackupPayload) GetSuccess

GetSuccess returns TriggerDatabaseBackupTriggerDatabaseBackupAppEnvironmentTriggerDBBackupPayload.Success, and is useful for accessing the field via an interface.

type TriggerWPCLICommandResponse

type TriggerWPCLICommandResponse struct {
	// Execute a WP-CLI command on an environment.
	TriggerWPCLICommandOnAppEnvironment *TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload `json:"triggerWPCLICommandOnAppEnvironment"`
}

TriggerWPCLICommandResponse is returned by TriggerWPCLICommand on success.

func TriggerWPCLICommand

func TriggerWPCLICommand(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentTriggerWPCLICommandInput,
) (data_ *TriggerWPCLICommandResponse, err_ error)

func (*TriggerWPCLICommandResponse) GetTriggerWPCLICommandOnAppEnvironment

GetTriggerWPCLICommandOnAppEnvironment returns TriggerWPCLICommandResponse.TriggerWPCLICommandOnAppEnvironment, and is useful for accessing the field via an interface.

type TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload

type TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload struct {
	// The token for authenticating the socket connection
	InputToken *string `json:"inputToken"`
	// The command that was executed
	Command *TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadCommandWPCLICommand `json:"command"`
	// The SSH credentials for connecting to the command session.
	SshAuthentication *TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication `json:"sshAuthentication"`
}

TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload includes the requested fields of the GraphQL type AppEnvironmentTriggerWPCLICommandPayload. The GraphQL type's documentation follows.

Response from the Run WP-CLI Command mutation

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload) GetCommand

GetCommand returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload.Command, and is useful for accessing the field via an interface.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload) GetInputToken

GetInputToken returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload.InputToken, and is useful for accessing the field via an interface.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload) GetSshAuthentication

GetSshAuthentication returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayload.SshAuthentication, and is useful for accessing the field via an interface.

type TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadCommandWPCLICommand

type TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadCommandWPCLICommand struct {
	// The GUID for the command.
	Guid *string `json:"guid"`
}

TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadCommandWPCLICommand includes the requested fields of the GraphQL type WPCLICommand. The GraphQL type's documentation follows.

A WP-CLI command executed on an application environment.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadCommandWPCLICommand) GetGuid

GetGuid returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadCommandWPCLICommand.Guid, and is useful for accessing the field via an interface.

type TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication

type TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication struct {
	// The SSH host.
	Host string `json:"host"`
	// The SSH port.
	Port string `json:"port"`
	// The SSH username.
	Username string `json:"username"`
	// The private key used for authentication.
	PrivateKey string `json:"privateKey"`
	// The passphrase for the private key.
	Passphrase string `json:"passphrase"`
}

TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication includes the requested fields of the GraphQL type WPCliSSHAuthentication. The GraphQL type's documentation follows.

SSH credentials for running a WP-CLI command.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication) GetHost

GetHost returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication.Host, and is useful for accessing the field via an interface.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication) GetPassphrase

GetPassphrase returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication.Passphrase, and is useful for accessing the field via an interface.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication) GetPort

GetPort returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication.Port, and is useful for accessing the field via an interface.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication) GetPrivateKey

GetPrivateKey returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication.PrivateKey, and is useful for accessing the field via an interface.

func (*TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication) GetUsername

GetUsername returns TriggerWPCLICommandTriggerWPCLICommandOnAppEnvironmentAppEnvironmentTriggerWPCLICommandPayloadSshAuthenticationWPCliSSHAuthentication.Username, and is useful for accessing the field via an interface.

type UpdateDefensiveModeConfigResponse

type UpdateDefensiveModeConfigResponse struct {
	// Update defensive mode configuration.
	UpdateDefensiveModeConfig *UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload `json:"updateDefensiveModeConfig"`
}

UpdateDefensiveModeConfigResponse is returned by UpdateDefensiveModeConfig on success.

func UpdateDefensiveModeConfig

func UpdateDefensiveModeConfig(
	ctx_ context.Context,
	client_ graphql.Client,
	input *AppEnvironmentDefensiveModeConfigInput,
) (data_ *UpdateDefensiveModeConfigResponse, err_ error)

func (*UpdateDefensiveModeConfigResponse) GetUpdateDefensiveModeConfig

GetUpdateDefensiveModeConfig returns UpdateDefensiveModeConfigResponse.UpdateDefensiveModeConfig, and is useful for accessing the field via an interface.

type UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload

type UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload struct {
	// Whether the operation succeeded.
	Success bool `json:"success"`
	// A human-readable result message.
	Message string `json:"message"`
}

UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload includes the requested fields of the GraphQL type AppEnvironmentDefensiveModeOperationResultPayload. The GraphQL type's documentation follows.

The result of a defensive mode operation.

func (*UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload) GetMessage

GetMessage returns UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload.Message, and is useful for accessing the field via an interface.

func (*UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload) GetSuccess

GetSuccess returns UpdateDefensiveModeConfigUpdateDefensiveModeConfigAppEnvironmentDefensiveModeOperationResultPayload.Success, and is useful for accessing the field via an interface.

type UpdateDefensiveModeStatusResponse

type UpdateDefensiveModeStatusResponse struct {
	// Enable or disable defensive mode.
	UpdateDefensiveModeStatus *UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload `json:"updateDefensiveModeStatus"`
}

UpdateDefensiveModeStatusResponse is returned by UpdateDefensiveModeStatus on success.

func (*UpdateDefensiveModeStatusResponse) GetUpdateDefensiveModeStatus

GetUpdateDefensiveModeStatus returns UpdateDefensiveModeStatusResponse.UpdateDefensiveModeStatus, and is useful for accessing the field via an interface.

type UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload

type UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload struct {
	// Whether the operation succeeded.
	Success bool `json:"success"`
	// A human-readable result message.
	Message string `json:"message"`
}

UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload includes the requested fields of the GraphQL type AppEnvironmentDefensiveModeOperationResultPayload. The GraphQL type's documentation follows.

The result of a defensive mode operation.

func (*UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload) GetMessage

GetMessage returns UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload.Message, and is useful for accessing the field via an interface.

func (*UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload) GetSuccess

GetSuccess returns UpdateDefensiveModeStatusUpdateDefensiveModeStatusAppEnvironmentDefensiveModeOperationResultPayload.Success, and is useful for accessing the field via an interface.

type UpdateEdgeWorkerResponse

type UpdateEdgeWorkerResponse struct {
	// Update an existing WASM edge worker.
	UpdateEdgeWorker *UpdateEdgeWorkerUpdateEdgeWorker `json:"updateEdgeWorker"`
}

UpdateEdgeWorkerResponse is returned by UpdateEdgeWorker on success.

func UpdateEdgeWorker

func UpdateEdgeWorker(
	ctx_ context.Context,
	client_ graphql.Client,
	input *edgeworkerinput.Update,
) (data_ *UpdateEdgeWorkerResponse, err_ error)

func (*UpdateEdgeWorkerResponse) GetUpdateEdgeWorker

GetUpdateEdgeWorker returns UpdateEdgeWorkerResponse.UpdateEdgeWorker, and is useful for accessing the field via an interface.

type UpdateEdgeWorkerUpdateEdgeWorker

type UpdateEdgeWorkerUpdateEdgeWorker struct {
	EdgeWorkerFields `json:"-"`
}

UpdateEdgeWorkerUpdateEdgeWorker includes the requested fields of the GraphQL type EdgeWorker. The GraphQL type's documentation follows.

A WASM edge worker deployed to an environment.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetActive

func (v *UpdateEdgeWorkerUpdateEdgeWorker) GetActive() bool

GetActive returns UpdateEdgeWorkerUpdateEdgeWorker.Active, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetCreatedAt

func (v *UpdateEdgeWorkerUpdateEdgeWorker) GetCreatedAt() string

GetCreatedAt returns UpdateEdgeWorkerUpdateEdgeWorker.CreatedAt, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetId

GetId returns UpdateEdgeWorkerUpdateEdgeWorker.Id, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetLocation

GetLocation returns UpdateEdgeWorkerUpdateEdgeWorker.Location, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetName

GetName returns UpdateEdgeWorkerUpdateEdgeWorker.Name, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetOnFailure

GetOnFailure returns UpdateEdgeWorkerUpdateEdgeWorker.OnFailure, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetPhases

GetPhases returns UpdateEdgeWorkerUpdateEdgeWorker.Phases, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) GetUpdatedAt

func (v *UpdateEdgeWorkerUpdateEdgeWorker) GetUpdatedAt() string

GetUpdatedAt returns UpdateEdgeWorkerUpdateEdgeWorker.UpdatedAt, and is useful for accessing the field via an interface.

func (*UpdateEdgeWorkerUpdateEdgeWorker) MarshalJSON

func (v *UpdateEdgeWorkerUpdateEdgeWorker) MarshalJSON() ([]byte, error)

func (*UpdateEdgeWorkerUpdateEdgeWorker) UnmarshalJSON

func (v *UpdateEdgeWorkerUpdateEdgeWorker) UnmarshalJSON(b []byte) error

type UpdateSoftwareSettingsResponse

type UpdateSoftwareSettingsResponse struct {
	// Update software settings for an application environment.
	UpdateSoftwareSettings *UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings `json:"updateSoftwareSettings"`
}

UpdateSoftwareSettingsResponse is returned by UpdateSoftwareSettings on success.

func UpdateSoftwareSettings

func UpdateSoftwareSettings(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
	component string,
	version string,
) (data_ *UpdateSoftwareSettingsResponse, err_ error)

func (*UpdateSoftwareSettingsResponse) GetUpdateSoftwareSettings

GetUpdateSoftwareSettings returns UpdateSoftwareSettingsResponse.UpdateSoftwareSettings, and is useful for accessing the field via an interface.

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings struct {
	// The WordPress software settings.
	Wordpress *UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware `json:"wordpress"`
	// The PHP software settings.
	Php *UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware `json:"php"`
	// The mu-plugins software settings.
	Muplugins *UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware `json:"muplugins"`
	// The Node.js software settings.
	Nodejs *UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware `json:"nodejs"`
}

UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettings. The GraphQL type's documentation follows.

Available software settings for an application environment.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings) GetMuplugins

GetMuplugins returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings.Muplugins, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings) GetNodejs

GetNodejs returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings.Nodejs, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings) GetPhp

GetPhp returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings.Php, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings) GetWordpress

GetWordpress returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettings.Wordpress, and is useful for accessing the field via an interface.

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsMupluginsAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsNodejsAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsPhpAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware

type UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware struct {
	SoftwareNode `json:"-"`
}

UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware includes the requested fields of the GraphQL type AppEnvironmentSoftwareSettingsSoftware. The GraphQL type's documentation follows.

Software settings and available versions for one software package.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetCurrent

GetCurrent returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Current, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetName

GetName returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Name, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetOptions

GetOptions returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Options, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetPinned

GetPinned returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Pinned, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) GetSlug

GetSlug returns UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware.Slug, and is useful for accessing the field via an interface.

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) MarshalJSON

func (*UpdateSoftwareSettingsUpdateSoftwareSettingsAppEnvironmentSoftwareSettingsWordpressAppEnvironmentSoftwareSettingsSoftware) UnmarshalJSON

type ValidateCustomDeployAccessInput

type ValidateCustomDeployAccessInput struct {
	// The application identifier to validate.
	App string `json:"app"`
	// The environment identifier to validate.
	Env string `json:"env"`
}

Input for validating custom deploy access.

func (*ValidateCustomDeployAccessInput) GetApp

GetApp returns ValidateCustomDeployAccessInput.App, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessInput) GetEnv

GetEnv returns ValidateCustomDeployAccessInput.Env, and is useful for accessing the field via an interface.

type ValidateCustomDeployAccessResponse

type ValidateCustomDeployAccessResponse struct {
	// Validate custom deploy access for an application and environment.
	ValidateCustomDeployAccess *ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload `json:"validateCustomDeployAccess"`
}

ValidateCustomDeployAccessResponse is returned by ValidateCustomDeployAccess on success.

func ValidateCustomDeployAccess

func ValidateCustomDeployAccess(
	ctx_ context.Context,
	client_ graphql.Client,
	input *ValidateCustomDeployAccessInput,
) (data_ *ValidateCustomDeployAccessResponse, err_ error)

func (*ValidateCustomDeployAccessResponse) GetValidateCustomDeployAccess

GetValidateCustomDeployAccess returns ValidateCustomDeployAccessResponse.ValidateCustomDeployAccess, and is useful for accessing the field via an interface.

type ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload

type ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload struct {
	// Whether the custom deploy access is valid.
	Success *bool `json:"success"`
	// The resolved application ID.
	AppId *int64 `json:"appId"`
	// The resolved environment ID.
	EnvId *int64 `json:"envId"`
	// The resolved environment type.
	EnvType *string `json:"envType"`
	// The resolved unique environment label.
	EnvUniqueLabel *string `json:"envUniqueLabel"`
	// The primary domain name for the environment.
	PrimaryDomainName *string `json:"primaryDomainName"`
	// Whether the environment is launched.
	Launched *bool `json:"launched"`
}

ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload includes the requested fields of the GraphQL type ValidateCustomDeployAccessPayload. The GraphQL type's documentation follows.

The result of validating custom deploy access.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetAppId

GetAppId returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.AppId, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetEnvId

GetEnvId returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.EnvId, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetEnvType

GetEnvType returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.EnvType, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetEnvUniqueLabel

GetEnvUniqueLabel returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.EnvUniqueLabel, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetLaunched

GetLaunched returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.Launched, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetPrimaryDomainName

GetPrimaryDomainName returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.PrimaryDomainName, and is useful for accessing the field via an interface.

func (*ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload) GetSuccess

GetSuccess returns ValidateCustomDeployAccessValidateCustomDeployAccessValidateCustomDeployAccessPayload.Success, and is useful for accessing the field via an interface.

type ValidateEdgeWorkerInput

type ValidateEdgeWorkerInput struct {
	// The environment to validate the worker against.
	EnvironmentId int64 `json:"environmentId"`
	// The base64-encoded compiled WASM binary to validate.
	WasmBinary string `json:"wasmBinary"`
}

Input for validating an edge worker without persisting it.

func (*ValidateEdgeWorkerInput) GetEnvironmentId

func (v *ValidateEdgeWorkerInput) GetEnvironmentId() int64

GetEnvironmentId returns ValidateEdgeWorkerInput.EnvironmentId, and is useful for accessing the field via an interface.

func (*ValidateEdgeWorkerInput) GetWasmBinary

func (v *ValidateEdgeWorkerInput) GetWasmBinary() string

GetWasmBinary returns ValidateEdgeWorkerInput.WasmBinary, and is useful for accessing the field via an interface.

type ValidateEdgeWorkerResponse

type ValidateEdgeWorkerResponse struct {
	// Validate a WASM edge worker without persisting it, to check it before uploading.
	ValidateEdgeWorker *ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult `json:"validateEdgeWorker"`
}

ValidateEdgeWorkerResponse is returned by ValidateEdgeWorker on success.

func ValidateEdgeWorker

func ValidateEdgeWorker(
	ctx_ context.Context,
	client_ graphql.Client,
	input *ValidateEdgeWorkerInput,
) (data_ *ValidateEdgeWorkerResponse, err_ error)

func (*ValidateEdgeWorkerResponse) GetValidateEdgeWorker

GetValidateEdgeWorker returns ValidateEdgeWorkerResponse.ValidateEdgeWorker, and is useful for accessing the field via an interface.

type ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult

type ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult struct {
	// Whether the WASM binary passed validation.
	Valid bool `json:"valid"`
	// The request lifecycle phases the worker would run in. Empty when invalid.
	Phases []EdgeWorkerPhase `json:"phases"`
	// Validation error messages. Empty when the worker is valid.
	Errors []string `json:"errors"`
}

ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult includes the requested fields of the GraphQL type EdgeWorkerValidationResult. The GraphQL type's documentation follows.

The result of validating an edge worker's WASM binary without persisting it.

func (*ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult) GetErrors

GetErrors returns ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult.Errors, and is useful for accessing the field via an interface.

func (*ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult) GetPhases

GetPhases returns ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult.Phases, and is useful for accessing the field via an interface.

func (*ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult) GetValid

GetValid returns ValidateEdgeWorkerValidateEdgeWorkerEdgeWorkerValidationResult.Valid, and is useful for accessing the field via an interface.

type WPEnvInfoApp

type WPEnvInfoApp struct {
	// The unique identifier for the application.
	Id *int64 `json:"id"`
	// The display name of the application.
	Name *string `json:"name"`
	// The internal numeric identifier for the application type.
	TypeId *int64 `json:"typeId"`
	// The environments that belong to this application. Use this for environment discovery by ID, name, or type before selecting nested operational fields.
	Environments []*WPEnvInfoAppEnvironmentsAppEnvironment `json:"environments"`
}

WPEnvInfoApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.

An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.

func (*WPEnvInfoApp) GetEnvironments

func (v *WPEnvInfoApp) GetEnvironments() []*WPEnvInfoAppEnvironmentsAppEnvironment

GetEnvironments returns WPEnvInfoApp.Environments, and is useful for accessing the field via an interface.

func (*WPEnvInfoApp) GetId

func (v *WPEnvInfoApp) GetId() *int64

GetId returns WPEnvInfoApp.Id, and is useful for accessing the field via an interface.

func (*WPEnvInfoApp) GetName

func (v *WPEnvInfoApp) GetName() *string

GetName returns WPEnvInfoApp.Name, and is useful for accessing the field via an interface.

func (*WPEnvInfoApp) GetTypeId

func (v *WPEnvInfoApp) GetTypeId() *int64

GetTypeId returns WPEnvInfoApp.TypeId, and is useful for accessing the field via an interface.

type WPEnvInfoAppEnvironmentsAppEnvironment

type WPEnvInfoAppEnvironmentsAppEnvironment struct {
	// The unique identifier for the environment.
	Id *int64 `json:"id"`
	// The application ID that owns the environment.
	AppId *int64 `json:"appId"`
	// The environment type, such as production or develop.
	Type *string `json:"type"`
	// The display name of the environment.
	Name *string `json:"name"`
	// The strategy used to execute WP-CLI commands.
	WpcliStrategy *AppEnvironmentWPCliStrategy `json:"wpcliStrategy"`
	// The primary domain for the environment.
	PrimaryDomain *WPEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain `json:"primaryDomain"`
}

WPEnvInfoAppEnvironmentsAppEnvironment includes the requested fields of the GraphQL type AppEnvironment. The GraphQL type's documentation follows.

An application environment in WordPress VIP. This type is the main operational read surface and includes commands, logs, events, backups, deployments, metrics, integrations, and security controls.

func (*WPEnvInfoAppEnvironmentsAppEnvironment) GetAppId

GetAppId returns WPEnvInfoAppEnvironmentsAppEnvironment.AppId, and is useful for accessing the field via an interface.

func (*WPEnvInfoAppEnvironmentsAppEnvironment) GetId

GetId returns WPEnvInfoAppEnvironmentsAppEnvironment.Id, and is useful for accessing the field via an interface.

func (*WPEnvInfoAppEnvironmentsAppEnvironment) GetName

GetName returns WPEnvInfoAppEnvironmentsAppEnvironment.Name, and is useful for accessing the field via an interface.

func (*WPEnvInfoAppEnvironmentsAppEnvironment) GetPrimaryDomain

GetPrimaryDomain returns WPEnvInfoAppEnvironmentsAppEnvironment.PrimaryDomain, and is useful for accessing the field via an interface.

func (*WPEnvInfoAppEnvironmentsAppEnvironment) GetType

GetType returns WPEnvInfoAppEnvironmentsAppEnvironment.Type, and is useful for accessing the field via an interface.

func (*WPEnvInfoAppEnvironmentsAppEnvironment) GetWpcliStrategy

GetWpcliStrategy returns WPEnvInfoAppEnvironmentsAppEnvironment.WpcliStrategy, and is useful for accessing the field via an interface.

type WPEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain

type WPEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain struct {
	// The domain name (i.e. something like example.com or sub.example.com)
	Name string `json:"name"`
}

WPEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain includes the requested fields of the GraphQL type Domain. The GraphQL type's documentation follows.

A domain for an environment

func (*WPEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain) GetName

GetName returns WPEnvInfoAppEnvironmentsAppEnvironmentPrimaryDomain.Name, and is useful for accessing the field via an interface.

type WPEnvInfoResponse

type WPEnvInfoResponse struct {
	// Retrieve a single application.
	App *WPEnvInfoApp `json:"app"`
}

WPEnvInfoResponse is returned by WPEnvInfo on success.

func WPEnvInfo

func WPEnvInfo(
	ctx_ context.Context,
	client_ graphql.Client,
	appId int64,
	envId int64,
) (data_ *WPEnvInfoResponse, err_ error)

func (*WPEnvInfoResponse) GetApp

func (v *WPEnvInfoResponse) GetApp() *WPEnvInfoApp

GetApp returns WPEnvInfoResponse.App, and is useful for accessing the field via an interface.

Directories

Path Synopsis
Package edgeworkerinput preserves omitted, null, and empty write values.
Package edgeworkerinput preserves omitted, null, and empty write values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL