Help us shape the future of Go! Take the 2026 Go Developer Survey

inmem

package
v0.4.122 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultUser = fly.User{
	ID:              "USER1",
	Name:            "TestUser",
	Email:           "test@fly.dev",
	EnablePaidHobby: false,
}

Functions

This section is empty.

Types

type Build

type Build struct {
	ID              string
	AppName         string
	Status          string
	CreatedAt       time.Time
	WallClockTimeMs int64
}

type Client

type Client struct {
	CurrentUser *fly.User
	// contains filtered or unexported fields
}

func NewClient

func NewClient(s *Server) *Client

func (*Client) AddAllowedReplaySourceOrgs added in v0.3.234

func (m *Client) AddAllowedReplaySourceOrgs(ctx context.Context, orgSlug string, sourceOrgSlugs []string) (*fly.Organization, error)

func (*Client) AllocateEgressIPAddress added in v0.3.8

func (m *Client) AllocateEgressIPAddress(ctx context.Context, appName string, machineId string) (net.IP, net.IP, error)

func (*Client) AppNameAvailable

func (m *Client) AppNameAvailable(ctx context.Context, appName string) (bool, error)

func (*Client) AttachPostgresCluster

func (m *Client) AttachPostgresCluster(ctx context.Context, input fly.AttachPostgresClusterInput) (*fly.AttachPostgresClusterPayload, error)

func (*Client) Authenticated

func (m *Client) Authenticated() bool

func (*Client) CanPerformBluegreenDeployment

func (m *Client) CanPerformBluegreenDeployment(ctx context.Context, appName string) (bool, error)

func (*Client) ClosestWireguardGatewayRegion

func (m *Client) ClosestWireguardGatewayRegion(ctx context.Context) (*fly.Region, error)

func (*Client) CreateDoctorUrl

func (m *Client) CreateDoctorUrl(ctx context.Context) (putUrl string, err error)

func (*Client) CreateOrganization

func (m *Client) CreateOrganization(ctx context.Context, organizationname string) (*fly.Organization, error)

func (*Client) CreateOrganizationInvite

func (m *Client) CreateOrganizationInvite(ctx context.Context, id, email string) (*fly.Invitation, error)

func (*Client) CreateWireGuardPeer

func (m *Client) CreateWireGuardPeer(ctx context.Context, orgID string, region, name, pubkey, network string) (*fly.CreatedWireGuardPeer, error)

func (*Client) DeleteOrganization

func (m *Client) DeleteOrganization(ctx context.Context, id string) (deletedid string, err error)

func (*Client) DeleteOrganizationMembership

func (m *Client) DeleteOrganizationMembership(ctx context.Context, orgId, userId string) (string, string, error)

func (*Client) DetachPostgresCluster

func (m *Client) DetachPostgresCluster(ctx context.Context, input fly.DetachPostgresClusterInput) error

func (*Client) EnablePostgresConsul

func (m *Client) EnablePostgresConsul(ctx context.Context, appName string) (*fly.PostgresEnableConsulPayload, error)

func (*Client) FinishBuild

func (m *Client) FinishBuild(ctx context.Context, input fly.FinishBuildInput) (*fly.FinishBuildResponse, error)

func (*Client) GenqClient

func (m *Client) GenqClient() genq.Client

func (*Client) GetAllowAllCrossNetworkReplays added in v0.4.45

func (m *Client) GetAllowAllCrossNetworkReplays(ctx context.Context, slug string) (bool, error)

func (*Client) GetAllowedReplaySourceOrgSlugs added in v0.3.234

func (m *Client) GetAllowedReplaySourceOrgSlugs(ctx context.Context, slug string) ([]string, error)

func (*Client) GetApp

func (m *Client) GetApp(ctx context.Context, appName string) (*fly.App, error)

func (*Client) GetAppCompact

func (m *Client) GetAppCompact(ctx context.Context, appName string) (*fly.AppCompact, error)

func (*Client) GetAppHostIssues

func (m *Client) GetAppHostIssues(ctx context.Context, appName string) ([]fly.HostIssue, error)

func (*Client) GetAppLimitedAccessTokens

func (m *Client) GetAppLimitedAccessTokens(ctx context.Context, appName string) ([]fly.LimitedAccessToken, error)

func (*Client) GetAppLogs

