gql

package
v0.0.434 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOnType added in v0.0.371

type AddOnType string
const (
	// A Redis database
	AddOnTypeRedis AddOnType = "redis"
)

type AgentGetInstancesApp added in v0.0.416

type AgentGetInstancesApp struct {
	// Organization that owns this app
	Organization AgentGetInstancesAppOrganization `json:"organization"`
	// Unique application ID
	Id string `json:"id"`
	// The unique application name
	Name        string                                        `json:"name"`
	Allocations []AgentGetInstancesAppAllocationsAllocation   `json:"allocations"`
	Machines    AgentGetInstancesAppMachinesMachineConnection `json:"machines"`
}

AgentGetInstancesApp includes the requested fields of the GraphQL type App.

func (*AgentGetInstancesApp) GetAllocations added in v0.0.416

GetAllocations returns AgentGetInstancesApp.Allocations, and is useful for accessing the field via an interface.

func (*AgentGetInstancesApp) GetId added in v0.0.416

func (v *AgentGetInstancesApp) GetId() string

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

func (*AgentGetInstancesApp) GetMachines added in v0.0.416

GetMachines returns AgentGetInstancesApp.Machines, and is useful for accessing the field via an interface.

func (*AgentGetInstancesApp) GetName added in v0.0.416

func (v *AgentGetInstancesApp) GetName() string

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

func (*AgentGetInstancesApp) GetOrganization added in v0.0.416

GetOrganization returns AgentGetInstancesApp.Organization, and is useful for accessing the field via an interface.

type AgentGetInstancesAppAllocationsAllocation added in v0.0.416

type AgentGetInstancesAppAllocationsAllocation struct {
	// Unique ID for this instance
	Id string `json:"id"`
	// Region this allocation is running in
	Region string `json:"region"`
	// Private IPv6 address for this instance
	PrivateIP string `json:"privateIP"`
}

AgentGetInstancesAppAllocationsAllocation includes the requested fields of the GraphQL type Allocation.

func (*AgentGetInstancesAppAllocationsAllocation) GetId added in v0.0.416

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

func (*AgentGetInstancesAppAllocationsAllocation) GetPrivateIP added in v0.0.416

GetPrivateIP returns AgentGetInstancesAppAllocationsAllocation.PrivateIP, and is useful for accessing the field via an interface.

func (*AgentGetInstancesAppAllocationsAllocation) GetRegion added in v0.0.416

GetRegion returns AgentGetInstancesAppAllocationsAllocation.Region, and is useful for accessing the field via an interface.

type AgentGetInstancesAppMachinesMachineConnection added in v0.0.416

type AgentGetInstancesAppMachinesMachineConnection struct {
	// A list of nodes.
	Nodes []AgentGetInstancesAppMachinesMachineConnectionNodesMachine `json:"nodes"`
}

AgentGetInstancesAppMachinesMachineConnection includes the requested fields of the GraphQL type MachineConnection. The GraphQL type's documentation follows.

The connection type for Machine.

func (*AgentGetInstancesAppMachinesMachineConnection) GetNodes added in v0.0.416

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

type AgentGetInstancesAppMachinesMachineConnectionNodesMachine added in v0.0.416

type AgentGetInstancesAppMachinesMachineConnectionNodesMachine struct {
	Id     string                                                                          `json:"id"`
	Region string                                                                          `json:"region"`
	Ips    AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection `json:"ips"`
}

AgentGetInstancesAppMachinesMachineConnectionNodesMachine includes the requested fields of the GraphQL type Machine.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetId added in v0.0.416

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

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetIps added in v0.0.416

GetIps returns AgentGetInstancesAppMachinesMachineConnectionNodesMachine.Ips, and is useful for accessing the field via an interface.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetRegion added in v0.0.416

GetRegion returns AgentGetInstancesAppMachinesMachineConnectionNodesMachine.Region, and is useful for accessing the field via an interface.

type AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection added in v0.0.416

type AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection struct {
	// A list of nodes.
	Nodes []AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP `json:"nodes"`
}

AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection includes the requested fields of the GraphQL type MachineIPConnection. The GraphQL type's documentation follows.

The connection type for MachineIP.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection) GetNodes added in v0.0.416

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

type AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP added in v0.0.416

type AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP struct {
	Kind   string `json:"kind"`
	Family string `json:"family"`
	Ip     string `json:"ip"`
}

AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP includes the requested fields of the GraphQL type MachineIP.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetFamily added in v0.0.416

GetFamily returns AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP.Family, and is useful for accessing the field via an interface.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetIp added in v0.0.416

GetIp returns AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP.Ip, and is useful for accessing the field via an interface.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetKind added in v0.0.416

GetKind returns AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP.Kind, and is useful for accessing the field via an interface.

type AgentGetInstancesAppOrganization added in v0.0.416

type AgentGetInstancesAppOrganization struct {
	// Unique organization slug
	Slug string `json:"slug"`
}

AgentGetInstancesAppOrganization includes the requested fields of the GraphQL type Organization.

func (*AgentGetInstancesAppOrganization) GetSlug added in v0.0.416

GetSlug returns AgentGetInstancesAppOrganization.Slug, and is useful for accessing the field via an interface.

type AgentGetInstancesResponse added in v0.0.416

type AgentGetInstancesResponse struct {
	// Find an app by name
	App AgentGetInstancesApp `json:"app"`
}

