gql

package
v0.2.49 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const AgentGetInstances_Operation = `` /* 317-byte string literal not displayed */

The query or mutation executed by AgentGetInstances.

View Source
const AgreedToProviderTos_Operation = `` /* 164-byte string literal not displayed */

The query or mutation executed by AgreedToProviderTos.

View Source
const AllApps_Operation = `
query AllApps ($orgSlug: String!) {
	organization(slug: $orgSlug) {
		apps {
			nodes {
				id
				createdAt
			}
		}
	}
}
`

The query or mutation executed by AllApps.

View Source
const CreateAddOn_Operation = `` /* 165-byte string literal not displayed */

The query or mutation executed by CreateAddOn.

View Source
const CreateApp_Operation = `` /* 419-byte string literal not displayed */

The query or mutation executed by CreateApp.

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

The query or mutation executed by CreateExtension.

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

The query or mutation executed by CreateLimitedAccessToken.

View Source
const CreateTosAgreement_Operation = `` /* 153-byte string literal not displayed */

The query or mutation executed by CreateTosAgreement.

View Source
const DeleteAddOn_Operation = `
mutation DeleteAddOn ($name: String) {
	deleteAddOn(input: {name:$name}) {
		deletedAddOnName
	}
}
`

The query or mutation executed by DeleteAddOn.

View Source
const FlyctlConfigCurrentRelease_Operation = `` /* 138-byte string literal not displayed */

The query or mutation executed by FlyctlConfigCurrentRelease.

View Source
const FlyctlDeployGetLatestImage_Operation = `` /* 147-byte string literal not displayed */

The query or mutation executed by FlyctlDeployGetLatestImage.

View Source
const GetAddOnProvider_Operation = `` /* 398-byte string literal not displayed */

The query or mutation executed by GetAddOnProvider.

View Source
const GetAddOn_Operation = `` /* 985-byte string literal not displayed */

The query or mutation executed by GetAddOn.

View Source
const GetAppWithAddons_Operation = `` /* 514-byte string literal not displayed */

The query or mutation executed by GetAppWithAddons.

View Source
const GetApp_Operation = `` /* 315-byte string literal not displayed */

The query or mutation executed by GetApp.

View Source
const GetAppsByRole_Operation = `` /* 393-byte string literal not displayed */

The query or mutation executed by GetAppsByRole.

View Source
const GetExtensionSsoLink_Operation = `` /* 146-byte string literal not displayed */

The query or mutation executed by GetExtensionSsoLink.

View Source
const GetNearestRegion_Operation = `
query GetNearestRegion {
	nearestRegion {
		code
		name
		gatewayAvailable
	}
}
`

The query or mutation executed by GetNearestRegion.

View Source
const GetOrganization_Operation = `` /* 214-byte string literal not displayed */

The query or mutation executed by GetOrganization.

View Source
const ListAddOnPlans_Operation = `` /* 168-byte string literal not displayed */

The query or mutation executed by ListAddOnPlans.

View Source
const ListAddOns_Operation = `` /* 252-byte string literal not displayed */

The query or mutation executed by ListAddOns.

View Source
const LogOut_Operation = `
mutation LogOut {
	logOut(input: {}) {
		ok
	}
}
`

The query or mutation executed by LogOut.

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

The query or mutation executed by MachinesCreateRelease.

View Source
const MachinesUpdateRelease_Operation = `
mutation MachinesUpdateRelease ($input: UpdateReleaseInput!) {
	updateRelease(input: $input) {
		release {
			id
		}
	}
}
`

The query or mutation executed by MachinesUpdateRelease.

View Source
const ResetAddOnPassword_Operation = `
mutation ResetAddOnPassword ($name: String!) {
	resetAddOnPassword(input: {name:$name}) {
		addOn {
			publicUrl
		}
	}
}
`

The query or mutation executed by ResetAddOnPassword.

View Source
const ResolverCreateBuild_Operation = `
mutation ResolverCreateBuild ($input: CreateBuildInput!) {
	createBuild(input: $input) {
		id
		status
	}
}
`

The query or mutation executed by ResolverCreateBuild.

View Source
const ResolverFinishBuild_Operation = `` /* 127-byte string literal not displayed */

The query or mutation executed by ResolverFinishBuild.

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

The query or mutation executed by SetNomadVMCount.

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

The query or mutation executed by SetSecrets.

View Source
const UpdateAddOn_Operation = `` /* 221-byte string literal not displayed */

The query or mutation executed by UpdateAddOn.

Variables

This section is empty.

Functions

func IsErrorNotFound added in v0.0.497

func IsErrorNotFound(err error) bool

func ToAppCompact added in v0.0.536

func ToAppCompact(app AppData) *fly.AppCompact

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

Types

type AddOn added in v0.0.497

Alias unwieldy types from GraphQL generated code

type AddOnData added in v0.1.57

type AddOnData struct {
	Id string `json:"id"`
	// The service name according to the provider
	Name string `json:"name"`
	// Region where the primary instance is deployed
	PrimaryRegion string `json:"primaryRegion"`
	// Status of the add-on
	Status string `json:"status"`
	// Optional error message when `status` is `error`
	ErrorMessage string `json:"errorMessage"`
	// Add-on metadata
	Metadata interface{} `json:"metadata"`
	// Add-on options
	Options interface{} `json:"options"`
}

AddOnData includes the GraphQL fields of AddOn requested by the fragment AddOnData.

func (*AddOnData) GetErrorMessage added in v0.1.113

func (v *AddOnData) GetErrorMessage() string

GetErrorMessage returns AddOnData.ErrorMessage, and is useful for accessing the field via an interface.

func (*AddOnData) GetId added in v0.1.57

func (v *AddOnData) GetId() string

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

func (*AddOnData) GetMetadata added in v0.1.130