func (m *Client) GetAppLogs(ctx context.Context, appName, token, region, instanceID string) (entries []fly.LogEntry, nextToken string, err error)

func (*Client) GetAppNameFromVolume

func (m *Client) GetAppNameFromVolume(ctx context.Context, volID string) (*string, error)

func (*Client) GetAppReleasesMachines

func (m *Client) GetAppReleasesMachines(ctx context.Context, appName, status string, limit int) ([]fly.Release, error)

func (*Client) GetAppSecrets

func (m *Client) GetAppSecrets(ctx context.Context, appName string) ([]fly.Secret, error)

func (*Client) GetApps

func (m *Client) GetApps(ctx context.Context, role *string) ([]fly.App, error)

func (*Client) GetCurrentUser

func (m *Client) GetCurrentUser(ctx context.Context) (*fly.User, error)

func (*Client) GetDetailedOrganizationBySlug

func (m *Client) GetDetailedOrganizationBySlug(ctx context.Context, slug string) (*fly.OrganizationDetails, error)

func (*Client) GetEgressIPAddresses added in v0.3.8

func (m *Client) GetEgressIPAddresses(ctx context.Context, appName string) (map[string][]fly.EgressIPAddress, error)

func (*Client) GetLatestImageDetails

func (m *Client) GetLatestImageDetails(ctx context.Context, image string, flyVersion string) (*fly.ImageVersion, error)

func (*Client) GetLatestImageTag

func (m *Client) GetLatestImageTag(ctx context.Context, repository string, snapshotId *string) (string, error)

func (*Client) GetLoggedCertificates

func (m *Client) GetLoggedCertificates(ctx context.Context, slug string) ([]fly.LoggedCertificate, error)

func (*Client) GetMachine

func (m *Client) GetMachine(ctx context.Context, machineId string) (*fly.GqlMachine, error)

func (*Client) GetOrgLimitedAccessTokens added in v0.4.41

func (m *Client) GetOrgLimitedAccessTokens(ctx context.Context, orgSlug string) ([]fly.LimitedAccessToken, error)

func (*Client) GetOrganizations

func (m *Client) GetOrganizations(ctx context.Context, filters ...fly.OrganizationFilter) ([]fly.Organization, error)

func (*Client) GetWireGuardPeers

func (m *Client) GetWireGuardPeers(ctx context.Context, slug string) ([]*fly.WireGuardPeer, error)

func (*Client) IssueSSHCertificate

func (m *Client) IssueSSHCertificate(ctx context.Context, orgID string, principals []string, appNames []string, valid_hours *int, publicKey ed25519.PublicKey) (*fly.IssuedCertificate, error)

func (*Client) ListPostgresClusterAttachments

func (m *Client) ListPostgresClusterAttachments(ctx context.Context, appName, postgresAppName string) ([]*fly.PostgresClusterAttachment, error)

func (*Client) Logger

func (m *Client) Logger() fly.Logger

func (*Client) MoveApp

func (m *Client) MoveApp(ctx context.Context, appName string, orgID string) (*fly.App, error)

func (*Client) NewRequest

func (m *Client) NewRequest(q string) *graphql.Request

func (*Client) PlatformRegions

func (m *Client) PlatformRegions(ctx context.Context) ([]fly.Region, *fly.Region, error)

func (*Client) ReleaseEgressIPAddress added in v0.3.15

func (m *Client) ReleaseEgressIPAddress(ctx context.Context, appName string, machineID string) (net.IP, net.IP, error)

func (*Client) RemoveAllowedReplaySourceOrgs added in v0.3.234

func (m *Client) RemoveAllowedReplaySourceOrgs(ctx context.Context, orgSlug string, orgSlugsToRemove []string) (*fly.Organization, error)

func (*Client) RemoveWireGuardPeer

func (m *Client) RemoveWireGuardPeer(ctx context.Context, orgID string, name string) error

func (*Client) ResolveImageForApp

func (m *Client) ResolveImageForApp(ctx context.Context, appName, imageRef string) (*fly.Image, error)

func (*Client) RevokeLimitedAccessToken

func (m *Client) RevokeLimitedAccessToken(ctx context.Context, id string) error

func (*Client) Run

func (m *Client) Run(req *graphql.Request) (fly.Query, error)

func (*Client) RunWithContext

