gql

package
v0.0.512 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppForFlaps added in v0.0.497

func AppForFlaps(app AppData) *api.AppCompact

AppForFlaps converts the genqclient AppFragment to an AppCompact suitable for flaps, which only needs two fields

func IsErrorNotFound added in v0.0.497

func IsErrorNotFound(err error) bool

Types

type AddOn added in v0.0.497

Alias unwieldy types from GraphQL generated code

type AddOnOptions added in v0.0.497

type AddOnOptions map[string]interface{}

type AddOnType added in v0.0.371

type AddOnType string
const (
	// A Logtail log receiver
	AddOnTypeLogtail AddOnType = "logtail"
	// An Upstash Redis database
	AddOnTypeRedis AddOnType = "redis"
	// An Upstash Redis database
	AddOnTypeUpstashRedis AddOnType = "upstash_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 {
	State  string                                                                          `json:"state"`
	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.

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetState added in v0.0.510

GetState returns AgentGetInstancesAppMachinesMachineConnectionNodesMachine.State, 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 AppData added in v0.0.497

type AppData struct {
	// Unique application ID
	Id string `json:"id"`
	// The unique application name
	Name string `json:"name"`
	// Fly platform version
	PlatformVersion PlatformVersionEnum `json:"platformVersion"`
	// Organization that owns this app
	Organization AppDataOrganization `json:"organization"`
}

AppData includes the GraphQL fields of App requested by the fragment AppData.

func (*AppData) GetId added in v0.0.497

func (v *AppData) GetId() string

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

func (*AppData) GetName added in v0.0.497

func (v *AppData) GetName() string

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

func (*AppData) GetOrganization added in v0.0.497

func (v *AppData) GetOrganization() AppDataOrganization

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

func (*AppData) GetPlatformVersion added in v0.0.497

func (v *AppData) GetPlatformVersion() PlatformVersionEnum

GetPlatformVersion returns AppData.PlatformVersion, and is useful for accessing the field via an interface.

type AppDataOrganization added in v0.0.497

type AppDataOrganization struct {
	Id string `json:"id"`
	// Unique organization slug
	Slug string `json:"slug"`
	// Unmodified unique org slug
	RawSlug  string `json:"rawSlug"`
	PaidPlan bool   `json:"paidPlan"`
}

AppDataOrganization includes the requested fields of the GraphQL type Organization.

func (*AppDataOrganization) GetId added in v0.0.497

func (v *AppDataOrganization) GetId() string

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

func (*AppDataOrganization) GetPaidPlan added in v0.0.497

func (v *AppDataOrganization) GetPaidPlan() bool

GetPaidPlan returns AppDataOrganization.PaidPlan, and is useful for accessing the field via an interface.

func (*AppDataOrganization) GetRawSlug added in v0.0.497

func (v *AppDataOrganization) GetRawSlug() string

GetRawSlug returns AppDataOrganization.RawSlug, and is useful for accessing the field via an interface.

func (*AppDataOrganization) GetSlug added in v0.0.497

func (v *AppDataOrganization) GetSlug() string

GetSlug returns AppDataOrganization.Slug, 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"`
	// Single sign-on link to the add-on dashboard
	SsoLink string `json:"ssoLink"`
	// Token for the add-on
	Token string `json:"token"`
}

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.

GetSsoLink returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.SsoLink, and is useful for accessing the field via an interface.

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetToken added in v0.0.497

GetToken returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.Token, 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,
	addOnType AddOnType,
	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 CreateAppCreateAppCreateAppPayload

type CreateAppCreateAppCreateAppPayload struct {
	App CreateAppCreateAppCreateAppPayloadApp `json:"app"`
}

CreateAppCreateAppCreateAppPayload includes the requested fields of the GraphQL type CreateAppPayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateApp

func (*CreateAppCreateAppCreateAppPayload) GetApp

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

type CreateAppCreateAppCreateAppPayloadApp

type CreateAppCreateAppCreateAppPayloadApp struct {
	AppData `json:"-"`
	Config  CreateAppCreateAppCreateAppPayloadAppConfig          `json:"config"`
	Regions []CreateAppCreateAppCreateAppPayloadAppRegionsRegion `json:"regions"`
}

CreateAppCreateAppCreateAppPayloadApp includes the requested fields of the GraphQL type App.

func (*CreateAppCreateAppCreateAppPayloadApp) GetConfig added in v0.0.497

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetId added in v0.0.497

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetName

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetOrganization

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetPlatformVersion added in v0.0.497

GetPlatformVersion returns CreateAppCreateAppCreateAppPayloadApp.PlatformVersion, and is useful for accessing the field via an interface.

func (*CreateAppCreateAppCreateAppPayloadApp) GetRegions added in v0.0.497

GetRegions returns CreateAppCreateAppCreateAppPayloadApp.Regions, and is useful for accessing the field via an interface.

func (*CreateAppCreateAppCreateAppPayloadApp) MarshalJSON added in v0.0.497

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

func (*CreateAppCreateAppCreateAppPayloadApp) UnmarshalJSON added in v0.0.497

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

type CreateAppCreateAppCreateAppPayloadAppConfig added in v0.0.497

type CreateAppCreateAppCreateAppPayloadAppConfig struct {
	Definition interface{} `json:"definition"`
}

CreateAppCreateAppCreateAppPayloadAppConfig includes the requested fields of the GraphQL type AppConfig.

func (*CreateAppCreateAppCreateAppPayloadAppConfig) GetDefinition added in v0.0.497

func (v *CreateAppCreateAppCreateAppPayloadAppConfig) GetDefinition() interface{}