func (v *AddOnData) GetMetadata() interface{}

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

func (*AddOnData) GetName added in v0.1.57

func (v *AddOnData) GetName() string

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

func (*AddOnData) GetOptions added in v0.1.147

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

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

func (*AddOnData) GetPrimaryRegion added in v0.1.57

func (v *AddOnData) GetPrimaryRegion() string

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

func (*AddOnData) GetStatus added in v0.1.57

func (v *AddOnData) GetStatus() string

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

type AddOnEnvironment added in v0.1.34

type AddOnEnvironment map[string]interface{}

type AddOnOptions added in v0.0.497

type AddOnOptions map[string]interface{}

type AddOnType added in v0.0.371

type AddOnType string
const (
	// An Enveloop project
	AddOnTypeEnveloop AddOnType = "enveloop"
	// A Kubernetes cluster
	AddOnTypeKubernetes AddOnType = "kubernetes"
	// A PlanetScale database
	AddOnTypePlanetscale AddOnType = "planetscale"
	// An Upstash Redis database
	AddOnTypeRedis AddOnType = "redis"
	// A Sentry project endpoint
	AddOnTypeSentry AddOnType = "sentry"
	// A Supabase database
	AddOnTypeSupabase AddOnType = "supabase"
	// A Tigris Data bucket
	AddOnTypeTigris AddOnType = "tigris"
	// An Upstash Kafka cluster
	AddOnTypeUpstashKafka AddOnType = "upstash_kafka"
	// An Upstash Redis database
	AddOnTypeUpstashRedis AddOnType = "upstash_redis"
	// An Upstash Vector cluster
	AddOnTypeUpstashVector AddOnType = "upstash_vector"
	// A Wafris firewall
	AddOnTypeWafris AddOnType = "wafris"
)

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 AgreedToProviderTosResponse added in v0.1.42

type AgreedToProviderTosResponse struct {
	Viewer AgreedToProviderTosViewerPrincipal `json:"-"`
}

AgreedToProviderTosResponse is returned by AgreedToProviderTos on success.

func AgreedToProviderTos added in v0.1.42

func AgreedToProviderTos(
	ctx_ context.Context,
	client_ graphql.Client,
	addOnProviderName string,
) (*AgreedToProviderTosResponse, error)

func (*AgreedToProviderTosResponse) GetViewer added in v0.1.124

GetViewer returns AgreedToProviderTosResponse.Viewer, and is useful for accessing the field via an interface.

func (*AgreedToProviderTosResponse) MarshalJSON added in v0.1.124

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

func (*AgreedToProviderTosResponse) UnmarshalJSON added in v0.1.124

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

type AgreedToProviderTosViewerMacaroon added in v0.1.124

type AgreedToProviderTosViewerMacaroon struct {
	Typename string `json:"__typename"`
}

AgreedToProviderTosViewerMacaroon includes the requested fields of the GraphQL type Macaroon.

func (*AgreedToProviderTosViewerMacaroon) GetTypename added in v0.1.124

func (v *AgreedToProviderTosViewerMacaroon) GetTypename() string

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

type AgreedToProviderTosViewerPrincipal added in v0.1.124

type AgreedToProviderTosViewerPrincipal interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// contains filtered or unexported methods
}

AgreedToProviderTosViewerPrincipal includes the requested fields of the GraphQL interface Principal.

AgreedToProviderTosViewerPrincipal is implemented by the following types: AgreedToProviderTosViewerMacaroon AgreedToProviderTosViewerUser

type AgreedToProviderTosViewerUser added in v0.1.124

type AgreedToProviderTosViewerUser struct {
	Typename string `json:"__typename"`
	// Check if the organization has agreed to the extension provider terms of service
	AgreedToProviderTos bool `json:"agreedToProviderTos"`
}

AgreedToProviderTosViewerUser includes the requested fields of the GraphQL type User.

func (*AgreedToProviderTosViewerUser) GetAgreedToProviderTos added in v0.1.124

func (v *AgreedToProviderTosViewerUser) GetAgreedToProviderTos() bool

GetAgreedToProviderTos returns AgreedToProviderTosViewerUser.AgreedToProviderTos, and is useful for accessing the field via an interface.

func (*AgreedToProviderTosViewerUser) GetTypename added in v0.1.124

func (v *AgreedToProviderTosViewerUser) GetTypename() string

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

type AllAppsOrganization added in v0.1.34

type AllAppsOrganization struct {
	Apps AllAppsOrganizationAppsAppConnection `json:"apps"`
}

AllAppsOrganization includes the requested fields of the GraphQL type Organization.

func (*AllAppsOrganization) GetApps added in v0.1.34

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

type AllAppsOrganizationAppsAppConnection added in v0.1.34

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

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

The connection type for App.

func (*AllAppsOrganizationAppsAppConnection) GetNodes added in v0.1.34

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

type AllAppsOrganizationAppsAppConnectionNodesApp added in v0.1.34

type AllAppsOrganizationAppsAppConnectionNodesApp struct {
	// Unique application ID
	Id        string    `json:"id"`
	CreatedAt time.Time `json:"createdAt"`
}

AllAppsOrganizationAppsAppConnectionNodesApp includes the requested fields of the GraphQL type App.

func (*AllAppsOrganizationAppsAppConnectionNodesApp) GetCreatedAt added in v0.1.34

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

func (*AllAppsOrganizationAppsAppConnectionNodesApp) GetId added in v0.1.34

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

type AllAppsResponse added in v0.1.34

type AllAppsResponse struct {
	// Find an organization by ID
	Organization AllAppsOrganization `json:"organization"`
}

AllAppsResponse is returned by AllApps on success.

func AllApps added in v0.1.34