AgentGetInstancesResponse is returned by AgentGetInstances on success.

func AgentGetInstances added in v0.0.416

func AgentGetInstances(
	ctx context.Context,
	client graphql.Client,
	appName string,
) (*AgentGetInstancesResponse, error)

func (*AgentGetInstancesResponse) GetApp added in v0.0.416

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

type BuildFinalImageInput added in v0.0.415

type BuildFinalImageInput struct {
	// Sha256 id of docker image
	Id string `json:"id"`
	// Size in bytes of the docker image
	SizeBytes int64 `json:"sizeBytes"`
	// Tag used for docker image
	Tag string `json:"tag"`
}

func (*BuildFinalImageInput) GetId added in v0.0.415

func (v *BuildFinalImageInput) GetId() string

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

func (*BuildFinalImageInput) GetSizeBytes added in v0.0.415

func (v *BuildFinalImageInput) GetSizeBytes() int64

GetSizeBytes returns BuildFinalImageInput.SizeBytes, and is useful for accessing the field via an interface.

func (*BuildFinalImageInput) GetTag added in v0.0.415

func (v *BuildFinalImageInput) GetTag() string

GetTag returns BuildFinalImageInput.Tag, and is useful for accessing the field via an interface.

type BuildImageOptsInput added in v0.0.415

type BuildImageOptsInput struct {
	// Set of build time variables passed to cli
	BuildArgs interface{} `json:"buildArgs"`
	// Fly.toml build.buildpacks setting
	BuildPacks []string `json:"buildPacks"`
	// Fly.toml build.builder setting
	Builder string `json:"builder"`
	// Builtin builder to use
	BuiltIn string `json:"builtIn"`
	// Builtin builder settings
	BuiltInSettings interface{} `json:"builtInSettings"`
	// Path to dockerfile, if one exists
	DockerfilePath string `json:"dockerfilePath"`
	// Unused in cli?
	ExtraBuildArgs interface{} `json:"extraBuildArgs"`
	// Image label to use when tagging and pushing to the fly registry
	ImageLabel string `json:"imageLabel"`
	// Unused in cli?
	ImageRef string `json:"imageRef"`
	// Do not use the build cache when building the image
	NoCache bool `json:"noCache"`
	// Whether publishing to the registry was requested
	Publish bool `json:"publish"`
	// Docker tag used to publish image to registry
	Tag string `json:"tag"`
	// Set the target build stage to build if the Dockerfile has more than one stage
	Target string `json:"target"`
}

func (*BuildImageOptsInput) GetBuildArgs added in v0.0.415

func (v *BuildImageOptsInput) GetBuildArgs() interface{}

GetBuildArgs returns BuildImageOptsInput.BuildArgs, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetBuildPacks added in v0.0.415

func (v *BuildImageOptsInput) GetBuildPacks() []string

GetBuildPacks returns BuildImageOptsInput.BuildPacks, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetBuilder added in v0.0.415

func (v *BuildImageOptsInput) GetBuilder() string

GetBuilder returns BuildImageOptsInput.Builder, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetBuiltIn added in v0.0.415

func (v *BuildImageOptsInput) GetBuiltIn() string

GetBuiltIn returns BuildImageOptsInput.BuiltIn, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetBuiltInSettings added in v0.0.415

func (v *BuildImageOptsInput) GetBuiltInSettings() interface{}

GetBuiltInSettings returns BuildImageOptsInput.BuiltInSettings, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetDockerfilePath added in v0.0.415

func (v *BuildImageOptsInput) GetDockerfilePath() string

GetDockerfilePath returns BuildImageOptsInput.DockerfilePath, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetExtraBuildArgs added in v0.0.415

func (v *BuildImageOptsInput) GetExtraBuildArgs() interface{}

GetExtraBuildArgs returns BuildImageOptsInput.ExtraBuildArgs, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetImageLabel added in v0.0.415

func (v *BuildImageOptsInput) GetImageLabel() string

GetImageLabel returns BuildImageOptsInput.ImageLabel, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetImageRef added in v0.0.415

func (v *BuildImageOptsInput) GetImageRef() string

GetImageRef returns BuildImageOptsInput.ImageRef, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetNoCache added in v0.0.415

func (v *BuildImageOptsInput) GetNoCache() bool

GetNoCache returns BuildImageOptsInput.NoCache, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetPublish added in v0.0.415

func (v *BuildImageOptsInput) GetPublish() bool

GetPublish returns BuildImageOptsInput.Publish, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetTag added in v0.0.415

func (v *BuildImageOptsInput) GetTag() string

GetTag returns BuildImageOptsInput.Tag, and is useful for accessing the field via an interface.

func (*BuildImageOptsInput) GetTarget added in v0.0.415

func (v *BuildImageOptsInput) GetTarget() string

GetTarget returns BuildImageOptsInput.Target, and is useful for accessing the field via an interface.

type BuildStrategyAttemptInput added in v0.0.415

type BuildStrategyAttemptInput struct {
	// Optional error message from strategy
	Error string `json:"error"`
	// Optional note about this strategy or its result
	Note string `json:"note"`
	// Result attempting this strategy
	Result string `json:"result"`
	// Build strategy attempted
	Strategy string `json:"strategy"`
}

func (*BuildStrategyAttemptInput) GetError added in v0.0.415

func (v *BuildStrategyAttemptInput) GetError() string