func (m *Client) RunWithContext(ctx context.Context, req *graphql.Request) (fly.Query, error)

func (*Client) SetAllowAllCrossNetworkReplays added in v0.4.45

func (m *Client) SetAllowAllCrossNetworkReplays(ctx context.Context, orgSlug string, allow bool) (*fly.Organization, error)

func (*Client) SetGenqClient

func (m *Client) SetGenqClient(client genq.Client)

func (*Client) SetSecrets

func (m *Client) SetSecrets(ctx context.Context, appName string, secrets map[string]string) (*fly.Release, error)

func (*Client) UnsetSecrets

func (m *Client) UnsetSecrets(ctx context.Context, appName string, keys []string) (*fly.Release, error)

func (*Client) ValidateWireGuardPeers

func (m *Client) ValidateWireGuardPeers(ctx context.Context, peerIPs []string) (invalid []string, err error)

type FlapsClient

type FlapsClient struct {
	// contains filtered or unexported fields
}

func NewFlapsClient

func NewFlapsClient(server *Server, appName string) *FlapsClient

func (*FlapsClient) AcquireLease

func (m *FlapsClient) AcquireLease(ctx context.Context, appName, machineID string, ttl *int) (*fly.MachineLease, error)

func (*FlapsClient) AppNameAvailable added in v0.3.214

func (m *FlapsClient) AppNameAvailable(ctx context.Context, name string) (bool, error)

func (*FlapsClient) AssignIP added in v0.3.214

func (m *FlapsClient) AssignIP(ctx context.Context, appName string, req flaps.AssignIPRequest) (res *flaps.AssignIPResponse, err error)

func (*FlapsClient) CheckCertificate added in v0.4.11

func (m *FlapsClient) CheckCertificate(ctx context.Context, appName, hostname string) (*fly.CertificateDetailResponse, error)

func (*FlapsClient) Cordon

func (m *FlapsClient) Cordon(ctx context.Context, appName, machineID string, nonce string) (err error)

func (*FlapsClient) CreateACMECertificate added in v0.4.11

func (m *FlapsClient) CreateACMECertificate(ctx context.Context, appName string, req fly.CreateCertificateRequest) (*fly.CertificateDetailResponse, error)

func (*FlapsClient) CreateApp

func (m *FlapsClient) CreateApp(ctx context.Context, req flaps.CreateAppRequest) (*flaps.App, error)

func (*FlapsClient) CreateCustomCertificate added in v0.4.11

func (m *FlapsClient) CreateCustomCertificate(ctx context.Context, appName string, req fly.ImportCertificateRequest) (*fly.CertificateDetailResponse, error)

func (*FlapsClient) CreateManagedPostgresAttachment added in v0.4.98

func (*FlapsClient) CreateManagedPostgresBackup added in v0.4.96

func (m *FlapsClient) CreateManagedPostgresBackup(ctx context.Context, id string, req flaps.CreateManagedPostgresBackupRequest) error

func (*FlapsClient) CreateManagedPostgresCluster added in v0.4.84

func (*FlapsClient) CreateManagedPostgresDatabase added in v0.4.95

func (*FlapsClient) CreateManagedPostgresUser added in v0.4.97

func (*FlapsClient) CreateVolume

func (m *FlapsClient) CreateVolume(ctx context.Context, appName string, req fly.CreateVolumeRequest) (*fly.Volume, error)

func (*FlapsClient) CreateVolumeSnapshot

func (m *FlapsClient) CreateVolumeSnapshot(ctx context.Context, appName, volumeId string) error

func (*FlapsClient) DeleteACMECertificate added in v0.4.11

func (m *FlapsClient) DeleteACMECertificate(ctx context.Context, appName, hostname string) error

func (*FlapsClient) DeleteApp added in v0.3.214

func (m *FlapsClient) DeleteApp(ctx context.Context, name string) error

func (*FlapsClient) DeleteAppSecret added in v0.3.133

func (m *FlapsClient) DeleteAppSecret(ctx context.Context, appName, name string) (*fly.DeleteAppSecretResp, error)

func (*FlapsClient) DeleteCertificate added in v0.4.11

func (m *FlapsClient) DeleteCertificate(ctx context.Context, appName, hostname string) error

func (*FlapsClient) DeleteCustomCertificate added in v0.4.11

func (m *FlapsClient) DeleteCustomCertificate(ctx context.Context, appName, hostname string) error