GetDefinition returns CreateAppCreateAppCreateAppPayloadAppConfig.Definition, and is useful for accessing the field via an interface.

type CreateAppCreateAppCreateAppPayloadAppRegionsRegion added in v0.0.497

type CreateAppCreateAppCreateAppPayloadAppRegionsRegion struct {
	// The name of this region
	Name string `json:"name"`
	// The IATA airport code for this region
	Code string `json:"code"`
}

CreateAppCreateAppCreateAppPayloadAppRegionsRegion includes the requested fields of the GraphQL type Region.

func (*CreateAppCreateAppCreateAppPayloadAppRegionsRegion) GetCode added in v0.0.497

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

func (*CreateAppCreateAppCreateAppPayloadAppRegionsRegion) GetName added in v0.0.497

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

type CreateAppInput added in v0.0.497

type CreateAppInput struct {
	AppRoleId string `json:"appRoleId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	Heroku           bool   `json:"heroku"`
	Machines         bool   `json:"machines"`
	// The name of the new application. Defaults to a random name.
	Name    string `json:"name"`
	Network string `json:"network"`
	// The node ID of the organization
	OrganizationId  string `json:"organizationId"`
	PreferredRegion string `json:"preferredRegion"`
	// The application runtime
	Runtime RuntimeType `json:"runtime"`
}

Autogenerated input type of CreateApp

func DefaultCreateAppInput added in v0.0.497

func DefaultCreateAppInput() CreateAppInput

func (*CreateAppInput) GetAppRoleId added in v0.0.497

func (v *CreateAppInput) GetAppRoleId() string

GetAppRoleId returns CreateAppInput.AppRoleId, and is useful for accessing the field via an interface.

func (*CreateAppInput) GetClientMutationId added in v0.0.497

func (v *CreateAppInput) GetClientMutationId() string

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

func (*CreateAppInput) GetHeroku added in v0.0.497

func (v *CreateAppInput) GetHeroku() bool

GetHeroku returns CreateAppInput.Heroku, and is useful for accessing the field via an interface.

func (*CreateAppInput) GetMachines added in v0.0.497

func (v *CreateAppInput) GetMachines() bool

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

func (*CreateAppInput) GetName added in v0.0.497

func (v *CreateAppInput) GetName() string

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

func (*CreateAppInput) GetNetwork added in v0.0.497

func (v *CreateAppInput) GetNetwork() string

GetNetwork returns CreateAppInput.Network, and is useful for accessing the field via an interface.

func (*CreateAppInput) GetOrganizationId added in v0.0.497

func (v *CreateAppInput) GetOrganizationId() string

GetOrganizationId returns CreateAppInput.OrganizationId, and is useful for accessing the field via an interface.

func (*CreateAppInput) GetPreferredRegion added in v0.0.497

func (v *CreateAppInput) GetPreferredRegion() string

GetPreferredRegion returns CreateAppInput.PreferredRegion, and is useful for accessing the field via an interface.

func (*CreateAppInput) GetRuntime added in v0.0.497

func (v *CreateAppInput) GetRuntime() RuntimeType

GetRuntime returns CreateAppInput.Runtime, and is useful for accessing the field via an interface.

type CreateAppResponse

type CreateAppResponse struct {
	CreateApp CreateAppCreateAppCreateAppPayload `json:"createApp"`
}

CreateAppResponse is returned by CreateApp on success.

func CreateApp

func CreateApp(
	ctx context.Context,
	client graphql.Client,
	input CreateAppInput,
) (*CreateAppResponse, error)

func (*CreateAppResponse) GetCreateApp

GetCreateApp returns CreateAppResponse.CreateApp, 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 CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload added in v0.0.497

type CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload struct {
	LimitedAccessToken CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken `json:"limitedAccessToken"`
}

CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload includes the requested fields of the GraphQL type CreateLimitedAccessTokenPayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateLimitedAccessToken

func (*CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload) GetLimitedAccessToken added in v0.0.497

GetLimitedAccessToken returns CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload.LimitedAccessToken, and is useful for accessing the field via an interface.

type CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken added in v0.0.497

type CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken struct {
	TokenHeader string `json:"tokenHeader"`
}

CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken includes the requested fields of the GraphQL type LimitedAccessToken.

func (*CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken) GetTokenHeader added in v0.0.497

GetTokenHeader returns CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken.TokenHeader, and is useful for accessing the field via an interface.

type CreateLimitedAccessTokenResponse added in v0.0.497

type CreateLimitedAccessTokenResponse struct {
	CreateLimitedAccessToken CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload `json:"createLimitedAccessToken"`
}

CreateLimitedAccessTokenResponse is returned by CreateLimitedAccessToken on success.

func CreateLimitedAccessToken added in v0.0.497

func CreateLimitedAccessToken(
	ctx context.Context,
	client graphql.Client,
	name string,
	organizationId string,
	profile string,
	profileParams interface{},
	expiry string,
) (*CreateLimitedAccessTokenResponse, error)

func (*CreateLimitedAccessTokenResponse) GetCreateLimitedAccessToken added in v0.0.497

GetCreateLimitedAccessToken returns CreateLimitedAccessTokenResponse.CreateLimitedAccessToken, and is useful for accessing the field via an interface.

type CreateReleaseInput added in v0.0.452

type CreateReleaseInput struct {
	// The ID of the app
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// app definition
	Definition interface{} `json:"definition"`
	// The image to deploy
	Image string `json:"image"`
	// nomad or machines
	PlatformVersion string `json:"platformVersion"`
	// The strategy for replacing existing instances. Defaults to canary.
	Strategy DeploymentStrategy `json:"strategy"`
}

Autogenerated input type of CreateRelease

func (*CreateReleaseInput) GetAppId added in v0.0.452

func (v *CreateReleaseInput) GetAppId() string

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

func (*CreateReleaseInput) GetClientMutationId added in v0.0.452

func (v *CreateReleaseInput) GetClientMutationId() string

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

func (*CreateReleaseInput) GetDefinition added in v0.0.452

func (v *CreateReleaseInput) GetDefinition() interface{}

GetDefinition returns CreateReleaseInput.Definition, and is useful for accessing the field via an interface.

func (*CreateReleaseInput) GetImage added in v0.0.452

func (v *CreateReleaseInput) GetImage() string

GetImage returns CreateReleaseInput.Image, and is useful for accessing the field via an interface.

func (*CreateReleaseInput) GetPlatformVersion added in v0.0.452

func (v *CreateReleaseInput) GetPlatformVersion() string

GetPlatformVersion returns CreateReleaseInput.PlatformVersion, and is useful for accessing the field via an interface.

func (*CreateReleaseInput) GetStrategy added in v0.0.452

func (v *CreateReleaseInput) GetStrategy() DeploymentStrategy

GetStrategy returns CreateReleaseInput.Strategy, 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 DeploymentStrategy added in v0.0.452

type DeploymentStrategy string
const (
	// Launch all new instances before shutting down previous instances
	DeploymentStrategyBluegreen DeploymentStrategy = "BLUEGREEN"
	// Ensure new instances are healthy before continuing with a rolling deployment
	DeploymentStrategyCanary DeploymentStrategy = "CANARY"
	// Deploy new instances all at once
	DeploymentStrategyImmediate DeploymentStrategy = "IMMEDIATE"
	// Incrementally replace old instances with new ones
	DeploymentStrategyRolling DeploymentStrategy = "ROLLING"
	// Incrementally replace old instances with new ones, 1 by 1
	DeploymentStrategyRollingOne DeploymentStrategy = "ROLLING_ONE"
	// Deploy new instances all at once
	DeploymentStrategySimple DeploymentStrategy = "SIMPLE"
)

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 FlyctlConfigCurrentReleaseApp added in v0.0.465

type FlyctlConfigCurrentReleaseApp struct {
	// The latest release of this application, without any config processing
	CurrentReleaseUnprocessed FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed `json:"currentReleaseUnprocessed"`
}

FlyctlConfigCurrentReleaseApp includes the requested fields of the GraphQL type App.

func (*FlyctlConfigCurrentReleaseApp) GetCurrentReleaseUnprocessed added in v0.0.465

GetCurrentReleaseUnprocessed returns FlyctlConfigCurrentReleaseApp.CurrentReleaseUnprocessed, and is useful for accessing the field via an interface.

type FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed added in v0.0.465

type FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed struct {
	ConfigDefinition interface{} `json:"configDefinition"`
}

FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed includes the requested fields of the GraphQL type ReleaseUnprocessed.

func (*FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed) GetConfigDefinition added in v0.0.465

func (v *FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed) GetConfigDefinition() interface{}

GetConfigDefinition returns FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed.ConfigDefinition, and is useful for accessing the field via an interface.

type FlyctlConfigCurrentReleaseResponse added in v0.0.465

type FlyctlConfigCurrentReleaseResponse struct {
	// Find an app by name
	App FlyctlConfigCurrentReleaseApp `json:"app"`
}

FlyctlConfigCurrentReleaseResponse is returned by FlyctlConfigCurrentRelease on success.

func FlyctlConfigCurrentRelease added in v0.0.465

func FlyctlConfigCurrentRelease(
	ctx context.Context,
	client graphql.Client,
	appName string,
) (*FlyctlConfigCurrentReleaseResponse, error)

func (*FlyctlConfigCurrentReleaseResponse) GetApp added in v0.0.465

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

type FlyctlDeployGetLatestImageApp added in v0.0.506

type FlyctlDeployGetLatestImageApp struct {
	// The latest release of this application, without any config processing
	CurrentReleaseUnprocessed FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed `json:"currentReleaseUnprocessed"`
}

FlyctlDeployGetLatestImageApp includes the requested fields of the GraphQL type App.

func (*FlyctlDeployGetLatestImageApp) GetCurrentReleaseUnprocessed added in v0.0.506

GetCurrentReleaseUnprocessed returns FlyctlDeployGetLatestImageApp.CurrentReleaseUnprocessed, and is useful for accessing the field via an interface.

type FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed added in v0.0.506

type FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed struct {
	// Unique ID
	Id string `json:"id"`
	// The version of the release
	Version int `json:"version"`
	// Docker image URI
	ImageRef string `json:"imageRef"`
}

FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed includes the requested fields of the GraphQL type ReleaseUnprocessed.

func (*FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed) GetId added in v0.0.506

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

func (*FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed) GetImageRef added in v0.0.506

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

func (*FlyctlDeployGetLatestImageAppCurrentReleaseUnprocessed) GetVersion added in v0.0.506

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

type FlyctlDeployGetLatestImageResponse added in v0.0.506

type FlyctlDeployGetLatestImageResponse struct {
	// Find an app by name
	App FlyctlDeployGetLatestImageApp `json:"app"`
}

FlyctlDeployGetLatestImageResponse is returned by FlyctlDeployGetLatestImage on success.

func FlyctlDeployGetLatestImage added in v0.0.506

func FlyctlDeployGetLatestImage(
	ctx context.Context,
	client graphql.Client,
	appName string,
) (*FlyctlDeployGetLatestImageResponse, error)

func (*FlyctlDeployGetLatestImageResponse) GetApp added in v0.0.506

GetApp returns FlyctlDeployGetLatestImageResponse.App, 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"`
	// Token for the add-on
	Token string `json:"token"`
	// 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"`
	// Single sign-on link to the add-on dashboard
	SsoLink string `json:"ssoLink"`
	// 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.

func (v *GetAddOnAddOn) GetSsoLink() string

GetSsoLink returns GetAddOnAddOn.SsoLink, and is useful for accessing the field via an interface.

func (*GetAddOnAddOn) GetToken added in v0.0.497

func (v *GetAddOnAddOn) GetToken() string

GetToken returns GetAddOnAddOn.Token, 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"`
	PaidPlan bool   `json:"paidPlan"`
}

