gql

package
v0.0.335-pre-1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAppCreateAppCreateAppPayload

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

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

Autogenerated return type of CreateApp

func (*CreateAppCreateAppCreateAppPayload) GetApp

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

type CreateAppCreateAppCreateAppPayloadApp

type CreateAppCreateAppCreateAppPayloadApp struct {
	// The unique application name
	Name string `json:"name"`
	// Application status
	Status string `json:"status"`
	// Organization that owns this app
	Organization CreateAppCreateAppCreateAppPayloadAppOrganization `json:"organization"`
}

CreateAppCreateAppCreateAppPayloadApp includes the requested fields of the GraphQL type App.

func (*CreateAppCreateAppCreateAppPayloadApp) GetName

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetOrganization

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

func (*CreateAppCreateAppCreateAppPayloadApp) GetStatus

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

type CreateAppCreateAppCreateAppPayloadAppOrganization

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

CreateAppCreateAppCreateAppPayloadAppOrganization includes the requested fields of the GraphQL type Organization.

func (*CreateAppCreateAppCreateAppPayloadAppOrganization) GetId

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

func (*CreateAppCreateAppCreateAppPayloadAppOrganization) GetSlug

GetSlug returns CreateAppCreateAppCreateAppPayloadAppOrganization.Slug, 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,
	name string,
	organizationId string,
) (*CreateAppResponse, error)

func (*CreateAppResponse) GetCreateApp

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

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload struct {
	Machine EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine `json:"machine"`
	App     EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadApp     `json:"app"`
}

EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload includes the requested fields of the GraphQL type EnsureMachineRemoteBuilderPayload. The GraphQL type's documentation follows.

Autogenerated return type of EnsureMachineRemoteBuilder

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload) GetApp

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload) GetMachine

GetMachine returns EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload.Machine, and is useful for accessing the field via an interface.

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadApp

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadApp struct {
	// The unique application name
	Name string `json:"name"`
	// Organization that owns this app
	Organization EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadAppOrganization `json:"organization"`
}

EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadApp includes the requested fields of the GraphQL type App.

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadApp) GetName

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadApp) GetOrganization

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

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadAppOrganization

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

EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadAppOrganization includes the requested fields of the GraphQL type Organization.

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadAppOrganization) GetId

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadAppOrganization) GetSlug

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

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine struct {
	Id    string                                                                                                      `json:"id"`
	State string                                                                                                      `json:"state"`
	Ips   EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnection `json:"ips"`
}

EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine includes the requested fields of the GraphQL type Machine.

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine) GetId

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine) GetIps

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine) GetState

GetState returns EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachine.State, and is useful for accessing the field via an interface.

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnection

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

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

The connection type for MachineIP.

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnection) GetNodes

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

type EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnectionNodesMachineIP

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

EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnectionNodesMachineIP includes the requested fields of the GraphQL type MachineIP.

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnectionNodesMachineIP) GetFamily

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnectionNodesMachineIP) GetIp

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

func (*EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayloadMachineIpsMachineIPConnectionNodesMachineIP) GetKind

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

type EnsureRemoteBuilderResponse

type EnsureRemoteBuilderResponse struct {
	EnsureMachineRemoteBuilder EnsureRemoteBuilderEnsureMachineRemoteBuilderEnsureMachineRemoteBuilderPayload `json:"ensureMachineRemoteBuilder"`
}

EnsureRemoteBuilderResponse is returned by EnsureRemoteBuilder on success.

func EnsureRemoteBuilder

func EnsureRemoteBuilder(
	ctx context.Context,
	client graphql.Client,
	organizationId string,
) (*EnsureRemoteBuilderResponse, error)

func (*EnsureRemoteBuilderResponse) GetEnsureMachineRemoteBuilder

GetEnsureMachineRemoteBuilder returns EnsureRemoteBuilderResponse.EnsureMachineRemoteBuilder, and is useful for accessing the field via an interface.

type GetNearestRegionNearestRegion

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

GetNearestRegionNearestRegion includes the requested fields of the GraphQL type Region.

func (*GetNearestRegionNearestRegion) GetCode

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

func (*GetNearestRegionNearestRegion) GetGatewayAvailable

func (v *GetNearestRegionNearestRegion) GetGatewayAvailable() bool

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

func (*GetNearestRegionNearestRegion) GetName

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

type GetNearestRegionResponse

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

GetNearestRegionResponse is returned by GetNearestRegion on success.

func GetNearestRegion

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

func (*GetNearestRegionResponse) GetNearestRegion

GetNearestRegion returns GetNearestRegionResponse.NearestRegion, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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