graphql

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AddCertificate_Operation = `` /* 240-byte string literal not displayed */

The query or mutation executed by AddCertificate.

View Source
const AddWireguardPeer_Operation = `` /* 143-byte string literal not displayed */

The query or mutation executed by AddWireguardPeer.

View Source
const AllocateIpAddress_Operation = `` /* 247-byte string literal not displayed */

The query or mutation executed by AllocateIpAddress.

View Source
const CreateAppMutation_Operation = `` /* 254-byte string literal not displayed */

The query or mutation executed by CreateAppMutation.

View Source
const CreateVolume_Operation = `` /* 242-byte string literal not displayed */

The query or mutation executed by CreateVolume.

View Source
const DeleteAppMutation_Operation = `
mutation DeleteAppMutation ($name: ID!) {
	deleteApp(appId: $name) {
		organization {
			name
		}
	}
}
`

The query or mutation executed by DeleteAppMutation.

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

The query or mutation executed by DeleteCertificate.

View Source
const DeleteVolume_Operation = `
mutation DeleteVolume ($volume: ID!) {
	deleteVolume(input: {volumeId:$volume}) {
		clientMutationId
	}
}
`

The query or mutation executed by DeleteVolume.

View Source
const GetCertificate_Operation = `` /* 229-byte string literal not displayed */

The query or mutation executed by GetCertificate.

View Source
const GetFullApp_Operation = `` /* 447-byte string literal not displayed */

The query or mutation executed by GetFullApp.

View Source
const IpAddressQuery_Operation = `` /* 148-byte string literal not displayed */

The query or mutation executed by IpAddressQuery.

View Source
const Organization_Operation = `
query Organization ($slug: String) {
	organization(slug: $slug) {
		id
	}
}
`

The query or mutation executed by Organization.

View Source
const OrgsQuery_Operation = `
query OrgsQuery {
	organizations {
		nodes {
			name
			id
		}
	}
}
`

The query or mutation executed by OrgsQuery.

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

The query or mutation executed by ReleaseIpAddress.

View Source
const RemoveWireguardPeer_Operation = `` /* 140-byte string literal not displayed */

The query or mutation executed by RemoveWireguardPeer.

View Source
const SetSecrets_Operation = `
mutation SetSecrets ($input: SetSecretsInput!) {
	setSecrets(input: $input) {
		release {
			id
		}
	}
}
`

The query or mutation executed by SetSecrets.

View Source
const UpdateAutoScaleConfigMutation_Operation = `` /* 286-byte string literal not displayed */

The query or mutation executed by UpdateAutoScaleConfigMutation.

View Source
const VolumeQuery_Operation = `` /* 176-byte string literal not displayed */

The query or mutation executed by VolumeQuery.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCertificateAddCertificateAddCertificatePayload

type AddCertificateAddCertificateAddCertificatePayload struct {
	Certificate AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate `json:"certificate"`
}

AddCertificateAddCertificateAddCertificatePayload includes the requested fields of the GraphQL type AddCertificatePayload.

func (*AddCertificateAddCertificateAddCertificatePayload) GetCertificate

GetCertificate returns AddCertificateAddCertificateAddCertificatePayload.Certificate, and is useful for accessing the field via an interface.

type AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate

type AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate struct {
	Id                        string `json:"id"`
	DnsValidationInstructions string `json:"dnsValidationInstructions"`
	DnsValidationHostname     string `json:"dnsValidationHostname"`
	DnsValidationTarget       string `json:"dnsValidationTarget"`
	Hostname                  string `json:"hostname"`
	Check                     bool   `json:"check"`
}

AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate includes the requested fields of the GraphQL type AppCertificate.

func (*AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate) GetCheck

GetCheck returns AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate.Check, and is useful for accessing the field via an interface.

func (*AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate) GetDnsValidationHostname

GetDnsValidationHostname returns AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate.DnsValidationHostname, and is useful for accessing the field via an interface.

func (*AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate) GetDnsValidationInstructions

GetDnsValidationInstructions returns AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate.DnsValidationInstructions, and is useful for accessing the field via an interface.

func (*AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate) GetDnsValidationTarget

GetDnsValidationTarget returns AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate.DnsValidationTarget, and is useful for accessing the field via an interface.

func (*AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate) GetHostname

GetHostname returns AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate.Hostname, and is useful for accessing the field via an interface.

func (*AddCertificateAddCertificateAddCertificatePayloadCertificateAppCertificate) GetId

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

type AddCertificateResponse

type AddCertificateResponse struct {
	AddCertificate AddCertificateAddCertificateAddCertificatePayload `json:"addCertificate"`
}

AddCertificateResponse is returned by AddCertificate on success.

func AddCertificate

func AddCertificate(
	ctx context.Context,
	client graphql.Client,
	app string,
	hostname string,
) (*AddCertificateResponse, error)

func (*AddCertificateResponse) GetAddCertificate

GetAddCertificate returns AddCertificateResponse.AddCertificate, and is useful for accessing the field via an interface.

type AddWireGuardPeerInput

type AddWireGuardPeerInput struct {
	ClientMutationId string `json:"clientMutationId"`
	OrganizationId   string `json:"organizationId"`
	Region           string `json:"region"`
	Name             string `json:"name"`
	Pubkey           string `json:"pubkey"`
	Network          string `json:"network"`
	Nats             bool   `json:"nats"`
}

func (*AddWireGuardPeerInput) GetClientMutationId

func (v *AddWireGuardPeerInput) GetClientMutationId() string

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

func (*AddWireGuardPeerInput) GetName

func (v *AddWireGuardPeerInput) GetName() string

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

func (*AddWireGuardPeerInput) GetNats

func (v *AddWireGuardPeerInput) GetNats() bool