func (*FlapsClient) DeleteIPAssignment added in v0.3.214

func (m *FlapsClient) DeleteIPAssignment(ctx context.Context, appName, ip string) (err error)

func (*FlapsClient) DeleteManagedPostgresAttachment added in v0.4.97

func (m *FlapsClient) DeleteManagedPostgresAttachment(ctx context.Context, id, appName string) error

func (*FlapsClient) DeleteManagedPostgresCluster added in v0.4.93

func (m *FlapsClient) DeleteManagedPostgresCluster(ctx context.Context, id string) error

func (*FlapsClient) DeleteManagedPostgresUser added in v0.4.97

func (m *FlapsClient) DeleteManagedPostgresUser(ctx context.Context, id, username string) error

func (*FlapsClient) DeleteMetadata

func (m *FlapsClient) DeleteMetadata(ctx context.Context, appName, machineID, key string) error

func (*FlapsClient) DeleteSecretKey added in v0.3.133

func (m *FlapsClient) DeleteSecretKey(ctx context.Context, appName, name string) error

func (*FlapsClient) DeleteVolume

func (m *FlapsClient) DeleteVolume(ctx context.Context, appName, volumeId string) (*fly.Volume, error)

func (*FlapsClient) Destroy

func (m *FlapsClient) Destroy(ctx context.Context, appName string, input fly.RemoveMachineInput, nonce string) (err error)

func (*FlapsClient) DisableManagedPostgresExtension added in v0.4.97

func (m *FlapsClient) DisableManagedPostgresExtension(ctx context.Context, id, database, name string, force bool) error

func (*FlapsClient) EnableManagedPostgresExtension added in v0.4.97

func (m *FlapsClient) EnableManagedPostgresExtension(ctx context.Context, id, database string, req flaps.EnableManagedPostgresExtensionRequest) error

func (*FlapsClient) Exec

func (m *FlapsClient) Exec(ctx context.Context, appName, machineID string, in *fly.MachineExecRequest) (*fly.MachineExecResponse, error)

func (*FlapsClient) ExtendVolume

func (m *FlapsClient) ExtendVolume(ctx context.Context, appName, volumeId string, size_gb int) (*fly.Volume, bool, error)

func (*FlapsClient) FindLease

func (m *FlapsClient) FindLease(ctx context.Context, appName, machineID string) (*fly.MachineLease, error)

func (*FlapsClient) ForkManagedPostgresCluster added in v0.4.119

func (*FlapsClient) GenerateSecretKey added in v0.3.133

func (m *FlapsClient) GenerateSecretKey(ctx context.Context, appName, name string, typ string) (*fly.SetSecretKeyResp, error)

func (*FlapsClient) Get

func (m *FlapsClient) Get(ctx context.Context, appName, machineID string) (*fly.Machine, error)

func (*FlapsClient) GetAllVolumes

func (m *FlapsClient) GetAllVolumes(ctx context.Context, appName string) ([]fly.Volume, error)

func (*FlapsClient) GetApp added in v0.3.214

func (m *FlapsClient) GetApp(ctx context.Context, name string) (*flaps.App, error)

func (*FlapsClient) GetCertificate added in v0.4.11

func (m *FlapsClient) GetCertificate(ctx context.Context, appName, hostname string) (*fly.CertificateDetailResponse, error)

func (*FlapsClient) GetIPAssignments added in v0.3.214

func (m *FlapsClient) GetIPAssignments(ctx context.Context, appName string) (res *flaps.ListIPAssignmentsResponse, err error)

func (*FlapsClient) GetManagedPostgresCluster added in v0.4.84

func (m *FlapsClient) GetManagedPostgresCluster(ctx context.Context, id string) (flaps.ManagedPostgresCluster, error)

func (*FlapsClient) GetManagedPostgresUserCredentials added in v0.4.84

func (m *FlapsClient) GetManagedPostgresUserCredentials(ctx context.Context, id, username string) (flaps.ManagedPostgresUserCredentials, error)

func (*FlapsClient) GetMany

func (m *FlapsClient) GetMany(ctx context.Context, appName string, machineIDs []string) ([]*fly.Machine, error)

func (*FlapsClient) GetMetadata

func (m *FlapsClient) GetMetadata(ctx context.Context, appName, machineID string) (map[string]string, error)

