gql

package
v0.3.98 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

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

The query executed by AgentGetInstances.

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

The query executed by AgreedToProviderTos.

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

The query executed by AllApps.

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

The mutation executed by CreateAddOn.

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

The mutation executed by CreateApp.

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

The mutation executed by CreateExtension.

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

The mutation executed by CreateLimitedAccessToken.

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

The mutation executed by CreateTosAgreement.

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

The mutation executed by DeleteAddOn.

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

The query executed by FlyctlConfigCurrentRelease.

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

The query executed by GetAddOnProvider.

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

The query executed by GetAddOn.

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

The query executed by GetAppWithAddons.

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

The query executed by GetApp.

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

The query executed by GetAppsByRole.

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

The query executed by GetExtensionSsoLink.

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

The query executed by GetNearestRegion.

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

The query executed by GetOrganization.

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

The query executed by ListAddOnPlans.

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

The query executed by ListAddOns.

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

The mutation executed by LogOut.

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

The mutation executed by ResetAddOnPassword.

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

The mutation executed by SetNomadVMCount.

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

The mutation executed by SetSecrets.

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

The mutation executed by UpdateAddOn.

Variables

View Source
var AllAddOnType = []AddOnType{
	AddOnTypeArcjet,
	AddOnTypeEnveloop,
	AddOnTypeFlyMysql,
	AddOnTypeKubernetes,
	AddOnTypeRedis,
	AddOnTypeSentry,
	AddOnTypeSupabase,
	AddOnTypeTigris,
	AddOnTypeUpstashKafka,
	AddOnTypeUpstashRedis,
	AddOnTypeUpstashVector,
	AddOnTypeWafris,
}
View Source
var AllPlatformVersionEnum = []PlatformVersionEnum{
	PlatformVersionEnumDetached,
	PlatformVersionEnumMachines,
	PlatformVersionEnumNomad,
}
View Source
var AllRuntimeType = []RuntimeType{
	RuntimeTypeFirecracker,
	RuntimeTypeNodeproxy,
}

Functions

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

type AddOn = CreateAddOnCreateAddOnCreateAddOnPayloadAddOn

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 Arcjet site
	AddOnTypeArcjet AddOnType = "arcjet"
	// An Enveloop project
	AddOnTypeEnveloop AddOnType = "enveloop"
	// A MySQL database
	AddOnTypeFlyMysql AddOnType = "fly_mysql"
	// A Kubernetes cluster
	AddOnTypeKubernetes AddOnType = "kubernetes"
	// 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

func (v *AgentGetInstancesApp) GetAllocations() []AgentGetInstancesAppAllocationsAllocation

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

func (v *AgentGetInstancesApp) GetMachines() AgentGetInstancesAppMachinesMachineConnection

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

func (v *AgentGetInstancesApp) GetOrganization() AgentGetInstancesAppOrganization

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

func (v *AgentGetInstancesAppAllocationsAllocation) GetId() string

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

func (*AgentGetInstancesAppAllocationsAllocation) GetPrivateIP added in v0.0.416

func (v *AgentGetInstancesAppAllocationsAllocation) GetPrivateIP() string

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

func (*AgentGetInstancesAppAllocationsAllocation) GetRegion added in v0.0.416

func (v *AgentGetInstancesAppAllocationsAllocation) GetRegion() string

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

func (v *AgentGetInstancesAppMachinesMachineConnection) GetNodes() []AgentGetInstancesAppMachinesMachineConnectionNodesMachine

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

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetId() string

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

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetIps added in v0.0.416

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetIps() AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection

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

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetRegion added in v0.0.416

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetRegion() string

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

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetState added in v0.0.510

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachine) GetState() string

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

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnection) GetNodes() []AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP

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

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetFamily() string

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

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetIp added in v0.0.416

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetIp() string

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

func (*AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetKind added in v0.0.416

func (v *AgentGetInstancesAppMachinesMachineConnectionNodesMachineIpsMachineIPConnectionNodesMachineIP) GetKind() string

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

func (v *AgentGetInstancesAppOrganization) GetSlug() string

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,
) (data_ *AgentGetInstancesResponse, err_ error)