GetError returns BuildStrategyAttemptInput.Error, and is useful for accessing the field via an interface.

func (*BuildStrategyAttemptInput) GetNote added in v0.0.415

func (v *BuildStrategyAttemptInput) GetNote() string

GetNote returns BuildStrategyAttemptInput.Note, and is useful for accessing the field via an interface.

func (*BuildStrategyAttemptInput) GetResult added in v0.0.415

func (v *BuildStrategyAttemptInput) GetResult() string

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

func (*BuildStrategyAttemptInput) GetStrategy added in v0.0.415

func (v *BuildStrategyAttemptInput) GetStrategy() string

GetStrategy returns BuildStrategyAttemptInput.Strategy, and is useful for accessing the field via an interface.

type BuildTimingsInput added in v0.0.415

type BuildTimingsInput struct {
	// Time to build and push the image, measured by flyctl
	BuildAndPushMs int64 `json:"buildAndPushMs"`
	// Time to build the image including create context, measured by flyctl
	BuildMs int64 `json:"buildMs"`
	// Time to initialize client used to connect to either remote or local builder
	BuilderInitMs int64 `json:"builderInitMs"`
	// Time to create the build context tar file, measured by flyctl
	ContextBuildMs int64 `json:"contextBuildMs"`
	// Time for builder to build image after receiving context, measured by flyctl
	ImageBuildMs int64 `json:"imageBuildMs"`
	// Time to push completed image to registry, measured by flyctl
	PushMs int64 `json:"pushMs"`
}

func (*BuildTimingsInput) GetBuildAndPushMs added in v0.0.415

func (v *BuildTimingsInput) GetBuildAndPushMs() int64

GetBuildAndPushMs returns BuildTimingsInput.BuildAndPushMs, and is useful for accessing the field via an interface.

func (*BuildTimingsInput) GetBuildMs added in v0.0.415

func (v *BuildTimingsInput) GetBuildMs() int64

GetBuildMs returns BuildTimingsInput.BuildMs, and is useful for accessing the field via an interface.

func (*BuildTimingsInput) GetBuilderInitMs added in v0.0.415

func (v *BuildTimingsInput) GetBuilderInitMs() int64

GetBuilderInitMs returns BuildTimingsInput.BuilderInitMs, and is useful for accessing the field via an interface.

func (*BuildTimingsInput) GetContextBuildMs added in v0.0.415

func (v *BuildTimingsInput) GetContextBuildMs() int64

GetContextBuildMs returns BuildTimingsInput.ContextBuildMs, and is useful for accessing the field via an interface.

func (*BuildTimingsInput) GetImageBuildMs added in v0.0.415

func (v *BuildTimingsInput) GetImageBuildMs() int64

GetImageBuildMs returns BuildTimingsInput.ImageBuildMs, and is useful for accessing the field via an interface.

func (*BuildTimingsInput) GetPushMs added in v0.0.415

func (v *BuildTimingsInput) GetPushMs() int64

GetPushMs returns BuildTimingsInput.PushMs, and is useful for accessing the field via an interface.

type BuilderMetaInput added in v0.0.415

type BuilderMetaInput struct {
	// Local or remote builder type
	BuilderType string `json:"builderType"`
	// Whther or not buildkit is enabled on builder
	BuildkitEnabled bool `json:"buildkitEnabled"`
	// Docker version reported by builder
	DockerVersion string `json:"dockerVersion"`
	// Platform reported by the builder
	Platform string `json:"platform"`
	// Remote builder app used
	RemoteAppName string `json:"remoteAppName"`
	// Remote builder machine used
	RemoteMachineId string `json:"remoteMachineId"`
}

func (*BuilderMetaInput) GetBuilderType added in v0.0.415

func (v *BuilderMetaInput) GetBuilderType() string

GetBuilderType returns BuilderMetaInput.BuilderType, and is useful for accessing the field via an interface.

func (*BuilderMetaInput) GetBuildkitEnabled added in v0.0.415

func (v *BuilderMetaInput) GetBuildkitEnabled() bool

GetBuildkitEnabled returns BuilderMetaInput.BuildkitEnabled, and is useful for accessing the field via an interface.

func (*BuilderMetaInput) GetDockerVersion added in v0.0.415

func (v *BuilderMetaInput) GetDockerVersion() string

GetDockerVersion returns BuilderMetaInput.DockerVersion, and is useful for accessing the field via an interface.

func (*BuilderMetaInput) GetPlatform added in v0.0.415

func (v *BuilderMetaInput) GetPlatform() string

GetPlatform returns BuilderMetaInput.Platform, and is useful for accessing the field via an interface.

func (*BuilderMetaInput) GetRemoteAppName added in v0.0.415

func (v *BuilderMetaInput) GetRemoteAppName() string

GetRemoteAppName returns BuilderMetaInput.RemoteAppName, and is useful for accessing the field via an interface.

func (*BuilderMetaInput) GetRemoteMachineId added in v0.0.415

func (v *BuilderMetaInput) GetRemoteMachineId() string

GetRemoteMachineId returns BuilderMetaInput.RemoteMachineId, and is useful for accessing the field via an interface.

type CreateAddOnCreateAddOnCreateAddOnPayload added in v0.0.367

type CreateAddOnCreateAddOnCreateAddOnPayload struct {
	AddOn CreateAddOnCreateAddOnCreateAddOnPayloadAddOn `json:"addOn"`
}