GetAddOnAddOnOrganization includes the requested fields of the GraphQL type Organization.

func (*GetAddOnAddOnOrganization) GetPaidPlan added in v0.0.463

func (v *GetAddOnAddOnOrganization) GetPaidPlan() bool

GetPaidPlan returns GetAddOnAddOnOrganization.PaidPlan, and is useful for accessing the field via an interface.

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 GetAppApp

type GetAppApp struct {
	AppData `json:"-"`
}

GetAppApp includes the requested fields of the GraphQL type App.

func (*GetAppApp) GetId added in v0.0.497

func (v *GetAppApp) GetId() string

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

func (*GetAppApp) GetName

func (v *GetAppApp) GetName() string

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

func (*GetAppApp) GetOrganization

func (v *GetAppApp) GetOrganization() AppDataOrganization

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

func (*GetAppApp) GetPlatformVersion

func (v *GetAppApp) GetPlatformVersion() PlatformVersionEnum

GetPlatformVersion returns GetAppApp.PlatformVersion, and is useful for accessing the field via an interface.

func (*GetAppApp) MarshalJSON added in v0.0.497

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

func (*GetAppApp) UnmarshalJSON added in v0.0.497

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

type GetAppResponse

type GetAppResponse struct {
	// Find an app by name
	App GetAppApp `json:"app"`
}