func (*AgentGetInstancesResponse) GetApp added in v0.0.416

func (v *AgentGetInstancesResponse) GetApp() AgentGetInstancesApp

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,
) (data_ *AgreedToProviderTosResponse, err_ error)

func (*AgreedToProviderTosResponse) GetViewer added in v0.1.124

func (v *AgreedToProviderTosResponse) GetViewer() AgreedToProviderTosViewerPrincipal

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

func (v *AllAppsOrganization) GetApps() AllAppsOrganizationAppsAppConnection

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

func (v *AllAppsOrganizationAppsAppConnection) GetNodes() []AllAppsOrganizationAppsAppConnectionNodesApp

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

func (v *AllAppsOrganizationAppsAppConnectionNodesApp) GetCreatedAt() time.Time

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

func (*AllAppsOrganizationAppsAppConnectionNodesApp) GetId added in v0.1.34

func (v *AllAppsOrganizationAppsAppConnectionNodesApp) GetId() string

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,
) (data_ *AllAppsResponse, err_ 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 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

func (v *CreateAddOnCreateAddOnCreateAddOnPayload) GetAddOn() CreateAddOnCreateAddOnCreateAddOnPayloadAddOn

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

func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetName() string

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

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPrimaryRegion added in v0.1.44

func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPrimaryRegion() string

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

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPublicUrl added in v0.0.367

func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPublicUrl() string

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

func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetSsoLink() string

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"`
	// A provider organization plan to set along with provisioning
	OrganizationPlanId string `json:"organizationPlanId"`
	// 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) GetOrganizationPlanId added in v0.2.68

func (v *CreateAddOnInput) GetOrganizationPlanId() string

GetOrganizationPlanId returns CreateAddOnInput.OrganizationPlanId, 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,
) (data_ *CreateAddOnResponse, err_ error)

func (*CreateAddOnResponse) GetCreateAddOn added in v0.0.367

func (v *CreateAddOnResponse) GetCreateAddOn() CreateAddOnCreateAddOnCreateAddOnPayload

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

func (v *CreateAppCreateAppCreateAppPayload) GetApp() CreateAppCreateAppCreateAppPayloadApp

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

func (v *CreateAppCreateAppCreateAppPayloadApp) GetConfig() CreateAppCreateAppCreateAppPayloadAppConfig

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetDeployed added in v0.1.50

func (v *CreateAppCreateAppCreateAppPayloadApp) GetDeployed() bool

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetId added in v0.0.497

func (v *CreateAppCreateAppCreateAppPayloadApp) GetId() string

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetName

func (v *CreateAppCreateAppCreateAppPayloadApp) GetName() string

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetOrganization

func (v *CreateAppCreateAppCreateAppPayloadApp) GetOrganization() AppDataOrganization

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetPlatformVersion added in v0.0.497

func (v *CreateAppCreateAppCreateAppPayloadApp) GetPlatformVersion() PlatformVersionEnum

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetRegions added in v0.0.497

func (v *CreateAppCreateAppCreateAppPayloadApp) GetRegions() []CreateAppCreateAppCreateAppPayloadAppRegionsRegion

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetSecrets added in v0.1.129

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

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

func (v *CreateAppCreateAppCreateAppPayloadAppRegionsRegion) GetCode() string

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

func (*CreateAppCreateAppCreateAppPayloadAppRegionsRegion) GetName added in v0.0.497

func (v *CreateAppCreateAppCreateAppPayloadAppRegionsRegion) GetName() string

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,
) (data_ *CreateAppResponse, err_ error)

func (*CreateAppResponse) GetCreateApp

func (v *CreateAppResponse) GetCreateApp() CreateAppCreateAppCreateAppPayload

GetCreateApp returns CreateAppResponse.CreateApp, 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

func (v *CreateExtensionCreateAddOnCreateAddOnPayload) GetAddOn() CreateExtensionCreateAddOnCreateAddOnPayloadAddOn

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