CreateAddOnCreateAddOnCreateAddOnPayload includes the requested fields of the GraphQL type CreateAddOnPayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateAddOn

func (*CreateAddOnCreateAddOnCreateAddOnPayload) GetAddOn added in v0.0.367

GetAddOn returns CreateAddOnCreateAddOnCreateAddOnPayload.AddOn, and is useful for accessing the field via an interface.

type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn added in v0.0.367

type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn struct {
	// The service name according to the provider
	Name string `json:"name"`
	// Public URL for this service
	PublicUrl string `json:"publicUrl"`
}

CreateAddOnCreateAddOnCreateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetName added in v0.0.375

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

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPublicUrl added in v0.0.367

GetPublicUrl returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.PublicUrl, and is useful for accessing the field via an interface.

type CreateAddOnResponse added in v0.0.367

type CreateAddOnResponse struct {
	CreateAddOn CreateAddOnCreateAddOnCreateAddOnPayload `json:"createAddOn"`
}

CreateAddOnResponse is returned by CreateAddOn on success.

func CreateAddOn added in v0.0.367

func CreateAddOn(
	ctx context.Context,
	client graphql.Client,
	organizationId string,
	primaryRegion string,
	name string,
	planId string,
	readRegions []string,
	options interface{},
) (*CreateAddOnResponse, error)

func (*CreateAddOnResponse) GetCreateAddOn added in v0.0.367

GetCreateAddOn returns CreateAddOnResponse.CreateAddOn, and is useful for accessing the field via an interface.

type CreateBuildInput added in v0.0.415

type CreateBuildInput struct {
	// The name of the app being built
	AppName string `json:"appName"`
	// Whether builder is remote or local
	BuilderType string `json:"builderType"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// Options set for building image
	ImageOpts BuildImageOptsInput `json:"imageOpts"`
	// The ID of the machine being built (only set for machine builds)
	MachineId string `json:"machineId"`
	// List of available build strategies that will be attempted
	StrategiesAvailable []string `json:"strategiesAvailable"`
}

Autogenerated input type of CreateBuild

func (*CreateBuildInput) GetAppName added in v0.0.415

func (v *CreateBuildInput) GetAppName() string

GetAppName returns CreateBuildInput.AppName, and is useful for accessing the field via an interface.

func (*CreateBuildInput) GetBuilderType added in v0.0.415

func (v *CreateBuildInput) GetBuilderType() string

GetBuilderType returns CreateBuildInput.BuilderType, and is useful for accessing the field via an interface.

func (*CreateBuildInput) GetClientMutationId added in v0.0.415

func (v *CreateBuildInput) GetClientMutationId() string

GetClientMutationId returns CreateBuildInput.ClientMutationId, and is useful for accessing the field via an interface.

func (*CreateBuildInput) GetImageOpts added in v0.0.415

func (v *CreateBuildInput) GetImageOpts() BuildImageOptsInput

GetImageOpts returns CreateBuildInput.ImageOpts, and is useful for accessing the field via an interface.

func (*CreateBuildInput) GetMachineId added in v0.0.415

func (v *CreateBuildInput) GetMachineId() string

GetMachineId returns CreateBuildInput.MachineId, and is useful for accessing the field via an interface.

func (*CreateBuildInput) GetStrategiesAvailable added in v0.0.415

func (v *CreateBuildInput) GetStrategiesAvailable() []string

GetStrategiesAvailable returns CreateBuildInput.StrategiesAvailable, and is useful for accessing the field via an interface.

type DeleteAddOnDeleteAddOnDeleteAddOnPayload added in v0.0.371

type DeleteAddOnDeleteAddOnDeleteAddOnPayload struct {
	DeletedAddOnName string `json:"deletedAddOnName"`
}

DeleteAddOnDeleteAddOnDeleteAddOnPayload includes the requested fields of the GraphQL type DeleteAddOnPayload. The GraphQL type's documentation follows.

Autogenerated return type of DeleteAddOn

func (*DeleteAddOnDeleteAddOnDeleteAddOnPayload) GetDeletedAddOnName added in v0.0.375

func (v *DeleteAddOnDeleteAddOnDeleteAddOnPayload) GetDeletedAddOnName() string

GetDeletedAddOnName returns DeleteAddOnDeleteAddOnDeleteAddOnPayload.DeletedAddOnName, and is useful for accessing the field via an interface.

type DeleteAddOnResponse added in v0.0.371

type DeleteAddOnResponse struct {
	DeleteAddOn DeleteAddOnDeleteAddOnDeleteAddOnPayload `json:"deleteAddOn"`
}

DeleteAddOnResponse is returned by DeleteAddOn on success.

func DeleteAddOn added in v0.0.371

func DeleteAddOn(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*DeleteAddOnResponse, error)

func (*DeleteAddOnResponse) GetDeleteAddOn added in v0.0.371

GetDeleteAddOn returns DeleteAddOnResponse.DeleteAddOn, and is useful for accessing the field via an interface.

type FinishBuildInput added in v0.0.415

type FinishBuildInput struct {
	// The name of the app being built
	AppName string `json:"appName"`
	// Build id returned by createBuild() mutation
	BuildId string `json:"buildId"`
	// Metadata about the builder
	BuilderMeta BuilderMetaInput `json:"builderMeta"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// Information about the docker image that was built
	FinalImage BuildFinalImageInput `json:"finalImage"`
	// Log or error output
	Logs string `json:"logs"`
	// The ID of the machine being built (only set for machine builds)
	MachineId string `json:"machineId"`
	// Indicate whether build completed or failed
	Status string `json:"status"`
	// Build strategies attempted and their result, should be in order of attempt
	StrategiesAttempted []BuildStrategyAttemptInput `json:"strategiesAttempted"`
	// Timings for different phases of the build
	Timings BuildTimingsInput `json:"timings"`
}