GetAppResponse is returned by GetApp on success.

func GetApp

func GetApp(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*GetAppResponse, error)

func (*GetAppResponse) GetApp

func (v *GetAppResponse) GetApp() GetAppApp

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

type GetAppsByRoleAppsAppConnection added in v0.0.497

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

GetAppsByRoleAppsAppConnection includes the requested fields of the GraphQL type AppConnection. The GraphQL type's documentation follows.

The connection type for App.

func (*GetAppsByRoleAppsAppConnection) GetNodes added in v0.0.497

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

type GetAppsByRoleAppsAppConnectionNodesApp added in v0.0.497

type GetAppsByRoleAppsAppConnectionNodesApp struct {
	AppData `json:"-"`
}

GetAppsByRoleAppsAppConnectionNodesApp includes the requested fields of the GraphQL type App.

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetId added in v0.0.497

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetName added in v0.0.497

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetOrganization added in v0.0.497

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetPlatformVersion added in v0.0.497

GetPlatformVersion returns GetAppsByRoleAppsAppConnectionNodesApp.PlatformVersion, and is useful for accessing the field via an interface.

func (*GetAppsByRoleAppsAppConnectionNodesApp) MarshalJSON added in v0.0.497

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) UnmarshalJSON added in v0.0.497

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

type GetAppsByRoleResponse added in v0.0.497

type GetAppsByRoleResponse struct {
	// List apps
	Apps GetAppsByRoleAppsAppConnection `json:"apps"`
}

GetAppsByRoleResponse is returned by GetAppsByRole on success.

func GetAppsByRole added in v0.0.497

func GetAppsByRole(
	ctx context.Context,
	client graphql.Client,
	role string,
	organizationId string,
) (*GetAppsByRoleResponse, error)

func (*GetAppsByRoleResponse) GetApps added in v0.0.497

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

type GetNearestRegionNearestRegion

type GetNearestRegionNearestRegion struct {
	// The IATA airport code for this region
	Code string `json:"code"`
	// The name of this region
	Name             string `json:"name"`
	GatewayAvailable bool   `json:"gatewayAvailable"`
}

GetNearestRegionNearestRegion includes the requested fields of the GraphQL type Region.

func (*GetNearestRegionNearestRegion) GetCode

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

func (*GetNearestRegionNearestRegion) GetGatewayAvailable

func (v *GetNearestRegionNearestRegion) GetGatewayAvailable() bool

GetGatewayAvailable returns GetNearestRegionNearestRegion.GatewayAvailable, and is useful for accessing the field via an interface.

func (*GetNearestRegionNearestRegion) GetName

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

type GetNearestRegionResponse

type GetNearestRegionResponse struct {
	NearestRegion GetNearestRegionNearestRegion `json:"nearestRegion"`
}

GetNearestRegionResponse is returned by GetNearestRegion on success.

func GetNearestRegion

func GetNearestRegion(
	ctx context.Context,
	client graphql.Client,
) (*GetNearestRegionResponse, error)

func (*GetNearestRegionResponse) GetNearestRegion

GetNearestRegion returns GetNearestRegionResponse.NearestRegion, 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"`
	// Unique organization slug
	Slug string `json:"slug"`
	// 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.

func (*GetOrganizationOrganization) GetSlug added in v0.0.497

func (v *GetOrganizationOrganization) GetSlug() string

GetSlug returns GetOrganizationOrganization.Slug, 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 LimitedAccessTokenOptions added in v0.0.497

type LimitedAccessTokenOptions map[string]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 LockAppInput added in v0.0.506

type LockAppInput struct {
	// The ID of the app
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
}

Autogenerated input type of LockApp

func (*LockAppInput) GetAppId added in v0.0.506