func (v *CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetName() string

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

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetPrimaryRegion added in v0.1.71

func (v *CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetPrimaryRegion() string

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

func (v *CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) GetSsoLink() string

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

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) MarshalJSON added in v0.1.71

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

func (*CreateExtensionCreateAddOnCreateAddOnPayloadAddOn) UnmarshalJSON added in v0.1.71

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

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,
) (data_ *CreateExtensionResponse, err_ error)

func (*CreateExtensionResponse) GetCreateAddOn added in v0.1.71

func (v *CreateExtensionResponse) GetCreateAddOn() CreateExtensionCreateAddOnCreateAddOnPayload

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

func (v *CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload) GetLimitedAccessToken() CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken

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

func (v *CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayloadLimitedAccessToken) GetTokenHeader() string

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,
) (data_ *CreateLimitedAccessTokenResponse, err_ error)

func (*CreateLimitedAccessTokenResponse) GetCreateLimitedAccessToken added in v0.0.497

func (v *CreateLimitedAccessTokenResponse) GetCreateLimitedAccessToken() CreateLimitedAccessTokenCreateLimitedAccessTokenCreateLimitedAccessTokenPayload

GetCreateLimitedAccessToken returns CreateLimitedAccessTokenResponse.CreateLimitedAccessToken, 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

func (v *CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload) GetClientMutationId() string

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,
) (data_ *CreateTosAgreementResponse, err_ error)

func (*CreateTosAgreementResponse) GetCreateExtensionTosAgreement added in v0.1.42

func (v *CreateTosAgreementResponse) GetCreateExtensionTosAgreement() CreateTosAgreementCreateExtensionTosAgreementCreateExtensionTosAgreementPayload

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,
) (data_ *DeleteAddOnResponse, err_ error)

func (*DeleteAddOnResponse) GetDeleteAddOn added in v0.0.371

func (v *DeleteAddOnResponse) GetDeleteAddOn() DeleteAddOnDeleteAddOnDeleteAddOnPayload

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

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

func (v *ExtensionProviderData) GetExcludedRegions() []ExtensionProviderDataExcludedRegionsRegion

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

func (v *ExtensionProviderDataExcludedRegionsRegion) GetCode() string

GetCode returns ExtensionProviderDataExcludedRegionsRegion.Code, 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

func (v *FlyctlConfigCurrentReleaseApp) GetCurrentReleaseUnprocessed() FlyctlConfigCurrentReleaseAppCurrentReleaseUnprocessed

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,
) (data_ *FlyctlConfigCurrentReleaseResponse, err_ error)

func (*FlyctlConfigCurrentReleaseResponse) GetApp added in v0.0.465

func (v *FlyctlConfigCurrentReleaseResponse) GetApp() FlyctlConfigCurrentReleaseApp

GetApp returns FlyctlConfigCurrentReleaseResponse.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"`
	// Add-on metadata
	Metadata interface{} `json:"metadata"`
	// 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

func (v *GetAddOnAddOnAddOnProvider) GetExcludedRegions() []ExtensionProviderDataExcludedRegionsRegion

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

func (*GetAddOnAddOnAddOnProvider) GetId added in v0.1.124

func (v *GetAddOnAddOnAddOnProvider) GetId() string

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

func (v *GetAddOnProviderAddOnProvider) GetExcludedRegions() []ExtensionProviderDataExcludedRegionsRegion

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

func (*GetAddOnProviderAddOnProvider) GetId added in v0.0.400

func (v *GetAddOnProviderAddOnProvider) GetId() string

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

func (v *GetAddOnProviderAddOnProvider) GetName() string

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,
) (data_ *GetAddOnProviderResponse, err_ error)

func (*GetAddOnProviderResponse) GetAddOnProvider added in v0.0.400