GetNats returns AddWireGuardPeerInput.Nats, and is useful for accessing the field via an interface.

func (*AddWireGuardPeerInput) GetNetwork

func (v *AddWireGuardPeerInput) GetNetwork() string

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

func (*AddWireGuardPeerInput) GetOrganizationId

func (v *AddWireGuardPeerInput) GetOrganizationId() string

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

func (*AddWireGuardPeerInput) GetPubkey

func (v *AddWireGuardPeerInput) GetPubkey() string

GetPubkey returns AddWireGuardPeerInput.Pubkey, and is useful for accessing the field via an interface.

func (*AddWireGuardPeerInput) GetRegion

func (v *AddWireGuardPeerInput) GetRegion() string

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

type AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload

type AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload struct {
	Network    string `json:"network"`
	Endpointip string `json:"endpointip"`
	Peerip     string `json:"peerip"`
	Pubkey     string `json:"pubkey"`
}

AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload includes the requested fields of the GraphQL type AddWireGuardPeerPayload.

func (*AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload) GetEndpointip

GetEndpointip returns AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload.Endpointip, and is useful for accessing the field via an interface.

func (*AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload) GetNetwork

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

func (*AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload) GetPeerip

GetPeerip returns AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload.Peerip, and is useful for accessing the field via an interface.

func (*AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload) GetPubkey

GetPubkey returns AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload.Pubkey, and is useful for accessing the field via an interface.

type AddWireguardPeerResponse

type AddWireguardPeerResponse struct {
	AddWireGuardPeer AddWireguardPeerAddWireGuardPeerAddWireGuardPeerPayload `json:"addWireGuardPeer"`
}

AddWireguardPeerResponse is returned by AddWireguardPeer on success.

func AddWireguardPeer

func AddWireguardPeer(
	ctx context.Context,
	client graphql.Client,
	input AddWireGuardPeerInput,
) (*AddWireguardPeerResponse, error)

func (*AddWireguardPeerResponse) GetAddWireGuardPeer

GetAddWireGuardPeer returns AddWireguardPeerResponse.AddWireGuardPeer, and is useful for accessing the field via an interface.

type AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload

type AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload struct {
	IpAddress AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress `json:"ipAddress"`
	App       AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadApp                `json:"app"`
}

AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload includes the requested fields of the GraphQL type AllocateIPAddressPayload.

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload) GetApp

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

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload) GetIpAddress

GetIpAddress returns AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload.IpAddress, and is useful for accessing the field via an interface.

type AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadApp

type AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadApp struct {
	SharedIpAddress string `json:"sharedIpAddress"`
}

AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadApp includes the requested fields of the GraphQL type App.

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadApp) GetSharedIpAddress

GetSharedIpAddress returns AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadApp.SharedIpAddress, and is useful for accessing the field via an interface.

type AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress

type AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress struct {
	Id      string        `json:"id"`
	Type    IPAddressType `json:"type"`
	Address string        `json:"address"`
	Region  string        `json:"region"`
}

AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress includes the requested fields of the GraphQL type IPAddress.

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress) GetAddress

GetAddress returns AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress.Address, and is useful for accessing the field via an interface.

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress) GetId

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

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress) GetRegion

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

func (*AllocateIpAddressAllocateIpAddressAllocateIPAddressPayloadIpAddressIPAddress) GetType

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

type AllocateIpAddressResponse

type AllocateIpAddressResponse struct {
	AllocateIpAddress AllocateIpAddressAllocateIpAddressAllocateIPAddressPayload `json:"allocateIpAddress"`
}

AllocateIpAddressResponse is returned by AllocateIpAddress on success.

func AllocateIpAddress

func AllocateIpAddress(
	ctx context.Context,
	client graphql.Client,
	app string,
	region string,
	addrType IPAddressType,
) (*AllocateIpAddressResponse, error)

func (*AllocateIpAddressResponse) GetAllocateIpAddress

GetAllocateIpAddress returns AllocateIpAddressResponse.AllocateIpAddress, and is useful for accessing the field via an interface.

type AutoscaleRegionConfigInput

type AutoscaleRegionConfigInput struct {
	Code     string `json:"code"`
	Weight   int    `json:"weight"`
	MinCount int    `json:"minCount"`
	Reset    bool   `json:"reset"`
}

func (*AutoscaleRegionConfigInput) GetCode

func (v *AutoscaleRegionConfigInput) GetCode() string

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

func (*AutoscaleRegionConfigInput) GetMinCount

func (v *AutoscaleRegionConfigInput) GetMinCount() int

GetMinCount returns AutoscaleRegionConfigInput.MinCount, and is useful for accessing the field via an interface.

func (*AutoscaleRegionConfigInput) GetReset

func (v *AutoscaleRegionConfigInput) GetReset() bool

GetReset returns AutoscaleRegionConfigInput.Reset, and is useful for accessing the field via an interface.

func (*AutoscaleRegionConfigInput) GetWeight

func (v *AutoscaleRegionConfigInput) GetWeight() int

GetWeight returns AutoscaleRegionConfigInput.Weight, and is useful for accessing the field via an interface.

type CreateAppMutationCreateAppCreateAppPayload

type CreateAppMutationCreateAppCreateAppPayload struct {
	App CreateAppMutationCreateAppCreateAppPayloadApp `json:"app"`
}

CreateAppMutationCreateAppCreateAppPayload includes the requested fields of the GraphQL type CreateAppPayload.

func (*CreateAppMutationCreateAppCreateAppPayload) GetApp

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

type CreateAppMutationCreateAppCreateAppPayloadApp