func AllApps(
	ctx_ context.Context,
	client_ graphql.Client,
	orgSlug string,
) (*AllAppsResponse, error)

func (*AllAppsResponse) GetOrganization added in v0.1.34

func (v *AllAppsResponse) GetOrganization() AllAppsOrganization

GetOrganization returns AllAppsResponse.Organization, 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"`
	Deployed bool   `json:"deployed"`
	// Fly platform version
	PlatformVersion PlatformVersionEnum `json:"platformVersion"`
	// Secrets set on the application
	Secrets []AppDataSecretsSecret `json:"secrets"`
	// Organization that owns this app
	Organization AppDataOrganization `json:"organization"`
}

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

func (*AppData) GetDeployed added in v0.1.50

func (v *AppData) GetDeployed() bool

GetDeployed returns AppData.Deployed, and is useful for accessing the field via an interface.

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.

func (*AppData) GetSecrets added in v0.1.129

func (v *AppData) GetSecrets() []AppDataSecretsSecret

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

type AppDataOrganization added in v0.0.497

type AppDataOrganization struct {
	OrganizationData `json:"-"`
}

AppDataOrganization includes the requested fields of the GraphQL type Organization.

func (v *AppDataOrganization) GetAddOnSsoLink() string

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

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) GetProvisionsBetaExtensions added in v0.1.80

func (v *AppDataOrganization) GetProvisionsBetaExtensions() bool

GetProvisionsBetaExtensions returns AppDataOrganization.ProvisionsBetaExtensions, 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.

func (*AppDataOrganization) MarshalJSON added in v0.1.106

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

func (*AppDataOrganization) UnmarshalJSON added in v0.1.106

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

type AppDataSecretsSecret added in v0.1.129

type AppDataSecretsSecret struct {
	// The name of the secret
	Name string `json:"name"`
}

AppDataSecretsSecret includes the requested fields of the GraphQL type Secret.

func (*AppDataSecretsSecret) GetName added in v0.1.129

func (v *AppDataSecretsSecret) GetName() string

GetName returns AppDataSecretsSecret.Name, 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"`
	// Environment variables for the add-on
	Environment interface{} `json:"environment"`
	// Region where the primary instance is deployed
	PrimaryRegion string `json:"primaryRegion"`
}

CreateAddOnCreateAddOnCreateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetEnvironment added in v0.1.34

func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetEnvironment() interface{}

GetEnvironment returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.Environment, and is useful for accessing the field via an interface.

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetName added in v0.0.375

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

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPrimaryRegion added in v0.1.44

GetPrimaryRegion returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.PrimaryRegion, 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.

type CreateAddOnInput added in v0.0.514

type CreateAddOnInput struct {
	// An optional application ID to attach the add-on to after provisioning
	AppId string `json:"appId"`
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// An optional name for the add-on
	Name string `json:"name"`
	// Options specific to the add-on
	Options interface{} `json:"options"`
	// The organization which owns the add-on
	OrganizationId string `json:"organizationId"`
	// The add-on plan ID
	PlanId string `json:"planId"`
	// Desired primary region for the add-on
	PrimaryRegion string `json:"primaryRegion"`
	// Desired regions to place replicas in
	ReadRegions []string `json:"readRegions"`
	// The add-on type to provision
	Type AddOnType `json:"type"`
}

Autogenerated input type of CreateAddOn

func (*CreateAddOnInput) GetAppId added in v0.0.514

func (v *CreateAddOnInput) GetAppId() string

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

func (*CreateAddOnInput) GetClientMutationId added in v0.0.514

func (v *CreateAddOnInput) GetClientMutationId() string

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

func (*CreateAddOnInput) GetName added in v0.0.514

func (v *CreateAddOnInput) GetName() string

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

func (*CreateAddOnInput) GetOptions added in v0.0.514

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

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

func (*CreateAddOnInput) GetOrganizationId added in v0.0.514

func (v *CreateAddOnInput) GetOrganizationId() string

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

func (*CreateAddOnInput) GetPlanId added in v0.0.514

func (v *CreateAddOnInput) GetPlanId() string

GetPlanId returns CreateAddOnInput.PlanId, and is useful for accessing the field via an interface.

func (*CreateAddOnInput) GetPrimaryRegion added in v0.0.514

func (v *CreateAddOnInput) GetPrimaryRegion() string

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

func (*CreateAddOnInput) GetReadRegions added in v0.0.514

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

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

func (*CreateAddOnInput) GetType added in v0.0.514

func (v *CreateAddOnInput) GetType() AddOnType

GetType returns CreateAddOnInput.Type, 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,
	input CreateAddOnInput,
) (*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) GetDeployed added in v0.1.50

GetDeployed returns CreateAppCreateAppCreateAppPayloadApp.Deployed, 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) GetSecrets added in v0.1.129

GetSecrets returns CreateAppCreateAppCreateAppPayloadApp.Secrets, 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"`
	EnableSubdomains bool   `json:"enableSubdomains"`
	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) GetEnableSubdomains added in v0.2.26

func (v *CreateAppInput) GetEnableSubdomains() bool

GetEnableSubdomains returns CreateAppInput.EnableSubdomains, 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 CreateExtensionCreateAddOnCreateAddOnPayload added in v0.1.71

type CreateExtensionCreateAddOnCreateAddOnPayload struct {
	AddOn CreateExtensionCreateAddOnCreateAddOnPayloadAddOn `json:"addOn"`
}

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

Autogenerated return type of CreateAddOn.

func (*CreateExtensionCreateAddOnCreateAddOnPayload) GetAddOn added in v0.1.71

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

type CreateExtensionCreateAddOnCreateAddOnPayloadAddOn added in v0.1.71

type CreateExtensionCreateAddOnCreateAddOnPayloadAddOn struct {
	ExtensionData `json:"-"`
}

CreateExtensionCreateAddOnCreateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetEnvironment added in v0.1.71

func (v *CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetEnvironment() interface{}

GetEnvironment returns CreateExtensionCreateAddOnCreateAddOnPayloadAddOn.Environment, and is useful for accessing the field via an interface.

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetName added in v0.1.71

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

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetPrimaryRegion added in v0.1.71

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

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

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) MarshalJSON added in v0.1.71

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) UnmarshalJSON added in v0.1.71

type CreateExtensionResponse added in v0.1.71

type CreateExtensionResponse struct {
	CreateAddOn CreateExtensionCreateAddOnCreateAddOnPayload `json:"createAddOn"`
}

CreateExtensionResponse is returned by CreateExtension on success.

func CreateExtension added in v0.1.71

func CreateExtension(
	ctx_ context.Context,
	client_ graphql.Client,
	input CreateAddOnInput,
) (*CreateExtensionResponse, error)

func (*CreateExtensionResponse) GetCreateAddOn added in v0.1.71

GetCreateAddOn returns CreateExtensionResponse.CreateAddOn, 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 CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload added in v0.1.42

type CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
}

CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload includes the requested fields of the GraphQL type CreateExtensionTosAgreementPayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateExtensionTosAgreement.

func (*CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload) GetClientMutationId added in v0.1.42

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

type CreateTosAgreementResponse added in v0.1.42

type CreateTosAgreementResponse struct {
	CreateExtensionTosAgreement CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload `json:"createExtensionTosAgreement"`
}

CreateTosAgreementResponse is returned by CreateTosAgreement on success.

func CreateTosAgreement added in v0.1.42

func CreateTosAgreement(
	ctx_ context.Context,
	client_ graphql.Client,
	providerName string,
) (*CreateTosAgreementResponse, error)

func (*CreateTosAgreementResponse) GetCreateExtensionTosAgreement added in v0.1.42

GetCreateExtensionTosAgreement returns CreateTosAgreementResponse.CreateExtensionTosAgreement, 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 ExtensionData added in v0.1.71

type ExtensionData struct {
	// The service name according to the provider
	Name string `json:"name"`
	// Single sign-on link to the add-on dashboard
	SsoLink string `json:"ssoLink"`
	// Environment variables for the add-on
	Environment interface{} `json:"environment"`
	// Region where the primary instance is deployed
	PrimaryRegion string `json:"primaryRegion"`
}

ExtensionData includes the GraphQL fields of AddOn requested by the fragment ExtensionData.

func (*ExtensionData) GetEnvironment added in v0.1.71

func (v *ExtensionData) GetEnvironment() interface{}

GetEnvironment returns ExtensionData.Environment, and is useful for accessing the field via an interface.

func (*ExtensionData) GetName added in v0.1.71

func (v *ExtensionData) GetName() string

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

func (*ExtensionData) GetPrimaryRegion added in v0.1.71

func (v *ExtensionData) GetPrimaryRegion() string

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

func (v *ExtensionData) GetSsoLink() string

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

type ExtensionProviderData added in v0.1.76

type ExtensionProviderData struct {
	Id                       string                                       `json:"id"`
	Name                     string                                       `json:"name"`
	DisplayName              string                                       `json:"displayName"`
	TosUrl                   string                                       `json:"tosUrl"`
	AsyncProvisioning        bool                                         `json:"asyncProvisioning"`
	AutoProvision            bool                                         `json:"autoProvision"`
	SelectName               bool                                         `json:"selectName"`
	SelectRegion             bool                                         `json:"selectRegion"`
	SelectReplicaRegions     bool                                         `json:"selectReplicaRegions"`
	DetectPlatform           bool                                         `json:"detectPlatform"`
	ResourceName             string                                       `json:"resourceName"`
	NameSuffix               string                                       `json:"nameSuffix"`
	Beta                     bool                                         `json:"beta"`
	TosAgreement             string                                       `json:"tosAgreement"`
	Internal                 bool                                         `json:"internal"`
	ProvisioningInstructions string                                       `json:"provisioningInstructions"`
	ExcludedRegions          []ExtensionProviderDataExcludedRegionsRegion `json:"excludedRegions"`
}

ExtensionProviderData includes the GraphQL fields of AddOnProvider requested by the fragment ExtensionProviderData.

func (*ExtensionProviderData) GetAsyncProvisioning added in v0.1.76

func (v *ExtensionProviderData) GetAsyncProvisioning() bool

GetAsyncProvisioning returns ExtensionProviderData.AsyncProvisioning, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetAutoProvision added in v0.1.76

func (v *ExtensionProviderData) GetAutoProvision() bool

GetAutoProvision returns ExtensionProviderData.AutoProvision, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetBeta added in v0.1.80

func (v *ExtensionProviderData) GetBeta() bool

GetBeta returns ExtensionProviderData.Beta, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetDetectPlatform added in v0.1.76

func (v *ExtensionProviderData) GetDetectPlatform() bool

GetDetectPlatform returns ExtensionProviderData.DetectPlatform, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetDisplayName added in v0.1.76

func (v *ExtensionProviderData) GetDisplayName() string

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

func (*ExtensionProviderData) GetExcludedRegions added in v0.1.76

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

func (*ExtensionProviderData) GetId added in v0.1.76

func (v *ExtensionProviderData) GetId() string

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

func (*ExtensionProviderData) GetInternal added in v0.1.124

func (v *ExtensionProviderData) GetInternal() bool

GetInternal returns ExtensionProviderData.Internal, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetName added in v0.1.76

func (v *ExtensionProviderData) GetName() string

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

func (*ExtensionProviderData) GetNameSuffix added in v0.1.76

func (v *ExtensionProviderData) GetNameSuffix() string