func (*FlapsClient) GetPlacements added in v0.3.224

func (*FlapsClient) GetProcesses

func (m *FlapsClient) GetProcesses(ctx context.Context, appName, machineID string) (fly.MachinePsResponse, error)

func (*FlapsClient) GetRegions added in v0.3.214

func (m *FlapsClient) GetRegions(ctx context.Context) (*flaps.RegionData, error)

func (*FlapsClient) GetVolume

func (m *FlapsClient) GetVolume(ctx context.Context, appName, volumeId string) (*fly.Volume, error)

func (*FlapsClient) GetVolumeSnapshots

func (m *FlapsClient) GetVolumeSnapshots(ctx context.Context, appName, volumeId string) ([]fly.VolumeSnapshot, error)

func (*FlapsClient) GetVolumes

func (m *FlapsClient) GetVolumes(ctx context.Context, appName string) ([]fly.Volume, error)

func (*FlapsClient) Kill

func (m *FlapsClient) Kill(ctx context.Context, appName, machineID string) (err error)

func (*FlapsClient) Launch

func (m *FlapsClient) Launch(ctx context.Context, appName string, builder fly.LaunchMachineInput) (out *fly.Machine, err error)

func (*FlapsClient) List

func (m *FlapsClient) List(ctx context.Context, appName, state string) ([]*fly.Machine, error)

func (*FlapsClient) ListActive

func (m *FlapsClient) ListActive(ctx context.Context, appName string) ([]*fly.Machine, error)

func (*FlapsClient) ListAppSecrets added in v0.3.133

func (m *FlapsClient) ListAppSecrets(ctx context.Context, appName string, version *uint64, showSecrets bool) ([]fly.AppSecret, error)

func (*FlapsClient) ListApps added in v0.3.214

func (m *FlapsClient) ListApps(ctx context.Context, req flaps.ListAppsRequest) ([]flaps.App, error)

func (*FlapsClient) ListCertificates added in v0.4.11

func (m *FlapsClient) ListCertificates(ctx context.Context, appName string, opts *flaps.ListCertificatesOpts) (*fly.ListCertificatesResponse, error)

func (*FlapsClient) ListFlyAppsMachines

func (m *FlapsClient) ListFlyAppsMachines(ctx context.Context, appName string) (machines []*fly.Machine, releaseCmdMachine *fly.Machine, err error)

func (*FlapsClient) ListManagedPostgresBackups added in v0.4.96

func (m *FlapsClient) ListManagedPostgresBackups(ctx context.Context, id string) ([]flaps.ManagedPostgresBackup, error)

func (*FlapsClient) ListManagedPostgresClusters added in v0.4.93

func (*FlapsClient) ListManagedPostgresDatabases added in v0.4.95

func (m *FlapsClient) ListManagedPostgresDatabases(ctx context.Context, id string) ([]flaps.ManagedPostgresDatabase, error)

func (*FlapsClient) ListManagedPostgresExtensions added in v0.4.97

func (m *FlapsClient) ListManagedPostgresExtensions(ctx context.Context, id, database string) ([]flaps.ManagedPostgresExtension, error)

func (*FlapsClient) ListManagedPostgresPlans added in v0.4.119

func (m *FlapsClient) ListManagedPostgresPlans(ctx context.Context, orgSlug string) ([]flaps.ManagedPostgresPlan, error)

func (*FlapsClient) ListManagedPostgresUsers added in v0.4.97

func (m *FlapsClient) ListManagedPostgresUsers(ctx context.Context, id string) ([]flaps.ManagedPostgresUser, error)

func (*FlapsClient) ListSecretKeys added in v0.3.133

func (m *FlapsClient) ListSecretKeys(ctx context.Context, appName string, version *uint64) ([]fly.SecretKey, error)

func (*FlapsClient) NewRequest

func (m *FlapsClient) NewRequest(ctx context.Context, method, path string, in any, headers map[string][]string) (*http.Request, error)

func (*FlapsClient) RefreshLease

func (m *FlapsClient) RefreshLease(ctx context.Context, appName, machineID string, ttl *int, nonce string) (*fly.MachineLease, error)

func (*FlapsClient) ReleaseLease

func (m *FlapsClient) ReleaseLease(ctx context.Context, appName, machineID, nonce string) error

func (*FlapsClient) Restart