func (v *LockAppInput) GetAppId() string

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

func (*LockAppInput) GetClientMutationId added in v0.0.506

func (v *LockAppInput) GetClientMutationId() string

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

type LockAppLockAppLockAppPayload added in v0.0.506

type LockAppLockAppLockAppPayload struct {
	// Unique lock ID
	LockId string `json:"lockId"`
	// When this lock automatically expires
	Expiration time.Time `json:"expiration"`
}

LockAppLockAppLockAppPayload includes the requested fields of the GraphQL type LockAppPayload. The GraphQL type's documentation follows.

Autogenerated return type of LockApp

func (*LockAppLockAppLockAppPayload) GetExpiration added in v0.0.506

func (v *LockAppLockAppLockAppPayload) GetExpiration() time.Time

GetExpiration returns LockAppLockAppLockAppPayload.Expiration, and is useful for accessing the field via an interface.

func (*LockAppLockAppLockAppPayload) GetLockId added in v0.0.506

func (v *LockAppLockAppLockAppPayload) GetLockId() string

GetLockId returns LockAppLockAppLockAppPayload.LockId, and is useful for accessing the field via an interface.

type LockAppResponse added in v0.0.506

type LockAppResponse struct {
	LockApp LockAppLockAppLockAppPayload `json:"lockApp"`
}

LockAppResponse is returned by LockApp on success.

func LockApp added in v0.0.506

func LockApp(
	ctx context.Context,
	client graphql.Client,
	input LockAppInput,
) (*LockAppResponse, error)

func (*LockAppResponse) GetLockApp added in v0.0.506

GetLockApp returns LockAppResponse.LockApp, and is useful for accessing the field via an interface.

type MachinesCreateReleaseCreateReleaseCreateReleasePayload added in v0.0.452

type MachinesCreateReleaseCreateReleaseCreateReleasePayload struct {
	Release MachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease `json:"release"`
}

MachinesCreateReleaseCreateReleaseCreateReleasePayload includes the requested fields of the GraphQL type CreateReleasePayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateRelease

func (*MachinesCreateReleaseCreateReleaseCreateReleasePayload) GetRelease added in v0.0.452

GetRelease returns MachinesCreateReleaseCreateReleaseCreateReleasePayload.Release, and is useful for accessing the field via an interface.

type MachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease added in v0.0.452

type MachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease struct {
	// Unique ID
	Id string `json:"id"`
	// The version of the release
	Version int `json:"version"`
}

MachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease includes the requested fields of the GraphQL type Release.

func (*MachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease) GetId added in v0.0.452

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

func (*MachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease) GetVersion added in v0.0.452

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

type MachinesCreateReleaseResponse added in v0.0.452

type MachinesCreateReleaseResponse struct {
	CreateRelease MachinesCreateReleaseCreateReleaseCreateReleasePayload `json:"createRelease"`
}

MachinesCreateReleaseResponse is returned by MachinesCreateRelease on success.

func MachinesCreateRelease added in v0.0.452

func MachinesCreateRelease(
	ctx context.Context,
	client graphql.Client,
	input CreateReleaseInput,
) (*MachinesCreateReleaseResponse, error)

func (*MachinesCreateReleaseResponse) GetCreateRelease added in v0.0.452

GetCreateRelease returns MachinesCreateReleaseResponse.CreateRelease, and is useful for accessing the field via an interface.

type MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayload added in v0.0.506

type MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayload struct {
	Release MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease `json:"release"`
}

MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayload includes the requested fields of the GraphQL type CreateReleasePayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateRelease

func (*MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayload) GetRelease added in v0.0.506

GetRelease returns MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayload.Release, and is useful for accessing the field via an interface.

type MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease added in v0.0.506

type MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease struct {
	// Unique ID
	Id string `json:"id"`
	// The version of the release
	Version int `json:"version"`
}

MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease includes the requested fields of the GraphQL type Release.

func (*MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease) GetId added in v0.0.506

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

func (*MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayloadRelease) GetVersion added in v0.0.506

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

type MigrateMachinesCreateReleaseResponse added in v0.0.506

type MigrateMachinesCreateReleaseResponse struct {
	CreateRelease MigrateMachinesCreateReleaseCreateReleaseCreateReleasePayload `json:"createRelease"`
}

MigrateMachinesCreateReleaseResponse is returned by MigrateMachinesCreateRelease on success.

func MigrateMachinesCreateRelease added in v0.0.506

func MigrateMachinesCreateRelease(
	ctx context.Context,
	client graphql.Client,
	input CreateReleaseInput,
) (*MigrateMachinesCreateReleaseResponse, error)

func (*MigrateMachinesCreateReleaseResponse) GetCreateRelease added in v0.0.506

GetCreateRelease returns MigrateMachinesCreateReleaseResponse.CreateRelease, and is useful for accessing the field via an interface.

type PlatformVersionEnum

type PlatformVersionEnum string
const (
	// App in migration between nomad and machines
	PlatformVersionEnumDetached PlatformVersionEnum = "detached"
	// App with only machines
	PlatformVersionEnumMachines PlatformVersionEnum = "machines"
	// Nomad managed application
	PlatformVersionEnumNomad PlatformVersionEnum = "nomad"
)

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 RuntimeType added in v0.0.497

type RuntimeType string
const (
	// Fly Container Runtime
	RuntimeTypeFirecracker RuntimeType = "FIRECRACKER"
	// Fly JavaScript Runtime
	RuntimeTypeNodeproxy RuntimeType = "NODEPROXY"
)

type SecretInput added in v0.0.497