GetNameSuffix returns ExtensionProviderData.NameSuffix, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetProvisioningInstructions added in v0.1.80

func (v *ExtensionProviderData) GetProvisioningInstructions() string

GetProvisioningInstructions returns ExtensionProviderData.ProvisioningInstructions, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetResourceName added in v0.1.76

func (v *ExtensionProviderData) GetResourceName() string

GetResourceName returns ExtensionProviderData.ResourceName, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetSelectName added in v0.1.76

func (v *ExtensionProviderData) GetSelectName() bool

GetSelectName returns ExtensionProviderData.SelectName, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetSelectRegion added in v0.1.76

func (v *ExtensionProviderData) GetSelectRegion() bool

GetSelectRegion returns ExtensionProviderData.SelectRegion, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetSelectReplicaRegions added in v0.1.76

func (v *ExtensionProviderData) GetSelectReplicaRegions() bool

GetSelectReplicaRegions returns ExtensionProviderData.SelectReplicaRegions, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetTosAgreement added in v0.1.81

func (v *ExtensionProviderData) GetTosAgreement() string

GetTosAgreement returns ExtensionProviderData.TosAgreement, and is useful for accessing the field via an interface.

func (*ExtensionProviderData) GetTosUrl added in v0.1.76

func (v *ExtensionProviderData) GetTosUrl() string

GetTosUrl returns ExtensionProviderData.TosUrl, and is useful for accessing the field via an interface.

type ExtensionProviderDataExcludedRegionsRegion added in v0.1.76

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

ExtensionProviderDataExcludedRegionsRegion includes the requested fields of the GraphQL type Region.

func (*ExtensionProviderDataExcludedRegionsRegion) GetCode added in v0.1.76

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

type FinishBuildInput added in v0.0.415

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

Autogenerated input type of FinishBuild

func (*FinishBuildInput) GetAppName added in v0.0.415

func (v *FinishBuildInput) GetAppName() string

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

func (*FinishBuildInput) GetBuildId added in v0.0.415

func (v *FinishBuildInput) GetBuildId() string

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

func (*FinishBuildInput) GetBuilderMeta added in v0.0.415

func (v *FinishBuildInput) GetBuilderMeta() BuilderMetaInput

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

func (*FinishBuildInput) GetClientMutationId added in v0.0.415

func (v *FinishBuildInput) GetClientMutationId() string

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

func (*FinishBuildInput) GetFinalImage added in v0.0.415

func (v *FinishBuildInput) GetFinalImage() BuildFinalImageInput

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

func (*FinishBuildInput) GetLogs added in v0.0.415

func (v *FinishBuildInput) GetLogs() string

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

func (*FinishBuildInput) GetMachineId added in v0.0.415

func (v *FinishBuildInput) GetMachineId() string

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

func (*FinishBuildInput) GetStatus added in v0.0.415

func (v *FinishBuildInput) GetStatus() string

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

func (*FinishBuildInput) GetStrategiesAttempted added in v0.0.415

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

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

func (*FinishBuildInput) GetTimings added in v0.0.415

func (v *FinishBuildInput) GetTimings() BuildTimingsInput

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

type 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 {
	AddOnData `json:"-"`
	// 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"`
	// Status of the add-on
	Status string `json:"status"`
	// 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 provider
	AddOnProvider GetAddOnAddOnAddOnProvider `json:"addOnProvider"`
	// An app associated with this add-on
	App GetAddOnAddOnApp `json:"app"`
	// 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) GetAddOnProvider added in v0.1.124

func (v *GetAddOnAddOn) GetAddOnProvider() GetAddOnAddOnAddOnProvider

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

func (*GetAddOnAddOn) GetApp added in v0.1.57

func (v *GetAddOnAddOn) GetApp() GetAddOnAddOnApp

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

func (*GetAddOnAddOn) GetErrorMessage added in v0.1.113

func (v *GetAddOnAddOn) GetErrorMessage() string

GetErrorMessage returns GetAddOnAddOn.ErrorMessage, 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) GetMetadata added in v0.1.130

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

GetMetadata returns GetAddOnAddOn.Metadata, 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) GetStatus added in v0.1.35

func (v *GetAddOnAddOn) GetStatus() string

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

func (*GetAddOnAddOn) MarshalJSON added in v0.1.57

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

func (*GetAddOnAddOn) UnmarshalJSON added in v0.1.57

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

type GetAddOnAddOnAddOnPlan added in v0.0.371

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

GetAddOnAddOnAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*GetAddOnAddOnAddOnPlan) GetDescription added in v0.2.26

func (v *GetAddOnAddOnAddOnPlan) GetDescription() string

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

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 GetAddOnAddOnAddOnProvider added in v0.1.124

type GetAddOnAddOnAddOnProvider struct {
	ExtensionProviderData `json:"-"`
}

GetAddOnAddOnAddOnProvider includes the requested fields of the GraphQL type AddOnProvider.

func (*GetAddOnAddOnAddOnProvider) GetAsyncProvisioning added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetAsyncProvisioning() bool

GetAsyncProvisioning returns GetAddOnAddOnAddOnProvider.AsyncProvisioning, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetAutoProvision added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetAutoProvision() bool

GetAutoProvision returns GetAddOnAddOnAddOnProvider.AutoProvision, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetBeta added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetBeta() bool

GetBeta returns GetAddOnAddOnAddOnProvider.Beta, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetDetectPlatform added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetDetectPlatform() bool

GetDetectPlatform returns GetAddOnAddOnAddOnProvider.DetectPlatform, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetDisplayName added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetDisplayName() string

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

func (*GetAddOnAddOnAddOnProvider) GetExcludedRegions added in v0.1.124

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

func (*GetAddOnAddOnAddOnProvider) GetId added in v0.1.124

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