Autogenerated input type of FinishBuild

func (*FinishBuildInput) GetAppName added in v0.0.415

func (v *FinishBuildInput) GetAppName() string

GetAppName returns FinishBuildInput.AppName, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetBuildId added in v0.0.415

func (v *FinishBuildInput) GetBuildId() string

GetBuildId returns FinishBuildInput.BuildId, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetBuilderMeta added in v0.0.415

func (v *FinishBuildInput) GetBuilderMeta() BuilderMetaInput

GetBuilderMeta returns FinishBuildInput.BuilderMeta, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetClientMutationId added in v0.0.415

func (v *FinishBuildInput) GetClientMutationId() string

GetClientMutationId returns FinishBuildInput.ClientMutationId, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetFinalImage added in v0.0.415

func (v *FinishBuildInput) GetFinalImage() BuildFinalImageInput

GetFinalImage returns FinishBuildInput.FinalImage, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetLogs added in v0.0.415

func (v *FinishBuildInput) GetLogs() string

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

func (*FinishBuildInput) GetMachineId added in v0.0.415

func (v *FinishBuildInput) GetMachineId() string

GetMachineId returns FinishBuildInput.MachineId, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetStatus added in v0.0.415

func (v *FinishBuildInput) GetStatus() string

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

func (*FinishBuildInput) GetStrategiesAttempted added in v0.0.415

func (v *FinishBuildInput) GetStrategiesAttempted() []BuildStrategyAttemptInput

GetStrategiesAttempted returns FinishBuildInput.StrategiesAttempted, and is useful for accessing the field via an interface.

func (*FinishBuildInput) GetTimings added in v0.0.415

func (v *FinishBuildInput) GetTimings() BuildTimingsInput

GetTimings returns FinishBuildInput.Timings, and is useful for accessing the field via an interface.

type GetAddOnAddOn added in v0.0.371

type GetAddOnAddOn struct {
	Id string `json:"id"`
	// The service name according to the provider
	Name string `json:"name"`
	// Public URL for this service
	PublicUrl string `json:"publicUrl"`
	// Private flycast IP address of the add-on
	PrivateIp string `json:"privateIp"`
	// Password for the add-on
	Password string `json:"password"`
	// Region where the primary instance is deployed
	PrimaryRegion string `json:"primaryRegion"`
	// Regions where replica instances are deployed
	ReadRegions []string `json:"readRegions"`
	// Add-on options
	Options interface{} `json:"options"`
	// Organization that owns this service
	Organization GetAddOnAddOnOrganization `json:"organization"`
	// The add-on plan
	AddOnPlan GetAddOnAddOnAddOnPlan `json:"addOnPlan"`
}

GetAddOnAddOn includes the requested fields of the GraphQL type AddOn.

func (*GetAddOnAddOn) GetAddOnPlan added in v0.0.371

func (v *GetAddOnAddOn) GetAddOnPlan() GetAddOnAddOnAddOnPlan

GetAddOnPlan returns GetAddOnAddOn.AddOnPlan, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetId added in v0.0.371

func (v *GetAddOnAddOn) GetId() string

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

func (*GetAddOnAddOn) GetName added in v0.0.371

func (v *GetAddOnAddOn) GetName() string

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

func (*GetAddOnAddOn) GetOptions added in v0.0.434

func (v *GetAddOnAddOn) GetOptions() interface{}

GetOptions returns GetAddOnAddOn.Options, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetOrganization added in v0.0.373

func (v *GetAddOnAddOn) GetOrganization() GetAddOnAddOnOrganization

GetOrganization returns GetAddOnAddOn.Organization, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetPassword added in v0.0.373

func (v *GetAddOnAddOn) GetPassword() string

GetPassword returns GetAddOnAddOn.Password, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetPrimaryRegion added in v0.0.371

func (v *GetAddOnAddOn) GetPrimaryRegion() string

GetPrimaryRegion returns GetAddOnAddOn.PrimaryRegion, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetPrivateIp added in v0.0.373

func (v *GetAddOnAddOn) GetPrivateIp() string

GetPrivateIp returns GetAddOnAddOn.PrivateIp, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetPublicUrl added in v0.0.371

func (v *GetAddOnAddOn) GetPublicUrl() string

GetPublicUrl returns GetAddOnAddOn.PublicUrl, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetReadRegions added in v0.0.371

func (v *GetAddOnAddOn) GetReadRegions() []string

GetReadRegions returns GetAddOnAddOn.ReadRegions, and is useful for accessing the field via an interface.

type GetAddOnAddOnAddOnPlan added in v0.0.371

type GetAddOnAddOnAddOnPlan struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
}

GetAddOnAddOnAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*GetAddOnAddOnAddOnPlan) GetDisplayName added in v0.0.371

func (v *GetAddOnAddOnAddOnPlan) GetDisplayName() string

GetDisplayName returns GetAddOnAddOnAddOnPlan.DisplayName, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnPlan) GetId added in v0.0.371