type SecretInput struct {
	// The unqiue key for this secret
	Key string `json:"key"`
	// The value of this secret
	Value string `json:"value"`
}

A secure configuration value

func (*SecretInput) GetKey added in v0.0.497

func (v *SecretInput) GetKey() string

GetKey returns SecretInput.Key, and is useful for accessing the field via an interface.

func (*SecretInput) GetValue added in v0.0.497

func (v *SecretInput) GetValue() string

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

type SetAppsv2DefaultOnInput added in v0.0.476

type SetAppsv2DefaultOnInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// Whether or not new apps in this org use Apps V2 by default
	DefaultOn bool `json:"defaultOn"`
	// The organization slug
	OrganizationSlug string `json:"organizationSlug"`
}

Autogenerated input type of SetAppsv2DefaultOn

func (*SetAppsv2DefaultOnInput) GetClientMutationId added in v0.0.476

func (v *SetAppsv2DefaultOnInput) GetClientMutationId() string

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

func (*SetAppsv2DefaultOnInput) GetDefaultOn added in v0.0.476

func (v *SetAppsv2DefaultOnInput) GetDefaultOn() bool

GetDefaultOn returns SetAppsv2DefaultOnInput.DefaultOn, and is useful for accessing the field via an interface.

func (*SetAppsv2DefaultOnInput) GetOrganizationSlug added in v0.0.476

func (v *SetAppsv2DefaultOnInput) GetOrganizationSlug() string

GetOrganizationSlug returns SetAppsv2DefaultOnInput.OrganizationSlug, and is useful for accessing the field via an interface.

type SetNomadVMCountResponse added in v0.0.506

type SetNomadVMCountResponse struct {
	SetVmCount SetNomadVMCountSetVmCountSetVMCountPayload `json:"setVmCount"`
}

SetNomadVMCountResponse is returned by SetNomadVMCount on success.

func SetNomadVMCount added in v0.0.506

func SetNomadVMCount(
	ctx context.Context,
	client graphql.Client,
	input SetVMCountInput,
) (*SetNomadVMCountResponse, error)

func (*SetNomadVMCountResponse) GetSetVmCount added in v0.0.506

GetSetVmCount returns SetNomadVMCountResponse.SetVmCount, and is useful for accessing the field via an interface.

type SetNomadVMCountSetVmCountSetVMCountPayload added in v0.0.506

type SetNomadVMCountSetVmCountSetVMCountPayload struct {
	TaskGroupCounts []SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount `json:"taskGroupCounts"`
	Warnings        []string                                                                  `json:"warnings"`
}

SetNomadVMCountSetVmCountSetVMCountPayload includes the requested fields of the GraphQL type SetVMCountPayload. The GraphQL type's documentation follows.

Autogenerated return type of SetVMCount

func (*SetNomadVMCountSetVmCountSetVMCountPayload) GetTaskGroupCounts added in v0.0.506

GetTaskGroupCounts returns SetNomadVMCountSetVmCountSetVMCountPayload.TaskGroupCounts, and is useful for accessing the field via an interface.

func (*SetNomadVMCountSetVmCountSetVMCountPayload) GetWarnings added in v0.0.506

GetWarnings returns SetNomadVMCountSetVmCountSetVMCountPayload.Warnings, and is useful for accessing the field via an interface.

type SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount added in v0.0.506

type SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount struct {
	Name  string `json:"name"`
	Count int    `json:"count"`
}

SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount includes the requested fields of the GraphQL type TaskGroupCount.

func (*SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount) GetCount added in v0.0.506

GetCount returns SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount.Count, and is useful for accessing the field via an interface.

func (*SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount) GetName added in v0.0.506

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

type SetOrgSettingsResponse added in v0.0.476

type SetOrgSettingsResponse struct {
	SetAppsV2DefaultOn SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayload `json:"setAppsV2DefaultOn"`
}

SetOrgSettingsResponse is returned by SetOrgSettings on success.

func SetOrgSettings added in v0.0.476

func SetOrgSettings(
	ctx context.Context,
	client graphql.Client,
	input SetAppsv2DefaultOnInput,
) (*SetOrgSettingsResponse, error)

func (*SetOrgSettingsResponse) GetSetAppsV2DefaultOn added in v0.0.476

GetSetAppsV2DefaultOn returns SetOrgSettingsResponse.SetAppsV2DefaultOn, and is useful for accessing the field via an interface.

type SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayload added in v0.0.476

type SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayload struct {
	Organization SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayloadOrganization `json:"organization"`
}

SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayload includes the requested fields of the GraphQL type SetAppsv2DefaultOnPayload. The GraphQL type's documentation follows.

Autogenerated return type of SetAppsv2DefaultOn

func (*SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayload) GetOrganization added in v0.0.476

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

type SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayloadOrganization added in v0.0.476

type SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayloadOrganization struct {
	Settings interface{} `json:"settings"`
}

SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayloadOrganization includes the requested fields of the GraphQL type Organization.

func (*SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayloadOrganization) GetSettings added in v0.0.476

GetSettings returns SetOrgSettingsSetAppsV2DefaultOnSetAppsv2DefaultOnPayloadOrganization.Settings, and is useful for accessing the field via an interface.

type SetPlatformVersionInput added in v0.0.506

type SetPlatformVersionInput struct {
	// The ID of the app
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// Unique lock ID
	LockId string `json:"lockId"`
	// nomad or machines
	PlatformVersion string `json:"platformVersion"`
}

Autogenerated input type of SetPlatformVersion

func (*SetPlatformVersionInput) GetAppId added in v0.0.506

func (v *SetPlatformVersionInput) GetAppId() string

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