func (*GetAddOnAddOnAddOnProvider) GetInternal added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetInternal() bool

GetInternal returns GetAddOnAddOnAddOnProvider.Internal, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetName added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetName() string

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

func (*GetAddOnAddOnAddOnProvider) GetNameSuffix added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetNameSuffix() string

GetNameSuffix returns GetAddOnAddOnAddOnProvider.NameSuffix, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetProvisioningInstructions added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetProvisioningInstructions() string

GetProvisioningInstructions returns GetAddOnAddOnAddOnProvider.ProvisioningInstructions, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetResourceName added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetResourceName() string

GetResourceName returns GetAddOnAddOnAddOnProvider.ResourceName, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetSelectName added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetSelectName() bool

GetSelectName returns GetAddOnAddOnAddOnProvider.SelectName, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetSelectRegion added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetSelectRegion() bool

GetSelectRegion returns GetAddOnAddOnAddOnProvider.SelectRegion, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetSelectReplicaRegions added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetSelectReplicaRegions() bool

GetSelectReplicaRegions returns GetAddOnAddOnAddOnProvider.SelectReplicaRegions, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetTosAgreement added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetTosAgreement() string

GetTosAgreement returns GetAddOnAddOnAddOnProvider.TosAgreement, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) GetTosUrl added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetTosUrl() string

GetTosUrl returns GetAddOnAddOnAddOnProvider.TosUrl, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnAddOnProvider) MarshalJSON added in v0.1.124

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

func (*GetAddOnAddOnAddOnProvider) UnmarshalJSON added in v0.1.124

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

type GetAddOnAddOnApp added in v0.1.57

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

GetAddOnAddOnApp includes the requested fields of the GraphQL type App.

func (*GetAddOnAddOnApp) GetDeployed added in v0.1.57

func (v *GetAddOnAddOnApp) GetDeployed() bool

GetDeployed returns GetAddOnAddOnApp.Deployed, and is useful for accessing the field via an interface.

func (*GetAddOnAddOnApp) GetId added in v0.1.57

func (v *GetAddOnAddOnApp) GetId() string

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

func (*GetAddOnAddOnApp) GetName added in v0.1.57

func (v *GetAddOnAddOnApp) GetName() string

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

func (*GetAddOnAddOnApp) GetOrganization added in v0.1.57

func (v *GetAddOnAddOnApp) GetOrganization() AppDataOrganization

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

func (*GetAddOnAddOnApp) GetPlatformVersion added in v0.1.57

func (v *GetAddOnAddOnApp) GetPlatformVersion() PlatformVersionEnum

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

func (*GetAddOnAddOnApp) GetSecrets added in v0.1.129

func (v *GetAddOnAddOnApp) GetSecrets() []AppDataSecretsSecret

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

func (*GetAddOnAddOnApp) MarshalJSON added in v0.1.57

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

func (*GetAddOnAddOnApp) UnmarshalJSON added in v0.1.57

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

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 {
	ExtensionProviderData `json:"-"`
}

GetAddOnProviderAddOnProvider includes the requested fields of the GraphQL type AddOnProvider.

func (*GetAddOnProviderAddOnProvider) GetAsyncProvisioning added in v0.1.59

func (v *GetAddOnProviderAddOnProvider) GetAsyncProvisioning() bool

GetAsyncProvisioning returns GetAddOnProviderAddOnProvider.AsyncProvisioning, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetAutoProvision added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetAutoProvision() bool

GetAutoProvision returns GetAddOnProviderAddOnProvider.AutoProvision, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetBeta added in v0.1.80

func (v *GetAddOnProviderAddOnProvider) GetBeta() bool

GetBeta returns GetAddOnProviderAddOnProvider.Beta, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetDetectPlatform added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetDetectPlatform() bool

GetDetectPlatform returns GetAddOnProviderAddOnProvider.DetectPlatform, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetDisplayName added in v0.1.44

func (v *GetAddOnProviderAddOnProvider) GetDisplayName() string

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

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) GetInternal added in v0.1.124

func (v *GetAddOnProviderAddOnProvider) GetInternal() bool

GetInternal returns GetAddOnProviderAddOnProvider.Internal, 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.

func (*GetAddOnProviderAddOnProvider) GetNameSuffix added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetNameSuffix() string

GetNameSuffix returns GetAddOnProviderAddOnProvider.NameSuffix, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetProvisioningInstructions added in v0.1.80

func (v *GetAddOnProviderAddOnProvider) GetProvisioningInstructions() string

GetProvisioningInstructions returns GetAddOnProviderAddOnProvider.ProvisioningInstructions, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetResourceName added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetResourceName() string

GetResourceName returns GetAddOnProviderAddOnProvider.ResourceName, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetSelectName added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetSelectName() bool

GetSelectName returns GetAddOnProviderAddOnProvider.SelectName, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetSelectRegion added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetSelectRegion() bool

GetSelectRegion returns GetAddOnProviderAddOnProvider.SelectRegion, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetSelectReplicaRegions added in v0.1.76

func (v *GetAddOnProviderAddOnProvider) GetSelectReplicaRegions() bool

GetSelectReplicaRegions returns GetAddOnProviderAddOnProvider.SelectReplicaRegions, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetTosAgreement added in v0.1.81

func (v *GetAddOnProviderAddOnProvider) GetTosAgreement() string

GetTosAgreement returns GetAddOnProviderAddOnProvider.TosAgreement, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) GetTosUrl added in v0.1.42

func (v *GetAddOnProviderAddOnProvider) GetTosUrl() string

GetTosUrl returns GetAddOnProviderAddOnProvider.TosUrl, and is useful for accessing the field via an interface.

func (*GetAddOnProviderAddOnProvider) MarshalJSON added in v0.1.76

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