type CreateAppMutationCreateAppCreateAppPayloadApp struct {
	Id              string                                                    `json:"id"`
	Name            string                                                    `json:"name"`
	Status          string                                                    `json:"status"`
	Organization    CreateAppMutationCreateAppCreateAppPayloadAppOrganization `json:"organization"`
	AppUrl          string                                                    `json:"appUrl"`
	Hostname        string                                                    `json:"hostname"`
	SharedIpAddress string                                                    `json:"sharedIpAddress"`
}

CreateAppMutationCreateAppCreateAppPayloadApp includes the requested fields of the GraphQL type App.

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetAppUrl

GetAppUrl returns CreateAppMutationCreateAppCreateAppPayloadApp.AppUrl, and is useful for accessing the field via an interface.

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetHostname

GetHostname returns CreateAppMutationCreateAppCreateAppPayloadApp.Hostname, and is useful for accessing the field via an interface.

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetId

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

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetName

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

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetOrganization

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

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetSharedIpAddress

func (v *CreateAppMutationCreateAppCreateAppPayloadApp) GetSharedIpAddress() string

GetSharedIpAddress returns CreateAppMutationCreateAppCreateAppPayloadApp.SharedIpAddress, and is useful for accessing the field via an interface.

func (*CreateAppMutationCreateAppCreateAppPayloadApp) GetStatus

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

type CreateAppMutationCreateAppCreateAppPayloadAppOrganization

type CreateAppMutationCreateAppCreateAppPayloadAppOrganization struct {
	Id   string `json:"id"`
	Slug string `json:"slug"`
}

CreateAppMutationCreateAppCreateAppPayloadAppOrganization includes the requested fields of the GraphQL type Organization.

func (*CreateAppMutationCreateAppCreateAppPayloadAppOrganization) GetId

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

func (*CreateAppMutationCreateAppCreateAppPayloadAppOrganization) GetSlug

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

type CreateAppMutationResponse

type CreateAppMutationResponse struct {
	CreateApp CreateAppMutationCreateAppCreateAppPayload `json:"createApp"`
}

CreateAppMutationResponse is returned by CreateAppMutation on success.

func CreateAppMutation

func CreateAppMutation(
	ctx context.Context,
	client graphql.Client,
	name string,
	organizationId string,
) (*CreateAppMutationResponse, error)

func (*CreateAppMutationResponse) GetCreateApp

GetCreateApp returns CreateAppMutationResponse.CreateApp, and is useful for accessing the field via an interface.

type CreateVolumeCreateVolumeCreateVolumePayload

type CreateVolumeCreateVolumeCreateVolumePayload struct {
	Volume CreateVolumeCreateVolumeCreateVolumePayloadVolume `json:"volume"`
}

CreateVolumeCreateVolumeCreateVolumePayload includes the requested fields of the GraphQL type CreateVolumePayload.

func (*CreateVolumeCreateVolumeCreateVolumePayload) GetVolume

GetVolume returns CreateVolumeCreateVolumeCreateVolumePayload.Volume, and is useful for accessing the field via an interface.

type CreateVolumeCreateVolumeCreateVolumePayloadVolume

type CreateVolumeCreateVolumeCreateVolumePayloadVolume struct {
	Name       string `json:"name"`
	Region     string `json:"region"`
	Id         string `json:"id"`
	InternalId string `json:"internalId"`
	SizeGb     int    `json:"sizeGb"`
}

CreateVolumeCreateVolumeCreateVolumePayloadVolume includes the requested fields of the GraphQL type Volume.

func (*CreateVolumeCreateVolumeCreateVolumePayloadVolume) GetId

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

func (*CreateVolumeCreateVolumeCreateVolumePayloadVolume) GetInternalId

GetInternalId returns CreateVolumeCreateVolumeCreateVolumePayloadVolume.InternalId, and is useful for accessing the field via an interface.

func (*CreateVolumeCreateVolumeCreateVolumePayloadVolume) GetName

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

func (*CreateVolumeCreateVolumeCreateVolumePayloadVolume) GetRegion

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

func (*CreateVolumeCreateVolumeCreateVolumePayloadVolume) GetSizeGb

GetSizeGb returns CreateVolumeCreateVolumeCreateVolumePayloadVolume.SizeGb, and is useful for accessing the field via an interface.

type CreateVolumeResponse

type CreateVolumeResponse struct {
	CreateVolume CreateVolumeCreateVolumeCreateVolumePayload `json:"createVolume"`
}

CreateVolumeResponse is returned by CreateVolume on success.

func CreateVolume

func CreateVolume(
	ctx context.Context,
	client graphql.Client,
	app string,
	name string,
	region string,
	sizeGb int,
) (*CreateVolumeResponse, error)

func (*CreateVolumeResponse) GetCreateVolume

GetCreateVolume returns CreateVolumeResponse.CreateVolume, and is useful for accessing the field via an interface.

type DeleteAppMutationDeleteAppDeleteAppPayload

type DeleteAppMutationDeleteAppDeleteAppPayload struct {
	Organization DeleteAppMutationDeleteAppDeleteAppPayloadOrganization `json:"organization"`
}

DeleteAppMutationDeleteAppDeleteAppPayload includes the requested fields of the GraphQL type DeleteAppPayload.

func (*DeleteAppMutationDeleteAppDeleteAppPayload) GetOrganization

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

type DeleteAppMutationDeleteAppDeleteAppPayloadOrganization

type DeleteAppMutationDeleteAppDeleteAppPayloadOrganization struct {
	Name string `json:"name"`
}

DeleteAppMutationDeleteAppDeleteAppPayloadOrganization includes the requested fields of the GraphQL type Organization.

func (*DeleteAppMutationDeleteAppDeleteAppPayloadOrganization) GetName

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

type DeleteAppMutationResponse

type DeleteAppMutationResponse struct {
	DeleteApp DeleteAppMutationDeleteAppDeleteAppPayload `json:"deleteApp"`
}

DeleteAppMutationResponse is returned by DeleteAppMutation on success.