func (v *GetAddOnProviderResponse) GetAddOnProvider() GetAddOnProviderAddOnProvider

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,
	provider string,
) (data_ *GetAddOnResponse, err_ 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,
) (data_ *GetAppResponse, err_ 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

func (v *GetAppWithAddonsApp) GetAddOns() GetAppWithAddonsAppAddOnsAddOnConnection

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

func (v *GetAppWithAddonsAppAddOnsAddOnConnection) GetNodes() []GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn

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

func (v *GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetErrorMessage() string

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetId added in v0.1.57

func (v *GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetId() string

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

func (v *GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetName() string

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

func (v *GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion() string

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetStatus added in v0.1.57

func (v *GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) GetStatus() string

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) MarshalJSON added in v0.1.57

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

func (*GetAppWithAddonsAppAddOnsAddOnConnectionNodesAddOn) UnmarshalJSON added in v0.1.57

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

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,
) (data_ *GetAppWithAddonsResponse, err_ error)

func (*GetAppWithAddonsResponse) GetApp added in v0.1.36

func (v *GetAppWithAddonsResponse) GetApp() GetAppWithAddonsApp

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

func (v *GetAppsByRoleAppsAppConnection) GetNodes() []GetAppsByRoleAppsAppConnectionNodesApp

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

func (v *GetAppsByRoleAppsAppConnectionNodesApp) GetDeployed() bool

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetId added in v0.0.497

func (v *GetAppsByRoleAppsAppConnectionNodesApp) GetId() string

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetName added in v0.0.497

func (v *GetAppsByRoleAppsAppConnectionNodesApp) GetName() string

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetOrganization added in v0.0.497

func (v *GetAppsByRoleAppsAppConnectionNodesApp) GetOrganization() AppDataOrganization

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetPlatformVersion added in v0.0.497

func (v *GetAppsByRoleAppsAppConnectionNodesApp) GetPlatformVersion() PlatformVersionEnum

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

func (*GetAppsByRoleAppsAppConnectionNodesApp) GetSecrets added in v0.1.129

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

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,
) (data_ *GetAppsByRoleResponse, err_ error)

func (*GetAppsByRoleResponse) GetApps added in v0.0.497

func (v *GetAppsByRoleResponse) GetApps() GetAppsByRoleAppsAppConnection

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,
) (data_ *GetExtensionSsoLinkResponse, err_ error)

func (*GetExtensionSsoLinkResponse) GetOrganization added in v0.1.119

func (v *GetExtensionSsoLinkResponse) GetOrganization() GetExtensionSsoLinkOrganization

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

func (v *GetNearestRegionNearestRegion) GetCode() string

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

func (v *GetNearestRegionNearestRegion) GetName() string

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,
) (data_ *GetNearestRegionResponse, err_ error)

func (*GetNearestRegionResponse) GetNearestRegion

func (v *GetNearestRegionResponse) GetNearestRegion() GetNearestRegionNearestRegion

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

func (v *GetOrganizationOrganization) GetId() string

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,
) (data_ *GetOrganizationResponse, err_ error)

func (*GetOrganizationResponse) GetOrganization added in v0.0.424

func (v *GetOrganizationResponse) GetOrganization() GetOrganizationOrganization

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

func (v *ListAddOnPlansAddOnPlansAddOnPlanConnection) GetNodes() []ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan

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

func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDescription() string

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

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName added in v0.0.366

func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName() string

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

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId added in v0.0.366

func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId() string

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

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize added in v0.0.366

func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize() string

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

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth added in v0.0.366

func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth() int

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,
) (data_ *ListAddOnPlansResponse, err_ error)

func (*ListAddOnPlansResponse) GetAddOnPlans added in v0.0.366

func (v *ListAddOnPlansResponse) GetAddOnPlans() ListAddOnPlansAddOnPlansAddOnPlanConnection

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

func (v *ListAddOnsAddOnsAddOnConnection) GetNodes() []ListAddOnsAddOnsAddOnConnectionNodesAddOn

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"`
	// Add-on metadata
	Metadata interface{} `json:"metadata"`
	// 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

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetAddOnPlan() ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetId added in v0.0.371

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetId() string

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetMetadata added in v0.3.11

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

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetName added in v0.0.371

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetName() string

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

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOrganization() ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization

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

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrivateIp() string

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

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetDescription() string

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetDisplayName added in v0.0.372

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetDisplayName() string

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

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetId() string

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