func (*GetAddOnProviderAddOnProvider) UnmarshalJSON added in v0.1.76

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

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) GetDeployed added in v0.1.50

func (v *GetAppApp) GetDeployed() bool

GetDeployed returns GetAppApp.Deployed, and is useful for accessing the field via an interface.

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) GetSecrets added in v0.1.129

func (v *GetAppApp) GetSecrets() []AppDataSecretsSecret

GetSecrets returns GetAppApp.Secrets, 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 GetAppWithAddonsApp added in v0.1.36

type GetAppWithAddonsApp struct {
	AppData `json:"-"`
	AddOns  GetAppWithAddonsAppAddOnsAddOnConnection `json:"addOns"`
}

GetAppWithAddonsApp includes the requested fields of the GraphQL type App.

func (*GetAppWithAddonsApp) GetAddOns added in v0.1.36

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

func (*GetAppWithAddonsApp) GetDeployed added in v0.1.50

func (v *GetAppWithAddonsApp) GetDeployed() bool

GetDeployed returns GetAppWithAddonsApp.Deployed, and is useful for accessing the field via an interface.

func (*GetAppWithAddonsApp) GetId added in v0.1.36

func (v *GetAppWithAddonsApp) GetId() string

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

func (*GetAppWithAddonsApp) GetName added in v0.1.36

func (v *GetAppWithAddonsApp) GetName() string

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

func (*GetAppWithAddonsApp) GetOrganization added in v0.1.36

func (v *GetAppWithAddonsApp) GetOrganization() AppDataOrganization

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

func (*GetAppWithAddonsApp) GetPlatformVersion added in v0.1.36

func (v *GetAppWithAddonsApp) GetPlatformVersion() PlatformVersionEnum

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

func (*GetAppWithAddonsApp) GetSecrets added in v0.1.129

func (v *GetAppWithAddonsApp) GetSecrets() []AppDataSecretsSecret

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

func (*GetAppWithAddonsApp) MarshalJSON added in v0.1.36

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

func (*GetAppWithAddonsApp) UnmarshalJSON added in v0.1.36

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

type GetAppWithAddonsAppAddOnsAddOnConnection added in v0.1.36

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

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

The connection type for AddOn.

func (*GetAppWithAddonsAppAddOnsAddOnConnection) GetNodes added in v0.1.36

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

type GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn added in v0.1.36

type GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn struct {
	AddOnData `json:"-"`
}

GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn includes the requested fields of the GraphQL type AddOn.

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetErrorMessage added in v0.1.113

GetErrorMessage returns GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn.ErrorMessage, and is useful for accessing the field via an interface.

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetId added in v0.1.57

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetMetadata added in v0.1.130

func (v *GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetMetadata() interface{}

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetName added in v0.1.36

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetOptions added in v0.1.147

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

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion added in v0.1.57

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetStatus added in v0.1.57

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) MarshalJSON added in v0.1.57

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) UnmarshalJSON added in v0.1.57

type GetAppWithAddonsResponse added in v0.1.36

type GetAppWithAddonsResponse struct {
	// Find an app by name
	App GetAppWithAddonsApp `json:"app"`
}

GetAppWithAddonsResponse is returned by GetAppWithAddons on success.

func GetAppWithAddons added in v0.1.36

func GetAppWithAddons(
	ctx_ context.Context,
	client_ graphql.Client,
	name string,
	addOnType AddOnType,
) (*GetAppWithAddonsResponse, error)

func (*GetAppWithAddonsResponse) GetApp added in v0.1.36

GetApp returns GetAppWithAddonsResponse.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) GetDeployed added in v0.1.50

GetDeployed returns GetAppsByRoleAppsAppConnectionNodesApp.Deployed, and is useful for accessing the field via an interface.

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) GetSecrets added in v0.1.129

GetSecrets returns GetAppsByRoleAppsAppConnectionNodesApp.Secrets, 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 GetExtensionSsoLinkOrganization added in v0.1.119

type GetExtensionSsoLinkOrganization struct {
	// Single sign-on link for the given extension type
	ExtensionSsoLink string `json:"extensionSsoLink"`
}

GetExtensionSsoLinkOrganization includes the requested fields of the GraphQL type Organization.

func (v *GetExtensionSsoLinkOrganization) GetExtensionSsoLink() string

GetExtensionSsoLink returns GetExtensionSsoLinkOrganization.ExtensionSsoLink, and is useful for accessing the field via an interface.

type GetExtensionSsoLinkResponse added in v0.1.119

type GetExtensionSsoLinkResponse struct {
	// Find an organization by ID
	Organization GetExtensionSsoLinkOrganization `json:"organization"`
}

GetExtensionSsoLinkResponse is returned by GetExtensionSsoLink on success.

func GetExtensionSsoLink(
	ctx_ context.Context,
	client_ graphql.Client,
	orgSlug string,
	provider string,
) (*GetExtensionSsoLinkResponse, error)

func (*GetExtensionSsoLinkResponse) GetOrganization added in v0.1.119

GetOrganization returns GetExtensionSsoLinkResponse.Organization, 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 {
	OrganizationData `json:"-"`
}

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) GetPaidPlan added in v0.1.106

func (v *GetOrganizationOrganization) GetPaidPlan() bool

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

func (*GetOrganizationOrganization) GetProvisionsBetaExtensions added in v0.1.106

func (v *GetOrganizationOrganization) GetProvisionsBetaExtensions() bool

GetProvisionsBetaExtensions returns GetOrganizationOrganization.ProvisionsBetaExtensions, and is useful for accessing the field via an interface.

func (*GetOrganizationOrganization) GetRawSlug added in v0.1.106

func (v *GetOrganizationOrganization) GetRawSlug() string

GetRawSlug returns GetOrganizationOrganization.RawSlug, 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.