func DeleteAppMutation

func DeleteAppMutation(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*DeleteAppMutationResponse, error)

func (*DeleteAppMutationResponse) GetDeleteApp

GetDeleteApp returns DeleteAppMutationResponse.DeleteApp, and is useful for accessing the field via an interface.

type DeleteCertificateDeleteCertificateDeleteCertificatePayload

type DeleteCertificateDeleteCertificateDeleteCertificatePayload struct {
	App         DeleteCertificateDeleteCertificateDeleteCertificatePayloadApp                       `json:"app"`
	Certificate DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate `json:"certificate"`
}

DeleteCertificateDeleteCertificateDeleteCertificatePayload includes the requested fields of the GraphQL type DeleteCertificatePayload.

func (*DeleteCertificateDeleteCertificateDeleteCertificatePayload) GetApp

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

func (*DeleteCertificateDeleteCertificateDeleteCertificatePayload) GetCertificate

GetCertificate returns DeleteCertificateDeleteCertificateDeleteCertificatePayload.Certificate, and is useful for accessing the field via an interface.

type DeleteCertificateDeleteCertificateDeleteCertificatePayloadApp

type DeleteCertificateDeleteCertificateDeleteCertificatePayloadApp struct {
	Name string `json:"name"`
}

DeleteCertificateDeleteCertificateDeleteCertificatePayloadApp includes the requested fields of the GraphQL type App.

func (*DeleteCertificateDeleteCertificateDeleteCertificatePayloadApp) GetName

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

type DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate

type DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate struct {
	Hostname string `json:"hostname"`
	Id       string `json:"id"`
}

DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate includes the requested fields of the GraphQL type AppCertificate.

func (*DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate) GetHostname

GetHostname returns DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate.Hostname, and is useful for accessing the field via an interface.

func (*DeleteCertificateDeleteCertificateDeleteCertificatePayloadCertificateAppCertificate) GetId

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

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	DeleteCertificate DeleteCertificateDeleteCertificateDeleteCertificatePayload `json:"deleteCertificate"`
}

DeleteCertificateResponse is returned by DeleteCertificate on success.

func DeleteCertificate

func DeleteCertificate(
	ctx context.Context,
	client graphql.Client,
	app string,
	hostname string,
) (*DeleteCertificateResponse, error)

func (*DeleteCertificateResponse) GetDeleteCertificate

GetDeleteCertificate returns DeleteCertificateResponse.DeleteCertificate, and is useful for accessing the field via an interface.

type DeleteVolumeDeleteVolumeDeleteVolumePayload

type DeleteVolumeDeleteVolumeDeleteVolumePayload struct {
	ClientMutationId string `json:"clientMutationId"`
}

DeleteVolumeDeleteVolumeDeleteVolumePayload includes the requested fields of the GraphQL type DeleteVolumePayload.

func (*DeleteVolumeDeleteVolumeDeleteVolumePayload) GetClientMutationId

func (v *DeleteVolumeDeleteVolumeDeleteVolumePayload) GetClientMutationId() string

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

type DeleteVolumeResponse

type DeleteVolumeResponse struct {
	DeleteVolume DeleteVolumeDeleteVolumeDeleteVolumePayload `json:"deleteVolume"`
}

DeleteVolumeResponse is returned by DeleteVolume on success.

func DeleteVolume

func DeleteVolume(
	ctx context.Context,
	client graphql.Client,
	volume string,
) (*DeleteVolumeResponse, error)

func (*DeleteVolumeResponse) GetDeleteVolume

GetDeleteVolume returns DeleteVolumeResponse.DeleteVolume, and is useful for accessing the field via an interface.

type GetCertificateApp

type GetCertificateApp struct {
	Certificate GetCertificateAppCertificate `json:"certificate"`
}

GetCertificateApp includes the requested fields of the GraphQL type App.

func (*GetCertificateApp) GetCertificate

func (v *GetCertificateApp) GetCertificate() GetCertificateAppCertificate

GetCertificate returns GetCertificateApp.Certificate, and is useful for accessing the field via an interface.

type GetCertificateAppCertificate

type GetCertificateAppCertificate struct {
	Id                        string `json:"id"`
	DnsValidationInstructions string `json:"dnsValidationInstructions"`
	DnsValidationHostname     string `json:"dnsValidationHostname"`
	DnsValidationTarget       string `json:"dnsValidationTarget"`
	Hostname                  string `json:"hostname"`
	Check                     bool   `json:"check"`
}

GetCertificateAppCertificate includes the requested fields of the GraphQL type AppCertificate.

func (*GetCertificateAppCertificate) GetCheck

func (v *GetCertificateAppCertificate) GetCheck() bool

GetCheck returns GetCertificateAppCertificate.Check, and is useful for accessing the field via an interface.

func (*GetCertificateAppCertificate) GetDnsValidationHostname

func (v *GetCertificateAppCertificate) GetDnsValidationHostname() string

GetDnsValidationHostname returns GetCertificateAppCertificate.DnsValidationHostname, and is useful for accessing the field via an interface.

func (*GetCertificateAppCertificate) GetDnsValidationInstructions

func (v *GetCertificateAppCertificate) GetDnsValidationInstructions() string

GetDnsValidationInstructions returns GetCertificateAppCertificate.DnsValidationInstructions, and is useful for accessing the field via an interface.

func (*GetCertificateAppCertificate) GetDnsValidationTarget

func (v *GetCertificateAppCertificate) GetDnsValidationTarget() string

GetDnsValidationTarget returns GetCertificateAppCertificate.DnsValidationTarget, and is useful for accessing the field via an interface.

func (*GetCertificateAppCertificate) GetHostname

func (v *GetCertificateAppCertificate) GetHostname() string