func (v *GetAddOnAddOnAddOnPlan) GetId() string

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

func (*GetAddOnAddOnAddOnPlan) GetName added in v0.0.371

func (v *GetAddOnAddOnAddOnPlan) GetName() string

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

type GetAddOnAddOnOrganization added in v0.0.373

type GetAddOnAddOnOrganization struct {
	// Unique organization slug
	Slug string `json:"slug"`
}

GetAddOnAddOnOrganization includes the requested fields of the GraphQL type Organization.

func (*GetAddOnAddOnOrganization) GetSlug added in v0.0.373

func (v *GetAddOnAddOnOrganization) GetSlug() string

GetSlug returns GetAddOnAddOnOrganization.Slug, and is useful for accessing the field via an interface.

type GetAddOnProviderAddOnProvider added in v0.0.400

type GetAddOnProviderAddOnProvider struct {
	Id              string                                               `json:"id"`
	Name            string                                               `json:"name"`
	ExcludedRegions []GetAddOnProviderAddOnProviderExcludedRegionsRegion `json:"excludedRegions"`
}

GetAddOnProviderAddOnProvider includes the requested fields of the GraphQL type AddOnProvider.

func (*GetAddOnProviderAddOnProvider) GetExcludedRegions added in v0.0.400

GetExcludedRegions returns GetAddOnProviderAddOnProvider.ExcludedRegions, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetId added in v0.0.400

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

func (*GetAddOnProviderAddOnProvider) GetName added in v0.0.400

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

type GetAddOnProviderAddOnProviderExcludedRegionsRegion added in v0.0.400

type GetAddOnProviderAddOnProviderExcludedRegionsRegion struct {
	// The IATA airport code for this region
	Code string `json:"code"`
}

GetAddOnProviderAddOnProviderExcludedRegionsRegion includes the requested fields of the GraphQL type Region.

func (*GetAddOnProviderAddOnProviderExcludedRegionsRegion) GetCode added in v0.0.400

GetCode returns GetAddOnProviderAddOnProviderExcludedRegionsRegion.Code, and is useful for accessing the field via an interface.

type GetAddOnProviderResponse added in v0.0.400

type GetAddOnProviderResponse struct {
	AddOnProvider GetAddOnProviderAddOnProvider `json:"addOnProvider"`
}

GetAddOnProviderResponse is returned by GetAddOnProvider on success.

func GetAddOnProvider added in v0.0.400

func GetAddOnProvider(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*GetAddOnProviderResponse, error)

func (*GetAddOnProviderResponse) GetAddOnProvider added in v0.0.400

GetAddOnProvider returns GetAddOnProviderResponse.AddOnProvider, and is useful for accessing the field via an interface.

type GetAddOnResponse added in v0.0.371

type GetAddOnResponse struct {
	// Find an add-on by ID or name
	AddOn GetAddOnAddOn `json:"addOn"`
}

GetAddOnResponse is returned by GetAddOn on success.

func GetAddOn added in v0.0.371

func GetAddOn(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*GetAddOnResponse, error)

func (*GetAddOnResponse) GetAddOn added in v0.0.371

func (v *GetAddOnResponse) GetAddOn() GetAddOnAddOn

GetAddOn returns GetAddOnResponse.AddOn, and is useful for accessing the field via an interface.

type GetOrganizationOrganization added in v0.0.424

type GetOrganizationOrganization struct {
	Id string `json:"id"`
	// Organization name
	Name string `json:"name"`
	// Single sign-on link for the given integration type
	AddOnSsoLink string `json:"addOnSsoLink"`
}

GetOrganizationOrganization includes the requested fields of the GraphQL type Organization.

func (v *GetOrganizationOrganization) GetAddOnSsoLink() string

GetAddOnSsoLink returns GetOrganizationOrganization.AddOnSsoLink, and is useful for accessing the field via an interface.

func (*GetOrganizationOrganization) GetId added in v0.0.424

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

func (*GetOrganizationOrganization) GetName added in v0.0.424

func (v *GetOrganizationOrganization) GetName() string

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

type GetOrganizationResponse added in v0.0.424

type GetOrganizationResponse struct {
	// Find an organization by ID
	Organization GetOrganizationOrganization `json:"organization"`
}

GetOrganizationResponse is returned by GetOrganization on success.

func GetOrganization added in v0.0.424

func GetOrganization(
	ctx context.Context,
	client graphql.Client,
	slug string,
) (*GetOrganizationResponse, error)

func (*GetOrganizationResponse) GetOrganization added in v0.0.424

GetOrganization returns GetOrganizationResponse.Organization, and is useful for accessing the field via an interface.

type ListAddOnPlansAddOnPlansAddOnPlanConnection added in v0.0.366

type ListAddOnPlansAddOnPlansAddOnPlanConnection struct {
	// A list of nodes.
	Nodes []ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan `json:"nodes"`
}

ListAddOnPlansAddOnPlansAddOnPlanConnection includes the requested fields of the GraphQL type AddOnPlanConnection. The GraphQL type's documentation follows.

The connection type for AddOnPlan.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnection) GetNodes added in v0.0.366

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

type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan added in v0.0.366

type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan struct {
	Id            string `json:"id"`
	DisplayName   string `json:"displayName"`
	MaxDataSize   string `json:"maxDataSize"`
	PricePerMonth int    `json:"pricePerMonth"`
}

ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName added in v0.0.366