func (*GetOrganizationOrganization) MarshalJSON added in v0.1.106

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

func (*GetOrganizationOrganization) UnmarshalJSON added in v0.1.106

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

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"`
	Description   string `json:"description"`
	DisplayName   string `json:"displayName"`
	MaxDataSize   string `json:"maxDataSize"`
	PricePerMonth int    `json:"pricePerMonth"`
}

ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDescription added in v0.2.26

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

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,
	addOnType AddOnType,
) (*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"`
	Description string `json:"description"`
}

ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetDescription added in v0.2.26

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

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 LogOutLogOutLogOutPayload added in v0.1.118

type LogOutLogOutLogOutPayload struct {
	Ok bool `json:"ok"`
}

LogOutLogOutLogOutPayload includes the requested fields of the GraphQL type LogOutPayload. The GraphQL type's documentation follows.

Autogenerated return type of LogOut.

func (*LogOutLogOutLogOutPayload) GetOk added in v0.1.118

func (v *LogOutLogOutLogOutPayload) GetOk() bool

GetOk returns LogOutLogOutLogOutPayload.Ok, and is useful for accessing the field via an interface.

type LogOutResponse added in v0.1.118

type LogOutResponse struct {
	LogOut LogOutLogOutLogOutPayload `json:"logOut"`
}

LogOutResponse is returned by LogOut on success.

func LogOut added in v0.1.118

func LogOut(
	ctx_ context.Context,
	client_ graphql.Client,
) (*LogOutResponse, error)

func (*LogOutResponse) GetLogOut added in v0.1.118

GetLogOut returns LogOutResponse.LogOut, 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 MachinesUpdateReleaseResponse added in v0.0.521

type MachinesUpdateReleaseResponse struct {
	UpdateRelease MachinesUpdateReleaseUpdateReleaseUpdateReleasePayload `json:"updateRelease"`
}

MachinesUpdateReleaseResponse is returned by MachinesUpdateRelease on success.

func MachinesUpdateRelease added in v0.0.521

func MachinesUpdateRelease(
	ctx_ context.Context,
	client_ graphql.Client,
	input UpdateReleaseInput,
) (*MachinesUpdateReleaseResponse, error)

func (*MachinesUpdateReleaseResponse) GetUpdateRelease added in v0.0.521

GetUpdateRelease returns MachinesUpdateReleaseResponse.UpdateRelease, and is useful for accessing the field via an interface.

type MachinesUpdateReleaseUpdateReleaseUpdateReleasePayload added in v0.0.521

type MachinesUpdateReleaseUpdateReleaseUpdateReleasePayload struct {
	Release MachinesUpdateReleaseUpdateReleaseUpdateReleasePayloadRelease `json:"release"`
}

MachinesUpdateReleaseUpdateReleaseUpdateReleasePayload includes the requested fields of the GraphQL type UpdateReleasePayload. The GraphQL type's documentation follows.

Autogenerated return type of UpdateRelease.

func (*MachinesUpdateReleaseUpdateReleaseUpdateReleasePayload) GetRelease added in v0.0.521

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

type MachinesUpdateReleaseUpdateReleaseUpdateReleasePayloadRelease added in v0.0.521

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

MachinesUpdateReleaseUpdateReleaseUpdateReleasePayloadRelease includes the requested fields of the GraphQL type Release.

func (*MachinesUpdateReleaseUpdateReleaseUpdateReleasePayloadRelease) GetId added in v0.0.521

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

type OrganizationData added in v0.1.106

type OrganizationData struct {
	Id string `json:"id"`
	// Unique organization slug
	Slug string `json:"slug"`
	// Unmodified unique org slug
	RawSlug  string `json:"rawSlug"`
	PaidPlan bool   `json:"paidPlan"`
	// Single sign-on link for the given integration type
	AddOnSsoLink string `json:"addOnSsoLink"`
	// Whether the organization can provision beta extensions
	ProvisionsBetaExtensions bool `json:"provisionsBetaExtensions"`
}

OrganizationData includes the GraphQL fields of Organization requested by the fragment OrganizationData.

func (v *OrganizationData) GetAddOnSsoLink() string

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

func (*OrganizationData) GetId added in v0.1.106

func (v *OrganizationData) GetId() string

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

func (*OrganizationData) GetPaidPlan added in v0.1.106

func (v *OrganizationData) GetPaidPlan() bool

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

func (*OrganizationData) GetProvisionsBetaExtensions added in v0.1.106

func (v *OrganizationData) GetProvisionsBetaExtensions() bool

GetProvisionsBetaExtensions returns OrganizationData.ProvisionsBetaExtensions, and is useful for accessing the field via an interface.

func (*OrganizationData) GetRawSlug added in v0.1.106

func (v *OrganizationData) GetRawSlug() string

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

func (*OrganizationData) GetSlug added in v0.1.106

func (v *OrganizationData) GetSlug() string

GetSlug returns OrganizationData.Slug, 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 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 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 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 UpdateReleaseInput added in v0.0.521

type UpdateReleaseInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationId string `json:"clientMutationId"`
	// The ID of the release
	ReleaseId string `json:"releaseId"`
	// The new status for the release
	Status string `json:"status"`
}

Autogenerated input type of UpdateRelease

func (*UpdateReleaseInput) GetClientMutationId added in v0.0.521

func (v *UpdateReleaseInput) GetClientMutationId() string

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

func (*UpdateReleaseInput) GetReleaseId added in v0.0.521

func (v *UpdateReleaseInput) GetReleaseId() string

GetReleaseId returns UpdateReleaseInput.ReleaseId, and is useful for accessing the field via an interface.

func (*UpdateReleaseInput) GetStatus added in v0.0.521

func (v *UpdateReleaseInput) GetStatus() string

GetStatus returns UpdateReleaseInput.Status, 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