GetHostname returns GetCertificateAppCertificate.Hostname, and is useful for accessing the field via an interface.

func (*GetCertificateAppCertificate) GetId

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

type GetCertificateResponse

type GetCertificateResponse struct {
	App GetCertificateApp `json:"app"`
}

GetCertificateResponse is returned by GetCertificate on success.

func GetCertificate

func GetCertificate(
	ctx context.Context,
	client graphql.Client,
	app string,
	hostname string,
) (*GetCertificateResponse, error)

func (*GetCertificateResponse) GetApp

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

type GetFullAppApp

type GetFullAppApp struct {
	Name            string                                        `json:"name"`
	Network         string                                        `json:"network"`
	Organization    GetFullAppAppOrganization                     `json:"organization"`
	Autoscaling     GetFullAppAppAutoscalingAutoscalingConfig     `json:"autoscaling"`
	AppUrl          string                                        `json:"appUrl"`
	Hostname        string                                        `json:"hostname"`
	Id              string                                        `json:"id"`
	Status          string                                        `json:"status"`
	Deployed        bool                                          `json:"deployed"`
	CurrentRelease  GetFullAppAppCurrentRelease                   `json:"currentRelease"`
	Config          GetFullAppAppConfig                           `json:"config"`
	HealthChecks    GetFullAppAppHealthChecksCheckStateConnection `json:"healthChecks"`
	SharedIpAddress string                                        `json:"sharedIpAddress"`
	IpAddresses     GetFullAppAppIpAddressesIPAddressConnection   `json:"ipAddresses"`
	Role            GetFullAppAppRole                             `json:"-"`
}

GetFullAppApp includes the requested fields of the GraphQL type App.

func (*GetFullAppApp) GetAppUrl

func (v *GetFullAppApp) GetAppUrl() string

GetAppUrl returns GetFullAppApp.AppUrl, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetAutoscaling

GetAutoscaling returns GetFullAppApp.Autoscaling, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetConfig

func (v *GetFullAppApp) GetConfig() GetFullAppAppConfig

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

func (*GetFullAppApp) GetCurrentRelease

func (v *GetFullAppApp) GetCurrentRelease() GetFullAppAppCurrentRelease

GetCurrentRelease returns GetFullAppApp.CurrentRelease, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetDeployed

func (v *GetFullAppApp) GetDeployed() bool

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

func (*GetFullAppApp) GetHealthChecks

GetHealthChecks returns GetFullAppApp.HealthChecks, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetHostname

func (v *GetFullAppApp) GetHostname() string

GetHostname returns GetFullAppApp.Hostname, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetId

func (v *GetFullAppApp) GetId() string

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

func (*GetFullAppApp) GetIpAddresses

GetIpAddresses returns GetFullAppApp.IpAddresses, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetName

func (v *GetFullAppApp) GetName() string

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

func (*GetFullAppApp) GetNetwork

func (v *GetFullAppApp) GetNetwork() string

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

func (*GetFullAppApp) GetOrganization

func (v *GetFullAppApp) GetOrganization() GetFullAppAppOrganization

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

func (*GetFullAppApp) GetRole

func (v *GetFullAppApp) GetRole() GetFullAppAppRole

GetRole returns GetFullAppApp.Role, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetSharedIpAddress

func (v *GetFullAppApp) GetSharedIpAddress() string

GetSharedIpAddress returns GetFullAppApp.SharedIpAddress, and is useful for accessing the field via an interface.

func (*GetFullAppApp) GetStatus

func (v *GetFullAppApp) GetStatus() string

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

func (*GetFullAppApp) MarshalJSON

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

func (*GetFullAppApp) UnmarshalJSON

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

type GetFullAppAppAutoscalingAutoscalingConfig

type GetFullAppAppAutoscalingAutoscalingConfig struct {
	PreferredRegion string                                                                  `json:"preferredRegion"`
	Regions         []GetFullAppAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig `json:"regions"`
}

GetFullAppAppAutoscalingAutoscalingConfig includes the requested fields of the GraphQL type AutoscalingConfig.

func (*GetFullAppAppAutoscalingAutoscalingConfig) GetPreferredRegion

func (v *GetFullAppAppAutoscalingAutoscalingConfig) GetPreferredRegion() string

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

func (*GetFullAppAppAutoscalingAutoscalingConfig) GetRegions

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

type GetFullAppAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig

type GetFullAppAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig struct {
	Code string `json:"code"`
}

GetFullAppAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig includes the requested fields of the GraphQL type AutoscaleRegionConfig.

func (*GetFullAppAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig) GetCode

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

type GetFullAppAppConfig

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

GetFullAppAppConfig includes the requested fields of the GraphQL type AppConfig.

func (*GetFullAppAppConfig) GetDefinition

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

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

type GetFullAppAppCurrentRelease

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

GetFullAppAppCurrentRelease includes the requested fields of the GraphQL type Release.

func (*GetFullAppAppCurrentRelease) GetId

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

type GetFullAppAppHealthChecksCheckStateConnection

type GetFullAppAppHealthChecksCheckStateConnection struct {
	Nodes []GetFullAppAppHealthChecksCheckStateConnectionNodesCheckState `json:"nodes"`
}

GetFullAppAppHealthChecksCheckStateConnection includes the requested fields of the GraphQL type CheckStateConnection.

func (*GetFullAppAppHealthChecksCheckStateConnection) GetNodes

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

type GetFullAppAppHealthChecksCheckStateConnectionNodesCheckState

type GetFullAppAppHealthChecksCheckStateConnectionNodesCheckState struct {
	Name   string `json:"name"`
	Status string `json:"status"`
}

GetFullAppAppHealthChecksCheckStateConnectionNodesCheckState includes the requested fields of the GraphQL type CheckState.