func (*SetPlatformVersionInput) GetClientMutationId added in v0.0.506

func (v *SetPlatformVersionInput) GetClientMutationId() string

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

func (*SetPlatformVersionInput) GetLockId added in v0.0.506

func (v *SetPlatformVersionInput) GetLockId() string

GetLockId returns SetPlatformVersionInput.LockId, and is useful for accessing the field via an interface.

func (*SetPlatformVersionInput) GetPlatformVersion added in v0.0.506

func (v *SetPlatformVersionInput) GetPlatformVersion() string

GetPlatformVersion returns SetPlatformVersionInput.PlatformVersion, and is useful for accessing the field via an interface.

type SetPlatformVersionResponse added in v0.0.506

type SetPlatformVersionResponse struct {
	SetPlatformVersion SetPlatformVersionSetPlatformVersionSetPlatformVersionPayload `json:"setPlatformVersion"`
}

SetPlatformVersionResponse is returned by SetPlatformVersion on success.

func SetPlatformVersion added in v0.0.506

func SetPlatformVersion(
	ctx context.Context,
	client graphql.Client,
	input SetPlatformVersionInput,
) (*SetPlatformVersionResponse, error)

func (*SetPlatformVersionResponse) GetSetPlatformVersion added in v0.0.506

GetSetPlatformVersion returns SetPlatformVersionResponse.SetPlatformVersion, and is useful for accessing the field via an interface.

type SetPlatformVersionSetPlatformVersionSetPlatformVersionPayload added in v0.0.506

type SetPlatformVersionSetPlatformVersionSetPlatformVersionPayload struct {
	App SetPlatformVersionSetPlatformVersionSetPlatformVersionPayloadApp `json:"app"`
}

SetPlatformVersionSetPlatformVersionSetPlatformVersionPayload includes the requested fields of the GraphQL type SetPlatformVersionPayload. The GraphQL type's documentation follows.

Autogenerated return type of SetPlatformVersion

func (*SetPlatformVersionSetPlatformVersionSetPlatformVersionPayload) GetApp added in v0.0.506

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

type SetPlatformVersionSetPlatformVersionSetPlatformVersionPayloadApp added in v0.0.506

type SetPlatformVersionSetPlatformVersionSetPlatformVersionPayloadApp struct {
	// Unique application ID
	Id string `json:"id"`
}

SetPlatformVersionSetPlatformVersionSetPlatformVersionPayloadApp includes the requested fields of the GraphQL type App.

func (*SetPlatformVersionSetPlatformVersionSetPlatformVersionPayloadApp) GetId added in v0.0.506

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

type SetSecretsInput added in v0.0.497

type SetSecretsInput struct {
	// The ID of the app
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// By default, we set only the secrets you specify. Set this to true to replace all secrets.
	ReplaceAll bool `json:"replaceAll"`
	// Secrets to set
	Secrets []SecretInput `json:"secrets"`
}

Autogenerated input type of SetSecrets

func (*SetSecretsInput) GetAppId added in v0.0.497

func (v *SetSecretsInput) GetAppId() string

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

func (*SetSecretsInput) GetClientMutationId added in v0.0.497

func (v *SetSecretsInput) GetClientMutationId() string

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

func (*SetSecretsInput) GetReplaceAll added in v0.0.497

func (v *SetSecretsInput) GetReplaceAll() bool

GetReplaceAll returns SetSecretsInput.ReplaceAll, and is useful for accessing the field via an interface.

func (*SetSecretsInput) GetSecrets added in v0.0.497

func (v *SetSecretsInput) GetSecrets() []SecretInput

GetSecrets returns SetSecretsInput.Secrets, and is useful for accessing the field via an interface.

type SetSecretsResponse added in v0.0.497

type SetSecretsResponse struct {
	SetSecrets SetSecretsSetSecretsSetSecretsPayload `json:"setSecrets"`
}

SetSecretsResponse is returned by SetSecrets on success.

func SetSecrets added in v0.0.497

func SetSecrets(
	ctx context.Context,
	client graphql.Client,
	input SetSecretsInput,
) (*SetSecretsResponse, error)

func (*SetSecretsResponse) GetSetSecrets added in v0.0.497

GetSetSecrets returns SetSecretsResponse.SetSecrets, and is useful for accessing the field via an interface.

type SetSecretsSetSecretsSetSecretsPayload added in v0.0.497

type SetSecretsSetSecretsSetSecretsPayload struct {
	Release SetSecretsSetSecretsSetSecretsPayloadRelease `json:"release"`
}

SetSecretsSetSecretsSetSecretsPayload includes the requested fields of the GraphQL type SetSecretsPayload. The GraphQL type's documentation follows.

Autogenerated return type of SetSecrets

func (*SetSecretsSetSecretsSetSecretsPayload) GetRelease added in v0.0.497

GetRelease returns SetSecretsSetSecretsSetSecretsPayload.Release, and is useful for accessing the field via an interface.

type SetSecretsSetSecretsSetSecretsPayloadRelease added in v0.0.497

type SetSecretsSetSecretsSetSecretsPayloadRelease struct {
	// Unique ID
	Id string `json:"id"`
	// The version of the release
	Version int `json:"version"`
	// The reason for the release
	Reason string `json:"reason"`
	// A description of the release
	Description string `json:"description"`
	// The user who created the release
	User         SetSecretsSetSecretsSetSecretsPayloadReleaseUser `json:"user"`
	EvaluationId string                                           `json:"evaluationId"`
	CreatedAt    time.Time                                        `json:"createdAt"`
}

SetSecretsSetSecretsSetSecretsPayloadRelease includes the requested fields of the GraphQL type Release.

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetCreatedAt added in v0.0.497

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetDescription added in v0.0.497