GetDisplayName returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.DisplayName, and is useful for accessing the field via an interface.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId added in v0.0.366

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

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize added in v0.0.366

GetMaxDataSize returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.MaxDataSize, and is useful for accessing the field via an interface.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth added in v0.0.366

GetPricePerMonth returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.PricePerMonth, and is useful for accessing the field via an interface.

type ListAddOnPlansResponse added in v0.0.366

type ListAddOnPlansResponse struct {
	// List add-on service plans
	AddOnPlans ListAddOnPlansAddOnPlansAddOnPlanConnection `json:"addOnPlans"`
}

ListAddOnPlansResponse is returned by ListAddOnPlans on success.

func ListAddOnPlans added in v0.0.366

func ListAddOnPlans(
	ctx context.Context,
	client graphql.Client,
) (*ListAddOnPlansResponse, error)

func (*ListAddOnPlansResponse) GetAddOnPlans added in v0.0.366

GetAddOnPlans returns ListAddOnPlansResponse.AddOnPlans, and is useful for accessing the field via an interface.

type ListAddOnsAddOnsAddOnConnection added in v0.0.371

type ListAddOnsAddOnsAddOnConnection struct {
	// A list of nodes.
	Nodes []ListAddOnsAddOnsAddOnConnectionNodesAddOn `json:"nodes"`
}

ListAddOnsAddOnsAddOnConnection includes the requested fields of the GraphQL type AddOnConnection. The GraphQL type's documentation follows.

The connection type for AddOn.

func (*ListAddOnsAddOnsAddOnConnection) GetNodes added in v0.0.371

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

type ListAddOnsAddOnsAddOnConnectionNodesAddOn added in v0.0.371

type ListAddOnsAddOnsAddOnConnectionNodesAddOn struct {
	Id string `json:"id"`
	// The service name according to the provider
	Name string `json:"name"`
	// The add-on plan
	AddOnPlan ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan `json:"addOnPlan"`
	// Private flycast IP address of the add-on
	PrivateIp string `json:"privateIp"`
	// Region where the primary instance is deployed
	PrimaryRegion string `json:"primaryRegion"`
	// Regions where replica instances are deployed
	ReadRegions []string `json:"readRegions"`
	// Add-on options
	Options interface{} `json:"options"`
	// Organization that owns this service
	Organization ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization `json:"organization"`
}

ListAddOnsAddOnsAddOnConnectionNodesAddOn includes the requested fields of the GraphQL type AddOn.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetAddOnPlan added in v0.0.371

GetAddOnPlan returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.AddOnPlan, and is useful for accessing the field via an interface.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetId added in v0.0.371

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetName added in v0.0.371

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOptions added in v0.0.375

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOptions() interface{}

GetOptions returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.Options, and is useful for accessing the field via an interface.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOrganization added in v0.0.371

GetOrganization returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.Organization, and is useful for accessing the field via an interface.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion added in v0.0.371

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion() string

GetPrimaryRegion returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.PrimaryRegion, and is useful for accessing the field via an interface.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrivateIp added in v0.0.373

GetPrivateIp returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.PrivateIp, and is useful for accessing the field via an interface.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetReadRegions added in v0.0.371

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetReadRegions() []string

GetReadRegions returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.ReadRegions, and is useful for accessing the field via an interface.

type ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan added in v0.0.371

type ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan struct {
	DisplayName string `json:"displayName"`
}

ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetDisplayName added in v0.0.372

GetDisplayName returns ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan.DisplayName, and is useful for accessing the field via an interface.

type ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization added in v0.0.371

type ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization struct {
	Id string `json:"id"`
	// Unique organization slug
	Slug string `json:"slug"`
}

ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization includes the requested fields of the GraphQL type Organization.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetId added in v0.0.371

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetSlug added in v0.0.371

GetSlug returns ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization.Slug, and is useful for accessing the field via an interface.

type ListAddOnsResponse added in v0.0.371

type ListAddOnsResponse struct {
	// List add-ons associated with an organization
	AddOns ListAddOnsAddOnsAddOnConnection `json:"addOns"`
}

ListAddOnsResponse is returned by ListAddOns on success.

func ListAddOns added in v0.0.371

func ListAddOns(
	ctx context.Context,
	client graphql.Client,
	addOnType AddOnType,
) (*ListAddOnsResponse, error)

func (*ListAddOnsResponse) GetAddOns added in v0.0.371

GetAddOns returns ListAddOnsResponse.AddOns, and is useful for accessing the field via an interface.

type ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload added in v0.0.430

type ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload struct {
	AddOn ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn `json:"addOn"`
}

ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload includes the requested fields of the GraphQL type ResetAddOnPasswordPayload. The GraphQL type's documentation follows.

Autogenerated return type of ResetAddOnPassword

func (*ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload) GetAddOn added in v0.0.430

GetAddOn returns ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload.AddOn, and is useful for accessing the field via an interface.

type ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn added in v0.0.430

type ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn struct {
	// Public URL for this service
	PublicUrl string `json:"publicUrl"`
}

ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn includes the requested fields of the GraphQL type AddOn.

func (*ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn) GetPublicUrl added in v0.0.430

GetPublicUrl returns ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn.PublicUrl, and is useful for accessing the field via an interface.

type ResetAddOnPasswordResponse added in v0.0.430