func (*GetFullAppAppHealthChecksCheckStateConnectionNodesCheckState) GetName

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

func (*GetFullAppAppHealthChecksCheckStateConnectionNodesCheckState) GetStatus

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

type GetFullAppAppIpAddressesIPAddressConnection

type GetFullAppAppIpAddressesIPAddressConnection struct {
	Nodes []GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress `json:"nodes"`
}

GetFullAppAppIpAddressesIPAddressConnection includes the requested fields of the GraphQL type IPAddressConnection.

func (*GetFullAppAppIpAddressesIPAddressConnection) GetNodes

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

type GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress

type GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress struct {
	Address string `json:"address"`
	Id      string `json:"id"`
}

GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress includes the requested fields of the GraphQL type IPAddress.

func (*GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress) GetAddress

GetAddress returns GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress.Address, and is useful for accessing the field via an interface.

func (*GetFullAppAppIpAddressesIPAddressConnectionNodesIPAddress) GetId

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

type GetFullAppAppOrganization

type GetFullAppAppOrganization struct {
	Id   string `json:"id"`
	Slug string `json:"slug"`
}

GetFullAppAppOrganization includes the requested fields of the GraphQL type Organization.

func (*GetFullAppAppOrganization) GetId

func (v *GetFullAppAppOrganization) GetId() string

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

func (*GetFullAppAppOrganization) GetSlug

func (v *GetFullAppAppOrganization) GetSlug() string

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

type GetFullAppAppRole