GetDescription returns SetSecretsSetSecretsSetSecretsPayloadRelease.Description, and is useful for accessing the field via an interface.

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetEvaluationId added in v0.0.497

GetEvaluationId returns SetSecretsSetSecretsSetSecretsPayloadRelease.EvaluationId, and is useful for accessing the field via an interface.

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetId added in v0.0.497

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetReason added in v0.0.497

GetReason returns SetSecretsSetSecretsSetSecretsPayloadRelease.Reason, and is useful for accessing the field via an interface.

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetUser added in v0.0.497

GetUser returns SetSecretsSetSecretsSetSecretsPayloadRelease.User, and is useful for accessing the field via an interface.

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetVersion added in v0.0.497

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

type SetSecretsSetSecretsSetSecretsPayloadReleaseUser added in v0.0.497

type SetSecretsSetSecretsSetSecretsPayloadReleaseUser struct {
	Id string `json:"id"`
	// Email address for user (private)
	Email string `json:"email"`
	// Display / full name for user (private)
	Name string `json:"name"`
}

SetSecretsSetSecretsSetSecretsPayloadReleaseUser includes the requested fields of the GraphQL type User.

func (*SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetEmail added in v0.0.497

GetEmail returns SetSecretsSetSecretsSetSecretsPayloadReleaseUser.Email, and is useful for accessing the field via an interface.

func (*SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetId added in v0.0.497

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

func (*SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetName added in v0.0.497

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

type SetVMCountInput added in v0.0.506

type SetVMCountInput struct {
	// The ID of the app
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// Counts for VM groups
	GroupCounts []VMCountInput `json:"groupCounts"`
	// Unique lock ID
	LockId string `json:"lockId"`
}

Autogenerated input type of SetVMCount

func (*SetVMCountInput) GetAppId added in v0.0.506

func (v *SetVMCountInput) GetAppId() string

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

func (*SetVMCountInput) GetClientMutationId added in v0.0.506

func (v *SetVMCountInput) GetClientMutationId() string

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

func (*SetVMCountInput) GetGroupCounts added in v0.0.506

func (v *SetVMCountInput) GetGroupCounts() []VMCountInput

GetGroupCounts returns SetVMCountInput.GroupCounts, and is useful for accessing the field via an interface.

func (*SetVMCountInput) GetLockId added in v0.0.506

func (v *SetVMCountInput) GetLockId() string

GetLockId returns SetVMCountInput.LockId, and is useful for accessing the field via an interface.

type UnlockAppInput added in v0.0.506

type UnlockAppInput struct {
	// The ID of the app
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// Unique lock ID
	LockId string `json:"lockId"`
}

Autogenerated input type of UnlockApp

func (*UnlockAppInput) GetAppId added in v0.0.506

func (v *UnlockAppInput) GetAppId() string

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

func (*UnlockAppInput) GetClientMutationId added in v0.0.506

func (v *UnlockAppInput) GetClientMutationId() string

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

func (*UnlockAppInput) GetLockId added in v0.0.506

func (v *UnlockAppInput) GetLockId() string

GetLockId returns UnlockAppInput.LockId, and is useful for accessing the field via an interface.

type UnlockAppResponse added in v0.0.506

type UnlockAppResponse struct {
	UnlockApp UnlockAppUnlockAppUnlockAppPayload `json:"unlockApp"`
}

UnlockAppResponse is returned by UnlockApp on success.

func UnlockApp added in v0.0.506

func UnlockApp(
	ctx context.Context,
	client graphql.Client,
	input UnlockAppInput,
) (*UnlockAppResponse, error)

func (*UnlockAppResponse) GetUnlockApp added in v0.0.506

GetUnlockApp returns UnlockAppResponse.UnlockApp, and is useful for accessing the field via an interface.

type UnlockAppUnlockAppUnlockAppPayload added in v0.0.506

type UnlockAppUnlockAppUnlockAppPayload struct {
	App UnlockAppUnlockAppUnlockAppPayloadApp `json:"app"`
}

UnlockAppUnlockAppUnlockAppPayload includes the requested fields of the GraphQL type UnlockAppPayload. The GraphQL type's documentation follows.

Autogenerated return type of UnlockApp

func (*UnlockAppUnlockAppUnlockAppPayload) GetApp added in v0.0.506

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

type UnlockAppUnlockAppUnlockAppPayloadApp added in v0.0.506

type UnlockAppUnlockAppUnlockAppPayloadApp struct {
	// Unique application ID
	Id string `json:"id"`
}

UnlockAppUnlockAppUnlockAppPayloadApp includes the requested fields of the GraphQL type App.

func (*UnlockAppUnlockAppUnlockAppPayloadApp) GetId added in v0.0.506

GetId returns UnlockAppUnlockAppUnlockAppPayloadApp.Id, 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.

type VMCountInput added in v0.0.506

type VMCountInput struct {
	// The desired count
	Count int `json:"count"`
	// VM group name
	Group string `json:"group"`
	// Max number of VMs to allow per region
	MaxPerRegion int `json:"maxPerRegion"`
}

func (*VMCountInput) GetCount added in v0.0.506

func (v *VMCountInput) GetCount() int

GetCount returns VMCountInput.Count, and is useful for accessing the field via an interface.

func (*VMCountInput) GetGroup added in v0.0.506

func (v *VMCountInput) GetGroup() string

GetGroup returns VMCountInput.Group, and is useful for accessing the field via an interface.

func (*VMCountInput) GetMaxPerRegion added in v0.0.506

func (v *VMCountInput) GetMaxPerRegion() int

GetMaxPerRegion returns VMCountInput.MaxPerRegion, 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