func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetSlug added in v0.0.371

func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetSlug() string

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,
) (data_ *ListAddOnsResponse, err_ error)

func (*ListAddOnsResponse) GetAddOns added in v0.0.371

func (v *ListAddOnsResponse) GetAddOns() ListAddOnsAddOnsAddOnConnection

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,
) (data_ *LogOutResponse, err_ error)

func (*LogOutResponse) GetLogOut added in v0.1.118

func (v *LogOutResponse) GetLogOut() LogOutLogOutLogOutPayload

GetLogOut returns LogOutResponse.LogOut, 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

func (v *ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload) GetAddOn() ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn

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

func (v *ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayloadAddOn) GetPublicUrl() string

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,
) (data_ *ResetAddOnPasswordResponse, err_ error)

func (*ResetAddOnPasswordResponse) GetResetAddOnPassword added in v0.0.430

func (v *ResetAddOnPasswordResponse) GetResetAddOnPassword() ResetAddOnPasswordResetAddOnPasswordResetAddOnPasswordPayload

GetResetAddOnPassword returns ResetAddOnPasswordResponse.ResetAddOnPassword, 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,
) (data_ *SetNomadVMCountResponse, err_ error)

func (*SetNomadVMCountResponse) GetSetVmCount added in v0.0.506

func (v *SetNomadVMCountResponse) GetSetVmCount() SetNomadVMCountSetVmCountSetVMCountPayload

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

func (v *SetNomadVMCountSetVmCountSetVMCountPayload) GetTaskGroupCounts() []SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount

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

func (*SetNomadVMCountSetVmCountSetVMCountPayload) GetWarnings added in v0.0.506

func (v *SetNomadVMCountSetVmCountSetVMCountPayload) GetWarnings() []string

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

func (v *SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount) GetCount() int

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

func (*SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount) GetName added in v0.0.506

func (v *SetNomadVMCountSetVmCountSetVMCountPayloadTaskGroupCountsTaskGroupCount) GetName() string

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,
) (data_ *SetSecretsResponse, err_ error)

func (*SetSecretsResponse) GetSetSecrets added in v0.0.497

func (v *SetSecretsResponse) GetSetSecrets() SetSecretsSetSecretsSetSecretsPayload

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

func (v *SetSecretsSetSecretsSetSecretsPayload) GetRelease() SetSecretsSetSecretsSetSecretsPayloadRelease

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

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetCreatedAt() time.Time

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetDescription added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetDescription() string

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetEvaluationId added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetEvaluationId() string

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetId added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetId() string

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetReason added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetReason() string

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetUser added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetUser() SetSecretsSetSecretsSetSecretsPayloadReleaseUser

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

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetVersion added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadRelease) GetVersion() int

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

func (v *SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetEmail() string

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

func (*SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetId added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetId() string

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

func (*SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetName added in v0.0.497

func (v *SetSecretsSetSecretsSetSecretsPayloadReleaseUser) GetName() string

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{},
	metadata interface{},
) (data_ *UpdateAddOnResponse, err_ error)

func (*UpdateAddOnResponse) GetUpdateAddOn added in v0.0.371

func (v *UpdateAddOnResponse) GetUpdateAddOn() UpdateAddOnUpdateAddOnUpdateAddOnPayload

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

func (v *UpdateAddOnUpdateAddOnUpdateAddOnPayload) GetAddOn() UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn

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

func (v *UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn) GetId() string

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

type VMCountInput added in v0.0.506

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

func (*VMCountInput) GetCount added in v0.0.506

func (v *VMCountInput) GetCount() int

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

func (*VMCountInput) GetGroup added in v0.0.506

func (v *VMCountInput) GetGroup() string

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

func (*VMCountInput) GetMaxPerRegion added in v0.0.506

func (v *VMCountInput) GetMaxPerRegion() int

GetMaxPerRegion returns VMCountInput.MaxPerRegion, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