func (m *FlapsClient) Restart(ctx context.Context, appName string, in fly.RestartMachineInput, nonce string) (err error)

func (*FlapsClient) RestoreManagedPostgresCluster added in v0.4.96

func (*FlapsClient) RotateManagedPostgresUserPassword added in v0.4.113

func (m *FlapsClient) RotateManagedPostgresUserPassword(ctx context.Context, id, username string, req flaps.RotateManagedPostgresUserPasswordRequest) (flaps.ManagedPostgresUserCredentials, error)

func (*FlapsClient) SetAppSecret added in v0.3.133

func (m *FlapsClient) SetAppSecret(ctx context.Context, appName, name string, value string) (*fly.SetAppSecretResp, error)

func (*FlapsClient) SetMetadata

func (m *FlapsClient) SetMetadata(ctx context.Context, appName, machineID, key, value string) error

func (*FlapsClient) SetSecretKey added in v0.3.133

func (m *FlapsClient) SetSecretKey(ctx context.Context, appName, name string, typ string, value []byte) (*fly.SetSecretKeyResp, error)

func (*FlapsClient) Start

func (m *FlapsClient) Start(ctx context.Context, appName, machineID string, nonce string) (out *fly.MachineStartResponse, err error)

func (*FlapsClient) Stop

func (m *FlapsClient) Stop(ctx context.Context, appName string, in fly.StopMachineInput, nonce string) (err error)

func (*FlapsClient) Suspend added in v0.2.71

func (m *FlapsClient) Suspend(ctx context.Context, appName, machineID, nonce string) error

func (*FlapsClient) Uncordon

func (m *FlapsClient) Uncordon(ctx context.Context, appName, machineID string, nonce string) (err error)

func (*FlapsClient) Update

func (m *FlapsClient) Update(ctx context.Context, appName string, builder fly.LaunchMachineInput, nonce string) (out *fly.Machine, err error)

func (*FlapsClient) UpdateAppSecrets added in v0.3.178

func (m *FlapsClient) UpdateAppSecrets(ctx context.Context, appName string, values map[string]*string) (*fly.UpdateAppSecretsResp, error)

func (*FlapsClient) UpdateManagedPostgresUserRole added in v0.4.97

func (m *FlapsClient) UpdateManagedPostgresUserRole(ctx context.Context, id, username string, req flaps.UpdateManagedPostgresUserRoleRequest) error

func (*FlapsClient) UpdateVolume

func (m *FlapsClient) UpdateVolume(ctx context.Context, appName, volumeId string, req fly.UpdateVolumeRequest) (*fly.Volume, error)

func (*FlapsClient) Wait

func (m *FlapsClient) Wait(ctx context.Context, appName string, machineID string, waitOpts ...flaps.WaitOption) (err error)

func (*FlapsClient) WaitForApp

func (m *FlapsClient) WaitForApp(ctx context.Context, name string) error

type Release

type Release struct {
	ID               string
	AppID            string
	ClientMutationID string
	Definition       any
	Image            string
	PlatformVersion  string
	Status           string
	Strategy         string
	Version          int
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) Client

func (s *Server) Client() *Client

func (*Server) CreateApp

func (s *Server) CreateApp(app *fly.App)

func (*Server) CreateBuild

func (s *Server) CreateBuild(ctx context.Context, appName string) (*Build, error)

func (*Server) CreateImage

func (s *Server) CreateImage(ctx context.Context, appName, imageRef string, image *fly.Image) error

func (*Server) CreateRelease

func (s *Server) CreateRelease(ctx context.Context, appID, clientMutationID, image, platformVersion, strategy string) (*Release, error)

func (*Server) FinishBuild

func (s *Server) FinishBuild(ctx context.Context, id, status string) (*Build, error)

func (*Server) FlapsClient

func (s *Server) FlapsClient(appName string) *FlapsClient

func (*Server) GetMachine

func (s *Server) GetMachine(ctx context.Context, appName, machineID string) (*fly.Machine, error)

func (*Server) Launch

func (s *Server) Launch(ctx context.Context, appName, name, region string, config *fly.MachineConfig) (*fly.Machine, error)

func (*Server) UpdateRelease

func (s *Server) UpdateRelease(ctx context.Context, id, clientMutationID, status string) error

Jump to

Keyboard shortcuts

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