type GetFullAppAppRole interface {

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

GetFullAppAppRole includes the requested fields of the GraphQL interface AppRole.

GetFullAppAppRole is implemented by the following types: GetFullAppAppRoleEmptyAppRole GetFullAppAppRoleFlyctlMachineHostAppRole GetFullAppAppRolePostgresClusterAppRole GetFullAppAppRoleRemoteDockerBuilderAppRole

type GetFullAppAppRoleEmptyAppRole

type GetFullAppAppRoleEmptyAppRole struct {
	Typename string `json:"__typename"`
	Name     string `json:"name"`
}

GetFullAppAppRoleEmptyAppRole includes the requested fields of the GraphQL type EmptyAppRole.

func (*GetFullAppAppRoleEmptyAppRole) GetName

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

func (*GetFullAppAppRoleEmptyAppRole) GetTypename

func (v *GetFullAppAppRoleEmptyAppRole) GetTypename() string

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

type GetFullAppAppRoleFlyctlMachineHostAppRole

type GetFullAppAppRoleFlyctlMachineHostAppRole struct {
	Typename string `json:"__typename"`
	Name     string `json:"name"`
}

GetFullAppAppRoleFlyctlMachineHostAppRole includes the requested fields of the GraphQL type FlyctlMachineHostAppRole.

func (*GetFullAppAppRoleFlyctlMachineHostAppRole) GetName

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

func (*GetFullAppAppRoleFlyctlMachineHostAppRole) GetTypename

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

type GetFullAppAppRolePostgresClusterAppRole

type GetFullAppAppRolePostgresClusterAppRole struct {
	Typename string `json:"__typename"`
	Name     string `json:"name"`
}

GetFullAppAppRolePostgresClusterAppRole includes the requested fields of the GraphQL type PostgresClusterAppRole.

func (*GetFullAppAppRolePostgresClusterAppRole) GetName

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

func (*GetFullAppAppRolePostgresClusterAppRole) GetTypename

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

type GetFullAppAppRoleRemoteDockerBuilderAppRole

type GetFullAppAppRoleRemoteDockerBuilderAppRole struct {
	Typename string `json:"__typename"`
	Name     string `json:"name"`
}

GetFullAppAppRoleRemoteDockerBuilderAppRole includes the requested fields of the GraphQL type RemoteDockerBuilderAppRole.

func (*GetFullAppAppRoleRemoteDockerBuilderAppRole) GetName

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

func (*GetFullAppAppRoleRemoteDockerBuilderAppRole) GetTypename

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

type GetFullAppResponse

type GetFullAppResponse struct {
	App GetFullAppApp `json:"app"`
}

GetFullAppResponse is returned by GetFullApp on success.

func GetFullApp

func GetFullApp(
	ctx context.Context,
	client graphql.Client,
	name string,
) (*GetFullAppResponse, error)

func (*GetFullAppResponse) GetApp

func (v *GetFullAppResponse) GetApp() GetFullAppApp

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

type IPAddressType

type IPAddressType string
const (
	IPAddressTypeV4        IPAddressType = "v4"
	IPAddressTypeV6        IPAddressType = "v6"
	IPAddressTypePrivateV6 IPAddressType = "private_v6"
	IPAddressTypeSharedV4  IPAddressType = "shared_v4"
)

type IpAddressQueryApp

type IpAddressQueryApp struct {
	IpAddress IpAddressQueryAppIpAddressIPAddress `json:"ipAddress"`
}

IpAddressQueryApp includes the requested fields of the GraphQL type App.

func (*IpAddressQueryApp) GetIpAddress

GetIpAddress returns IpAddressQueryApp.IpAddress, and is useful for accessing the field via an interface.

type IpAddressQueryAppIpAddressIPAddress

type IpAddressQueryAppIpAddressIPAddress struct {
	Id      string        `json:"id"`
	Type    IPAddressType `json:"type"`
	Address string        `json:"address"`
	Region  string        `json:"region"`
}

IpAddressQueryAppIpAddressIPAddress includes the requested fields of the GraphQL type IPAddress.

func (*IpAddressQueryAppIpAddressIPAddress) GetAddress

GetAddress returns IpAddressQueryAppIpAddressIPAddress.Address, and is useful for accessing the field via an interface.

func (*IpAddressQueryAppIpAddressIPAddress) GetId

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

func (*IpAddressQueryAppIpAddressIPAddress) GetRegion

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

func (*IpAddressQueryAppIpAddressIPAddress) GetType

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

type IpAddressQueryResponse

type IpAddressQueryResponse struct {
	App IpAddressQueryApp `json:"app"`
}

IpAddressQueryResponse is returned by IpAddressQuery on success.

func IpAddressQuery

func IpAddressQuery(
	ctx context.Context,
	client graphql.Client,
	app string,
	addr string,
) (*IpAddressQueryResponse, error)

func (*IpAddressQueryResponse) GetApp

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

type OrganizationOrganization

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

OrganizationOrganization includes the requested fields of the GraphQL type Organization.

func (*OrganizationOrganization) GetId

func (v *OrganizationOrganization) GetId() string

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

type OrganizationResponse

type OrganizationResponse struct {
	Organization OrganizationOrganization `json:"organization"`
}

OrganizationResponse is returned by Organization on success.

func Organization

func Organization(
	ctx context.Context,
	client graphql.Client,
	slug string,
) (*OrganizationResponse, error)

func (*OrganizationResponse) GetOrganization

func (v *OrganizationResponse) GetOrganization() OrganizationOrganization

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

type OrgsQueryOrganizationsOrganizationConnection

type OrgsQueryOrganizationsOrganizationConnection struct {
	Nodes []OrgsQueryOrganizationsOrganizationConnectionNodesOrganization `json:"nodes"`
}

OrgsQueryOrganizationsOrganizationConnection includes the requested fields of the GraphQL type OrganizationConnection.

func (*OrgsQueryOrganizationsOrganizationConnection) GetNodes

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

type OrgsQueryOrganizationsOrganizationConnectionNodesOrganization

type OrgsQueryOrganizationsOrganizationConnectionNodesOrganization struct {
	Name string `json:"name"`
	Id   string `json:"id"`
}

OrgsQueryOrganizationsOrganizationConnectionNodesOrganization includes the requested fields of the GraphQL type Organization.

func (*OrgsQueryOrganizationsOrganizationConnectionNodesOrganization) GetId

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

func (*OrgsQueryOrganizationsOrganizationConnectionNodesOrganization) GetName

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

type OrgsQueryResponse

type OrgsQueryResponse struct {
	Organizations OrgsQueryOrganizationsOrganizationConnection `json:"organizations"`
}

OrgsQueryResponse is returned by OrgsQuery on success.

func OrgsQuery

func OrgsQuery(
	ctx context.Context,
	client graphql.Client,
) (*OrgsQueryResponse, error)

func (*OrgsQueryResponse) GetOrganizations

GetOrganizations returns OrgsQueryResponse.Organizations, and is useful for accessing the field via an interface.

type ReleaseIpAddressReleaseIpAddressReleaseIPAddressPayload

type ReleaseIpAddressReleaseIpAddressReleaseIPAddressPayload struct {
	ClientMutationId string `json:"clientMutationId"`
}

ReleaseIpAddressReleaseIpAddressReleaseIPAddressPayload includes the requested fields of the GraphQL type ReleaseIPAddressPayload.

func (*ReleaseIpAddressReleaseIpAddressReleaseIPAddressPayload) GetClientMutationId

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

type ReleaseIpAddressResponse

type ReleaseIpAddressResponse struct {
	ReleaseIpAddress ReleaseIpAddressReleaseIpAddressReleaseIPAddressPayload `json:"releaseIpAddress"`
}

ReleaseIpAddressResponse is returned by ReleaseIpAddress on success.

func ReleaseIpAddress

func ReleaseIpAddress(
	ctx context.Context,
	client graphql.Client,
	appId string,
	ip string,
) (*ReleaseIpAddressResponse, error)

func (*ReleaseIpAddressResponse) GetReleaseIpAddress

GetReleaseIpAddress returns ReleaseIpAddressResponse.ReleaseIpAddress, and is useful for accessing the field via an interface.

type RemoveWireGuardPeerInput

type RemoveWireGuardPeerInput struct {
	ClientMutationId string `json:"clientMutationId"`
	OrganizationId   string `json:"organizationId"`
	Name             string `json:"name"`
	Nats             bool   `json:"nats"`
}

func (*RemoveWireGuardPeerInput) GetClientMutationId

func (v *RemoveWireGuardPeerInput) GetClientMutationId() string

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

func (*RemoveWireGuardPeerInput) GetName

func (v *RemoveWireGuardPeerInput) GetName() string

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

func (*RemoveWireGuardPeerInput) GetNats

func (v *RemoveWireGuardPeerInput) GetNats() bool

GetNats returns RemoveWireGuardPeerInput.Nats, and is useful for accessing the field via an interface.

func (*RemoveWireGuardPeerInput) GetOrganizationId

func (v *RemoveWireGuardPeerInput) GetOrganizationId() string

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

type RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayload

type RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayload struct {
	Organization RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayloadOrganization `json:"organization"`
}

RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayload includes the requested fields of the GraphQL type RemoveWireGuardPeerPayload.

func (*RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayload) GetOrganization

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

type RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayloadOrganization

type RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayloadOrganization struct {
	Name string `json:"name"`
}

RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayloadOrganization includes the requested fields of the GraphQL type Organization.

func (*RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayloadOrganization) GetName

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

type RemoveWireguardPeerResponse

type RemoveWireguardPeerResponse struct {
	RemoveWireGuardPeer RemoveWireguardPeerRemoveWireGuardPeerRemoveWireGuardPeerPayload `json:"removeWireGuardPeer"`
}

RemoveWireguardPeerResponse is returned by RemoveWireguardPeer on success.

func (*RemoveWireguardPeerResponse) GetRemoveWireGuardPeer

GetRemoveWireGuardPeer returns RemoveWireguardPeerResponse.RemoveWireGuardPeer, and is useful for accessing the field via an interface.

type SecretInput

type SecretInput struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (*SecretInput) GetKey

func (v *SecretInput) GetKey() string

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

func (*SecretInput) GetValue

func (v *SecretInput) GetValue() string

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

type SetSecretsInput

type SetSecretsInput struct {
	ClientMutationId string        `json:"clientMutationId"`
	AppId            string        `json:"appId"`
	Secrets          []SecretInput `json:"secrets"`
	ReplaceAll       bool          `json:"replaceAll"`
}

func (*SetSecretsInput) GetAppId

func (v *SetSecretsInput) GetAppId() string

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

func (*SetSecretsInput) GetClientMutationId

func (v *SetSecretsInput) GetClientMutationId() string

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

func (*SetSecretsInput) GetReplaceAll

func (v *SetSecretsInput) GetReplaceAll() bool

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

func (*SetSecretsInput) GetSecrets

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

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

type SetSecretsResponse

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

SetSecretsResponse is returned by SetSecrets on success.

func SetSecrets

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

func (*SetSecretsResponse) GetSetSecrets

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

type SetSecretsSetSecretsSetSecretsPayload

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

SetSecretsSetSecretsSetSecretsPayload includes the requested fields of the GraphQL type SetSecretsPayload.

func (*SetSecretsSetSecretsSetSecretsPayload) GetRelease

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

type SetSecretsSetSecretsSetSecretsPayloadRelease

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

SetSecretsSetSecretsSetSecretsPayloadRelease includes the requested fields of the GraphQL type Release.

func (*SetSecretsSetSecretsSetSecretsPayloadRelease) GetId

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

type UpdateAutoScaleConfigMutationResponse

type UpdateAutoScaleConfigMutationResponse struct {
	UpdateAutoscaleConfig UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayload `json:"updateAutoscaleConfig"`
}

UpdateAutoScaleConfigMutationResponse is returned by UpdateAutoScaleConfigMutation on success.

func UpdateAutoScaleConfigMutation

func UpdateAutoScaleConfigMutation(
	ctx context.Context,
	client graphql.Client,
	id string,
	regions []AutoscaleRegionConfigInput,
	resetRegions bool,
) (*UpdateAutoScaleConfigMutationResponse, error)

func (*UpdateAutoScaleConfigMutationResponse) GetUpdateAutoscaleConfig

GetUpdateAutoscaleConfig returns UpdateAutoScaleConfigMutationResponse.UpdateAutoscaleConfig, and is useful for accessing the field via an interface.

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayload

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayload struct {
	App UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp `json:"app"`
}

UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayload includes the requested fields of the GraphQL type UpdateAutoscaleConfigPayload.

func (*UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayload) GetApp

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

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp struct {
	Status      string                                                                                                        `json:"status"`
	Autoscaling UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfig `json:"autoscaling"`
}

UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp includes the requested fields of the GraphQL type App.

func (*UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp) GetAutoscaling

GetAutoscaling returns UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp.Autoscaling, and is useful for accessing the field via an interface.

func (*UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadApp) GetStatus

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

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfig

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfig struct {
	Regions []UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig `json:"regions"`
}

UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfig includes the requested fields of the GraphQL type AutoscalingConfig.

func (*UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfig) GetRegions

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

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig

type UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig struct {
	Code string `json:"code"`
}

UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig includes the requested fields of the GraphQL type AutoscaleRegionConfig.

func (*UpdateAutoScaleConfigMutationUpdateAutoscaleConfigUpdateAutoscaleConfigPayloadAppAutoscalingAutoscalingConfigRegionsAutoscaleRegionConfig) GetCode

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

type VolumeQueryApp

type VolumeQueryApp struct {
	Volume VolumeQueryAppVolume `json:"volume"`
}

VolumeQueryApp includes the requested fields of the GraphQL type App.

func (*VolumeQueryApp) GetVolume

func (v *VolumeQueryApp) GetVolume() VolumeQueryAppVolume

GetVolume returns VolumeQueryApp.Volume, and is useful for accessing the field via an interface.

type VolumeQueryAppVolume

type VolumeQueryAppVolume struct {
	Name       string `json:"name"`
	Region     string `json:"region"`
	Id         string `json:"id"`
	InternalId string `json:"internalId"`
	SizeGb     int    `json:"sizeGb"`
}

VolumeQueryAppVolume includes the requested fields of the GraphQL type Volume.

func (*VolumeQueryAppVolume) GetId

func (v *VolumeQueryAppVolume) GetId() string

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

func (*VolumeQueryAppVolume) GetInternalId

func (v *VolumeQueryAppVolume) GetInternalId() string

GetInternalId returns VolumeQueryAppVolume.InternalId, and is useful for accessing the field via an interface.

func (*VolumeQueryAppVolume) GetName

func (v *VolumeQueryAppVolume) GetName() string

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

func (*VolumeQueryAppVolume) GetRegion

func (v *VolumeQueryAppVolume) GetRegion() string

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

func (*VolumeQueryAppVolume) GetSizeGb

func (v *VolumeQueryAppVolume) GetSizeGb() int

GetSizeGb returns VolumeQueryAppVolume.SizeGb, and is useful for accessing the field via an interface.

type VolumeQueryResponse

type VolumeQueryResponse struct {
	App VolumeQueryApp `json:"app"`
}

VolumeQueryResponse is returned by VolumeQuery on success.

func VolumeQuery

func VolumeQuery(
	ctx context.Context,
	client graphql.Client,
	app string,
	internal string,
) (*VolumeQueryResponse, error)

func (*VolumeQueryResponse) GetApp

func (v *VolumeQueryResponse) GetApp() VolumeQueryApp

GetApp returns VolumeQueryResponse.App, 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