type ResetAddOnPasswordResponse struct {
	ResetAddOnPassword ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload `json:"resetAddOnPassword"`
}

ResetAddOnPasswordResponse is returned by ResetAddOnPassword on success.

func ResetAddOnPassword added in v0.0.430

func ResetAddOnPassword(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*ResetAddOnPasswordResponse, error)

func (*ResetAddOnPasswordResponse) GetResetAddOnPassword added in v0.0.430

GetResetAddOnPassword returns ResetAddOnPasswordResponse.ResetAddOnPassword, and is useful for accessing the field via an interface.

type ResolverCreateBuildCreateBuildCreateBuildPayload added in v0.0.415

type ResolverCreateBuildCreateBuildCreateBuildPayload struct {
	// build id
	Id string `json:"id"`
	// stored build status
	Status string `json:"status"`
}

ResolverCreateBuildCreateBuildCreateBuildPayload includes the requested fields of the GraphQL type CreateBuildPayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateBuild

func (*ResolverCreateBuildCreateBuildCreateBuildPayload) GetId added in v0.0.415

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

func (*ResolverCreateBuildCreateBuildCreateBuildPayload) GetStatus added in v0.0.415

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

type ResolverCreateBuildResponse added in v0.0.415

type ResolverCreateBuildResponse struct {
	CreateBuild ResolverCreateBuildCreateBuildCreateBuildPayload `json:"createBuild"`
}

ResolverCreateBuildResponse is returned by ResolverCreateBuild on success.

func ResolverCreateBuild added in v0.0.415

func ResolverCreateBuild(
	ctx context.Context,
	client graphql.Client,
	input CreateBuildInput,
) (*ResolverCreateBuildResponse, error)

func (*ResolverCreateBuildResponse) GetCreateBuild added in v0.0.415

GetCreateBuild returns ResolverCreateBuildResponse.CreateBuild, and is useful for accessing the field via an interface.

type ResolverFinishBuildFinishBuildFinishBuildPayload added in v0.0.415

type ResolverFinishBuildFinishBuildFinishBuildPayload struct {
	// build id
	Id string `json:"id"`
	// stored build status
	Status string `json:"status"`
	// wall clock time for this build
	WallclockTimeMs int `json:"wallclockTimeMs"`
}

ResolverFinishBuildFinishBuildFinishBuildPayload includes the requested fields of the GraphQL type FinishBuildPayload. The GraphQL type's documentation follows.

Autogenerated return type of FinishBuild

func (*ResolverFinishBuildFinishBuildFinishBuildPayload) GetId added in v0.0.415

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

func (*ResolverFinishBuildFinishBuildFinishBuildPayload) GetStatus added in v0.0.415

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

func (*ResolverFinishBuildFinishBuildFinishBuildPayload) GetWallclockTimeMs added in v0.0.415

func (v *ResolverFinishBuildFinishBuildFinishBuildPayload) GetWallclockTimeMs() int

GetWallclockTimeMs returns ResolverFinishBuildFinishBuildFinishBuildPayload.WallclockTimeMs, and is useful for accessing the field via an interface.

type ResolverFinishBuildResponse added in v0.0.415

type ResolverFinishBuildResponse struct {
	FinishBuild ResolverFinishBuildFinishBuildFinishBuildPayload `json:"finishBuild"`
}

ResolverFinishBuildResponse is returned by ResolverFinishBuild on success.

func ResolverFinishBuild added in v0.0.415

func ResolverFinishBuild(
	ctx context.Context,
	client graphql.Client,
	input FinishBuildInput,
) (*ResolverFinishBuildResponse, error)

func (*ResolverFinishBuildResponse) GetFinishBuild added in v0.0.415

GetFinishBuild returns ResolverFinishBuildResponse.FinishBuild, and is useful for accessing the field via an interface.

type UpdateAddOnResponse added in v0.0.371

type UpdateAddOnResponse struct {
	UpdateAddOn UpdateAddOnUpdateAddOnUpdateAddOnPayload `json:"updateAddOn"`
}

UpdateAddOnResponse is returned by UpdateAddOn on success.

func UpdateAddOn added in v0.0.371

func UpdateAddOn(
	ctx context.Context,
	client graphql.Client,
	addOnId string,
	planId string,
	readRegions []string,
	options interface{},
) (*UpdateAddOnResponse, error)

func (*UpdateAddOnResponse) GetUpdateAddOn added in v0.0.371

GetUpdateAddOn returns UpdateAddOnResponse.UpdateAddOn, and is useful for accessing the field via an interface.

type UpdateAddOnUpdateAddOnUpdateAddOnPayload added in v0.0.371

type UpdateAddOnUpdateAddOnUpdateAddOnPayload struct {
	AddOn UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn `json:"addOn"`
}

UpdateAddOnUpdateAddOnUpdateAddOnPayload includes the requested fields of the GraphQL type UpdateAddOnPayload. The GraphQL type's documentation follows.

Autogenerated return type of UpdateAddOn

func (*UpdateAddOnUpdateAddOnUpdateAddOnPayload) GetAddOn added in v0.0.371

GetAddOn returns UpdateAddOnUpdateAddOnUpdateAddOnPayload.AddOn, and is useful for accessing the field via an interface.

type UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn added in v0.0.371

type UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn struct {
	Id string `json:"id"`
}

UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.

func (*UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn) GetId added in v0.0.371

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL