Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiAppsCreateRequest
- type ApiAppsDeleteRequest
- type ApiAppsListRequest
- type ApiAppsShowRequest
- type ApiCreateVolumeSnapshotRequest
- type ApiMachinesCordonRequest
- type ApiMachinesCreateLeaseRequest
- func (r ApiMachinesCreateLeaseRequest) Execute() (*Lease, *http.Response, error)
- func (r ApiMachinesCreateLeaseRequest) FlyMachineLeaseNonce(flyMachineLeaseNonce string) ApiMachinesCreateLeaseRequest
- func (r ApiMachinesCreateLeaseRequest) Request(request CreateLeaseRequest) ApiMachinesCreateLeaseRequest
- type ApiMachinesCreateRequest
- type ApiMachinesDeleteMetadataRequest
- type ApiMachinesDeleteRequest
- type ApiMachinesExecRequest
- type ApiMachinesListEventsRequest
- type ApiMachinesListProcessesRequest
- type ApiMachinesListRequest
- func (r ApiMachinesListRequest) Execute() ([]Machine, *http.Response, error)
- func (r ApiMachinesListRequest) IncludeDeleted(includeDeleted bool) ApiMachinesListRequest
- func (r ApiMachinesListRequest) Region(region string) ApiMachinesListRequest
- func (r ApiMachinesListRequest) State(state string) ApiMachinesListRequest
- func (r ApiMachinesListRequest) Summary(summary bool) ApiMachinesListRequest
- type ApiMachinesListVersionsRequest
- type ApiMachinesReleaseLeaseRequest
- type ApiMachinesRestartRequest
- type ApiMachinesShowLeaseRequest
- type ApiMachinesShowMetadataRequest
- type ApiMachinesShowRequest
- type ApiMachinesSignalRequest
- type ApiMachinesStartRequest
- type ApiMachinesStopRequest
- type ApiMachinesSuspendRequest
- type ApiMachinesUncordonRequest
- type ApiMachinesUpdateMetadataRequest
- type ApiMachinesUpdateRequest
- type ApiMachinesWaitRequest
- func (r ApiMachinesWaitRequest) Execute() (*http.Response, error)
- func (r ApiMachinesWaitRequest) InstanceId(instanceId string) ApiMachinesWaitRequest
- func (r ApiMachinesWaitRequest) State(state string) ApiMachinesWaitRequest
- func (r ApiMachinesWaitRequest) Timeout(timeout int64) ApiMachinesWaitRequest
- type ApiPlatformPlacementsPostRequest
- type ApiPlatformRegionsGetRequest
- func (r ApiPlatformRegionsGetRequest) CpuKind(cpuKind string) ApiPlatformRegionsGetRequest
- func (r ApiPlatformRegionsGetRequest) Cpus(cpus int64) ApiPlatformRegionsGetRequest
- func (r ApiPlatformRegionsGetRequest) Execute() (*MainRegionResponse, *http.Response, error)
- func (r ApiPlatformRegionsGetRequest) GpuKind(gpuKind string) ApiPlatformRegionsGetRequest
- func (r ApiPlatformRegionsGetRequest) Gpus(gpus int64) ApiPlatformRegionsGetRequest
- func (r ApiPlatformRegionsGetRequest) MemoryMb(memoryMb int64) ApiPlatformRegionsGetRequest
- func (r ApiPlatformRegionsGetRequest) Size(size string) ApiPlatformRegionsGetRequest
- type ApiSecretCreateRequest
- type ApiSecretDeleteRequest
- type ApiSecretGetRequest
- type ApiSecretkeyDecryptRequest
- type ApiSecretkeyDeleteRequest
- type ApiSecretkeyEncryptRequest
- type ApiSecretkeyGenerateRequest
- type ApiSecretkeyGetRequest
- type ApiSecretkeySetRequest
- type ApiSecretkeySignRequest
- type ApiSecretkeyVerifyRequest
- type ApiSecretkeysListRequest
- type ApiSecretsListRequest
- type ApiTokensRequestKmsRequest
- type ApiTokensRequestOIDCRequest
- type ApiVolumeDeleteRequest
- type ApiVolumesCreateRequest
- type ApiVolumesExtendRequest
- type ApiVolumesGetByIdRequest
- type ApiVolumesListRequest
- type ApiVolumesListSnapshotsRequest
- type ApiVolumesUpdateRequest
- type App
- func (o *App) GetId() string
- func (o *App) GetIdOk() (*string, bool)
- func (o *App) GetName() string
- func (o *App) GetNameOk() (*string, bool)
- func (o *App) GetOrganization() Organization
- func (o *App) GetOrganizationOk() (*Organization, bool)
- func (o *App) GetStatus() string
- func (o *App) GetStatusOk() (*string, bool)
- func (o *App) HasId() bool
- func (o *App) HasName() bool
- func (o *App) HasOrganization() bool
- func (o *App) HasStatus() bool
- func (o App) MarshalJSON() ([]byte, error)
- func (o *App) SetId(v string)
- func (o *App) SetName(v string)
- func (o *App) SetOrganization(v Organization)
- func (o *App) SetStatus(v string)
- func (o App) ToMap() (map[string]interface{}, error)
- type AppSecret
- func (o *AppSecret) GetDigest() string
- func (o *AppSecret) GetDigestOk() (*string, bool)
- func (o *AppSecret) GetName() string
- func (o *AppSecret) GetNameOk() (*string, bool)
- func (o *AppSecret) GetValue() string
- func (o *AppSecret) GetValueOk() (*string, bool)
- func (o *AppSecret) HasDigest() bool
- func (o *AppSecret) HasName() bool
- func (o *AppSecret) HasValue() bool
- func (o AppSecret) MarshalJSON() ([]byte, error)
- func (o *AppSecret) SetDigest(v string)
- func (o *AppSecret) SetName(v string)
- func (o *AppSecret) SetValue(v string)
- func (o AppSecret) ToMap() (map[string]interface{}, error)
- type AppSecrets
- type AppsAPIService
- func (a *AppsAPIService) AppsCreate(ctx context.Context) ApiAppsCreateRequest
- func (a *AppsAPIService) AppsCreateExecute(r ApiAppsCreateRequest) (*http.Response, error)
- func (a *AppsAPIService) AppsDelete(ctx context.Context, appName string) ApiAppsDeleteRequest
- func (a *AppsAPIService) AppsDeleteExecute(r ApiAppsDeleteRequest) (*http.Response, error)
- func (a *AppsAPIService) AppsList(ctx context.Context) ApiAppsListRequest
- func (a *AppsAPIService) AppsListExecute(r ApiAppsListRequest) (*ListAppsResponse, *http.Response, error)
- func (a *AppsAPIService) AppsShow(ctx context.Context, appName string) ApiAppsShowRequest
- func (a *AppsAPIService) AppsShowExecute(r ApiAppsShowRequest) (*App, *http.Response, error)
- type BasicAuth
- type CheckStatus
- func (o *CheckStatus) GetName() string
- func (o *CheckStatus) GetNameOk() (*string, bool)
- func (o *CheckStatus) GetOutput() string
- func (o *CheckStatus) GetOutputOk() (*string, bool)
- func (o *CheckStatus) GetStatus() string
- func (o *CheckStatus) GetStatusOk() (*string, bool)
- func (o *CheckStatus) GetUpdatedAt() string
- func (o *CheckStatus) GetUpdatedAtOk() (*string, bool)
- func (o *CheckStatus) HasName() bool
- func (o *CheckStatus) HasOutput() bool
- func (o *CheckStatus) HasStatus() bool
- func (o *CheckStatus) HasUpdatedAt() bool
- func (o CheckStatus) MarshalJSON() ([]byte, error)
- func (o *CheckStatus) SetName(v string)
- func (o *CheckStatus) SetOutput(v string)
- func (o *CheckStatus) SetStatus(v string)
- func (o *CheckStatus) SetUpdatedAt(v string)
- func (o CheckStatus) ToMap() (map[string]interface{}, error)
- type Configuration
- type CreateAppRequest
- func (o *CreateAppRequest) GetAppName() string
- func (o *CreateAppRequest) GetAppNameOk() (*string, bool)
- func (o *CreateAppRequest) GetEnableSubdomains() bool
- func (o *CreateAppRequest) GetEnableSubdomainsOk() (*bool, bool)
- func (o *CreateAppRequest) GetNetwork() string
- func (o *CreateAppRequest) GetNetworkOk() (*string, bool)
- func (o *CreateAppRequest) GetOrgSlug() string
- func (o *CreateAppRequest) GetOrgSlugOk() (*string, bool)
- func (o *CreateAppRequest) HasAppName() bool
- func (o *CreateAppRequest) HasEnableSubdomains() bool
- func (o *CreateAppRequest) HasNetwork() bool
- func (o *CreateAppRequest) HasOrgSlug() bool
- func (o CreateAppRequest) MarshalJSON() ([]byte, error)
- func (o *CreateAppRequest) SetAppName(v string)
- func (o *CreateAppRequest) SetEnableSubdomains(v bool)
- func (o *CreateAppRequest) SetNetwork(v string)
- func (o *CreateAppRequest) SetOrgSlug(v string)
- func (o CreateAppRequest) ToMap() (map[string]interface{}, error)
- type CreateLeaseRequest
- func (o *CreateLeaseRequest) GetDescription() string
- func (o *CreateLeaseRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateLeaseRequest) GetTtl() int64
- func (o *CreateLeaseRequest) GetTtlOk() (*int64, bool)
- func (o *CreateLeaseRequest) HasDescription() bool
- func (o *CreateLeaseRequest) HasTtl() bool
- func (o CreateLeaseRequest) MarshalJSON() ([]byte, error)
- func (o *CreateLeaseRequest) SetDescription(v string)
- func (o *CreateLeaseRequest) SetTtl(v int64)
- func (o CreateLeaseRequest) ToMap() (map[string]interface{}, error)
- type CreateMachineRequest
- func (o *CreateMachineRequest) GetConfig() FlyMachineConfig
- func (o *CreateMachineRequest) GetConfigOk() (*FlyMachineConfig, bool)
- func (o *CreateMachineRequest) GetLeaseTtl() int64
- func (o *CreateMachineRequest) GetLeaseTtlOk() (*int64, bool)
- func (o *CreateMachineRequest) GetLsvd() bool
- func (o *CreateMachineRequest) GetLsvdOk() (*bool, bool)
- func (o *CreateMachineRequest) GetName() string
- func (o *CreateMachineRequest) GetNameOk() (*string, bool)
- func (o *CreateMachineRequest) GetRegion() string
- func (o *CreateMachineRequest) GetRegionOk() (*string, bool)
- func (o *CreateMachineRequest) GetSkipLaunch() bool
- func (o *CreateMachineRequest) GetSkipLaunchOk() (*bool, bool)
- func (o *CreateMachineRequest) GetSkipSecrets() bool
- func (o *CreateMachineRequest) GetSkipSecretsOk() (*bool, bool)
- func (o *CreateMachineRequest) GetSkipServiceRegistration() bool
- func (o *CreateMachineRequest) GetSkipServiceRegistrationOk() (*bool, bool)
- func (o *CreateMachineRequest) HasConfig() bool
- func (o *CreateMachineRequest) HasLeaseTtl() bool
- func (o *CreateMachineRequest) HasLsvd() bool
- func (o *CreateMachineRequest) HasName() bool
- func (o *CreateMachineRequest) HasRegion() bool
- func (o *CreateMachineRequest) HasSkipLaunch() bool
- func (o *CreateMachineRequest) HasSkipSecrets() bool
- func (o *CreateMachineRequest) HasSkipServiceRegistration() bool
- func (o CreateMachineRequest) MarshalJSON() ([]byte, error)
- func (o *CreateMachineRequest) SetConfig(v FlyMachineConfig)
- func (o *CreateMachineRequest) SetLeaseTtl(v int64)
- func (o *CreateMachineRequest) SetLsvd(v bool)
- func (o *CreateMachineRequest) SetName(v string)
- func (o *CreateMachineRequest) SetRegion(v string)
- func (o *CreateMachineRequest) SetSkipLaunch(v bool)
- func (o *CreateMachineRequest) SetSkipSecrets(v bool)
- func (o *CreateMachineRequest) SetSkipServiceRegistration(v bool)
- func (o CreateMachineRequest) ToMap() (map[string]interface{}, error)
- type CreateOIDCTokenRequest
- func (o *CreateOIDCTokenRequest) GetAud() string
- func (o *CreateOIDCTokenRequest) GetAudOk() (*string, bool)
- func (o *CreateOIDCTokenRequest) GetAwsPrincipalTags() bool
- func (o *CreateOIDCTokenRequest) GetAwsPrincipalTagsOk() (*bool, bool)
- func (o *CreateOIDCTokenRequest) HasAud() bool
- func (o *CreateOIDCTokenRequest) HasAwsPrincipalTags() bool
- func (o CreateOIDCTokenRequest) MarshalJSON() ([]byte, error)
- func (o *CreateOIDCTokenRequest) SetAud(v string)
- func (o *CreateOIDCTokenRequest) SetAwsPrincipalTags(v bool)
- func (o CreateOIDCTokenRequest) ToMap() (map[string]interface{}, error)
- type CreateVolumeRequest
- func (o *CreateVolumeRequest) GetCompute() FlyMachineGuest
- func (o *CreateVolumeRequest) GetComputeImage() string
- func (o *CreateVolumeRequest) GetComputeImageOk() (*string, bool)
- func (o *CreateVolumeRequest) GetComputeOk() (*FlyMachineGuest, bool)
- func (o *CreateVolumeRequest) GetEncrypted() bool
- func (o *CreateVolumeRequest) GetEncryptedOk() (*bool, bool)
- func (o *CreateVolumeRequest) GetFstype() string
- func (o *CreateVolumeRequest) GetFstypeOk() (*string, bool)
- func (o *CreateVolumeRequest) GetName() string
- func (o *CreateVolumeRequest) GetNameOk() (*string, bool)
- func (o *CreateVolumeRequest) GetRegion() string
- func (o *CreateVolumeRequest) GetRegionOk() (*string, bool)
- func (o *CreateVolumeRequest) GetRequireUniqueZone() bool
- func (o *CreateVolumeRequest) GetRequireUniqueZoneOk() (*bool, bool)
- func (o *CreateVolumeRequest) GetSizeGb() int64
- func (o *CreateVolumeRequest) GetSizeGbOk() (*int64, bool)
- func (o *CreateVolumeRequest) GetSnapshotId() string
- func (o *CreateVolumeRequest) GetSnapshotIdOk() (*string, bool)
- func (o *CreateVolumeRequest) GetSnapshotRetention() int64
- func (o *CreateVolumeRequest) GetSnapshotRetentionOk() (*int64, bool)
- func (o *CreateVolumeRequest) GetSourceVolumeId() string
- func (o *CreateVolumeRequest) GetSourceVolumeIdOk() (*string, bool)
- func (o *CreateVolumeRequest) GetUniqueZoneAppWide() bool
- func (o *CreateVolumeRequest) GetUniqueZoneAppWideOk() (*bool, bool)
- func (o *CreateVolumeRequest) HasCompute() bool
- func (o *CreateVolumeRequest) HasComputeImage() bool
- func (o *CreateVolumeRequest) HasEncrypted() bool
- func (o *CreateVolumeRequest) HasFstype() bool
- func (o *CreateVolumeRequest) HasName() bool
- func (o *CreateVolumeRequest) HasRegion() bool
- func (o *CreateVolumeRequest) HasRequireUniqueZone() bool
- func (o *CreateVolumeRequest) HasSizeGb() bool
- func (o *CreateVolumeRequest) HasSnapshotId() bool
- func (o *CreateVolumeRequest) HasSnapshotRetention() bool
- func (o *CreateVolumeRequest) HasSourceVolumeId() bool
- func (o *CreateVolumeRequest) HasUniqueZoneAppWide() bool
- func (o CreateVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *CreateVolumeRequest) SetCompute(v FlyMachineGuest)
- func (o *CreateVolumeRequest) SetComputeImage(v string)
- func (o *CreateVolumeRequest) SetEncrypted(v bool)
- func (o *CreateVolumeRequest) SetFstype(v string)
- func (o *CreateVolumeRequest) SetName(v string)
- func (o *CreateVolumeRequest) SetRegion(v string)
- func (o *CreateVolumeRequest) SetRequireUniqueZone(v bool)
- func (o *CreateVolumeRequest) SetSizeGb(v int64)
- func (o *CreateVolumeRequest) SetSnapshotId(v string)
- func (o *CreateVolumeRequest) SetSnapshotRetention(v int64)
- func (o *CreateVolumeRequest) SetSourceVolumeId(v string)
- func (o *CreateVolumeRequest) SetUniqueZoneAppWide(v bool)
- func (o CreateVolumeRequest) ToMap() (map[string]interface{}, error)
- type DecryptSecretkeyRequest
- func (o *DecryptSecretkeyRequest) GetAssociatedData() []int64
- func (o *DecryptSecretkeyRequest) GetAssociatedDataOk() ([]int64, bool)
- func (o *DecryptSecretkeyRequest) GetCiphertext() []int64
- func (o *DecryptSecretkeyRequest) GetCiphertextOk() ([]int64, bool)
- func (o *DecryptSecretkeyRequest) HasAssociatedData() bool
- func (o *DecryptSecretkeyRequest) HasCiphertext() bool
- func (o DecryptSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (o *DecryptSecretkeyRequest) SetAssociatedData(v []int64)
- func (o *DecryptSecretkeyRequest) SetCiphertext(v []int64)
- func (o DecryptSecretkeyRequest) ToMap() (map[string]interface{}, error)
- type DecryptSecretkeyResponse
- func (o *DecryptSecretkeyResponse) GetPlaintext() []int64
- func (o *DecryptSecretkeyResponse) GetPlaintextOk() ([]int64, bool)
- func (o *DecryptSecretkeyResponse) HasPlaintext() bool
- func (o DecryptSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (o *DecryptSecretkeyResponse) SetPlaintext(v []int64)
- func (o DecryptSecretkeyResponse) ToMap() (map[string]interface{}, error)
- type EncryptSecretkeyRequest
- func (o *EncryptSecretkeyRequest) GetAssociatedData() []int64
- func (o *EncryptSecretkeyRequest) GetAssociatedDataOk() ([]int64, bool)
- func (o *EncryptSecretkeyRequest) GetPlaintext() []int64
- func (o *EncryptSecretkeyRequest) GetPlaintextOk() ([]int64, bool)
- func (o *EncryptSecretkeyRequest) HasAssociatedData() bool
- func (o *EncryptSecretkeyRequest) HasPlaintext() bool
- func (o EncryptSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (o *EncryptSecretkeyRequest) SetAssociatedData(v []int64)
- func (o *EncryptSecretkeyRequest) SetPlaintext(v []int64)
- func (o EncryptSecretkeyRequest) ToMap() (map[string]interface{}, error)
- type EncryptSecretkeyResponse
- func (o *EncryptSecretkeyResponse) GetCiphertext() []int64
- func (o *EncryptSecretkeyResponse) GetCiphertextOk() ([]int64, bool)
- func (o *EncryptSecretkeyResponse) HasCiphertext() bool
- func (o EncryptSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (o *EncryptSecretkeyResponse) SetCiphertext(v []int64)
- func (o EncryptSecretkeyResponse) ToMap() (map[string]interface{}, error)
- type ErrorResponse
- func (o *ErrorResponse) GetDetails() map[string]interface{}
- func (o *ErrorResponse) GetDetailsOk() (map[string]interface{}, bool)
- func (o *ErrorResponse) GetError() string
- func (o *ErrorResponse) GetErrorOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() MainStatusCode
- func (o *ErrorResponse) GetStatusOk() (*MainStatusCode, bool)
- func (o *ErrorResponse) HasDetails() bool
- func (o *ErrorResponse) HasError() bool
- func (o *ErrorResponse) HasStatus() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetDetails(v map[string]interface{})
- func (o *ErrorResponse) SetError(v string)
- func (o *ErrorResponse) SetStatus(v MainStatusCode)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type ExtendVolumeRequest
- func (o *ExtendVolumeRequest) GetSizeGb() int64
- func (o *ExtendVolumeRequest) GetSizeGbOk() (*int64, bool)
- func (o *ExtendVolumeRequest) HasSizeGb() bool
- func (o ExtendVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *ExtendVolumeRequest) SetSizeGb(v int64)
- func (o ExtendVolumeRequest) ToMap() (map[string]interface{}, error)
- type ExtendVolumeResponse
- func (o *ExtendVolumeResponse) GetNeedsRestart() bool
- func (o *ExtendVolumeResponse) GetNeedsRestartOk() (*bool, bool)
- func (o *ExtendVolumeResponse) GetVolume() Volume
- func (o *ExtendVolumeResponse) GetVolumeOk() (*Volume, bool)
- func (o *ExtendVolumeResponse) HasNeedsRestart() bool
- func (o *ExtendVolumeResponse) HasVolume() bool
- func (o ExtendVolumeResponse) MarshalJSON() ([]byte, error)
- func (o *ExtendVolumeResponse) SetNeedsRestart(v bool)
- func (o *ExtendVolumeResponse) SetVolume(v Volume)
- func (o ExtendVolumeResponse) ToMap() (map[string]interface{}, error)
- type FlyContainerConfig
- func (o *FlyContainerConfig) GetCmd() []string
- func (o *FlyContainerConfig) GetCmdOk() ([]string, bool)
- func (o *FlyContainerConfig) GetDependsOn() []FlyContainerDependency
- func (o *FlyContainerConfig) GetDependsOnOk() ([]FlyContainerDependency, bool)
- func (o *FlyContainerConfig) GetEntrypoint() []string
- func (o *FlyContainerConfig) GetEntrypointOk() ([]string, bool)
- func (o *FlyContainerConfig) GetEnv() map[string]string
- func (o *FlyContainerConfig) GetEnvFrom() []FlyEnvFrom
- func (o *FlyContainerConfig) GetEnvFromOk() ([]FlyEnvFrom, bool)
- func (o *FlyContainerConfig) GetEnvOk() (*map[string]string, bool)
- func (o *FlyContainerConfig) GetExec() []string
- func (o *FlyContainerConfig) GetExecOk() ([]string, bool)
- func (o *FlyContainerConfig) GetFiles() []FlyFile
- func (o *FlyContainerConfig) GetFilesOk() ([]FlyFile, bool)
- func (o *FlyContainerConfig) GetHealthchecks() []FlyContainerHealthcheck
- func (o *FlyContainerConfig) GetHealthchecksOk() ([]FlyContainerHealthcheck, bool)
- func (o *FlyContainerConfig) GetImage() string
- func (o *FlyContainerConfig) GetImageOk() (*string, bool)
- func (o *FlyContainerConfig) GetName() string
- func (o *FlyContainerConfig) GetNameOk() (*string, bool)
- func (o *FlyContainerConfig) GetRestart() FlyMachineRestart
- func (o *FlyContainerConfig) GetRestartOk() (*FlyMachineRestart, bool)
- func (o *FlyContainerConfig) GetSecrets() []FlyMachineSecret
- func (o *FlyContainerConfig) GetSecretsOk() ([]FlyMachineSecret, bool)
- func (o *FlyContainerConfig) GetStop() FlyStopConfig
- func (o *FlyContainerConfig) GetStopOk() (*FlyStopConfig, bool)
- func (o *FlyContainerConfig) GetUser() string
- func (o *FlyContainerConfig) GetUserOk() (*string, bool)
- func (o *FlyContainerConfig) HasCmd() bool
- func (o *FlyContainerConfig) HasDependsOn() bool
- func (o *FlyContainerConfig) HasEntrypoint() bool
- func (o *FlyContainerConfig) HasEnv() bool
- func (o *FlyContainerConfig) HasEnvFrom() bool
- func (o *FlyContainerConfig) HasExec() bool
- func (o *FlyContainerConfig) HasFiles() bool
- func (o *FlyContainerConfig) HasHealthchecks() bool
- func (o *FlyContainerConfig) HasImage() bool
- func (o *FlyContainerConfig) HasName() bool
- func (o *FlyContainerConfig) HasRestart() bool
- func (o *FlyContainerConfig) HasSecrets() bool
- func (o *FlyContainerConfig) HasStop() bool
- func (o *FlyContainerConfig) HasUser() bool
- func (o FlyContainerConfig) MarshalJSON() ([]byte, error)
- func (o *FlyContainerConfig) SetCmd(v []string)
- func (o *FlyContainerConfig) SetDependsOn(v []FlyContainerDependency)
- func (o *FlyContainerConfig) SetEntrypoint(v []string)
- func (o *FlyContainerConfig) SetEnv(v map[string]string)
- func (o *FlyContainerConfig) SetEnvFrom(v []FlyEnvFrom)
- func (o *FlyContainerConfig) SetExec(v []string)
- func (o *FlyContainerConfig) SetFiles(v []FlyFile)
- func (o *FlyContainerConfig) SetHealthchecks(v []FlyContainerHealthcheck)
- func (o *FlyContainerConfig) SetImage(v string)
- func (o *FlyContainerConfig) SetName(v string)
- func (o *FlyContainerConfig) SetRestart(v FlyMachineRestart)
- func (o *FlyContainerConfig) SetSecrets(v []FlyMachineSecret)
- func (o *FlyContainerConfig) SetStop(v FlyStopConfig)
- func (o *FlyContainerConfig) SetUser(v string)
- func (o FlyContainerConfig) ToMap() (map[string]interface{}, error)
- type FlyContainerDependency
- func (o *FlyContainerDependency) GetCondition() FlyContainerDependencyCondition
- func (o *FlyContainerDependency) GetConditionOk() (*FlyContainerDependencyCondition, bool)
- func (o *FlyContainerDependency) GetName() string
- func (o *FlyContainerDependency) GetNameOk() (*string, bool)
- func (o *FlyContainerDependency) HasCondition() bool
- func (o *FlyContainerDependency) HasName() bool
- func (o FlyContainerDependency) MarshalJSON() ([]byte, error)
- func (o *FlyContainerDependency) SetCondition(v FlyContainerDependencyCondition)
- func (o *FlyContainerDependency) SetName(v string)
- func (o FlyContainerDependency) ToMap() (map[string]interface{}, error)
- type FlyContainerDependencyCondition
- type FlyContainerHealthcheck
- func (o *FlyContainerHealthcheck) GetExec() FlyExecHealthcheck
- func (o *FlyContainerHealthcheck) GetExecOk() (*FlyExecHealthcheck, bool)
- func (o *FlyContainerHealthcheck) GetFailureThreshold() int64
- func (o *FlyContainerHealthcheck) GetFailureThresholdOk() (*int64, bool)
- func (o *FlyContainerHealthcheck) GetGracePeriod() int64
- func (o *FlyContainerHealthcheck) GetGracePeriodOk() (*int64, bool)
- func (o *FlyContainerHealthcheck) GetHttp() FlyHTTPHealthcheck
- func (o *FlyContainerHealthcheck) GetHttpOk() (*FlyHTTPHealthcheck, bool)
- func (o *FlyContainerHealthcheck) GetInterval() int64
- func (o *FlyContainerHealthcheck) GetIntervalOk() (*int64, bool)
- func (o *FlyContainerHealthcheck) GetKind() FlyContainerHealthcheckKind
- func (o *FlyContainerHealthcheck) GetKindOk() (*FlyContainerHealthcheckKind, bool)
- func (o *FlyContainerHealthcheck) GetName() string
- func (o *FlyContainerHealthcheck) GetNameOk() (*string, bool)
- func (o *FlyContainerHealthcheck) GetSuccessThreshold() int64
- func (o *FlyContainerHealthcheck) GetSuccessThresholdOk() (*int64, bool)
- func (o *FlyContainerHealthcheck) GetTcp() FlyTCPHealthcheck
- func (o *FlyContainerHealthcheck) GetTcpOk() (*FlyTCPHealthcheck, bool)
- func (o *FlyContainerHealthcheck) GetTimeout() int64
- func (o *FlyContainerHealthcheck) GetTimeoutOk() (*int64, bool)
- func (o *FlyContainerHealthcheck) GetUnhealthy() FlyUnhealthyPolicy
- func (o *FlyContainerHealthcheck) GetUnhealthyOk() (*FlyUnhealthyPolicy, bool)
- func (o *FlyContainerHealthcheck) HasExec() bool
- func (o *FlyContainerHealthcheck) HasFailureThreshold() bool
- func (o *FlyContainerHealthcheck) HasGracePeriod() bool
- func (o *FlyContainerHealthcheck) HasHttp() bool
- func (o *FlyContainerHealthcheck) HasInterval() bool
- func (o *FlyContainerHealthcheck) HasKind() bool
- func (o *FlyContainerHealthcheck) HasName() bool
- func (o *FlyContainerHealthcheck) HasSuccessThreshold() bool
- func (o *FlyContainerHealthcheck) HasTcp() bool
- func (o *FlyContainerHealthcheck) HasTimeout() bool
- func (o *FlyContainerHealthcheck) HasUnhealthy() bool
- func (o FlyContainerHealthcheck) MarshalJSON() ([]byte, error)
- func (o *FlyContainerHealthcheck) SetExec(v FlyExecHealthcheck)
- func (o *FlyContainerHealthcheck) SetFailureThreshold(v int64)
- func (o *FlyContainerHealthcheck) SetGracePeriod(v int64)
- func (o *FlyContainerHealthcheck) SetHttp(v FlyHTTPHealthcheck)
- func (o *FlyContainerHealthcheck) SetInterval(v int64)
- func (o *FlyContainerHealthcheck) SetKind(v FlyContainerHealthcheckKind)
- func (o *FlyContainerHealthcheck) SetName(v string)
- func (o *FlyContainerHealthcheck) SetSuccessThreshold(v int64)
- func (o *FlyContainerHealthcheck) SetTcp(v FlyTCPHealthcheck)
- func (o *FlyContainerHealthcheck) SetTimeout(v int64)
- func (o *FlyContainerHealthcheck) SetUnhealthy(v FlyUnhealthyPolicy)
- func (o FlyContainerHealthcheck) ToMap() (map[string]interface{}, error)
- type FlyContainerHealthcheckKind
- type FlyContainerHealthcheckScheme
- type FlyDNSConfig
- func (o *FlyDNSConfig) GetDnsForwardRules() []FlyDnsForwardRule
- func (o *FlyDNSConfig) GetDnsForwardRulesOk() ([]FlyDnsForwardRule, bool)
- func (o *FlyDNSConfig) GetHostname() string
- func (o *FlyDNSConfig) GetHostnameFqdn() string
- func (o *FlyDNSConfig) GetHostnameFqdnOk() (*string, bool)
- func (o *FlyDNSConfig) GetHostnameOk() (*string, bool)
- func (o *FlyDNSConfig) GetNameservers() []string
- func (o *FlyDNSConfig) GetNameserversOk() ([]string, bool)
- func (o *FlyDNSConfig) GetOptions() []FlyDnsOption
- func (o *FlyDNSConfig) GetOptionsOk() ([]FlyDnsOption, bool)
- func (o *FlyDNSConfig) GetSearches() []string
- func (o *FlyDNSConfig) GetSearchesOk() ([]string, bool)
- func (o *FlyDNSConfig) GetSkipRegistration() bool
- func (o *FlyDNSConfig) GetSkipRegistrationOk() (*bool, bool)
- func (o *FlyDNSConfig) HasDnsForwardRules() bool
- func (o *FlyDNSConfig) HasHostname() bool
- func (o *FlyDNSConfig) HasHostnameFqdn() bool
- func (o *FlyDNSConfig) HasNameservers() bool
- func (o *FlyDNSConfig) HasOptions() bool
- func (o *FlyDNSConfig) HasSearches() bool
- func (o *FlyDNSConfig) HasSkipRegistration() bool
- func (o FlyDNSConfig) MarshalJSON() ([]byte, error)
- func (o *FlyDNSConfig) SetDnsForwardRules(v []FlyDnsForwardRule)
- func (o *FlyDNSConfig) SetHostname(v string)
- func (o *FlyDNSConfig) SetHostnameFqdn(v string)
- func (o *FlyDNSConfig) SetNameservers(v []string)
- func (o *FlyDNSConfig) SetOptions(v []FlyDnsOption)
- func (o *FlyDNSConfig) SetSearches(v []string)
- func (o *FlyDNSConfig) SetSkipRegistration(v bool)
- func (o FlyDNSConfig) ToMap() (map[string]interface{}, error)
- type FlyDnsForwardRule
- func (o *FlyDnsForwardRule) GetAddr() string
- func (o *FlyDnsForwardRule) GetAddrOk() (*string, bool)
- func (o *FlyDnsForwardRule) GetBasename() string
- func (o *FlyDnsForwardRule) GetBasenameOk() (*string, bool)
- func (o *FlyDnsForwardRule) HasAddr() bool
- func (o *FlyDnsForwardRule) HasBasename() bool
- func (o FlyDnsForwardRule) MarshalJSON() ([]byte, error)
- func (o *FlyDnsForwardRule) SetAddr(v string)
- func (o *FlyDnsForwardRule) SetBasename(v string)
- func (o FlyDnsForwardRule) ToMap() (map[string]interface{}, error)
- type FlyDnsOption
- func (o *FlyDnsOption) GetName() string
- func (o *FlyDnsOption) GetNameOk() (*string, bool)
- func (o *FlyDnsOption) GetValue() string
- func (o *FlyDnsOption) GetValueOk() (*string, bool)
- func (o *FlyDnsOption) HasName() bool
- func (o *FlyDnsOption) HasValue() bool
- func (o FlyDnsOption) MarshalJSON() ([]byte, error)
- func (o *FlyDnsOption) SetName(v string)
- func (o *FlyDnsOption) SetValue(v string)
- func (o FlyDnsOption) ToMap() (map[string]interface{}, error)
- type FlyDuration
- func (o *FlyDuration) GetTimeDuration() int64
- func (o *FlyDuration) GetTimeDurationOk() (*int64, bool)
- func (o *FlyDuration) HasTimeDuration() bool
- func (o FlyDuration) MarshalJSON() ([]byte, error)
- func (o *FlyDuration) SetTimeDuration(v int64)
- func (o FlyDuration) ToMap() (map[string]interface{}, error)
- type FlyEnvFrom
- func (o *FlyEnvFrom) GetEnvVar() string
- func (o *FlyEnvFrom) GetEnvVarOk() (*string, bool)
- func (o *FlyEnvFrom) GetFieldRef() string
- func (o *FlyEnvFrom) GetFieldRefOk() (*string, bool)
- func (o *FlyEnvFrom) HasEnvVar() bool
- func (o *FlyEnvFrom) HasFieldRef() bool
- func (o FlyEnvFrom) MarshalJSON() ([]byte, error)
- func (o *FlyEnvFrom) SetEnvVar(v string)
- func (o *FlyEnvFrom) SetFieldRef(v string)
- func (o FlyEnvFrom) ToMap() (map[string]interface{}, error)
- type FlyExecHealthcheck
- func (o *FlyExecHealthcheck) GetCommand() []string
- func (o *FlyExecHealthcheck) GetCommandOk() ([]string, bool)
- func (o *FlyExecHealthcheck) HasCommand() bool
- func (o FlyExecHealthcheck) MarshalJSON() ([]byte, error)
- func (o *FlyExecHealthcheck) SetCommand(v []string)
- func (o FlyExecHealthcheck) ToMap() (map[string]interface{}, error)
- type FlyFile
- func (o *FlyFile) GetGuestPath() string
- func (o *FlyFile) GetGuestPathOk() (*string, bool)
- func (o *FlyFile) GetImageConfig() string
- func (o *FlyFile) GetImageConfigOk() (*string, bool)
- func (o *FlyFile) GetMode() int64
- func (o *FlyFile) GetModeOk() (*int64, bool)
- func (o *FlyFile) GetRawValue() string
- func (o *FlyFile) GetRawValueOk() (*string, bool)
- func (o *FlyFile) GetSecretName() string
- func (o *FlyFile) GetSecretNameOk() (*string, bool)
- func (o *FlyFile) HasGuestPath() bool
- func (o *FlyFile) HasImageConfig() bool
- func (o *FlyFile) HasMode() bool
- func (o *FlyFile) HasRawValue() bool
- func (o *FlyFile) HasSecretName() bool
- func (o FlyFile) MarshalJSON() ([]byte, error)
- func (o *FlyFile) SetGuestPath(v string)
- func (o *FlyFile) SetImageConfig(v string)
- func (o *FlyFile) SetMode(v int64)
- func (o *FlyFile) SetRawValue(v string)
- func (o *FlyFile) SetSecretName(v string)
- func (o FlyFile) ToMap() (map[string]interface{}, error)
- type FlyHTTPHealthcheck
- func (o *FlyHTTPHealthcheck) GetHeaders() []FlyMachineHTTPHeader
- func (o *FlyHTTPHealthcheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)
- func (o *FlyHTTPHealthcheck) GetMethod() string
- func (o *FlyHTTPHealthcheck) GetMethodOk() (*string, bool)
- func (o *FlyHTTPHealthcheck) GetPath() string
- func (o *FlyHTTPHealthcheck) GetPathOk() (*string, bool)
- func (o *FlyHTTPHealthcheck) GetPort() int64
- func (o *FlyHTTPHealthcheck) GetPortOk() (*int64, bool)
- func (o *FlyHTTPHealthcheck) GetScheme() FlyContainerHealthcheckScheme
- func (o *FlyHTTPHealthcheck) GetSchemeOk() (*FlyContainerHealthcheckScheme, bool)
- func (o *FlyHTTPHealthcheck) GetTlsServerName() string
- func (o *FlyHTTPHealthcheck) GetTlsServerNameOk() (*string, bool)
- func (o *FlyHTTPHealthcheck) GetTlsSkipVerify() bool
- func (o *FlyHTTPHealthcheck) GetTlsSkipVerifyOk() (*bool, bool)
- func (o *FlyHTTPHealthcheck) HasHeaders() bool
- func (o *FlyHTTPHealthcheck) HasMethod() bool
- func (o *FlyHTTPHealthcheck) HasPath() bool
- func (o *FlyHTTPHealthcheck) HasPort() bool
- func (o *FlyHTTPHealthcheck) HasScheme() bool
- func (o *FlyHTTPHealthcheck) HasTlsServerName() bool
- func (o *FlyHTTPHealthcheck) HasTlsSkipVerify() bool
- func (o FlyHTTPHealthcheck) MarshalJSON() ([]byte, error)
- func (o *FlyHTTPHealthcheck) SetHeaders(v []FlyMachineHTTPHeader)
- func (o *FlyHTTPHealthcheck) SetMethod(v string)
- func (o *FlyHTTPHealthcheck) SetPath(v string)
- func (o *FlyHTTPHealthcheck) SetPort(v int64)
- func (o *FlyHTTPHealthcheck) SetScheme(v FlyContainerHealthcheckScheme)
- func (o *FlyHTTPHealthcheck) SetTlsServerName(v string)
- func (o *FlyHTTPHealthcheck) SetTlsSkipVerify(v bool)
- func (o FlyHTTPHealthcheck) ToMap() (map[string]interface{}, error)
- type FlyHTTPOptions
- func (o *FlyHTTPOptions) GetCompress() bool
- func (o *FlyHTTPOptions) GetCompressOk() (*bool, bool)
- func (o *FlyHTTPOptions) GetH2Backend() bool
- func (o *FlyHTTPOptions) GetH2BackendOk() (*bool, bool)
- func (o *FlyHTTPOptions) GetHeadersReadTimeout() int64
- func (o *FlyHTTPOptions) GetHeadersReadTimeoutOk() (*int64, bool)
- func (o *FlyHTTPOptions) GetIdleTimeout() int64
- func (o *FlyHTTPOptions) GetIdleTimeoutOk() (*int64, bool)
- func (o *FlyHTTPOptions) GetResponse() FlyHTTPResponseOptions
- func (o *FlyHTTPOptions) GetResponseOk() (*FlyHTTPResponseOptions, bool)
- func (o *FlyHTTPOptions) HasCompress() bool
- func (o *FlyHTTPOptions) HasH2Backend() bool
- func (o *FlyHTTPOptions) HasHeadersReadTimeout() bool
- func (o *FlyHTTPOptions) HasIdleTimeout() bool
- func (o *FlyHTTPOptions) HasResponse() bool
- func (o FlyHTTPOptions) MarshalJSON() ([]byte, error)
- func (o *FlyHTTPOptions) SetCompress(v bool)
- func (o *FlyHTTPOptions) SetH2Backend(v bool)
- func (o *FlyHTTPOptions) SetHeadersReadTimeout(v int64)
- func (o *FlyHTTPOptions) SetIdleTimeout(v int64)
- func (o *FlyHTTPOptions) SetResponse(v FlyHTTPResponseOptions)
- func (o FlyHTTPOptions) ToMap() (map[string]interface{}, error)
- type FlyHTTPResponseOptions
- func (o *FlyHTTPResponseOptions) GetHeaders() map[string]map[string]interface{}
- func (o *FlyHTTPResponseOptions) GetHeadersOk() (map[string]map[string]interface{}, bool)
- func (o *FlyHTTPResponseOptions) GetPristine() bool
- func (o *FlyHTTPResponseOptions) GetPristineOk() (*bool, bool)
- func (o *FlyHTTPResponseOptions) HasHeaders() bool
- func (o *FlyHTTPResponseOptions) HasPristine() bool
- func (o FlyHTTPResponseOptions) MarshalJSON() ([]byte, error)
- func (o *FlyHTTPResponseOptions) SetHeaders(v map[string]map[string]interface{})
- func (o *FlyHTTPResponseOptions) SetPristine(v bool)
- func (o FlyHTTPResponseOptions) ToMap() (map[string]interface{}, error)
- type FlyMachineCheck
- func (o *FlyMachineCheck) GetGracePeriod() FlyDuration
- func (o *FlyMachineCheck) GetGracePeriodOk() (*FlyDuration, bool)
- func (o *FlyMachineCheck) GetHeaders() []FlyMachineHTTPHeader
- func (o *FlyMachineCheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)
- func (o *FlyMachineCheck) GetInterval() FlyDuration
- func (o *FlyMachineCheck) GetIntervalOk() (*FlyDuration, bool)
- func (o *FlyMachineCheck) GetKind() string
- func (o *FlyMachineCheck) GetKindOk() (*string, bool)
- func (o *FlyMachineCheck) GetMethod() string
- func (o *FlyMachineCheck) GetMethodOk() (*string, bool)
- func (o *FlyMachineCheck) GetPath() string
- func (o *FlyMachineCheck) GetPathOk() (*string, bool)
- func (o *FlyMachineCheck) GetPort() int64
- func (o *FlyMachineCheck) GetPortOk() (*int64, bool)
- func (o *FlyMachineCheck) GetProtocol() string
- func (o *FlyMachineCheck) GetProtocolOk() (*string, bool)
- func (o *FlyMachineCheck) GetTimeout() FlyDuration
- func (o *FlyMachineCheck) GetTimeoutOk() (*FlyDuration, bool)
- func (o *FlyMachineCheck) GetTlsServerName() string
- func (o *FlyMachineCheck) GetTlsServerNameOk() (*string, bool)
- func (o *FlyMachineCheck) GetTlsSkipVerify() bool
- func (o *FlyMachineCheck) GetTlsSkipVerifyOk() (*bool, bool)
- func (o *FlyMachineCheck) GetType() string
- func (o *FlyMachineCheck) GetTypeOk() (*string, bool)
- func (o *FlyMachineCheck) HasGracePeriod() bool
- func (o *FlyMachineCheck) HasHeaders() bool
- func (o *FlyMachineCheck) HasInterval() bool
- func (o *FlyMachineCheck) HasKind() bool
- func (o *FlyMachineCheck) HasMethod() bool
- func (o *FlyMachineCheck) HasPath() bool
- func (o *FlyMachineCheck) HasPort() bool
- func (o *FlyMachineCheck) HasProtocol() bool
- func (o *FlyMachineCheck) HasTimeout() bool
- func (o *FlyMachineCheck) HasTlsServerName() bool
- func (o *FlyMachineCheck) HasTlsSkipVerify() bool
- func (o *FlyMachineCheck) HasType() bool
- func (o FlyMachineCheck) MarshalJSON() ([]byte, error)
- func (o *FlyMachineCheck) SetGracePeriod(v FlyDuration)
- func (o *FlyMachineCheck) SetHeaders(v []FlyMachineHTTPHeader)
- func (o *FlyMachineCheck) SetInterval(v FlyDuration)
- func (o *FlyMachineCheck) SetKind(v string)
- func (o *FlyMachineCheck) SetMethod(v string)
- func (o *FlyMachineCheck) SetPath(v string)
- func (o *FlyMachineCheck) SetPort(v int64)
- func (o *FlyMachineCheck) SetProtocol(v string)
- func (o *FlyMachineCheck) SetTimeout(v FlyDuration)
- func (o *FlyMachineCheck) SetTlsServerName(v string)
- func (o *FlyMachineCheck) SetTlsSkipVerify(v bool)
- func (o *FlyMachineCheck) SetType(v string)
- func (o FlyMachineCheck) ToMap() (map[string]interface{}, error)
- type FlyMachineConfig
- func (o *FlyMachineConfig) GetAutoDestroy() bool
- func (o *FlyMachineConfig) GetAutoDestroyOk() (*bool, bool)
- func (o *FlyMachineConfig) GetChecks() map[string]FlyMachineCheck
- func (o *FlyMachineConfig) GetChecksOk() (*map[string]FlyMachineCheck, bool)
- func (o *FlyMachineConfig) GetContainers() []FlyContainerConfig
- func (o *FlyMachineConfig) GetContainersOk() ([]FlyContainerConfig, bool)
- func (o *FlyMachineConfig) GetDisableMachineAutostart() bool
- func (o *FlyMachineConfig) GetDisableMachineAutostartOk() (*bool, bool)
- func (o *FlyMachineConfig) GetDns() FlyDNSConfig
- func (o *FlyMachineConfig) GetDnsOk() (*FlyDNSConfig, bool)
- func (o *FlyMachineConfig) GetEnv() map[string]string
- func (o *FlyMachineConfig) GetEnvOk() (*map[string]string, bool)
- func (o *FlyMachineConfig) GetFiles() []FlyFile
- func (o *FlyMachineConfig) GetFilesOk() ([]FlyFile, bool)
- func (o *FlyMachineConfig) GetGuest() FlyMachineGuest
- func (o *FlyMachineConfig) GetGuestOk() (*FlyMachineGuest, bool)
- func (o *FlyMachineConfig) GetImage() string
- func (o *FlyMachineConfig) GetImageOk() (*string, bool)
- func (o *FlyMachineConfig) GetInit() FlyMachineInit
- func (o *FlyMachineConfig) GetInitOk() (*FlyMachineInit, bool)
- func (o *FlyMachineConfig) GetMetadata() map[string]string
- func (o *FlyMachineConfig) GetMetadataOk() (*map[string]string, bool)
- func (o *FlyMachineConfig) GetMetrics() FlyMachineMetrics
- func (o *FlyMachineConfig) GetMetricsOk() (*FlyMachineMetrics, bool)
- func (o *FlyMachineConfig) GetProcesses() []FlyMachineProcess
- func (o *FlyMachineConfig) GetProcessesOk() ([]FlyMachineProcess, bool)
- func (o *FlyMachineConfig) GetRestart() FlyMachineRestart
- func (o *FlyMachineConfig) GetRestartOk() (*FlyMachineRestart, bool)
- func (o *FlyMachineConfig) GetSchedule() string
- func (o *FlyMachineConfig) GetScheduleOk() (*string, bool)
- func (o *FlyMachineConfig) GetServices() []FlyMachineService
- func (o *FlyMachineConfig) GetServicesOk() ([]FlyMachineService, bool)
- func (o *FlyMachineConfig) GetSize() string
- func (o *FlyMachineConfig) GetSizeOk() (*string, bool)
- func (o *FlyMachineConfig) GetStandbys() []string
- func (o *FlyMachineConfig) GetStandbysOk() ([]string, bool)
- func (o *FlyMachineConfig) GetStatics() []FlyStatic
- func (o *FlyMachineConfig) GetStaticsOk() ([]FlyStatic, bool)
- func (o *FlyMachineConfig) GetStopConfig() FlyStopConfig
- func (o *FlyMachineConfig) GetStopConfigOk() (*FlyStopConfig, bool)
- func (o *FlyMachineConfig) HasAutoDestroy() bool
- func (o *FlyMachineConfig) HasChecks() bool
- func (o *FlyMachineConfig) HasContainers() bool
- func (o *FlyMachineConfig) HasDisableMachineAutostart() bool
- func (o *FlyMachineConfig) HasDns() bool
- func (o *FlyMachineConfig) HasEnv() bool
- func (o *FlyMachineConfig) HasFiles() bool
- func (o *FlyMachineConfig) HasGuest() bool
- func (o *FlyMachineConfig) HasImage() bool
- func (o *FlyMachineConfig) HasInit() bool
- func (o *FlyMachineConfig) HasMetadata() bool
- func (o *FlyMachineConfig) HasMetrics() bool
- func (o *FlyMachineConfig) HasProcesses() bool
- func (o *FlyMachineConfig) HasRestart() bool
- func (o *FlyMachineConfig) HasSchedule() bool
- func (o *FlyMachineConfig) HasServices() bool
- func (o *FlyMachineConfig) HasSize() bool
- func (o *FlyMachineConfig) HasStandbys() bool
- func (o *FlyMachineConfig) HasStatics() bool
- func (o *FlyMachineConfig) HasStopConfig() bool
- func (o FlyMachineConfig) MarshalJSON() ([]byte, error)
- func (o *FlyMachineConfig) SetAutoDestroy(v bool)
- func (o *FlyMachineConfig) SetChecks(v map[string]FlyMachineCheck)
- func (o *FlyMachineConfig) SetContainers(v []FlyContainerConfig)
- func (o *FlyMachineConfig) SetDisableMachineAutostart(v bool)
- func (o *FlyMachineConfig) SetDns(v FlyDNSConfig)
- func (o *FlyMachineConfig) SetEnv(v map[string]string)
- func (o *FlyMachineConfig) SetFiles(v []FlyFile)
- func (o *FlyMachineConfig) SetGuest(v FlyMachineGuest)
- func (o *FlyMachineConfig) SetImage(v string)
- func (o *FlyMachineConfig) SetInit(v FlyMachineInit)
- func (o *FlyMachineConfig) SetMetadata(v map[string]string)
- func (o *FlyMachineConfig) SetMetrics(v FlyMachineMetrics)
- func (o *FlyMachineConfig) SetProcesses(v []FlyMachineProcess)
- func (o *FlyMachineConfig) SetRestart(v FlyMachineRestart)
- func (o *FlyMachineConfig) SetSchedule(v string)
- func (o *FlyMachineConfig) SetServices(v []FlyMachineService)
- func (o *FlyMachineConfig) SetSize(v string)
- func (o *FlyMachineConfig) SetStandbys(v []string)
- func (o *FlyMachineConfig) SetStatics(v []FlyStatic)
- func (o *FlyMachineConfig) SetStopConfig(v FlyStopConfig)
- func (o FlyMachineConfig) ToMap() (map[string]interface{}, error)
- type FlyMachineGuest
- func (o *FlyMachineGuest) GetCpuKind() string
- func (o *FlyMachineGuest) GetCpuKindOk() (*string, bool)
- func (o *FlyMachineGuest) GetCpus() int64
- func (o *FlyMachineGuest) GetCpusOk() (*int64, bool)
- func (o *FlyMachineGuest) GetGpuKind() string
- func (o *FlyMachineGuest) GetGpuKindOk() (*string, bool)
- func (o *FlyMachineGuest) GetGpus() int64
- func (o *FlyMachineGuest) GetGpusOk() (*int64, bool)
- func (o *FlyMachineGuest) GetHostDedicationId() string
- func (o *FlyMachineGuest) GetHostDedicationIdOk() (*string, bool)
- func (o *FlyMachineGuest) GetKernelArgs() []string
- func (o *FlyMachineGuest) GetKernelArgsOk() ([]string, bool)
- func (o *FlyMachineGuest) GetMemoryMb() int64
- func (o *FlyMachineGuest) GetMemoryMbOk() (*int64, bool)
- func (o *FlyMachineGuest) HasCpuKind() bool
- func (o *FlyMachineGuest) HasCpus() bool
- func (o *FlyMachineGuest) HasGpuKind() bool
- func (o *FlyMachineGuest) HasGpus() bool
- func (o *FlyMachineGuest) HasHostDedicationId() bool
- func (o *FlyMachineGuest) HasKernelArgs() bool
- func (o *FlyMachineGuest) HasMemoryMb() bool
- func (o FlyMachineGuest) MarshalJSON() ([]byte, error)
- func (o *FlyMachineGuest) SetCpuKind(v string)
- func (o *FlyMachineGuest) SetCpus(v int64)
- func (o *FlyMachineGuest) SetGpuKind(v string)
- func (o *FlyMachineGuest) SetGpus(v int64)
- func (o *FlyMachineGuest) SetHostDedicationId(v string)
- func (o *FlyMachineGuest) SetKernelArgs(v []string)
- func (o *FlyMachineGuest) SetMemoryMb(v int64)
- func (o FlyMachineGuest) ToMap() (map[string]interface{}, error)
- type FlyMachineHTTPHeader
- func (o *FlyMachineHTTPHeader) GetName() string
- func (o *FlyMachineHTTPHeader) GetNameOk() (*string, bool)
- func (o *FlyMachineHTTPHeader) GetValues() []string
- func (o *FlyMachineHTTPHeader) GetValuesOk() ([]string, bool)
- func (o *FlyMachineHTTPHeader) HasName() bool
- func (o *FlyMachineHTTPHeader) HasValues() bool
- func (o FlyMachineHTTPHeader) MarshalJSON() ([]byte, error)
- func (o *FlyMachineHTTPHeader) SetName(v string)
- func (o *FlyMachineHTTPHeader) SetValues(v []string)
- func (o FlyMachineHTTPHeader) ToMap() (map[string]interface{}, error)
- type FlyMachineInit
- func (o *FlyMachineInit) GetCmd() []string
- func (o *FlyMachineInit) GetCmdOk() ([]string, bool)
- func (o *FlyMachineInit) GetEntrypoint() []string
- func (o *FlyMachineInit) GetEntrypointOk() ([]string, bool)
- func (o *FlyMachineInit) GetExec() []string
- func (o *FlyMachineInit) GetExecOk() ([]string, bool)
- func (o *FlyMachineInit) GetKernelArgs() []string
- func (o *FlyMachineInit) GetKernelArgsOk() ([]string, bool)
- func (o *FlyMachineInit) GetSwapSizeMb() int64
- func (o *FlyMachineInit) GetSwapSizeMbOk() (*int64, bool)
- func (o *FlyMachineInit) GetTty() bool
- func (o *FlyMachineInit) GetTtyOk() (*bool, bool)
- func (o *FlyMachineInit) HasCmd() bool
- func (o *FlyMachineInit) HasEntrypoint() bool
- func (o *FlyMachineInit) HasExec() bool
- func (o *FlyMachineInit) HasKernelArgs() bool
- func (o *FlyMachineInit) HasSwapSizeMb() bool
- func (o *FlyMachineInit) HasTty() bool
- func (o FlyMachineInit) MarshalJSON() ([]byte, error)
- func (o *FlyMachineInit) SetCmd(v []string)
- func (o *FlyMachineInit) SetEntrypoint(v []string)
- func (o *FlyMachineInit) SetExec(v []string)
- func (o *FlyMachineInit) SetKernelArgs(v []string)
- func (o *FlyMachineInit) SetSwapSizeMb(v int64)
- func (o *FlyMachineInit) SetTty(v bool)
- func (o FlyMachineInit) ToMap() (map[string]interface{}, error)
- type FlyMachineMetrics
- func (o *FlyMachineMetrics) GetHttps() bool
- func (o *FlyMachineMetrics) GetHttpsOk() (*bool, bool)
- func (o *FlyMachineMetrics) GetPath() string
- func (o *FlyMachineMetrics) GetPathOk() (*string, bool)
- func (o *FlyMachineMetrics) GetPort() int64
- func (o *FlyMachineMetrics) GetPortOk() (*int64, bool)
- func (o *FlyMachineMetrics) HasHttps() bool
- func (o *FlyMachineMetrics) HasPath() bool
- func (o *FlyMachineMetrics) HasPort() bool
- func (o FlyMachineMetrics) MarshalJSON() ([]byte, error)
- func (o *FlyMachineMetrics) SetHttps(v bool)
- func (o *FlyMachineMetrics) SetPath(v string)
- func (o *FlyMachineMetrics) SetPort(v int64)
- func (o FlyMachineMetrics) ToMap() (map[string]interface{}, error)
- type FlyMachinePort
- func (o *FlyMachinePort) GetEndPort() int64
- func (o *FlyMachinePort) GetEndPortOk() (*int64, bool)
- func (o *FlyMachinePort) GetForceHttps() bool
- func (o *FlyMachinePort) GetForceHttpsOk() (*bool, bool)
- func (o *FlyMachinePort) GetHandlers() []string
- func (o *FlyMachinePort) GetHandlersOk() ([]string, bool)
- func (o *FlyMachinePort) GetHttpOptions() FlyHTTPOptions
- func (o *FlyMachinePort) GetHttpOptionsOk() (*FlyHTTPOptions, bool)
- func (o *FlyMachinePort) GetPort() int64
- func (o *FlyMachinePort) GetPortOk() (*int64, bool)
- func (o *FlyMachinePort) GetProxyProtoOptions() FlyProxyProtoOptions
- func (o *FlyMachinePort) GetProxyProtoOptionsOk() (*FlyProxyProtoOptions, bool)
- func (o *FlyMachinePort) GetStartPort() int64
- func (o *FlyMachinePort) GetStartPortOk() (*int64, bool)
- func (o *FlyMachinePort) GetTlsOptions() FlyTLSOptions
- func (o *FlyMachinePort) GetTlsOptionsOk() (*FlyTLSOptions, bool)
- func (o *FlyMachinePort) HasEndPort() bool
- func (o *FlyMachinePort) HasForceHttps() bool
- func (o *FlyMachinePort) HasHandlers() bool
- func (o *FlyMachinePort) HasHttpOptions() bool
- func (o *FlyMachinePort) HasPort() bool
- func (o *FlyMachinePort) HasProxyProtoOptions() bool
- func (o *FlyMachinePort) HasStartPort() bool
- func (o *FlyMachinePort) HasTlsOptions() bool
- func (o FlyMachinePort) MarshalJSON() ([]byte, error)
- func (o *FlyMachinePort) SetEndPort(v int64)
- func (o *FlyMachinePort) SetForceHttps(v bool)
- func (o *FlyMachinePort) SetHandlers(v []string)
- func (o *FlyMachinePort) SetHttpOptions(v FlyHTTPOptions)
- func (o *FlyMachinePort) SetPort(v int64)
- func (o *FlyMachinePort) SetProxyProtoOptions(v FlyProxyProtoOptions)
- func (o *FlyMachinePort) SetStartPort(v int64)
- func (o *FlyMachinePort) SetTlsOptions(v FlyTLSOptions)
- func (o FlyMachinePort) ToMap() (map[string]interface{}, error)
- type FlyMachineProcess
- func (o *FlyMachineProcess) GetCmd() []string
- func (o *FlyMachineProcess) GetCmdOk() ([]string, bool)
- func (o *FlyMachineProcess) GetEntrypoint() []string
- func (o *FlyMachineProcess) GetEntrypointOk() ([]string, bool)
- func (o *FlyMachineProcess) GetEnv() map[string]string
- func (o *FlyMachineProcess) GetEnvFrom() []FlyEnvFrom
- func (o *FlyMachineProcess) GetEnvFromOk() ([]FlyEnvFrom, bool)
- func (o *FlyMachineProcess) GetEnvOk() (*map[string]string, bool)
- func (o *FlyMachineProcess) GetExec() []string
- func (o *FlyMachineProcess) GetExecOk() ([]string, bool)
- func (o *FlyMachineProcess) GetIgnoreAppSecrets() bool
- func (o *FlyMachineProcess) GetIgnoreAppSecretsOk() (*bool, bool)
- func (o *FlyMachineProcess) GetSecrets() []FlyMachineSecret
- func (o *FlyMachineProcess) GetSecretsOk() ([]FlyMachineSecret, bool)
- func (o *FlyMachineProcess) GetUser() string
- func (o *FlyMachineProcess) GetUserOk() (*string, bool)
- func (o *FlyMachineProcess) HasCmd() bool
- func (o *FlyMachineProcess) HasEntrypoint() bool
- func (o *FlyMachineProcess) HasEnv() bool
- func (o *FlyMachineProcess) HasEnvFrom() bool
- func (o *FlyMachineProcess) HasExec() bool
- func (o *FlyMachineProcess) HasIgnoreAppSecrets() bool
- func (o *FlyMachineProcess) HasSecrets() bool
- func (o *FlyMachineProcess) HasUser() bool
- func (o FlyMachineProcess) MarshalJSON() ([]byte, error)
- func (o *FlyMachineProcess) SetCmd(v []string)
- func (o *FlyMachineProcess) SetEntrypoint(v []string)
- func (o *FlyMachineProcess) SetEnv(v map[string]string)
- func (o *FlyMachineProcess) SetEnvFrom(v []FlyEnvFrom)
- func (o *FlyMachineProcess) SetExec(v []string)
- func (o *FlyMachineProcess) SetIgnoreAppSecrets(v bool)
- func (o *FlyMachineProcess) SetSecrets(v []FlyMachineSecret)
- func (o *FlyMachineProcess) SetUser(v string)
- func (o FlyMachineProcess) ToMap() (map[string]interface{}, error)
- type FlyMachineRestart
- func (o *FlyMachineRestart) GetGpuBidPrice() float32
- func (o *FlyMachineRestart) GetGpuBidPriceOk() (*float32, bool)
- func (o *FlyMachineRestart) GetMaxRetries() int64
- func (o *FlyMachineRestart) GetMaxRetriesOk() (*int64, bool)
- func (o *FlyMachineRestart) GetPolicy() string
- func (o *FlyMachineRestart) GetPolicyOk() (*string, bool)
- func (o *FlyMachineRestart) HasGpuBidPrice() bool
- func (o *FlyMachineRestart) HasMaxRetries() bool
- func (o *FlyMachineRestart) HasPolicy() bool
- func (o FlyMachineRestart) MarshalJSON() ([]byte, error)
- func (o *FlyMachineRestart) SetGpuBidPrice(v float32)
- func (o *FlyMachineRestart) SetMaxRetries(v int64)
- func (o *FlyMachineRestart) SetPolicy(v string)
- func (o FlyMachineRestart) ToMap() (map[string]interface{}, error)
- type FlyMachineSecret
- func (o *FlyMachineSecret) GetEnvVar() string
- func (o *FlyMachineSecret) GetEnvVarOk() (*string, bool)
- func (o *FlyMachineSecret) GetName() string
- func (o *FlyMachineSecret) GetNameOk() (*string, bool)
- func (o *FlyMachineSecret) HasEnvVar() bool
- func (o *FlyMachineSecret) HasName() bool
- func (o FlyMachineSecret) MarshalJSON() ([]byte, error)
- func (o *FlyMachineSecret) SetEnvVar(v string)
- func (o *FlyMachineSecret) SetName(v string)
- func (o FlyMachineSecret) ToMap() (map[string]interface{}, error)
- type FlyMachineService
- func (o *FlyMachineService) GetAutostart() bool
- func (o *FlyMachineService) GetAutostartOk() (*bool, bool)
- func (o *FlyMachineService) GetAutostop() string
- func (o *FlyMachineService) GetAutostopOk() (*string, bool)
- func (o *FlyMachineService) GetChecks() []FlyMachineServiceCheck
- func (o *FlyMachineService) GetChecksOk() ([]FlyMachineServiceCheck, bool)
- func (o *FlyMachineService) GetConcurrency() FlyMachineServiceConcurrency
- func (o *FlyMachineService) GetConcurrencyOk() (*FlyMachineServiceConcurrency, bool)
- func (o *FlyMachineService) GetForceInstanceDescription() string
- func (o *FlyMachineService) GetForceInstanceDescriptionOk() (*string, bool)
- func (o *FlyMachineService) GetForceInstanceKey() string
- func (o *FlyMachineService) GetForceInstanceKeyOk() (*string, bool)
- func (o *FlyMachineService) GetInternalPort() int64
- func (o *FlyMachineService) GetInternalPortOk() (*int64, bool)
- func (o *FlyMachineService) GetMinMachinesRunning() int64
- func (o *FlyMachineService) GetMinMachinesRunningOk() (*int64, bool)
- func (o *FlyMachineService) GetPorts() []FlyMachinePort
- func (o *FlyMachineService) GetPortsOk() ([]FlyMachinePort, bool)
- func (o *FlyMachineService) GetProtocol() string
- func (o *FlyMachineService) GetProtocolOk() (*string, bool)
- func (o *FlyMachineService) HasAutostart() bool
- func (o *FlyMachineService) HasAutostop() bool
- func (o *FlyMachineService) HasChecks() bool
- func (o *FlyMachineService) HasConcurrency() bool
- func (o *FlyMachineService) HasForceInstanceDescription() bool
- func (o *FlyMachineService) HasForceInstanceKey() bool
- func (o *FlyMachineService) HasInternalPort() bool
- func (o *FlyMachineService) HasMinMachinesRunning() bool
- func (o *FlyMachineService) HasPorts() bool
- func (o *FlyMachineService) HasProtocol() bool
- func (o FlyMachineService) MarshalJSON() ([]byte, error)
- func (o *FlyMachineService) SetAutostart(v bool)
- func (o *FlyMachineService) SetAutostop(v string)
- func (o *FlyMachineService) SetChecks(v []FlyMachineServiceCheck)
- func (o *FlyMachineService) SetConcurrency(v FlyMachineServiceConcurrency)
- func (o *FlyMachineService) SetForceInstanceDescription(v string)
- func (o *FlyMachineService) SetForceInstanceKey(v string)
- func (o *FlyMachineService) SetInternalPort(v int64)
- func (o *FlyMachineService) SetMinMachinesRunning(v int64)
- func (o *FlyMachineService) SetPorts(v []FlyMachinePort)
- func (o *FlyMachineService) SetProtocol(v string)
- func (o FlyMachineService) ToMap() (map[string]interface{}, error)
- type FlyMachineServiceCheck
- func (o *FlyMachineServiceCheck) GetGracePeriod() FlyDuration
- func (o *FlyMachineServiceCheck) GetGracePeriodOk() (*FlyDuration, bool)
- func (o *FlyMachineServiceCheck) GetHeaders() []FlyMachineHTTPHeader
- func (o *FlyMachineServiceCheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)
- func (o *FlyMachineServiceCheck) GetInterval() FlyDuration
- func (o *FlyMachineServiceCheck) GetIntervalOk() (*FlyDuration, bool)
- func (o *FlyMachineServiceCheck) GetMethod() string
- func (o *FlyMachineServiceCheck) GetMethodOk() (*string, bool)
- func (o *FlyMachineServiceCheck) GetPath() string
- func (o *FlyMachineServiceCheck) GetPathOk() (*string, bool)
- func (o *FlyMachineServiceCheck) GetPort() int64
- func (o *FlyMachineServiceCheck) GetPortOk() (*int64, bool)
- func (o *FlyMachineServiceCheck) GetProtocol() string
- func (o *FlyMachineServiceCheck) GetProtocolOk() (*string, bool)
- func (o *FlyMachineServiceCheck) GetTimeout() FlyDuration
- func (o *FlyMachineServiceCheck) GetTimeoutOk() (*FlyDuration, bool)
- func (o *FlyMachineServiceCheck) GetTlsServerName() string
- func (o *FlyMachineServiceCheck) GetTlsServerNameOk() (*string, bool)
- func (o *FlyMachineServiceCheck) GetTlsSkipVerify() bool
- func (o *FlyMachineServiceCheck) GetTlsSkipVerifyOk() (*bool, bool)
- func (o *FlyMachineServiceCheck) GetType() string
- func (o *FlyMachineServiceCheck) GetTypeOk() (*string, bool)
- func (o *FlyMachineServiceCheck) HasGracePeriod() bool
- func (o *FlyMachineServiceCheck) HasHeaders() bool
- func (o *FlyMachineServiceCheck) HasInterval() bool
- func (o *FlyMachineServiceCheck) HasMethod() bool
- func (o *FlyMachineServiceCheck) HasPath() bool
- func (o *FlyMachineServiceCheck) HasPort() bool
- func (o *FlyMachineServiceCheck) HasProtocol() bool
- func (o *FlyMachineServiceCheck) HasTimeout() bool
- func (o *FlyMachineServiceCheck) HasTlsServerName() bool
- func (o *FlyMachineServiceCheck) HasTlsSkipVerify() bool
- func (o *FlyMachineServiceCheck) HasType() bool
- func (o FlyMachineServiceCheck) MarshalJSON() ([]byte, error)
- func (o *FlyMachineServiceCheck) SetGracePeriod(v FlyDuration)
- func (o *FlyMachineServiceCheck) SetHeaders(v []FlyMachineHTTPHeader)
- func (o *FlyMachineServiceCheck) SetInterval(v FlyDuration)
- func (o *FlyMachineServiceCheck) SetMethod(v string)
- func (o *FlyMachineServiceCheck) SetPath(v string)
- func (o *FlyMachineServiceCheck) SetPort(v int64)
- func (o *FlyMachineServiceCheck) SetProtocol(v string)
- func (o *FlyMachineServiceCheck) SetTimeout(v FlyDuration)
- func (o *FlyMachineServiceCheck) SetTlsServerName(v string)
- func (o *FlyMachineServiceCheck) SetTlsSkipVerify(v bool)
- func (o *FlyMachineServiceCheck) SetType(v string)
- func (o FlyMachineServiceCheck) ToMap() (map[string]interface{}, error)
- type FlyMachineServiceConcurrency
- func (o *FlyMachineServiceConcurrency) GetHardLimit() int64
- func (o *FlyMachineServiceConcurrency) GetHardLimitOk() (*int64, bool)
- func (o *FlyMachineServiceConcurrency) GetSoftLimit() int64
- func (o *FlyMachineServiceConcurrency) GetSoftLimitOk() (*int64, bool)
- func (o *FlyMachineServiceConcurrency) GetType() string
- func (o *FlyMachineServiceConcurrency) GetTypeOk() (*string, bool)
- func (o *FlyMachineServiceConcurrency) HasHardLimit() bool
- func (o *FlyMachineServiceConcurrency) HasSoftLimit() bool
- func (o *FlyMachineServiceConcurrency) HasType() bool
- func (o FlyMachineServiceConcurrency) MarshalJSON() ([]byte, error)
- func (o *FlyMachineServiceConcurrency) SetHardLimit(v int64)
- func (o *FlyMachineServiceConcurrency) SetSoftLimit(v int64)
- func (o *FlyMachineServiceConcurrency) SetType(v string)
- func (o FlyMachineServiceConcurrency) ToMap() (map[string]interface{}, error)
- type FlyProxyProtoOptions
- func (o *FlyProxyProtoOptions) GetVersion() string
- func (o *FlyProxyProtoOptions) GetVersionOk() (*string, bool)
- func (o *FlyProxyProtoOptions) HasVersion() bool
- func (o FlyProxyProtoOptions) MarshalJSON() ([]byte, error)
- func (o *FlyProxyProtoOptions) SetVersion(v string)
- func (o FlyProxyProtoOptions) ToMap() (map[string]interface{}, error)
- type FlyStatic
- func (o *FlyStatic) GetGuestPath() string
- func (o *FlyStatic) GetGuestPathOk() (*string, bool)
- func (o *FlyStatic) GetIndexDocument() string
- func (o *FlyStatic) GetIndexDocumentOk() (*string, bool)
- func (o *FlyStatic) GetTigrisBucket() string
- func (o *FlyStatic) GetTigrisBucketOk() (*string, bool)
- func (o *FlyStatic) GetUrlPrefix() string
- func (o *FlyStatic) GetUrlPrefixOk() (*string, bool)
- func (o *FlyStatic) HasIndexDocument() bool
- func (o *FlyStatic) HasTigrisBucket() bool
- func (o FlyStatic) MarshalJSON() ([]byte, error)
- func (o *FlyStatic) SetGuestPath(v string)
- func (o *FlyStatic) SetIndexDocument(v string)
- func (o *FlyStatic) SetTigrisBucket(v string)
- func (o *FlyStatic) SetUrlPrefix(v string)
- func (o FlyStatic) ToMap() (map[string]interface{}, error)
- func (o *FlyStatic) UnmarshalJSON(data []byte) (err error)
- type FlyStopConfig
- func (o *FlyStopConfig) GetSignal() string
- func (o *FlyStopConfig) GetSignalOk() (*string, bool)
- func (o *FlyStopConfig) GetTimeout() FlyDuration
- func (o *FlyStopConfig) GetTimeoutOk() (*FlyDuration, bool)
- func (o *FlyStopConfig) HasSignal() bool
- func (o *FlyStopConfig) HasTimeout() bool
- func (o FlyStopConfig) MarshalJSON() ([]byte, error)
- func (o *FlyStopConfig) SetSignal(v string)
- func (o *FlyStopConfig) SetTimeout(v FlyDuration)
- func (o FlyStopConfig) ToMap() (map[string]interface{}, error)
- type FlyTCPHealthcheck
- func (o *FlyTCPHealthcheck) GetPort() int64
- func (o *FlyTCPHealthcheck) GetPortOk() (*int64, bool)
- func (o *FlyTCPHealthcheck) HasPort() bool
- func (o FlyTCPHealthcheck) MarshalJSON() ([]byte, error)
- func (o *FlyTCPHealthcheck) SetPort(v int64)
- func (o FlyTCPHealthcheck) ToMap() (map[string]interface{}, error)
- type FlyTLSOptions
- func (o *FlyTLSOptions) GetAlpn() []string
- func (o *FlyTLSOptions) GetAlpnOk() ([]string, bool)
- func (o *FlyTLSOptions) GetDefaultSelfSigned() bool
- func (o *FlyTLSOptions) GetDefaultSelfSignedOk() (*bool, bool)
- func (o *FlyTLSOptions) GetVersions() []string
- func (o *FlyTLSOptions) GetVersionsOk() ([]string, bool)
- func (o *FlyTLSOptions) HasAlpn() bool
- func (o *FlyTLSOptions) HasDefaultSelfSigned() bool
- func (o *FlyTLSOptions) HasVersions() bool
- func (o FlyTLSOptions) MarshalJSON() ([]byte, error)
- func (o *FlyTLSOptions) SetAlpn(v []string)
- func (o *FlyTLSOptions) SetDefaultSelfSigned(v bool)
- func (o *FlyTLSOptions) SetVersions(v []string)
- func (o FlyTLSOptions) ToMap() (map[string]interface{}, error)
- type FlyUnhealthyPolicy
- type Flydv1ExecResponse
- func (o *Flydv1ExecResponse) GetExitCode() int64
- func (o *Flydv1ExecResponse) GetExitCodeOk() (*int64, bool)
- func (o *Flydv1ExecResponse) GetExitSignal() int64
- func (o *Flydv1ExecResponse) GetExitSignalOk() (*int64, bool)
- func (o *Flydv1ExecResponse) GetStderr() string
- func (o *Flydv1ExecResponse) GetStderrOk() (*string, bool)
- func (o *Flydv1ExecResponse) GetStdout() string
- func (o *Flydv1ExecResponse) GetStdoutOk() (*string, bool)
- func (o *Flydv1ExecResponse) HasExitCode() bool
- func (o *Flydv1ExecResponse) HasExitSignal() bool
- func (o *Flydv1ExecResponse) HasStderr() bool
- func (o *Flydv1ExecResponse) HasStdout() bool
- func (o Flydv1ExecResponse) MarshalJSON() ([]byte, error)
- func (o *Flydv1ExecResponse) SetExitCode(v int64)
- func (o *Flydv1ExecResponse) SetExitSignal(v int64)
- func (o *Flydv1ExecResponse) SetStderr(v string)
- func (o *Flydv1ExecResponse) SetStdout(v string)
- func (o Flydv1ExecResponse) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type ImageRef
- func (o *ImageRef) GetDigest() string
- func (o *ImageRef) GetDigestOk() (*string, bool)
- func (o *ImageRef) GetLabels() map[string]string
- func (o *ImageRef) GetLabelsOk() (*map[string]string, bool)
- func (o *ImageRef) GetRegistry() string
- func (o *ImageRef) GetRegistryOk() (*string, bool)
- func (o *ImageRef) GetRepository() string
- func (o *ImageRef) GetRepositoryOk() (*string, bool)
- func (o *ImageRef) GetTag() string
- func (o *ImageRef) GetTagOk() (*string, bool)
- func (o *ImageRef) HasDigest() bool
- func (o *ImageRef) HasLabels() bool
- func (o *ImageRef) HasRegistry() bool
- func (o *ImageRef) HasRepository() bool
- func (o *ImageRef) HasTag() bool
- func (o ImageRef) MarshalJSON() ([]byte, error)
- func (o *ImageRef) SetDigest(v string)
- func (o *ImageRef) SetLabels(v map[string]string)
- func (o *ImageRef) SetRegistry(v string)
- func (o *ImageRef) SetRepository(v string)
- func (o *ImageRef) SetTag(v string)
- func (o ImageRef) ToMap() (map[string]interface{}, error)
- type Lease
- func (o *Lease) GetDescription() string
- func (o *Lease) GetDescriptionOk() (*string, bool)
- func (o *Lease) GetExpiresAt() int64
- func (o *Lease) GetExpiresAtOk() (*int64, bool)
- func (o *Lease) GetNonce() string
- func (o *Lease) GetNonceOk() (*string, bool)
- func (o *Lease) GetOwner() string
- func (o *Lease) GetOwnerOk() (*string, bool)
- func (o *Lease) GetVersion() string
- func (o *Lease) GetVersionOk() (*string, bool)
- func (o *Lease) HasDescription() bool
- func (o *Lease) HasExpiresAt() bool
- func (o *Lease) HasNonce() bool
- func (o *Lease) HasOwner() bool
- func (o *Lease) HasVersion() bool
- func (o Lease) MarshalJSON() ([]byte, error)
- func (o *Lease) SetDescription(v string)
- func (o *Lease) SetExpiresAt(v int64)
- func (o *Lease) SetNonce(v string)
- func (o *Lease) SetOwner(v string)
- func (o *Lease) SetVersion(v string)
- func (o Lease) ToMap() (map[string]interface{}, error)
- type ListApp
- func (o *ListApp) GetId() string
- func (o *ListApp) GetIdOk() (*string, bool)
- func (o *ListApp) GetMachineCount() int64
- func (o *ListApp) GetMachineCountOk() (*int64, bool)
- func (o *ListApp) GetName() string
- func (o *ListApp) GetNameOk() (*string, bool)
- func (o *ListApp) GetNetwork() map[string]interface{}
- func (o *ListApp) GetNetworkOk() (map[string]interface{}, bool)
- func (o *ListApp) HasId() bool
- func (o *ListApp) HasMachineCount() bool
- func (o *ListApp) HasName() bool
- func (o *ListApp) HasNetwork() bool
- func (o ListApp) MarshalJSON() ([]byte, error)
- func (o *ListApp) SetId(v string)
- func (o *ListApp) SetMachineCount(v int64)
- func (o *ListApp) SetName(v string)
- func (o *ListApp) SetNetwork(v map[string]interface{})
- func (o ListApp) ToMap() (map[string]interface{}, error)
- type ListAppsResponse
- func (o *ListAppsResponse) GetApps() []ListApp
- func (o *ListAppsResponse) GetAppsOk() ([]ListApp, bool)
- func (o *ListAppsResponse) GetTotalApps() int64
- func (o *ListAppsResponse) GetTotalAppsOk() (*int64, bool)
- func (o *ListAppsResponse) HasApps() bool
- func (o *ListAppsResponse) HasTotalApps() bool
- func (o ListAppsResponse) MarshalJSON() ([]byte, error)
- func (o *ListAppsResponse) SetApps(v []ListApp)
- func (o *ListAppsResponse) SetTotalApps(v int64)
- func (o ListAppsResponse) ToMap() (map[string]interface{}, error)
- type ListenSocket
- func (o *ListenSocket) GetAddress() string
- func (o *ListenSocket) GetAddressOk() (*string, bool)
- func (o *ListenSocket) GetProto() string
- func (o *ListenSocket) GetProtoOk() (*string, bool)
- func (o *ListenSocket) HasAddress() bool
- func (o *ListenSocket) HasProto() bool
- func (o ListenSocket) MarshalJSON() ([]byte, error)
- func (o *ListenSocket) SetAddress(v string)
- func (o *ListenSocket) SetProto(v string)
- func (o ListenSocket) ToMap() (map[string]interface{}, error)
- type Machine
- func (o *Machine) GetChecks() []CheckStatus
- func (o *Machine) GetChecksOk() ([]CheckStatus, bool)
- func (o *Machine) GetConfig() FlyMachineConfig
- func (o *Machine) GetConfigOk() (*FlyMachineConfig, bool)
- func (o *Machine) GetCreatedAt() string
- func (o *Machine) GetCreatedAtOk() (*string, bool)
- func (o *Machine) GetEvents() []MachineEvent
- func (o *Machine) GetEventsOk() ([]MachineEvent, bool)
- func (o *Machine) GetHostStatus() string
- func (o *Machine) GetHostStatusOk() (*string, bool)
- func (o *Machine) GetId() string
- func (o *Machine) GetIdOk() (*string, bool)
- func (o *Machine) GetImageRef() ImageRef
- func (o *Machine) GetImageRefOk() (*ImageRef, bool)
- func (o *Machine) GetIncompleteConfig() FlyMachineConfig
- func (o *Machine) GetIncompleteConfigOk() (*FlyMachineConfig, bool)
- func (o *Machine) GetInstanceId() string
- func (o *Machine) GetInstanceIdOk() (*string, bool)
- func (o *Machine) GetName() string
- func (o *Machine) GetNameOk() (*string, bool)
- func (o *Machine) GetNonce() string
- func (o *Machine) GetNonceOk() (*string, bool)
- func (o *Machine) GetPrivateIp() string
- func (o *Machine) GetPrivateIpOk() (*string, bool)
- func (o *Machine) GetRegion() string
- func (o *Machine) GetRegionOk() (*string, bool)
- func (o *Machine) GetState() string
- func (o *Machine) GetStateOk() (*string, bool)
- func (o *Machine) GetUpdatedAt() string
- func (o *Machine) GetUpdatedAtOk() (*string, bool)
- func (o *Machine) HasChecks() bool
- func (o *Machine) HasConfig() bool
- func (o *Machine) HasCreatedAt() bool
- func (o *Machine) HasEvents() bool
- func (o *Machine) HasHostStatus() bool
- func (o *Machine) HasId() bool
- func (o *Machine) HasImageRef() bool
- func (o *Machine) HasIncompleteConfig() bool
- func (o *Machine) HasInstanceId() bool
- func (o *Machine) HasName() bool
- func (o *Machine) HasNonce() bool
- func (o *Machine) HasPrivateIp() bool
- func (o *Machine) HasRegion() bool
- func (o *Machine) HasState() bool
- func (o *Machine) HasUpdatedAt() bool
- func (o Machine) MarshalJSON() ([]byte, error)
- func (o *Machine) SetChecks(v []CheckStatus)
- func (o *Machine) SetConfig(v FlyMachineConfig)
- func (o *Machine) SetCreatedAt(v string)
- func (o *Machine) SetEvents(v []MachineEvent)
- func (o *Machine) SetHostStatus(v string)
- func (o *Machine) SetId(v string)
- func (o *Machine) SetImageRef(v ImageRef)
- func (o *Machine) SetIncompleteConfig(v FlyMachineConfig)
- func (o *Machine) SetInstanceId(v string)
- func (o *Machine) SetName(v string)
- func (o *Machine) SetNonce(v string)
- func (o *Machine) SetPrivateIp(v string)
- func (o *Machine) SetRegion(v string)
- func (o *Machine) SetState(v string)
- func (o *Machine) SetUpdatedAt(v string)
- func (o Machine) ToMap() (map[string]interface{}, error)
- type MachineEvent
- func (o *MachineEvent) GetId() string
- func (o *MachineEvent) GetIdOk() (*string, bool)
- func (o *MachineEvent) GetRequest() map[string]interface{}
- func (o *MachineEvent) GetRequestOk() (map[string]interface{}, bool)
- func (o *MachineEvent) GetSource() string
- func (o *MachineEvent) GetSourceOk() (*string, bool)
- func (o *MachineEvent) GetStatus() string
- func (o *MachineEvent) GetStatusOk() (*string, bool)
- func (o *MachineEvent) GetTimestamp() int64
- func (o *MachineEvent) GetTimestampOk() (*int64, bool)
- func (o *MachineEvent) GetType() string
- func (o *MachineEvent) GetTypeOk() (*string, bool)
- func (o *MachineEvent) HasId() bool
- func (o *MachineEvent) HasRequest() bool
- func (o *MachineEvent) HasSource() bool
- func (o *MachineEvent) HasStatus() bool
- func (o *MachineEvent) HasTimestamp() bool
- func (o *MachineEvent) HasType() bool
- func (o MachineEvent) MarshalJSON() ([]byte, error)
- func (o *MachineEvent) SetId(v string)
- func (o *MachineEvent) SetRequest(v map[string]interface{})
- func (o *MachineEvent) SetSource(v string)
- func (o *MachineEvent) SetStatus(v string)
- func (o *MachineEvent) SetTimestamp(v int64)
- func (o *MachineEvent) SetType(v string)
- func (o MachineEvent) ToMap() (map[string]interface{}, error)
- type MachineExecRequest
- func (o *MachineExecRequest) GetCmd() string
- func (o *MachineExecRequest) GetCmdOk() (*string, bool)
- func (o *MachineExecRequest) GetCommand() []string
- func (o *MachineExecRequest) GetCommandOk() ([]string, bool)
- func (o *MachineExecRequest) GetContainer() string
- func (o *MachineExecRequest) GetContainerOk() (*string, bool)
- func (o *MachineExecRequest) GetStdin() string
- func (o *MachineExecRequest) GetStdinOk() (*string, bool)
- func (o *MachineExecRequest) GetTimeout() int64
- func (o *MachineExecRequest) GetTimeoutOk() (*int64, bool)
- func (o *MachineExecRequest) HasCmd() bool
- func (o *MachineExecRequest) HasCommand() bool
- func (o *MachineExecRequest) HasContainer() bool
- func (o *MachineExecRequest) HasStdin() bool
- func (o *MachineExecRequest) HasTimeout() bool
- func (o MachineExecRequest) MarshalJSON() ([]byte, error)
- func (o *MachineExecRequest) SetCmd(v string)
- func (o *MachineExecRequest) SetCommand(v []string)
- func (o *MachineExecRequest) SetContainer(v string)
- func (o *MachineExecRequest) SetStdin(v string)
- func (o *MachineExecRequest) SetTimeout(v int64)
- func (o MachineExecRequest) ToMap() (map[string]interface{}, error)
- type MachineVersion
- func (o *MachineVersion) GetUserConfig() FlyMachineConfig
- func (o *MachineVersion) GetUserConfigOk() (*FlyMachineConfig, bool)
- func (o *MachineVersion) GetVersion() string
- func (o *MachineVersion) GetVersionOk() (*string, bool)
- func (o *MachineVersion) HasUserConfig() bool
- func (o *MachineVersion) HasVersion() bool
- func (o MachineVersion) MarshalJSON() ([]byte, error)
- func (o *MachineVersion) SetUserConfig(v FlyMachineConfig)
- func (o *MachineVersion) SetVersion(v string)
- func (o MachineVersion) ToMap() (map[string]interface{}, error)
- type MachinesAPIService
- func (a *MachinesAPIService) MachinesCordon(ctx context.Context, appName string, machineId string) ApiMachinesCordonRequest
- func (a *MachinesAPIService) MachinesCordonExecute(r ApiMachinesCordonRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesCreate(ctx context.Context, appName string) ApiMachinesCreateRequest
- func (a *MachinesAPIService) MachinesCreateExecute(r ApiMachinesCreateRequest) (*Machine, *http.Response, error)
- func (a *MachinesAPIService) MachinesCreateLease(ctx context.Context, appName string, machineId string) ApiMachinesCreateLeaseRequest
- func (a *MachinesAPIService) MachinesCreateLeaseExecute(r ApiMachinesCreateLeaseRequest) (*Lease, *http.Response, error)
- func (a *MachinesAPIService) MachinesDelete(ctx context.Context, appName string, machineId string) ApiMachinesDeleteRequest
- func (a *MachinesAPIService) MachinesDeleteExecute(r ApiMachinesDeleteRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesDeleteMetadata(ctx context.Context, appName string, machineId string, key string) ApiMachinesDeleteMetadataRequest
- func (a *MachinesAPIService) MachinesDeleteMetadataExecute(r ApiMachinesDeleteMetadataRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesExec(ctx context.Context, appName string, machineId string) ApiMachinesExecRequest
- func (a *MachinesAPIService) MachinesExecExecute(r ApiMachinesExecRequest) (*Flydv1ExecResponse, *http.Response, error)
- func (a *MachinesAPIService) MachinesList(ctx context.Context, appName string) ApiMachinesListRequest
- func (a *MachinesAPIService) MachinesListEvents(ctx context.Context, appName string, machineId string) ApiMachinesListEventsRequest
- func (a *MachinesAPIService) MachinesListEventsExecute(r ApiMachinesListEventsRequest) ([]MachineEvent, *http.Response, error)
- func (a *MachinesAPIService) MachinesListExecute(r ApiMachinesListRequest) ([]Machine, *http.Response, error)
- func (a *MachinesAPIService) MachinesListProcesses(ctx context.Context, appName string, machineId string) ApiMachinesListProcessesRequest
- func (a *MachinesAPIService) MachinesListProcessesExecute(r ApiMachinesListProcessesRequest) ([]ProcessStat, *http.Response, error)
- func (a *MachinesAPIService) MachinesListVersions(ctx context.Context, appName string, machineId string) ApiMachinesListVersionsRequest
- func (a *MachinesAPIService) MachinesListVersionsExecute(r ApiMachinesListVersionsRequest) ([]MachineVersion, *http.Response, error)
- func (a *MachinesAPIService) MachinesReleaseLease(ctx context.Context, appName string, machineId string) ApiMachinesReleaseLeaseRequest
- func (a *MachinesAPIService) MachinesReleaseLeaseExecute(r ApiMachinesReleaseLeaseRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesRestart(ctx context.Context, appName string, machineId string) ApiMachinesRestartRequest
- func (a *MachinesAPIService) MachinesRestartExecute(r ApiMachinesRestartRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesShow(ctx context.Context, appName string, machineId string) ApiMachinesShowRequest
- func (a *MachinesAPIService) MachinesShowExecute(r ApiMachinesShowRequest) (*Machine, *http.Response, error)
- func (a *MachinesAPIService) MachinesShowLease(ctx context.Context, appName string, machineId string) ApiMachinesShowLeaseRequest
- func (a *MachinesAPIService) MachinesShowLeaseExecute(r ApiMachinesShowLeaseRequest) (*Lease, *http.Response, error)
- func (a *MachinesAPIService) MachinesShowMetadata(ctx context.Context, appName string, machineId string) ApiMachinesShowMetadataRequest
- func (a *MachinesAPIService) MachinesShowMetadataExecute(r ApiMachinesShowMetadataRequest) (map[string]string, *http.Response, error)
- func (a *MachinesAPIService) MachinesSignal(ctx context.Context, appName string, machineId string) ApiMachinesSignalRequest
- func (a *MachinesAPIService) MachinesSignalExecute(r ApiMachinesSignalRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesStart(ctx context.Context, appName string, machineId string) ApiMachinesStartRequest
- func (a *MachinesAPIService) MachinesStartExecute(r ApiMachinesStartRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesStop(ctx context.Context, appName string, machineId string) ApiMachinesStopRequest
- func (a *MachinesAPIService) MachinesStopExecute(r ApiMachinesStopRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesSuspend(ctx context.Context, appName string, machineId string) ApiMachinesSuspendRequest
- func (a *MachinesAPIService) MachinesSuspendExecute(r ApiMachinesSuspendRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesUncordon(ctx context.Context, appName string, machineId string) ApiMachinesUncordonRequest
- func (a *MachinesAPIService) MachinesUncordonExecute(r ApiMachinesUncordonRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesUpdate(ctx context.Context, appName string, machineId string) ApiMachinesUpdateRequest
- func (a *MachinesAPIService) MachinesUpdateExecute(r ApiMachinesUpdateRequest) (*Machine, *http.Response, error)
- func (a *MachinesAPIService) MachinesUpdateMetadata(ctx context.Context, appName string, machineId string, key string) ApiMachinesUpdateMetadataRequest
- func (a *MachinesAPIService) MachinesUpdateMetadataExecute(r ApiMachinesUpdateMetadataRequest) (*http.Response, error)
- func (a *MachinesAPIService) MachinesWait(ctx context.Context, appName string, machineId string) ApiMachinesWaitRequest
- func (a *MachinesAPIService) MachinesWaitExecute(r ApiMachinesWaitRequest) (*http.Response, error)
- type MainGetPlacementsRequest
- func (o *MainGetPlacementsRequest) GetCompute() FlyMachineGuest
- func (o *MainGetPlacementsRequest) GetComputeOk() (*FlyMachineGuest, bool)
- func (o *MainGetPlacementsRequest) GetCount() int64
- func (o *MainGetPlacementsRequest) GetCountOk() (*int64, bool)
- func (o *MainGetPlacementsRequest) GetOrgSlug() string
- func (o *MainGetPlacementsRequest) GetOrgSlugOk() (*string, bool)
- func (o *MainGetPlacementsRequest) GetRegion() string
- func (o *MainGetPlacementsRequest) GetRegionOk() (*string, bool)
- func (o *MainGetPlacementsRequest) GetVolumeName() string
- func (o *MainGetPlacementsRequest) GetVolumeNameOk() (*string, bool)
- func (o *MainGetPlacementsRequest) GetVolumeSizeBytes() int64
- func (o *MainGetPlacementsRequest) GetVolumeSizeBytesOk() (*int64, bool)
- func (o *MainGetPlacementsRequest) GetWeights() map[string]int64
- func (o *MainGetPlacementsRequest) GetWeightsOk() (*map[string]int64, bool)
- func (o *MainGetPlacementsRequest) HasCompute() bool
- func (o *MainGetPlacementsRequest) HasCount() bool
- func (o *MainGetPlacementsRequest) HasRegion() bool
- func (o *MainGetPlacementsRequest) HasVolumeName() bool
- func (o *MainGetPlacementsRequest) HasVolumeSizeBytes() bool
- func (o *MainGetPlacementsRequest) HasWeights() bool
- func (o MainGetPlacementsRequest) MarshalJSON() ([]byte, error)
- func (o *MainGetPlacementsRequest) SetCompute(v FlyMachineGuest)
- func (o *MainGetPlacementsRequest) SetCount(v int64)
- func (o *MainGetPlacementsRequest) SetOrgSlug(v string)
- func (o *MainGetPlacementsRequest) SetRegion(v string)
- func (o *MainGetPlacementsRequest) SetVolumeName(v string)
- func (o *MainGetPlacementsRequest) SetVolumeSizeBytes(v int64)
- func (o *MainGetPlacementsRequest) SetWeights(v map[string]int64)
- func (o MainGetPlacementsRequest) ToMap() (map[string]interface{}, error)
- func (o *MainGetPlacementsRequest) UnmarshalJSON(data []byte) (err error)
- type MainGetPlacementsResponse
- func (o *MainGetPlacementsResponse) GetRegions() []PlacementRegionPlacement
- func (o *MainGetPlacementsResponse) GetRegionsOk() ([]PlacementRegionPlacement, bool)
- func (o *MainGetPlacementsResponse) HasRegions() bool
- func (o MainGetPlacementsResponse) MarshalJSON() ([]byte, error)
- func (o *MainGetPlacementsResponse) SetRegions(v []PlacementRegionPlacement)
- func (o MainGetPlacementsResponse) ToMap() (map[string]interface{}, error)
- type MainRegionResponse
- func (o *MainRegionResponse) GetRegions() []ReadsGetCapacityPerRegionRow
- func (o *MainRegionResponse) GetRegionsOk() ([]ReadsGetCapacityPerRegionRow, bool)
- func (o *MainRegionResponse) HasRegions() bool
- func (o MainRegionResponse) MarshalJSON() ([]byte, error)
- func (o *MainRegionResponse) SetRegions(v []ReadsGetCapacityPerRegionRow)
- func (o MainRegionResponse) ToMap() (map[string]interface{}, error)
- type MainStatusCode
- type MappedNullable
- type NullableApp
- type NullableAppSecret
- type NullableAppSecrets
- type NullableBool
- type NullableCheckStatus
- func (v NullableCheckStatus) Get() *CheckStatus
- func (v NullableCheckStatus) IsSet() bool
- func (v NullableCheckStatus) MarshalJSON() ([]byte, error)
- func (v *NullableCheckStatus) Set(val *CheckStatus)
- func (v *NullableCheckStatus) UnmarshalJSON(src []byte) error
- func (v *NullableCheckStatus) Unset()
- type NullableCreateAppRequest
- func (v NullableCreateAppRequest) Get() *CreateAppRequest
- func (v NullableCreateAppRequest) IsSet() bool
- func (v NullableCreateAppRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAppRequest) Set(val *CreateAppRequest)
- func (v *NullableCreateAppRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAppRequest) Unset()
- type NullableCreateLeaseRequest
- func (v NullableCreateLeaseRequest) Get() *CreateLeaseRequest
- func (v NullableCreateLeaseRequest) IsSet() bool
- func (v NullableCreateLeaseRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateLeaseRequest) Set(val *CreateLeaseRequest)
- func (v *NullableCreateLeaseRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateLeaseRequest) Unset()
- type NullableCreateMachineRequest
- func (v NullableCreateMachineRequest) Get() *CreateMachineRequest
- func (v NullableCreateMachineRequest) IsSet() bool
- func (v NullableCreateMachineRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateMachineRequest) Set(val *CreateMachineRequest)
- func (v *NullableCreateMachineRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateMachineRequest) Unset()
- type NullableCreateOIDCTokenRequest
- func (v NullableCreateOIDCTokenRequest) Get() *CreateOIDCTokenRequest
- func (v NullableCreateOIDCTokenRequest) IsSet() bool
- func (v NullableCreateOIDCTokenRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateOIDCTokenRequest) Set(val *CreateOIDCTokenRequest)
- func (v *NullableCreateOIDCTokenRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateOIDCTokenRequest) Unset()
- type NullableCreateVolumeRequest
- func (v NullableCreateVolumeRequest) Get() *CreateVolumeRequest
- func (v NullableCreateVolumeRequest) IsSet() bool
- func (v NullableCreateVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVolumeRequest) Set(val *CreateVolumeRequest)
- func (v *NullableCreateVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVolumeRequest) Unset()
- type NullableDecryptSecretkeyRequest
- func (v NullableDecryptSecretkeyRequest) Get() *DecryptSecretkeyRequest
- func (v NullableDecryptSecretkeyRequest) IsSet() bool
- func (v NullableDecryptSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptSecretkeyRequest) Set(val *DecryptSecretkeyRequest)
- func (v *NullableDecryptSecretkeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptSecretkeyRequest) Unset()
- type NullableDecryptSecretkeyResponse
- func (v NullableDecryptSecretkeyResponse) Get() *DecryptSecretkeyResponse
- func (v NullableDecryptSecretkeyResponse) IsSet() bool
- func (v NullableDecryptSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptSecretkeyResponse) Set(val *DecryptSecretkeyResponse)
- func (v *NullableDecryptSecretkeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptSecretkeyResponse) Unset()
- type NullableEncryptSecretkeyRequest
- func (v NullableEncryptSecretkeyRequest) Get() *EncryptSecretkeyRequest
- func (v NullableEncryptSecretkeyRequest) IsSet() bool
- func (v NullableEncryptSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptSecretkeyRequest) Set(val *EncryptSecretkeyRequest)
- func (v *NullableEncryptSecretkeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptSecretkeyRequest) Unset()
- type NullableEncryptSecretkeyResponse
- func (v NullableEncryptSecretkeyResponse) Get() *EncryptSecretkeyResponse
- func (v NullableEncryptSecretkeyResponse) IsSet() bool
- func (v NullableEncryptSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptSecretkeyResponse) Set(val *EncryptSecretkeyResponse)
- func (v *NullableEncryptSecretkeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptSecretkeyResponse) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableExtendVolumeRequest
- func (v NullableExtendVolumeRequest) Get() *ExtendVolumeRequest
- func (v NullableExtendVolumeRequest) IsSet() bool
- func (v NullableExtendVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableExtendVolumeRequest) Set(val *ExtendVolumeRequest)
- func (v *NullableExtendVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableExtendVolumeRequest) Unset()
- type NullableExtendVolumeResponse
- func (v NullableExtendVolumeResponse) Get() *ExtendVolumeResponse
- func (v NullableExtendVolumeResponse) IsSet() bool
- func (v NullableExtendVolumeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExtendVolumeResponse) Set(val *ExtendVolumeResponse)
- func (v *NullableExtendVolumeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExtendVolumeResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableFlyContainerConfig
- func (v NullableFlyContainerConfig) Get() *FlyContainerConfig
- func (v NullableFlyContainerConfig) IsSet() bool
- func (v NullableFlyContainerConfig) MarshalJSON() ([]byte, error)
- func (v *NullableFlyContainerConfig) Set(val *FlyContainerConfig)
- func (v *NullableFlyContainerConfig) UnmarshalJSON(src []byte) error
- func (v *NullableFlyContainerConfig) Unset()
- type NullableFlyContainerDependency
- func (v NullableFlyContainerDependency) Get() *FlyContainerDependency
- func (v NullableFlyContainerDependency) IsSet() bool
- func (v NullableFlyContainerDependency) MarshalJSON() ([]byte, error)
- func (v *NullableFlyContainerDependency) Set(val *FlyContainerDependency)
- func (v *NullableFlyContainerDependency) UnmarshalJSON(src []byte) error
- func (v *NullableFlyContainerDependency) Unset()
- type NullableFlyContainerDependencyCondition
- func (v NullableFlyContainerDependencyCondition) Get() *FlyContainerDependencyCondition
- func (v NullableFlyContainerDependencyCondition) IsSet() bool
- func (v NullableFlyContainerDependencyCondition) MarshalJSON() ([]byte, error)
- func (v *NullableFlyContainerDependencyCondition) Set(val *FlyContainerDependencyCondition)
- func (v *NullableFlyContainerDependencyCondition) UnmarshalJSON(src []byte) error
- func (v *NullableFlyContainerDependencyCondition) Unset()
- type NullableFlyContainerHealthcheck
- func (v NullableFlyContainerHealthcheck) Get() *FlyContainerHealthcheck
- func (v NullableFlyContainerHealthcheck) IsSet() bool
- func (v NullableFlyContainerHealthcheck) MarshalJSON() ([]byte, error)
- func (v *NullableFlyContainerHealthcheck) Set(val *FlyContainerHealthcheck)
- func (v *NullableFlyContainerHealthcheck) UnmarshalJSON(src []byte) error
- func (v *NullableFlyContainerHealthcheck) Unset()
- type NullableFlyContainerHealthcheckKind
- func (v NullableFlyContainerHealthcheckKind) Get() *FlyContainerHealthcheckKind
- func (v NullableFlyContainerHealthcheckKind) IsSet() bool
- func (v NullableFlyContainerHealthcheckKind) MarshalJSON() ([]byte, error)
- func (v *NullableFlyContainerHealthcheckKind) Set(val *FlyContainerHealthcheckKind)
- func (v *NullableFlyContainerHealthcheckKind) UnmarshalJSON(src []byte) error
- func (v *NullableFlyContainerHealthcheckKind) Unset()
- type NullableFlyContainerHealthcheckScheme
- func (v NullableFlyContainerHealthcheckScheme) Get() *FlyContainerHealthcheckScheme
- func (v NullableFlyContainerHealthcheckScheme) IsSet() bool
- func (v NullableFlyContainerHealthcheckScheme) MarshalJSON() ([]byte, error)
- func (v *NullableFlyContainerHealthcheckScheme) Set(val *FlyContainerHealthcheckScheme)
- func (v *NullableFlyContainerHealthcheckScheme) UnmarshalJSON(src []byte) error
- func (v *NullableFlyContainerHealthcheckScheme) Unset()
- type NullableFlyDNSConfig
- func (v NullableFlyDNSConfig) Get() *FlyDNSConfig
- func (v NullableFlyDNSConfig) IsSet() bool
- func (v NullableFlyDNSConfig) MarshalJSON() ([]byte, error)
- func (v *NullableFlyDNSConfig) Set(val *FlyDNSConfig)
- func (v *NullableFlyDNSConfig) UnmarshalJSON(src []byte) error
- func (v *NullableFlyDNSConfig) Unset()
- type NullableFlyDnsForwardRule
- func (v NullableFlyDnsForwardRule) Get() *FlyDnsForwardRule
- func (v NullableFlyDnsForwardRule) IsSet() bool
- func (v NullableFlyDnsForwardRule) MarshalJSON() ([]byte, error)
- func (v *NullableFlyDnsForwardRule) Set(val *FlyDnsForwardRule)
- func (v *NullableFlyDnsForwardRule) UnmarshalJSON(src []byte) error
- func (v *NullableFlyDnsForwardRule) Unset()
- type NullableFlyDnsOption
- func (v NullableFlyDnsOption) Get() *FlyDnsOption
- func (v NullableFlyDnsOption) IsSet() bool
- func (v NullableFlyDnsOption) MarshalJSON() ([]byte, error)
- func (v *NullableFlyDnsOption) Set(val *FlyDnsOption)
- func (v *NullableFlyDnsOption) UnmarshalJSON(src []byte) error
- func (v *NullableFlyDnsOption) Unset()
- type NullableFlyDuration
- func (v NullableFlyDuration) Get() *FlyDuration
- func (v NullableFlyDuration) IsSet() bool
- func (v NullableFlyDuration) MarshalJSON() ([]byte, error)
- func (v *NullableFlyDuration) Set(val *FlyDuration)
- func (v *NullableFlyDuration) UnmarshalJSON(src []byte) error
- func (v *NullableFlyDuration) Unset()
- type NullableFlyEnvFrom
- type NullableFlyExecHealthcheck
- func (v NullableFlyExecHealthcheck) Get() *FlyExecHealthcheck
- func (v NullableFlyExecHealthcheck) IsSet() bool
- func (v NullableFlyExecHealthcheck) MarshalJSON() ([]byte, error)
- func (v *NullableFlyExecHealthcheck) Set(val *FlyExecHealthcheck)
- func (v *NullableFlyExecHealthcheck) UnmarshalJSON(src []byte) error
- func (v *NullableFlyExecHealthcheck) Unset()
- type NullableFlyFile
- type NullableFlyHTTPHealthcheck
- func (v NullableFlyHTTPHealthcheck) Get() *FlyHTTPHealthcheck
- func (v NullableFlyHTTPHealthcheck) IsSet() bool
- func (v NullableFlyHTTPHealthcheck) MarshalJSON() ([]byte, error)
- func (v *NullableFlyHTTPHealthcheck) Set(val *FlyHTTPHealthcheck)
- func (v *NullableFlyHTTPHealthcheck) UnmarshalJSON(src []byte) error
- func (v *NullableFlyHTTPHealthcheck) Unset()
- type NullableFlyHTTPOptions
- func (v NullableFlyHTTPOptions) Get() *FlyHTTPOptions
- func (v NullableFlyHTTPOptions) IsSet() bool
- func (v NullableFlyHTTPOptions) MarshalJSON() ([]byte, error)
- func (v *NullableFlyHTTPOptions) Set(val *FlyHTTPOptions)
- func (v *NullableFlyHTTPOptions) UnmarshalJSON(src []byte) error
- func (v *NullableFlyHTTPOptions) Unset()
- type NullableFlyHTTPResponseOptions
- func (v NullableFlyHTTPResponseOptions) Get() *FlyHTTPResponseOptions
- func (v NullableFlyHTTPResponseOptions) IsSet() bool
- func (v NullableFlyHTTPResponseOptions) MarshalJSON() ([]byte, error)
- func (v *NullableFlyHTTPResponseOptions) Set(val *FlyHTTPResponseOptions)
- func (v *NullableFlyHTTPResponseOptions) UnmarshalJSON(src []byte) error
- func (v *NullableFlyHTTPResponseOptions) Unset()
- type NullableFlyMachineCheck
- func (v NullableFlyMachineCheck) Get() *FlyMachineCheck
- func (v NullableFlyMachineCheck) IsSet() bool
- func (v NullableFlyMachineCheck) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineCheck) Set(val *FlyMachineCheck)
- func (v *NullableFlyMachineCheck) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineCheck) Unset()
- type NullableFlyMachineConfig
- func (v NullableFlyMachineConfig) Get() *FlyMachineConfig
- func (v NullableFlyMachineConfig) IsSet() bool
- func (v NullableFlyMachineConfig) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineConfig) Set(val *FlyMachineConfig)
- func (v *NullableFlyMachineConfig) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineConfig) Unset()
- type NullableFlyMachineGuest
- func (v NullableFlyMachineGuest) Get() *FlyMachineGuest
- func (v NullableFlyMachineGuest) IsSet() bool
- func (v NullableFlyMachineGuest) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineGuest) Set(val *FlyMachineGuest)
- func (v *NullableFlyMachineGuest) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineGuest) Unset()
- type NullableFlyMachineHTTPHeader
- func (v NullableFlyMachineHTTPHeader) Get() *FlyMachineHTTPHeader
- func (v NullableFlyMachineHTTPHeader) IsSet() bool
- func (v NullableFlyMachineHTTPHeader) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineHTTPHeader) Set(val *FlyMachineHTTPHeader)
- func (v *NullableFlyMachineHTTPHeader) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineHTTPHeader) Unset()
- type NullableFlyMachineInit
- func (v NullableFlyMachineInit) Get() *FlyMachineInit
- func (v NullableFlyMachineInit) IsSet() bool
- func (v NullableFlyMachineInit) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineInit) Set(val *FlyMachineInit)
- func (v *NullableFlyMachineInit) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineInit) Unset()
- type NullableFlyMachineMetrics
- func (v NullableFlyMachineMetrics) Get() *FlyMachineMetrics
- func (v NullableFlyMachineMetrics) IsSet() bool
- func (v NullableFlyMachineMetrics) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineMetrics) Set(val *FlyMachineMetrics)
- func (v *NullableFlyMachineMetrics) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineMetrics) Unset()
- type NullableFlyMachinePort
- func (v NullableFlyMachinePort) Get() *FlyMachinePort
- func (v NullableFlyMachinePort) IsSet() bool
- func (v NullableFlyMachinePort) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachinePort) Set(val *FlyMachinePort)
- func (v *NullableFlyMachinePort) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachinePort) Unset()
- type NullableFlyMachineProcess
- func (v NullableFlyMachineProcess) Get() *FlyMachineProcess
- func (v NullableFlyMachineProcess) IsSet() bool
- func (v NullableFlyMachineProcess) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineProcess) Set(val *FlyMachineProcess)
- func (v *NullableFlyMachineProcess) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineProcess) Unset()
- type NullableFlyMachineRestart
- func (v NullableFlyMachineRestart) Get() *FlyMachineRestart
- func (v NullableFlyMachineRestart) IsSet() bool
- func (v NullableFlyMachineRestart) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineRestart) Set(val *FlyMachineRestart)
- func (v *NullableFlyMachineRestart) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineRestart) Unset()
- type NullableFlyMachineSecret
- func (v NullableFlyMachineSecret) Get() *FlyMachineSecret
- func (v NullableFlyMachineSecret) IsSet() bool
- func (v NullableFlyMachineSecret) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineSecret) Set(val *FlyMachineSecret)
- func (v *NullableFlyMachineSecret) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineSecret) Unset()
- type NullableFlyMachineService
- func (v NullableFlyMachineService) Get() *FlyMachineService
- func (v NullableFlyMachineService) IsSet() bool
- func (v NullableFlyMachineService) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineService) Set(val *FlyMachineService)
- func (v *NullableFlyMachineService) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineService) Unset()
- type NullableFlyMachineServiceCheck
- func (v NullableFlyMachineServiceCheck) Get() *FlyMachineServiceCheck
- func (v NullableFlyMachineServiceCheck) IsSet() bool
- func (v NullableFlyMachineServiceCheck) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineServiceCheck) Set(val *FlyMachineServiceCheck)
- func (v *NullableFlyMachineServiceCheck) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineServiceCheck) Unset()
- type NullableFlyMachineServiceConcurrency
- func (v NullableFlyMachineServiceConcurrency) Get() *FlyMachineServiceConcurrency
- func (v NullableFlyMachineServiceConcurrency) IsSet() bool
- func (v NullableFlyMachineServiceConcurrency) MarshalJSON() ([]byte, error)
- func (v *NullableFlyMachineServiceConcurrency) Set(val *FlyMachineServiceConcurrency)
- func (v *NullableFlyMachineServiceConcurrency) UnmarshalJSON(src []byte) error
- func (v *NullableFlyMachineServiceConcurrency) Unset()
- type NullableFlyProxyProtoOptions
- func (v NullableFlyProxyProtoOptions) Get() *FlyProxyProtoOptions
- func (v NullableFlyProxyProtoOptions) IsSet() bool
- func (v NullableFlyProxyProtoOptions) MarshalJSON() ([]byte, error)
- func (v *NullableFlyProxyProtoOptions) Set(val *FlyProxyProtoOptions)
- func (v *NullableFlyProxyProtoOptions) UnmarshalJSON(src []byte) error
- func (v *NullableFlyProxyProtoOptions) Unset()
- type NullableFlyStatic
- type NullableFlyStopConfig
- func (v NullableFlyStopConfig) Get() *FlyStopConfig
- func (v NullableFlyStopConfig) IsSet() bool
- func (v NullableFlyStopConfig) MarshalJSON() ([]byte, error)
- func (v *NullableFlyStopConfig) Set(val *FlyStopConfig)
- func (v *NullableFlyStopConfig) UnmarshalJSON(src []byte) error
- func (v *NullableFlyStopConfig) Unset()
- type NullableFlyTCPHealthcheck
- func (v NullableFlyTCPHealthcheck) Get() *FlyTCPHealthcheck
- func (v NullableFlyTCPHealthcheck) IsSet() bool
- func (v NullableFlyTCPHealthcheck) MarshalJSON() ([]byte, error)
- func (v *NullableFlyTCPHealthcheck) Set(val *FlyTCPHealthcheck)
- func (v *NullableFlyTCPHealthcheck) UnmarshalJSON(src []byte) error
- func (v *NullableFlyTCPHealthcheck) Unset()
- type NullableFlyTLSOptions
- func (v NullableFlyTLSOptions) Get() *FlyTLSOptions
- func (v NullableFlyTLSOptions) IsSet() bool
- func (v NullableFlyTLSOptions) MarshalJSON() ([]byte, error)
- func (v *NullableFlyTLSOptions) Set(val *FlyTLSOptions)
- func (v *NullableFlyTLSOptions) UnmarshalJSON(src []byte) error
- func (v *NullableFlyTLSOptions) Unset()
- type NullableFlyUnhealthyPolicy
- func (v NullableFlyUnhealthyPolicy) Get() *FlyUnhealthyPolicy
- func (v NullableFlyUnhealthyPolicy) IsSet() bool
- func (v NullableFlyUnhealthyPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableFlyUnhealthyPolicy) Set(val *FlyUnhealthyPolicy)
- func (v *NullableFlyUnhealthyPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableFlyUnhealthyPolicy) Unset()
- type NullableFlydv1ExecResponse
- func (v NullableFlydv1ExecResponse) Get() *Flydv1ExecResponse
- func (v NullableFlydv1ExecResponse) IsSet() bool
- func (v NullableFlydv1ExecResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFlydv1ExecResponse) Set(val *Flydv1ExecResponse)
- func (v *NullableFlydv1ExecResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFlydv1ExecResponse) Unset()
- type NullableImageRef
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLease
- type NullableListApp
- type NullableListAppsResponse
- func (v NullableListAppsResponse) Get() *ListAppsResponse
- func (v NullableListAppsResponse) IsSet() bool
- func (v NullableListAppsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListAppsResponse) Set(val *ListAppsResponse)
- func (v *NullableListAppsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListAppsResponse) Unset()
- type NullableListenSocket
- func (v NullableListenSocket) Get() *ListenSocket
- func (v NullableListenSocket) IsSet() bool
- func (v NullableListenSocket) MarshalJSON() ([]byte, error)
- func (v *NullableListenSocket) Set(val *ListenSocket)
- func (v *NullableListenSocket) UnmarshalJSON(src []byte) error
- func (v *NullableListenSocket) Unset()
- type NullableMachine
- type NullableMachineEvent
- func (v NullableMachineEvent) Get() *MachineEvent
- func (v NullableMachineEvent) IsSet() bool
- func (v NullableMachineEvent) MarshalJSON() ([]byte, error)
- func (v *NullableMachineEvent) Set(val *MachineEvent)
- func (v *NullableMachineEvent) UnmarshalJSON(src []byte) error
- func (v *NullableMachineEvent) Unset()
- type NullableMachineExecRequest
- func (v NullableMachineExecRequest) Get() *MachineExecRequest
- func (v NullableMachineExecRequest) IsSet() bool
- func (v NullableMachineExecRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMachineExecRequest) Set(val *MachineExecRequest)
- func (v *NullableMachineExecRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMachineExecRequest) Unset()
- type NullableMachineVersion
- func (v NullableMachineVersion) Get() *MachineVersion
- func (v NullableMachineVersion) IsSet() bool
- func (v NullableMachineVersion) MarshalJSON() ([]byte, error)
- func (v *NullableMachineVersion) Set(val *MachineVersion)
- func (v *NullableMachineVersion) UnmarshalJSON(src []byte) error
- func (v *NullableMachineVersion) Unset()
- type NullableMainGetPlacementsRequest
- func (v NullableMainGetPlacementsRequest) Get() *MainGetPlacementsRequest
- func (v NullableMainGetPlacementsRequest) IsSet() bool
- func (v NullableMainGetPlacementsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMainGetPlacementsRequest) Set(val *MainGetPlacementsRequest)
- func (v *NullableMainGetPlacementsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMainGetPlacementsRequest) Unset()
- type NullableMainGetPlacementsResponse
- func (v NullableMainGetPlacementsResponse) Get() *MainGetPlacementsResponse
- func (v NullableMainGetPlacementsResponse) IsSet() bool
- func (v NullableMainGetPlacementsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMainGetPlacementsResponse) Set(val *MainGetPlacementsResponse)
- func (v *NullableMainGetPlacementsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMainGetPlacementsResponse) Unset()
- type NullableMainRegionResponse
- func (v NullableMainRegionResponse) Get() *MainRegionResponse
- func (v NullableMainRegionResponse) IsSet() bool
- func (v NullableMainRegionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMainRegionResponse) Set(val *MainRegionResponse)
- func (v *NullableMainRegionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMainRegionResponse) Unset()
- type NullableMainStatusCode
- func (v NullableMainStatusCode) Get() *MainStatusCode
- func (v NullableMainStatusCode) IsSet() bool
- func (v NullableMainStatusCode) MarshalJSON() ([]byte, error)
- func (v *NullableMainStatusCode) Set(val *MainStatusCode)
- func (v *NullableMainStatusCode) UnmarshalJSON(src []byte) error
- func (v *NullableMainStatusCode) Unset()
- type NullableOrganization
- func (v NullableOrganization) Get() *Organization
- func (v NullableOrganization) IsSet() bool
- func (v NullableOrganization) MarshalJSON() ([]byte, error)
- func (v *NullableOrganization) Set(val *Organization)
- func (v *NullableOrganization) UnmarshalJSON(src []byte) error
- func (v *NullableOrganization) Unset()
- type NullablePlacementRegionPlacement
- func (v NullablePlacementRegionPlacement) Get() *PlacementRegionPlacement
- func (v NullablePlacementRegionPlacement) IsSet() bool
- func (v NullablePlacementRegionPlacement) MarshalJSON() ([]byte, error)
- func (v *NullablePlacementRegionPlacement) Set(val *PlacementRegionPlacement)
- func (v *NullablePlacementRegionPlacement) UnmarshalJSON(src []byte) error
- func (v *NullablePlacementRegionPlacement) Unset()
- type NullableProcessStat
- func (v NullableProcessStat) Get() *ProcessStat
- func (v NullableProcessStat) IsSet() bool
- func (v NullableProcessStat) MarshalJSON() ([]byte, error)
- func (v *NullableProcessStat) Set(val *ProcessStat)
- func (v *NullableProcessStat) UnmarshalJSON(src []byte) error
- func (v *NullableProcessStat) Unset()
- type NullableReadsGetCapacityPerRegionRow
- func (v NullableReadsGetCapacityPerRegionRow) Get() *ReadsGetCapacityPerRegionRow
- func (v NullableReadsGetCapacityPerRegionRow) IsSet() bool
- func (v NullableReadsGetCapacityPerRegionRow) MarshalJSON() ([]byte, error)
- func (v *NullableReadsGetCapacityPerRegionRow) Set(val *ReadsGetCapacityPerRegionRow)
- func (v *NullableReadsGetCapacityPerRegionRow) UnmarshalJSON(src []byte) error
- func (v *NullableReadsGetCapacityPerRegionRow) Unset()
- type NullableSecretKey
- type NullableSecretKeys
- type NullableSetAppSecretRequest
- func (v NullableSetAppSecretRequest) Get() *SetAppSecretRequest
- func (v NullableSetAppSecretRequest) IsSet() bool
- func (v NullableSetAppSecretRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSetAppSecretRequest) Set(val *SetAppSecretRequest)
- func (v *NullableSetAppSecretRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSetAppSecretRequest) Unset()
- type NullableSetAppSecretResponse
- func (v NullableSetAppSecretResponse) Get() *SetAppSecretResponse
- func (v NullableSetAppSecretResponse) IsSet() bool
- func (v NullableSetAppSecretResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSetAppSecretResponse) Set(val *SetAppSecretResponse)
- func (v *NullableSetAppSecretResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSetAppSecretResponse) Unset()
- type NullableSetSecretkeyRequest
- func (v NullableSetSecretkeyRequest) Get() *SetSecretkeyRequest
- func (v NullableSetSecretkeyRequest) IsSet() bool
- func (v NullableSetSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSetSecretkeyRequest) Set(val *SetSecretkeyRequest)
- func (v *NullableSetSecretkeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSetSecretkeyRequest) Unset()
- type NullableSetSecretkeyResponse
- func (v NullableSetSecretkeyResponse) Get() *SetSecretkeyResponse
- func (v NullableSetSecretkeyResponse) IsSet() bool
- func (v NullableSetSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSetSecretkeyResponse) Set(val *SetSecretkeyResponse)
- func (v *NullableSetSecretkeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSetSecretkeyResponse) Unset()
- type NullableSignSecretkeyRequest
- func (v NullableSignSecretkeyRequest) Get() *SignSecretkeyRequest
- func (v NullableSignSecretkeyRequest) IsSet() bool
- func (v NullableSignSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSignSecretkeyRequest) Set(val *SignSecretkeyRequest)
- func (v *NullableSignSecretkeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSignSecretkeyRequest) Unset()
- type NullableSignSecretkeyResponse
- func (v NullableSignSecretkeyResponse) Get() *SignSecretkeyResponse
- func (v NullableSignSecretkeyResponse) IsSet() bool
- func (v NullableSignSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSignSecretkeyResponse) Set(val *SignSecretkeyResponse)
- func (v *NullableSignSecretkeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSignSecretkeyResponse) Unset()
- type NullableSignalRequest
- func (v NullableSignalRequest) Get() *SignalRequest
- func (v NullableSignalRequest) IsSet() bool
- func (v NullableSignalRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSignalRequest) Set(val *SignalRequest)
- func (v *NullableSignalRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSignalRequest) Unset()
- type NullableStopRequest
- func (v NullableStopRequest) Get() *StopRequest
- func (v NullableStopRequest) IsSet() bool
- func (v NullableStopRequest) MarshalJSON() ([]byte, error)
- func (v *NullableStopRequest) Set(val *StopRequest)
- func (v *NullableStopRequest) UnmarshalJSON(src []byte) error
- func (v *NullableStopRequest) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateMachineRequest
- func (v NullableUpdateMachineRequest) Get() *UpdateMachineRequest
- func (v NullableUpdateMachineRequest) IsSet() bool
- func (v NullableUpdateMachineRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateMachineRequest) Set(val *UpdateMachineRequest)
- func (v *NullableUpdateMachineRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateMachineRequest) Unset()
- type NullableUpdateVolumeRequest
- func (v NullableUpdateVolumeRequest) Get() *UpdateVolumeRequest
- func (v NullableUpdateVolumeRequest) IsSet() bool
- func (v NullableUpdateVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVolumeRequest) Set(val *UpdateVolumeRequest)
- func (v *NullableUpdateVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVolumeRequest) Unset()
- type NullableVerifySecretkeyRequest
- func (v NullableVerifySecretkeyRequest) Get() *VerifySecretkeyRequest
- func (v NullableVerifySecretkeyRequest) IsSet() bool
- func (v NullableVerifySecretkeyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableVerifySecretkeyRequest) Set(val *VerifySecretkeyRequest)
- func (v *NullableVerifySecretkeyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableVerifySecretkeyRequest) Unset()
- type NullableVolume
- type NullableVolumeSnapshot
- func (v NullableVolumeSnapshot) Get() *VolumeSnapshot
- func (v NullableVolumeSnapshot) IsSet() bool
- func (v NullableVolumeSnapshot) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeSnapshot) Set(val *VolumeSnapshot)
- func (v *NullableVolumeSnapshot) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeSnapshot) Unset()
- type Organization
- func (o *Organization) GetName() string
- func (o *Organization) GetNameOk() (*string, bool)
- func (o *Organization) GetSlug() string
- func (o *Organization) GetSlugOk() (*string, bool)
- func (o *Organization) HasName() bool
- func (o *Organization) HasSlug() bool
- func (o Organization) MarshalJSON() ([]byte, error)
- func (o *Organization) SetName(v string)
- func (o *Organization) SetSlug(v string)
- func (o Organization) ToMap() (map[string]interface{}, error)
- type PlacementRegionPlacement
- func (o *PlacementRegionPlacement) GetConcurrency() int64
- func (o *PlacementRegionPlacement) GetConcurrencyOk() (*int64, bool)
- func (o *PlacementRegionPlacement) GetCount() int64
- func (o *PlacementRegionPlacement) GetCountOk() (*int64, bool)
- func (o *PlacementRegionPlacement) GetRegion() string
- func (o *PlacementRegionPlacement) GetRegionOk() (*string, bool)
- func (o *PlacementRegionPlacement) HasConcurrency() bool
- func (o *PlacementRegionPlacement) HasCount() bool
- func (o *PlacementRegionPlacement) HasRegion() bool
- func (o PlacementRegionPlacement) MarshalJSON() ([]byte, error)
- func (o *PlacementRegionPlacement) SetConcurrency(v int64)
- func (o *PlacementRegionPlacement) SetCount(v int64)
- func (o *PlacementRegionPlacement) SetRegion(v string)
- func (o PlacementRegionPlacement) ToMap() (map[string]interface{}, error)
- type PlatformAPIService
- func (a *PlatformAPIService) PlatformPlacementsPost(ctx context.Context) ApiPlatformPlacementsPostRequest
- func (a *PlatformAPIService) PlatformPlacementsPostExecute(r ApiPlatformPlacementsPostRequest) (*MainGetPlacementsResponse, *http.Response, error)
- func (a *PlatformAPIService) PlatformRegionsGet(ctx context.Context) ApiPlatformRegionsGetRequest
- func (a *PlatformAPIService) PlatformRegionsGetExecute(r ApiPlatformRegionsGetRequest) (*MainRegionResponse, *http.Response, error)
- type ProcessStat
- func (o *ProcessStat) GetCommand() string
- func (o *ProcessStat) GetCommandOk() (*string, bool)
- func (o *ProcessStat) GetCpu() int64
- func (o *ProcessStat) GetCpuOk() (*int64, bool)
- func (o *ProcessStat) GetDirectory() string
- func (o *ProcessStat) GetDirectoryOk() (*string, bool)
- func (o *ProcessStat) GetListenSockets() []ListenSocket
- func (o *ProcessStat) GetListenSocketsOk() ([]ListenSocket, bool)
- func (o *ProcessStat) GetPid() int64
- func (o *ProcessStat) GetPidOk() (*int64, bool)
- func (o *ProcessStat) GetRss() int64
- func (o *ProcessStat) GetRssOk() (*int64, bool)
- func (o *ProcessStat) GetRtime() int64
- func (o *ProcessStat) GetRtimeOk() (*int64, bool)
- func (o *ProcessStat) GetStime() int64
- func (o *ProcessStat) GetStimeOk() (*int64, bool)
- func (o *ProcessStat) HasCommand() bool
- func (o *ProcessStat) HasCpu() bool
- func (o *ProcessStat) HasDirectory() bool
- func (o *ProcessStat) HasListenSockets() bool
- func (o *ProcessStat) HasPid() bool
- func (o *ProcessStat) HasRss() bool
- func (o *ProcessStat) HasRtime() bool
- func (o *ProcessStat) HasStime() bool
- func (o ProcessStat) MarshalJSON() ([]byte, error)
- func (o *ProcessStat) SetCommand(v string)
- func (o *ProcessStat) SetCpu(v int64)
- func (o *ProcessStat) SetDirectory(v string)
- func (o *ProcessStat) SetListenSockets(v []ListenSocket)
- func (o *ProcessStat) SetPid(v int64)
- func (o *ProcessStat) SetRss(v int64)
- func (o *ProcessStat) SetRtime(v int64)
- func (o *ProcessStat) SetStime(v int64)
- func (o ProcessStat) ToMap() (map[string]interface{}, error)
- type ReadsGetCapacityPerRegionRow
- func (o *ReadsGetCapacityPerRegionRow) GetCapacity() int64
- func (o *ReadsGetCapacityPerRegionRow) GetCapacityOk() (*int64, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetCode() string
- func (o *ReadsGetCapacityPerRegionRow) GetCodeOk() (*string, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetGatewayAvailable() bool
- func (o *ReadsGetCapacityPerRegionRow) GetGatewayAvailableOk() (*bool, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetGeoRegion() string
- func (o *ReadsGetCapacityPerRegionRow) GetGeoRegionOk() (*string, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetLatitude() float32
- func (o *ReadsGetCapacityPerRegionRow) GetLatitudeOk() (*float32, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetLongitude() float32
- func (o *ReadsGetCapacityPerRegionRow) GetLongitudeOk() (*float32, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetName() string
- func (o *ReadsGetCapacityPerRegionRow) GetNameOk() (*string, bool)
- func (o *ReadsGetCapacityPerRegionRow) GetRequiresPaidPlan() bool
- func (o *ReadsGetCapacityPerRegionRow) GetRequiresPaidPlanOk() (*bool, bool)
- func (o *ReadsGetCapacityPerRegionRow) HasCapacity() bool
- func (o *ReadsGetCapacityPerRegionRow) HasCode() bool
- func (o *ReadsGetCapacityPerRegionRow) HasGatewayAvailable() bool
- func (o *ReadsGetCapacityPerRegionRow) HasGeoRegion() bool
- func (o *ReadsGetCapacityPerRegionRow) HasLatitude() bool
- func (o *ReadsGetCapacityPerRegionRow) HasLongitude() bool
- func (o *ReadsGetCapacityPerRegionRow) HasName() bool
- func (o *ReadsGetCapacityPerRegionRow) HasRequiresPaidPlan() bool
- func (o ReadsGetCapacityPerRegionRow) MarshalJSON() ([]byte, error)
- func (o *ReadsGetCapacityPerRegionRow) SetCapacity(v int64)
- func (o *ReadsGetCapacityPerRegionRow) SetCode(v string)
- func (o *ReadsGetCapacityPerRegionRow) SetGatewayAvailable(v bool)
- func (o *ReadsGetCapacityPerRegionRow) SetGeoRegion(v string)
- func (o *ReadsGetCapacityPerRegionRow) SetLatitude(v float32)
- func (o *ReadsGetCapacityPerRegionRow) SetLongitude(v float32)
- func (o *ReadsGetCapacityPerRegionRow) SetName(v string)
- func (o *ReadsGetCapacityPerRegionRow) SetRequiresPaidPlan(v bool)
- func (o ReadsGetCapacityPerRegionRow) ToMap() (map[string]interface{}, error)
- type SecretKey
- func (o *SecretKey) GetName() string
- func (o *SecretKey) GetNameOk() (*string, bool)
- func (o *SecretKey) GetPublicKey() []int64
- func (o *SecretKey) GetPublicKeyOk() ([]int64, bool)
- func (o *SecretKey) GetType() string
- func (o *SecretKey) GetTypeOk() (*string, bool)
- func (o *SecretKey) HasName() bool
- func (o *SecretKey) HasPublicKey() bool
- func (o *SecretKey) HasType() bool
- func (o SecretKey) MarshalJSON() ([]byte, error)
- func (o *SecretKey) SetName(v string)
- func (o *SecretKey) SetPublicKey(v []int64)
- func (o *SecretKey) SetType(v string)
- func (o SecretKey) ToMap() (map[string]interface{}, error)
- type SecretKeys
- func (o *SecretKeys) GetSecretKeys() []SecretKey
- func (o *SecretKeys) GetSecretKeysOk() ([]SecretKey, bool)
- func (o *SecretKeys) HasSecretKeys() bool
- func (o SecretKeys) MarshalJSON() ([]byte, error)
- func (o *SecretKeys) SetSecretKeys(v []SecretKey)
- func (o SecretKeys) ToMap() (map[string]interface{}, error)
- type SecretsAPIService
- func (a *SecretsAPIService) SecretCreate(ctx context.Context, appName string, secretName string) ApiSecretCreateRequest
- func (a *SecretsAPIService) SecretCreateExecute(r ApiSecretCreateRequest) (*SetAppSecretResponse, *http.Response, error)
- func (a *SecretsAPIService) SecretDelete(ctx context.Context, appName string, secretName string) ApiSecretDeleteRequest
- func (a *SecretsAPIService) SecretDeleteExecute(r ApiSecretDeleteRequest) (*http.Response, error)
- func (a *SecretsAPIService) SecretGet(ctx context.Context, appName string, secretName string) ApiSecretGetRequest
- func (a *SecretsAPIService) SecretGetExecute(r ApiSecretGetRequest) (*AppSecret, *http.Response, error)
- func (a *SecretsAPIService) SecretkeyDecrypt(ctx context.Context, appName string, secretName string) ApiSecretkeyDecryptRequest
- func (a *SecretsAPIService) SecretkeyDecryptExecute(r ApiSecretkeyDecryptRequest) (*DecryptSecretkeyResponse, *http.Response, error)
- func (a *SecretsAPIService) SecretkeyDelete(ctx context.Context, appName string, secretName string) ApiSecretkeyDeleteRequest
- func (a *SecretsAPIService) SecretkeyDeleteExecute(r ApiSecretkeyDeleteRequest) (*http.Response, error)
- func (a *SecretsAPIService) SecretkeyEncrypt(ctx context.Context, appName string, secretName string) ApiSecretkeyEncryptRequest
- func (a *SecretsAPIService) SecretkeyEncryptExecute(r ApiSecretkeyEncryptRequest) (*EncryptSecretkeyResponse, *http.Response, error)
- func (a *SecretsAPIService) SecretkeyGenerate(ctx context.Context, appName string, secretName string) ApiSecretkeyGenerateRequest
- func (a *SecretsAPIService) SecretkeyGenerateExecute(r ApiSecretkeyGenerateRequest) (*SetSecretkeyResponse, *http.Response, error)
- func (a *SecretsAPIService) SecretkeyGet(ctx context.Context, appName string, secretName string) ApiSecretkeyGetRequest
- func (a *SecretsAPIService) SecretkeyGetExecute(r ApiSecretkeyGetRequest) (*SecretKey, *http.Response, error)
- func (a *SecretsAPIService) SecretkeySet(ctx context.Context, appName string, secretName string) ApiSecretkeySetRequest
- func (a *SecretsAPIService) SecretkeySetExecute(r ApiSecretkeySetRequest) (*SetSecretkeyResponse, *http.Response, error)
- func (a *SecretsAPIService) SecretkeySign(ctx context.Context, appName string, secretName string) ApiSecretkeySignRequest
- func (a *SecretsAPIService) SecretkeySignExecute(r ApiSecretkeySignRequest) (*SignSecretkeyResponse, *http.Response, error)
- func (a *SecretsAPIService) SecretkeyVerify(ctx context.Context, appName string, secretName string) ApiSecretkeyVerifyRequest
- func (a *SecretsAPIService) SecretkeyVerifyExecute(r ApiSecretkeyVerifyRequest) (*http.Response, error)
- func (a *SecretsAPIService) SecretkeysList(ctx context.Context, appName string) ApiSecretkeysListRequest
- func (a *SecretsAPIService) SecretkeysListExecute(r ApiSecretkeysListRequest) (*SecretKeys, *http.Response, error)
- func (a *SecretsAPIService) SecretsList(ctx context.Context, appName string) ApiSecretsListRequest
- func (a *SecretsAPIService) SecretsListExecute(r ApiSecretsListRequest) (*AppSecrets, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SetAppSecretRequest
- func (o *SetAppSecretRequest) GetValue() string
- func (o *SetAppSecretRequest) GetValueOk() (*string, bool)
- func (o *SetAppSecretRequest) HasValue() bool
- func (o SetAppSecretRequest) MarshalJSON() ([]byte, error)
- func (o *SetAppSecretRequest) SetValue(v string)
- func (o SetAppSecretRequest) ToMap() (map[string]interface{}, error)
- type SetAppSecretResponse
- func (o *SetAppSecretResponse) GetDigest() string
- func (o *SetAppSecretResponse) GetDigestOk() (*string, bool)
- func (o *SetAppSecretResponse) GetName() string
- func (o *SetAppSecretResponse) GetNameOk() (*string, bool)
- func (o *SetAppSecretResponse) GetValue() string
- func (o *SetAppSecretResponse) GetValueOk() (*string, bool)
- func (o *SetAppSecretResponse) GetVersion() int64
- func (o *SetAppSecretResponse) GetVersionOk() (*int64, bool)
- func (o *SetAppSecretResponse) HasDigest() bool
- func (o *SetAppSecretResponse) HasName() bool
- func (o *SetAppSecretResponse) HasValue() bool
- func (o *SetAppSecretResponse) HasVersion() bool
- func (o SetAppSecretResponse) MarshalJSON() ([]byte, error)
- func (o *SetAppSecretResponse) SetDigest(v string)
- func (o *SetAppSecretResponse) SetName(v string)
- func (o *SetAppSecretResponse) SetValue(v string)
- func (o *SetAppSecretResponse) SetVersion(v int64)
- func (o SetAppSecretResponse) ToMap() (map[string]interface{}, error)
- type SetSecretkeyRequest
- func (o *SetSecretkeyRequest) GetType() string
- func (o *SetSecretkeyRequest) GetTypeOk() (*string, bool)
- func (o *SetSecretkeyRequest) GetValue() []int64
- func (o *SetSecretkeyRequest) GetValueOk() ([]int64, bool)
- func (o *SetSecretkeyRequest) HasType() bool
- func (o *SetSecretkeyRequest) HasValue() bool
- func (o SetSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (o *SetSecretkeyRequest) SetType(v string)
- func (o *SetSecretkeyRequest) SetValue(v []int64)
- func (o SetSecretkeyRequest) ToMap() (map[string]interface{}, error)
- type SetSecretkeyResponse
- func (o *SetSecretkeyResponse) GetName() string
- func (o *SetSecretkeyResponse) GetNameOk() (*string, bool)
- func (o *SetSecretkeyResponse) GetPublicKey() []int64
- func (o *SetSecretkeyResponse) GetPublicKeyOk() ([]int64, bool)
- func (o *SetSecretkeyResponse) GetType() string
- func (o *SetSecretkeyResponse) GetTypeOk() (*string, bool)
- func (o *SetSecretkeyResponse) GetVersion() int64
- func (o *SetSecretkeyResponse) GetVersionOk() (*int64, bool)
- func (o *SetSecretkeyResponse) HasName() bool
- func (o *SetSecretkeyResponse) HasPublicKey() bool
- func (o *SetSecretkeyResponse) HasType() bool
- func (o *SetSecretkeyResponse) HasVersion() bool
- func (o SetSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (o *SetSecretkeyResponse) SetName(v string)
- func (o *SetSecretkeyResponse) SetPublicKey(v []int64)
- func (o *SetSecretkeyResponse) SetType(v string)
- func (o *SetSecretkeyResponse) SetVersion(v int64)
- func (o SetSecretkeyResponse) ToMap() (map[string]interface{}, error)
- type SignSecretkeyRequest
- func (o *SignSecretkeyRequest) GetPlaintext() []int64
- func (o *SignSecretkeyRequest) GetPlaintextOk() ([]int64, bool)
- func (o *SignSecretkeyRequest) HasPlaintext() bool
- func (o SignSecretkeyRequest) MarshalJSON() ([]byte, error)
- func (o *SignSecretkeyRequest) SetPlaintext(v []int64)
- func (o SignSecretkeyRequest) ToMap() (map[string]interface{}, error)
- type SignSecretkeyResponse
- func (o *SignSecretkeyResponse) GetSignature() []int64
- func (o *SignSecretkeyResponse) GetSignatureOk() ([]int64, bool)
- func (o *SignSecretkeyResponse) HasSignature() bool
- func (o SignSecretkeyResponse) MarshalJSON() ([]byte, error)
- func (o *SignSecretkeyResponse) SetSignature(v []int64)
- func (o SignSecretkeyResponse) ToMap() (map[string]interface{}, error)
- type SignalRequest
- type StopRequest
- func (o *StopRequest) GetSignal() string
- func (o *StopRequest) GetSignalOk() (*string, bool)
- func (o *StopRequest) GetTimeout() FlyDuration
- func (o *StopRequest) GetTimeoutOk() (*FlyDuration, bool)
- func (o *StopRequest) HasSignal() bool
- func (o *StopRequest) HasTimeout() bool
- func (o StopRequest) MarshalJSON() ([]byte, error)
- func (o *StopRequest) SetSignal(v string)
- func (o *StopRequest) SetTimeout(v FlyDuration)
- func (o StopRequest) ToMap() (map[string]interface{}, error)
- type TokensAPIService
- func (a *TokensAPIService) TokensRequestKms(ctx context.Context) ApiTokensRequestKmsRequest
- func (a *TokensAPIService) TokensRequestKmsExecute(r ApiTokensRequestKmsRequest) (string, *http.Response, error)
- func (a *TokensAPIService) TokensRequestOIDC(ctx context.Context) ApiTokensRequestOIDCRequest
- func (a *TokensAPIService) TokensRequestOIDCExecute(r ApiTokensRequestOIDCRequest) (string, *http.Response, error)
- type UpdateMachineRequest
- func (o *UpdateMachineRequest) GetConfig() FlyMachineConfig
- func (o *UpdateMachineRequest) GetConfigOk() (*FlyMachineConfig, bool)
- func (o *UpdateMachineRequest) GetCurrentVersion() string
- func (o *UpdateMachineRequest) GetCurrentVersionOk() (*string, bool)
- func (o *UpdateMachineRequest) GetLeaseTtl() int64
- func (o *UpdateMachineRequest) GetLeaseTtlOk() (*int64, bool)
- func (o *UpdateMachineRequest) GetLsvd() bool
- func (o *UpdateMachineRequest) GetLsvdOk() (*bool, bool)
- func (o *UpdateMachineRequest) GetName() string
- func (o *UpdateMachineRequest) GetNameOk() (*string, bool)
- func (o *UpdateMachineRequest) GetRegion() string
- func (o *UpdateMachineRequest) GetRegionOk() (*string, bool)
- func (o *UpdateMachineRequest) GetSkipLaunch() bool
- func (o *UpdateMachineRequest) GetSkipLaunchOk() (*bool, bool)
- func (o *UpdateMachineRequest) GetSkipSecrets() bool
- func (o *UpdateMachineRequest) GetSkipSecretsOk() (*bool, bool)
- func (o *UpdateMachineRequest) GetSkipServiceRegistration() bool
- func (o *UpdateMachineRequest) GetSkipServiceRegistrationOk() (*bool, bool)
- func (o *UpdateMachineRequest) HasConfig() bool
- func (o *UpdateMachineRequest) HasCurrentVersion() bool
- func (o *UpdateMachineRequest) HasLeaseTtl() bool
- func (o *UpdateMachineRequest) HasLsvd() bool
- func (o *UpdateMachineRequest) HasName() bool
- func (o *UpdateMachineRequest) HasRegion() bool
- func (o *UpdateMachineRequest) HasSkipLaunch() bool
- func (o *UpdateMachineRequest) HasSkipSecrets() bool
- func (o *UpdateMachineRequest) HasSkipServiceRegistration() bool
- func (o UpdateMachineRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateMachineRequest) SetConfig(v FlyMachineConfig)
- func (o *UpdateMachineRequest) SetCurrentVersion(v string)
- func (o *UpdateMachineRequest) SetLeaseTtl(v int64)
- func (o *UpdateMachineRequest) SetLsvd(v bool)
- func (o *UpdateMachineRequest) SetName(v string)
- func (o *UpdateMachineRequest) SetRegion(v string)
- func (o *UpdateMachineRequest) SetSkipLaunch(v bool)
- func (o *UpdateMachineRequest) SetSkipSecrets(v bool)
- func (o *UpdateMachineRequest) SetSkipServiceRegistration(v bool)
- func (o UpdateMachineRequest) ToMap() (map[string]interface{}, error)
- type UpdateVolumeRequest
- func (o *UpdateVolumeRequest) GetAutoBackupEnabled() bool
- func (o *UpdateVolumeRequest) GetAutoBackupEnabledOk() (*bool, bool)
- func (o *UpdateVolumeRequest) GetSnapshotRetention() int64
- func (o *UpdateVolumeRequest) GetSnapshotRetentionOk() (*int64, bool)
- func (o *UpdateVolumeRequest) HasAutoBackupEnabled() bool
- func (o *UpdateVolumeRequest) HasSnapshotRetention() bool
- func (o UpdateVolumeRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateVolumeRequest) SetAutoBackupEnabled(v bool)
- func (o *UpdateVolumeRequest) SetSnapshotRetention(v int64)
- func (o UpdateVolumeRequest) ToMap() (map[string]interface{}, error)
- type VerifySecretkeyRequest
- func (o *VerifySecretkeyRequest) GetPlaintext() []int64
- func (o *VerifySecretkeyRequest) GetPlaintextOk() ([]int64, bool)
- func (o *VerifySecretkeyRequest) GetSignature() []int64
- func (o *VerifySecretkeyRequest) GetSignatureOk() ([]int64, bool)
- func (o *VerifySecretkeyRequest) HasPlaintext() bool
- func (o *VerifySecretkeyRequest) HasSignature() bool
- func (o VerifySecretkeyRequest) MarshalJSON() ([]byte, error)
- func (o *VerifySecretkeyRequest) SetPlaintext(v []int64)
- func (o *VerifySecretkeyRequest) SetSignature(v []int64)
- func (o VerifySecretkeyRequest) ToMap() (map[string]interface{}, error)
- type Volume
- func (o *Volume) GetAttachedAllocId() string
- func (o *Volume) GetAttachedAllocIdOk() (*string, bool)
- func (o *Volume) GetAttachedMachineId() string
- func (o *Volume) GetAttachedMachineIdOk() (*string, bool)
- func (o *Volume) GetAutoBackupEnabled() bool
- func (o *Volume) GetAutoBackupEnabledOk() (*bool, bool)
- func (o *Volume) GetBlockSize() int64
- func (o *Volume) GetBlockSizeOk() (*int64, bool)
- func (o *Volume) GetBlocks() int64
- func (o *Volume) GetBlocksAvail() int64
- func (o *Volume) GetBlocksAvailOk() (*int64, bool)
- func (o *Volume) GetBlocksFree() int64
- func (o *Volume) GetBlocksFreeOk() (*int64, bool)
- func (o *Volume) GetBlocksOk() (*int64, bool)
- func (o *Volume) GetBytesTotal() int64
- func (o *Volume) GetBytesTotalOk() (*int64, bool)
- func (o *Volume) GetBytesUsed() int64
- func (o *Volume) GetBytesUsedOk() (*int64, bool)
- func (o *Volume) GetCreatedAt() string
- func (o *Volume) GetCreatedAtOk() (*string, bool)
- func (o *Volume) GetEncrypted() bool
- func (o *Volume) GetEncryptedOk() (*bool, bool)
- func (o *Volume) GetFstype() string
- func (o *Volume) GetFstypeOk() (*string, bool)
- func (o *Volume) GetHostStatus() string
- func (o *Volume) GetHostStatusOk() (*string, bool)
- func (o *Volume) GetId() string
- func (o *Volume) GetIdOk() (*string, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetRegion() string
- func (o *Volume) GetRegionOk() (*string, bool)
- func (o *Volume) GetSizeGb() int64
- func (o *Volume) GetSizeGbOk() (*int64, bool)
- func (o *Volume) GetSnapshotRetention() int64
- func (o *Volume) GetSnapshotRetentionOk() (*int64, bool)
- func (o *Volume) GetState() string
- func (o *Volume) GetStateOk() (*string, bool)
- func (o *Volume) GetZone() string
- func (o *Volume) GetZoneOk() (*string, bool)
- func (o *Volume) HasAttachedAllocId() bool
- func (o *Volume) HasAttachedMachineId() bool
- func (o *Volume) HasAutoBackupEnabled() bool
- func (o *Volume) HasBlockSize() bool
- func (o *Volume) HasBlocks() bool
- func (o *Volume) HasBlocksAvail() bool
- func (o *Volume) HasBlocksFree() bool
- func (o *Volume) HasBytesTotal() bool
- func (o *Volume) HasBytesUsed() bool
- func (o *Volume) HasCreatedAt() bool
- func (o *Volume) HasEncrypted() bool
- func (o *Volume) HasFstype() bool
- func (o *Volume) HasHostStatus() bool
- func (o *Volume) HasId() bool
- func (o *Volume) HasName() bool
- func (o *Volume) HasRegion() bool
- func (o *Volume) HasSizeGb() bool
- func (o *Volume) HasSnapshotRetention() bool
- func (o *Volume) HasState() bool
- func (o *Volume) HasZone() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetAttachedAllocId(v string)
- func (o *Volume) SetAttachedMachineId(v string)
- func (o *Volume) SetAutoBackupEnabled(v bool)
- func (o *Volume) SetBlockSize(v int64)
- func (o *Volume) SetBlocks(v int64)
- func (o *Volume) SetBlocksAvail(v int64)
- func (o *Volume) SetBlocksFree(v int64)
- func (o *Volume) SetBytesTotal(v int64)
- func (o *Volume) SetBytesUsed(v int64)
- func (o *Volume) SetCreatedAt(v string)
- func (o *Volume) SetEncrypted(v bool)
- func (o *Volume) SetFstype(v string)
- func (o *Volume) SetHostStatus(v string)
- func (o *Volume) SetId(v string)
- func (o *Volume) SetName(v string)
- func (o *Volume) SetRegion(v string)
- func (o *Volume) SetSizeGb(v int64)
- func (o *Volume) SetSnapshotRetention(v int64)
- func (o *Volume) SetState(v string)
- func (o *Volume) SetZone(v string)
- func (o Volume) ToMap() (map[string]interface{}, error)
- type VolumeSnapshot
- func (o *VolumeSnapshot) GetCreatedAt() string
- func (o *VolumeSnapshot) GetCreatedAtOk() (*string, bool)
- func (o *VolumeSnapshot) GetDigest() string
- func (o *VolumeSnapshot) GetDigestOk() (*string, bool)
- func (o *VolumeSnapshot) GetId() string
- func (o *VolumeSnapshot) GetIdOk() (*string, bool)
- func (o *VolumeSnapshot) GetRetentionDays() int64
- func (o *VolumeSnapshot) GetRetentionDaysOk() (*int64, bool)
- func (o *VolumeSnapshot) GetSize() int64
- func (o *VolumeSnapshot) GetSizeOk() (*int64, bool)
- func (o *VolumeSnapshot) GetStatus() string
- func (o *VolumeSnapshot) GetStatusOk() (*string, bool)
- func (o *VolumeSnapshot) HasCreatedAt() bool
- func (o *VolumeSnapshot) HasDigest() bool
- func (o *VolumeSnapshot) HasId() bool
- func (o *VolumeSnapshot) HasRetentionDays() bool
- func (o *VolumeSnapshot) HasSize() bool
- func (o *VolumeSnapshot) HasStatus() bool
- func (o VolumeSnapshot) MarshalJSON() ([]byte, error)
- func (o *VolumeSnapshot) SetCreatedAt(v string)
- func (o *VolumeSnapshot) SetDigest(v string)
- func (o *VolumeSnapshot) SetId(v string)
- func (o *VolumeSnapshot) SetRetentionDays(v int64)
- func (o *VolumeSnapshot) SetSize(v int64)
- func (o *VolumeSnapshot) SetStatus(v string)
- func (o VolumeSnapshot) ToMap() (map[string]interface{}, error)
- type VolumesAPIService
- func (a *VolumesAPIService) CreateVolumeSnapshot(ctx context.Context, appName string, volumeId string) ApiCreateVolumeSnapshotRequest
- func (a *VolumesAPIService) CreateVolumeSnapshotExecute(r ApiCreateVolumeSnapshotRequest) (*http.Response, error)
- func (a *VolumesAPIService) VolumeDelete(ctx context.Context, appName string, volumeId string) ApiVolumeDeleteRequest
- func (a *VolumesAPIService) VolumeDeleteExecute(r ApiVolumeDeleteRequest) (*Volume, *http.Response, error)
- func (a *VolumesAPIService) VolumesCreate(ctx context.Context, appName string) ApiVolumesCreateRequest
- func (a *VolumesAPIService) VolumesCreateExecute(r ApiVolumesCreateRequest) (*Volume, *http.Response, error)
- func (a *VolumesAPIService) VolumesExtend(ctx context.Context, appName string, volumeId string) ApiVolumesExtendRequest
- func (a *VolumesAPIService) VolumesExtendExecute(r ApiVolumesExtendRequest) (*ExtendVolumeResponse, *http.Response, error)
- func (a *VolumesAPIService) VolumesGetById(ctx context.Context, appName string, volumeId string) ApiVolumesGetByIdRequest
- func (a *VolumesAPIService) VolumesGetByIdExecute(r ApiVolumesGetByIdRequest) (*Volume, *http.Response, error)
- func (a *VolumesAPIService) VolumesList(ctx context.Context, appName string) ApiVolumesListRequest
- func (a *VolumesAPIService) VolumesListExecute(r ApiVolumesListRequest) ([]Volume, *http.Response, error)
- func (a *VolumesAPIService) VolumesListSnapshots(ctx context.Context, appName string, volumeId string) ApiVolumesListSnapshotsRequest
- func (a *VolumesAPIService) VolumesListSnapshotsExecute(r ApiVolumesListSnapshotsRequest) ([]VolumeSnapshot, *http.Response, error)
- func (a *VolumesAPIService) VolumesUpdate(ctx context.Context, appName string, volumeId string) ApiVolumesUpdateRequest
- func (a *VolumesAPIService) VolumesUpdateExecute(r ApiVolumesUpdateRequest) (*Volume, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedFlyContainerDependencyConditionEnumValues = []FlyContainerDependencyCondition{
"exited_successfully",
"healthy",
"started",
}
All allowed values of FlyContainerDependencyCondition enum
var AllowedFlyContainerHealthcheckKindEnumValues = []FlyContainerHealthcheckKind{
"readiness",
"liveness",
}
All allowed values of FlyContainerHealthcheckKind enum
var AllowedFlyContainerHealthcheckSchemeEnumValues = []FlyContainerHealthcheckScheme{
"http",
"https",
}
All allowed values of FlyContainerHealthcheckScheme enum
var AllowedFlyUnhealthyPolicyEnumValues = []FlyUnhealthyPolicy{
"stop",
}
All allowed values of FlyUnhealthyPolicy enum
var AllowedMainStatusCodeEnumValues = []MainStatusCode{
"unknown",
"insufficient_capacity",
}
All allowed values of MainStatusCode enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
AppsAPI *AppsAPIService
MachinesAPI *MachinesAPIService
PlatformAPI *PlatformAPIService
SecretsAPI *SecretsAPIService
TokensAPI *TokensAPIService
VolumesAPI *VolumesAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the Machines API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiAppsCreateRequest ¶
type ApiAppsCreateRequest struct {
ApiService *AppsAPIService
// contains filtered or unexported fields
}
func (ApiAppsCreateRequest) Execute ¶
func (r ApiAppsCreateRequest) Execute() (*http.Response, error)
func (ApiAppsCreateRequest) Request ¶
func (r ApiAppsCreateRequest) Request(request CreateAppRequest) ApiAppsCreateRequest
App body
type ApiAppsDeleteRequest ¶
type ApiAppsDeleteRequest struct {
ApiService *AppsAPIService
// contains filtered or unexported fields
}
type ApiAppsListRequest ¶
type ApiAppsListRequest struct {
ApiService *AppsAPIService
// contains filtered or unexported fields
}
func (ApiAppsListRequest) Execute ¶
func (r ApiAppsListRequest) Execute() (*ListAppsResponse, *http.Response, error)
func (ApiAppsListRequest) OrgSlug ¶
func (r ApiAppsListRequest) OrgSlug(orgSlug string) ApiAppsListRequest
The org slug, or 'personal', to filter apps
type ApiAppsShowRequest ¶
type ApiAppsShowRequest struct {
ApiService *AppsAPIService
// contains filtered or unexported fields
}
type ApiCreateVolumeSnapshotRequest ¶
type ApiCreateVolumeSnapshotRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
type ApiMachinesCordonRequest ¶
type ApiMachinesCordonRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesCreateLeaseRequest ¶
type ApiMachinesCreateLeaseRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesCreateLeaseRequest) Execute ¶
func (r ApiMachinesCreateLeaseRequest) Execute() (*Lease, *http.Response, error)
func (ApiMachinesCreateLeaseRequest) FlyMachineLeaseNonce ¶
func (r ApiMachinesCreateLeaseRequest) FlyMachineLeaseNonce(flyMachineLeaseNonce string) ApiMachinesCreateLeaseRequest
Existing lease nonce to refresh by ttl, empty or non-existent to create a new lease
func (ApiMachinesCreateLeaseRequest) Request ¶
func (r ApiMachinesCreateLeaseRequest) Request(request CreateLeaseRequest) ApiMachinesCreateLeaseRequest
Request body
type ApiMachinesCreateRequest ¶
type ApiMachinesCreateRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesCreateRequest) Execute ¶
func (r ApiMachinesCreateRequest) Execute() (*Machine, *http.Response, error)
func (ApiMachinesCreateRequest) Request ¶
func (r ApiMachinesCreateRequest) Request(request CreateMachineRequest) ApiMachinesCreateRequest
Create machine request
type ApiMachinesDeleteMetadataRequest ¶
type ApiMachinesDeleteMetadataRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesDeleteRequest ¶
type ApiMachinesDeleteRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesDeleteRequest) Execute ¶
func (r ApiMachinesDeleteRequest) Execute() (*http.Response, error)
func (ApiMachinesDeleteRequest) Force ¶
func (r ApiMachinesDeleteRequest) Force(force bool) ApiMachinesDeleteRequest
Force kill the machine if it's running
type ApiMachinesExecRequest ¶
type ApiMachinesExecRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesExecRequest) Execute ¶
func (r ApiMachinesExecRequest) Execute() (*Flydv1ExecResponse, *http.Response, error)
func (ApiMachinesExecRequest) Request ¶
func (r ApiMachinesExecRequest) Request(request MachineExecRequest) ApiMachinesExecRequest
Request body
type ApiMachinesListEventsRequest ¶
type ApiMachinesListEventsRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesListEventsRequest) Execute ¶
func (r ApiMachinesListEventsRequest) Execute() ([]MachineEvent, *http.Response, error)
type ApiMachinesListProcessesRequest ¶
type ApiMachinesListProcessesRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesListProcessesRequest) Execute ¶
func (r ApiMachinesListProcessesRequest) Execute() ([]ProcessStat, *http.Response, error)
func (ApiMachinesListProcessesRequest) Order ¶
func (r ApiMachinesListProcessesRequest) Order(order string) ApiMachinesListProcessesRequest
Order
func (ApiMachinesListProcessesRequest) SortBy ¶
func (r ApiMachinesListProcessesRequest) SortBy(sortBy string) ApiMachinesListProcessesRequest
Sort by
type ApiMachinesListRequest ¶
type ApiMachinesListRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesListRequest) Execute ¶
func (r ApiMachinesListRequest) Execute() ([]Machine, *http.Response, error)
func (ApiMachinesListRequest) IncludeDeleted ¶
func (r ApiMachinesListRequest) IncludeDeleted(includeDeleted bool) ApiMachinesListRequest
Include deleted machines
func (ApiMachinesListRequest) Region ¶
func (r ApiMachinesListRequest) Region(region string) ApiMachinesListRequest
Region filter
func (ApiMachinesListRequest) State ¶
func (r ApiMachinesListRequest) State(state string) ApiMachinesListRequest
comma separated list of states to filter (created, started, stopped, suspended)
func (ApiMachinesListRequest) Summary ¶
func (r ApiMachinesListRequest) Summary(summary bool) ApiMachinesListRequest
Only return summary info about machines (omit config, checks, events, host_status, nonce, etc.)
type ApiMachinesListVersionsRequest ¶
type ApiMachinesListVersionsRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesListVersionsRequest) Execute ¶
func (r ApiMachinesListVersionsRequest) Execute() ([]MachineVersion, *http.Response, error)
type ApiMachinesReleaseLeaseRequest ¶
type ApiMachinesReleaseLeaseRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesReleaseLeaseRequest) Execute ¶
func (r ApiMachinesReleaseLeaseRequest) Execute() (*http.Response, error)
func (ApiMachinesReleaseLeaseRequest) FlyMachineLeaseNonce ¶
func (r ApiMachinesReleaseLeaseRequest) FlyMachineLeaseNonce(flyMachineLeaseNonce string) ApiMachinesReleaseLeaseRequest
Existing lease nonce
type ApiMachinesRestartRequest ¶
type ApiMachinesRestartRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesRestartRequest) Execute ¶
func (r ApiMachinesRestartRequest) Execute() (*http.Response, error)
func (ApiMachinesRestartRequest) Signal ¶
func (r ApiMachinesRestartRequest) Signal(signal string) ApiMachinesRestartRequest
Unix signal name
func (ApiMachinesRestartRequest) Timeout ¶
func (r ApiMachinesRestartRequest) Timeout(timeout string) ApiMachinesRestartRequest
Restart timeout as a Go duration string or number of seconds
type ApiMachinesShowLeaseRequest ¶
type ApiMachinesShowLeaseRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesShowMetadataRequest ¶
type ApiMachinesShowMetadataRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesShowRequest ¶
type ApiMachinesShowRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesSignalRequest ¶
type ApiMachinesSignalRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesSignalRequest) Execute ¶
func (r ApiMachinesSignalRequest) Execute() (*http.Response, error)
func (ApiMachinesSignalRequest) Request ¶
func (r ApiMachinesSignalRequest) Request(request SignalRequest) ApiMachinesSignalRequest
Request body
type ApiMachinesStartRequest ¶
type ApiMachinesStartRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesStopRequest ¶
type ApiMachinesStopRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesStopRequest) Execute ¶
func (r ApiMachinesStopRequest) Execute() (*http.Response, error)
func (ApiMachinesStopRequest) Request ¶
func (r ApiMachinesStopRequest) Request(request StopRequest) ApiMachinesStopRequest
Optional request body
type ApiMachinesSuspendRequest ¶
type ApiMachinesSuspendRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesUncordonRequest ¶
type ApiMachinesUncordonRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesUpdateMetadataRequest ¶
type ApiMachinesUpdateMetadataRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiMachinesUpdateRequest ¶
type ApiMachinesUpdateRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesUpdateRequest) Execute ¶
func (r ApiMachinesUpdateRequest) Execute() (*Machine, *http.Response, error)
func (ApiMachinesUpdateRequest) Request ¶
func (r ApiMachinesUpdateRequest) Request(request UpdateMachineRequest) ApiMachinesUpdateRequest
Request body
type ApiMachinesWaitRequest ¶
type ApiMachinesWaitRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiMachinesWaitRequest) Execute ¶
func (r ApiMachinesWaitRequest) Execute() (*http.Response, error)
func (ApiMachinesWaitRequest) InstanceId ¶
func (r ApiMachinesWaitRequest) InstanceId(instanceId string) ApiMachinesWaitRequest
26-character Machine version ID
func (ApiMachinesWaitRequest) State ¶
func (r ApiMachinesWaitRequest) State(state string) ApiMachinesWaitRequest
desired state
func (ApiMachinesWaitRequest) Timeout ¶
func (r ApiMachinesWaitRequest) Timeout(timeout int64) ApiMachinesWaitRequest
wait timeout. default 60s
type ApiPlatformPlacementsPostRequest ¶
type ApiPlatformPlacementsPostRequest struct {
ApiService *PlatformAPIService
// contains filtered or unexported fields
}
func (ApiPlatformPlacementsPostRequest) Execute ¶
func (r ApiPlatformPlacementsPostRequest) Execute() (*MainGetPlacementsResponse, *http.Response, error)
func (ApiPlatformPlacementsPostRequest) Request ¶
func (r ApiPlatformPlacementsPostRequest) Request(request MainGetPlacementsRequest) ApiPlatformPlacementsPostRequest
Get placements request
type ApiPlatformRegionsGetRequest ¶
type ApiPlatformRegionsGetRequest struct {
ApiService *PlatformAPIService
// contains filtered or unexported fields
}
func (ApiPlatformRegionsGetRequest) CpuKind ¶
func (r ApiPlatformRegionsGetRequest) CpuKind(cpuKind string) ApiPlatformRegionsGetRequest
guest CPU kind
func (ApiPlatformRegionsGetRequest) Cpus ¶
func (r ApiPlatformRegionsGetRequest) Cpus(cpus int64) ApiPlatformRegionsGetRequest
guest CPU count
func (ApiPlatformRegionsGetRequest) Execute ¶
func (r ApiPlatformRegionsGetRequest) Execute() (*MainRegionResponse, *http.Response, error)
func (ApiPlatformRegionsGetRequest) GpuKind ¶
func (r ApiPlatformRegionsGetRequest) GpuKind(gpuKind string) ApiPlatformRegionsGetRequest
guest GPU kind
func (ApiPlatformRegionsGetRequest) Gpus ¶
func (r ApiPlatformRegionsGetRequest) Gpus(gpus int64) ApiPlatformRegionsGetRequest
guest GPU count
func (ApiPlatformRegionsGetRequest) MemoryMb ¶
func (r ApiPlatformRegionsGetRequest) MemoryMb(memoryMb int64) ApiPlatformRegionsGetRequest
guest memory in megabytes
func (ApiPlatformRegionsGetRequest) Size ¶
func (r ApiPlatformRegionsGetRequest) Size(size string) ApiPlatformRegionsGetRequest
guest machine size preset. default performance-1x
type ApiSecretCreateRequest ¶
type ApiSecretCreateRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretCreateRequest) Execute ¶
func (r ApiSecretCreateRequest) Execute() (*SetAppSecretResponse, *http.Response, error)
func (ApiSecretCreateRequest) Request ¶
func (r ApiSecretCreateRequest) Request(request SetAppSecretRequest) ApiSecretCreateRequest
Create app secret request
type ApiSecretDeleteRequest ¶
type ApiSecretDeleteRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
type ApiSecretGetRequest ¶
type ApiSecretGetRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretGetRequest) Execute ¶
func (r ApiSecretGetRequest) Execute() (*AppSecret, *http.Response, error)
func (ApiSecretGetRequest) ShowSecrets ¶
func (r ApiSecretGetRequest) ShowSecrets(showSecrets bool) ApiSecretGetRequest
Show the secret value.
func (ApiSecretGetRequest) Version ¶
func (r ApiSecretGetRequest) Version(version string) ApiSecretGetRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretkeyDecryptRequest ¶
type ApiSecretkeyDecryptRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeyDecryptRequest) Execute ¶
func (r ApiSecretkeyDecryptRequest) Execute() (*DecryptSecretkeyResponse, *http.Response, error)
func (ApiSecretkeyDecryptRequest) Request ¶
func (r ApiSecretkeyDecryptRequest) Request(request DecryptSecretkeyRequest) ApiSecretkeyDecryptRequest
Decrypt with secret key request
func (ApiSecretkeyDecryptRequest) Version ¶
func (r ApiSecretkeyDecryptRequest) Version(version string) ApiSecretkeyDecryptRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretkeyDeleteRequest ¶
type ApiSecretkeyDeleteRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
type ApiSecretkeyEncryptRequest ¶
type ApiSecretkeyEncryptRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeyEncryptRequest) Execute ¶
func (r ApiSecretkeyEncryptRequest) Execute() (*EncryptSecretkeyResponse, *http.Response, error)
func (ApiSecretkeyEncryptRequest) Request ¶
func (r ApiSecretkeyEncryptRequest) Request(request EncryptSecretkeyRequest) ApiSecretkeyEncryptRequest
Encrypt with secret key request
func (ApiSecretkeyEncryptRequest) Version ¶
func (r ApiSecretkeyEncryptRequest) Version(version string) ApiSecretkeyEncryptRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretkeyGenerateRequest ¶
type ApiSecretkeyGenerateRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeyGenerateRequest) Execute ¶
func (r ApiSecretkeyGenerateRequest) Execute() (*SetSecretkeyResponse, *http.Response, error)
func (ApiSecretkeyGenerateRequest) Request ¶
func (r ApiSecretkeyGenerateRequest) Request(request SetSecretkeyRequest) ApiSecretkeyGenerateRequest
generate secret key request
type ApiSecretkeyGetRequest ¶
type ApiSecretkeyGetRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeyGetRequest) Execute ¶
func (r ApiSecretkeyGetRequest) Execute() (*SecretKey, *http.Response, error)
func (ApiSecretkeyGetRequest) Version ¶
func (r ApiSecretkeyGetRequest) Version(version string) ApiSecretkeyGetRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretkeySetRequest ¶
type ApiSecretkeySetRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeySetRequest) Execute ¶
func (r ApiSecretkeySetRequest) Execute() (*SetSecretkeyResponse, *http.Response, error)
func (ApiSecretkeySetRequest) Request ¶
func (r ApiSecretkeySetRequest) Request(request SetSecretkeyRequest) ApiSecretkeySetRequest
Create secret key request
type ApiSecretkeySignRequest ¶
type ApiSecretkeySignRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeySignRequest) Execute ¶
func (r ApiSecretkeySignRequest) Execute() (*SignSecretkeyResponse, *http.Response, error)
func (ApiSecretkeySignRequest) Request ¶
func (r ApiSecretkeySignRequest) Request(request SignSecretkeyRequest) ApiSecretkeySignRequest
Sign with secret key request
func (ApiSecretkeySignRequest) Version ¶
func (r ApiSecretkeySignRequest) Version(version string) ApiSecretkeySignRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretkeyVerifyRequest ¶
type ApiSecretkeyVerifyRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeyVerifyRequest) Execute ¶
func (r ApiSecretkeyVerifyRequest) Execute() (*http.Response, error)
func (ApiSecretkeyVerifyRequest) Request ¶
func (r ApiSecretkeyVerifyRequest) Request(request VerifySecretkeyRequest) ApiSecretkeyVerifyRequest
Verify with secret key request
func (ApiSecretkeyVerifyRequest) Version ¶
func (r ApiSecretkeyVerifyRequest) Version(version string) ApiSecretkeyVerifyRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretkeysListRequest ¶
type ApiSecretkeysListRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretkeysListRequest) Execute ¶
func (r ApiSecretkeysListRequest) Execute() (*SecretKeys, *http.Response, error)
func (ApiSecretkeysListRequest) Types ¶
func (r ApiSecretkeysListRequest) Types(types string) ApiSecretkeysListRequest
Comma-seperated list of secret keys to list
func (ApiSecretkeysListRequest) Version ¶
func (r ApiSecretkeysListRequest) Version(version string) ApiSecretkeysListRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiSecretsListRequest ¶
type ApiSecretsListRequest struct {
ApiService *SecretsAPIService
// contains filtered or unexported fields
}
func (ApiSecretsListRequest) Execute ¶
func (r ApiSecretsListRequest) Execute() (*AppSecrets, *http.Response, error)
func (ApiSecretsListRequest) ShowSecrets ¶
func (r ApiSecretsListRequest) ShowSecrets(showSecrets bool) ApiSecretsListRequest
Show the secret values.
func (ApiSecretsListRequest) Version ¶
func (r ApiSecretsListRequest) Version(version string) ApiSecretsListRequest
Minimum secrets version to return. Returned when setting a new secret
type ApiTokensRequestKmsRequest ¶
type ApiTokensRequestKmsRequest struct {
ApiService *TokensAPIService
// contains filtered or unexported fields
}
type ApiTokensRequestOIDCRequest ¶
type ApiTokensRequestOIDCRequest struct {
ApiService *TokensAPIService
// contains filtered or unexported fields
}
func (ApiTokensRequestOIDCRequest) Execute ¶
func (r ApiTokensRequestOIDCRequest) Execute() (string, *http.Response, error)
func (ApiTokensRequestOIDCRequest) Request ¶
func (r ApiTokensRequestOIDCRequest) Request(request CreateOIDCTokenRequest) ApiTokensRequestOIDCRequest
Optional request body
type ApiVolumeDeleteRequest ¶
type ApiVolumeDeleteRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
type ApiVolumesCreateRequest ¶
type ApiVolumesCreateRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
func (ApiVolumesCreateRequest) Execute ¶
func (r ApiVolumesCreateRequest) Execute() (*Volume, *http.Response, error)
func (ApiVolumesCreateRequest) Request ¶
func (r ApiVolumesCreateRequest) Request(request CreateVolumeRequest) ApiVolumesCreateRequest
Request body
type ApiVolumesExtendRequest ¶
type ApiVolumesExtendRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
func (ApiVolumesExtendRequest) Execute ¶
func (r ApiVolumesExtendRequest) Execute() (*ExtendVolumeResponse, *http.Response, error)
func (ApiVolumesExtendRequest) Request ¶
func (r ApiVolumesExtendRequest) Request(request ExtendVolumeRequest) ApiVolumesExtendRequest
Request body
type ApiVolumesGetByIdRequest ¶
type ApiVolumesGetByIdRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
type ApiVolumesListRequest ¶
type ApiVolumesListRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
func (ApiVolumesListRequest) Execute ¶
func (r ApiVolumesListRequest) Execute() ([]Volume, *http.Response, error)
func (ApiVolumesListRequest) Summary ¶
func (r ApiVolumesListRequest) Summary(summary bool) ApiVolumesListRequest
Only return summary info about volumes (omit blocks, block size, etc)
type ApiVolumesListSnapshotsRequest ¶
type ApiVolumesListSnapshotsRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
func (ApiVolumesListSnapshotsRequest) Execute ¶
func (r ApiVolumesListSnapshotsRequest) Execute() ([]VolumeSnapshot, *http.Response, error)
type ApiVolumesUpdateRequest ¶
type ApiVolumesUpdateRequest struct {
ApiService *VolumesAPIService
// contains filtered or unexported fields
}
func (ApiVolumesUpdateRequest) Execute ¶
func (r ApiVolumesUpdateRequest) Execute() (*Volume, *http.Response, error)
func (ApiVolumesUpdateRequest) Request ¶
func (r ApiVolumesUpdateRequest) Request(request UpdateVolumeRequest) ApiVolumesUpdateRequest
Request body
type App ¶
type App struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Organization *Organization `json:"organization,omitempty"`
Status *string `json:"status,omitempty"`
}
App struct for App
func NewApp ¶
func NewApp() *App
NewApp instantiates a new App object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAppWithDefaults ¶
func NewAppWithDefaults() *App
NewAppWithDefaults instantiates a new App object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*App) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*App) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*App) GetOrganization ¶
func (o *App) GetOrganization() Organization
GetOrganization returns the Organization field value if set, zero value otherwise.
func (*App) GetOrganizationOk ¶
func (o *App) GetOrganizationOk() (*Organization, bool)
GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*App) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*App) HasOrganization ¶
HasOrganization returns a boolean if a field has been set.
func (App) MarshalJSON ¶
func (*App) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*App) SetOrganization ¶
func (o *App) SetOrganization(v Organization)
SetOrganization gets a reference to the given Organization and assigns it to the Organization field.
type AppSecret ¶
type AppSecret struct {
Digest *string `json:"digest,omitempty"`
Name *string `json:"name,omitempty"`
Value *string `json:"value,omitempty"`
}
AppSecret struct for AppSecret
func NewAppSecret ¶
func NewAppSecret() *AppSecret
NewAppSecret instantiates a new AppSecret object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAppSecretWithDefaults ¶
func NewAppSecretWithDefaults() *AppSecret
NewAppSecretWithDefaults instantiates a new AppSecret object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AppSecret) GetDigest ¶
GetDigest returns the Digest field value if set, zero value otherwise.
func (*AppSecret) GetDigestOk ¶
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AppSecret) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AppSecret) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (AppSecret) MarshalJSON ¶
func (*AppSecret) SetDigest ¶
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*AppSecret) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
type AppSecrets ¶
type AppSecrets struct {
Secrets []AppSecret `json:"secrets,omitempty"`
}
AppSecrets struct for AppSecrets
func NewAppSecrets ¶
func NewAppSecrets() *AppSecrets
NewAppSecrets instantiates a new AppSecrets object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAppSecretsWithDefaults ¶
func NewAppSecretsWithDefaults() *AppSecrets
NewAppSecretsWithDefaults instantiates a new AppSecrets object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AppSecrets) GetSecrets ¶
func (o *AppSecrets) GetSecrets() []AppSecret
GetSecrets returns the Secrets field value if set, zero value otherwise.
func (*AppSecrets) GetSecretsOk ¶
func (o *AppSecrets) GetSecretsOk() ([]AppSecret, bool)
GetSecretsOk returns a tuple with the Secrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AppSecrets) HasSecrets ¶
func (o *AppSecrets) HasSecrets() bool
HasSecrets returns a boolean if a field has been set.
func (AppSecrets) MarshalJSON ¶
func (o AppSecrets) MarshalJSON() ([]byte, error)
func (*AppSecrets) SetSecrets ¶
func (o *AppSecrets) SetSecrets(v []AppSecret)
SetSecrets gets a reference to the given []AppSecret and assigns it to the Secrets field.
func (AppSecrets) ToMap ¶
func (o AppSecrets) ToMap() (map[string]interface{}, error)
type AppsAPIService ¶
type AppsAPIService service
AppsAPIService AppsAPI service
func (*AppsAPIService) AppsCreate ¶
func (a *AppsAPIService) AppsCreate(ctx context.Context) ApiAppsCreateRequest
AppsCreate Create App
Create an app with the specified details in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAppsCreateRequest
func (*AppsAPIService) AppsCreateExecute ¶
func (a *AppsAPIService) AppsCreateExecute(r ApiAppsCreateRequest) (*http.Response, error)
Execute executes the request
func (*AppsAPIService) AppsDelete ¶
func (a *AppsAPIService) AppsDelete(ctx context.Context, appName string) ApiAppsDeleteRequest
AppsDelete Destroy App
Delete an app by its name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiAppsDeleteRequest
func (*AppsAPIService) AppsDeleteExecute ¶
func (a *AppsAPIService) AppsDeleteExecute(r ApiAppsDeleteRequest) (*http.Response, error)
Execute executes the request
func (*AppsAPIService) AppsList ¶
func (a *AppsAPIService) AppsList(ctx context.Context) ApiAppsListRequest
AppsList List Apps
List all apps with the ability to filter by organization slug.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAppsListRequest
func (*AppsAPIService) AppsListExecute ¶
func (a *AppsAPIService) AppsListExecute(r ApiAppsListRequest) (*ListAppsResponse, *http.Response, error)
Execute executes the request
@return ListAppsResponse
func (*AppsAPIService) AppsShow ¶
func (a *AppsAPIService) AppsShow(ctx context.Context, appName string) ApiAppsShowRequest
AppsShow Get App
Retrieve details about a specific app by its name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiAppsShowRequest
func (*AppsAPIService) AppsShowExecute ¶
func (a *AppsAPIService) AppsShowExecute(r ApiAppsShowRequest) (*App, *http.Response, error)
Execute executes the request
@return App
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CheckStatus ¶
type CheckStatus struct {
Name *string `json:"name,omitempty"`
Output *string `json:"output,omitempty"`
Status *string `json:"status,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
CheckStatus struct for CheckStatus
func NewCheckStatus ¶
func NewCheckStatus() *CheckStatus
NewCheckStatus instantiates a new CheckStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCheckStatusWithDefaults ¶
func NewCheckStatusWithDefaults() *CheckStatus
NewCheckStatusWithDefaults instantiates a new CheckStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CheckStatus) GetName ¶
func (o *CheckStatus) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CheckStatus) GetNameOk ¶
func (o *CheckStatus) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckStatus) GetOutput ¶
func (o *CheckStatus) GetOutput() string
GetOutput returns the Output field value if set, zero value otherwise.
func (*CheckStatus) GetOutputOk ¶
func (o *CheckStatus) GetOutputOk() (*string, bool)
GetOutputOk returns a tuple with the Output field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckStatus) GetStatus ¶
func (o *CheckStatus) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CheckStatus) GetStatusOk ¶
func (o *CheckStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckStatus) GetUpdatedAt ¶
func (o *CheckStatus) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CheckStatus) GetUpdatedAtOk ¶
func (o *CheckStatus) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckStatus) HasName ¶
func (o *CheckStatus) HasName() bool
HasName returns a boolean if a field has been set.
func (*CheckStatus) HasOutput ¶
func (o *CheckStatus) HasOutput() bool
HasOutput returns a boolean if a field has been set.
func (*CheckStatus) HasStatus ¶
func (o *CheckStatus) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CheckStatus) HasUpdatedAt ¶
func (o *CheckStatus) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CheckStatus) MarshalJSON ¶
func (o CheckStatus) MarshalJSON() ([]byte, error)
func (*CheckStatus) SetName ¶
func (o *CheckStatus) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CheckStatus) SetOutput ¶
func (o *CheckStatus) SetOutput(v string)
SetOutput gets a reference to the given string and assigns it to the Output field.
func (*CheckStatus) SetStatus ¶
func (o *CheckStatus) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*CheckStatus) SetUpdatedAt ¶
func (o *CheckStatus) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (CheckStatus) ToMap ¶
func (o CheckStatus) ToMap() (map[string]interface{}, error)
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateAppRequest ¶
type CreateAppRequest struct {
AppName *string `json:"app_name,omitempty"`
EnableSubdomains *bool `json:"enable_subdomains,omitempty"`
Network *string `json:"network,omitempty"`
OrgSlug *string `json:"org_slug,omitempty"`
}
CreateAppRequest struct for CreateAppRequest
func NewCreateAppRequest ¶
func NewCreateAppRequest() *CreateAppRequest
NewCreateAppRequest instantiates a new CreateAppRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateAppRequestWithDefaults ¶
func NewCreateAppRequestWithDefaults() *CreateAppRequest
NewCreateAppRequestWithDefaults instantiates a new CreateAppRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateAppRequest) GetAppName ¶
func (o *CreateAppRequest) GetAppName() string
GetAppName returns the AppName field value if set, zero value otherwise.
func (*CreateAppRequest) GetAppNameOk ¶
func (o *CreateAppRequest) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAppRequest) GetEnableSubdomains ¶
func (o *CreateAppRequest) GetEnableSubdomains() bool
GetEnableSubdomains returns the EnableSubdomains field value if set, zero value otherwise.
func (*CreateAppRequest) GetEnableSubdomainsOk ¶
func (o *CreateAppRequest) GetEnableSubdomainsOk() (*bool, bool)
GetEnableSubdomainsOk returns a tuple with the EnableSubdomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAppRequest) GetNetwork ¶
func (o *CreateAppRequest) GetNetwork() string
GetNetwork returns the Network field value if set, zero value otherwise.
func (*CreateAppRequest) GetNetworkOk ¶
func (o *CreateAppRequest) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAppRequest) GetOrgSlug ¶
func (o *CreateAppRequest) GetOrgSlug() string
GetOrgSlug returns the OrgSlug field value if set, zero value otherwise.
func (*CreateAppRequest) GetOrgSlugOk ¶
func (o *CreateAppRequest) GetOrgSlugOk() (*string, bool)
GetOrgSlugOk returns a tuple with the OrgSlug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAppRequest) HasAppName ¶
func (o *CreateAppRequest) HasAppName() bool
HasAppName returns a boolean if a field has been set.
func (*CreateAppRequest) HasEnableSubdomains ¶
func (o *CreateAppRequest) HasEnableSubdomains() bool
HasEnableSubdomains returns a boolean if a field has been set.
func (*CreateAppRequest) HasNetwork ¶
func (o *CreateAppRequest) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*CreateAppRequest) HasOrgSlug ¶
func (o *CreateAppRequest) HasOrgSlug() bool
HasOrgSlug returns a boolean if a field has been set.
func (CreateAppRequest) MarshalJSON ¶
func (o CreateAppRequest) MarshalJSON() ([]byte, error)
func (*CreateAppRequest) SetAppName ¶
func (o *CreateAppRequest) SetAppName(v string)
SetAppName gets a reference to the given string and assigns it to the AppName field.
func (*CreateAppRequest) SetEnableSubdomains ¶
func (o *CreateAppRequest) SetEnableSubdomains(v bool)
SetEnableSubdomains gets a reference to the given bool and assigns it to the EnableSubdomains field.
func (*CreateAppRequest) SetNetwork ¶
func (o *CreateAppRequest) SetNetwork(v string)
SetNetwork gets a reference to the given string and assigns it to the Network field.
func (*CreateAppRequest) SetOrgSlug ¶
func (o *CreateAppRequest) SetOrgSlug(v string)
SetOrgSlug gets a reference to the given string and assigns it to the OrgSlug field.
func (CreateAppRequest) ToMap ¶
func (o CreateAppRequest) ToMap() (map[string]interface{}, error)
type CreateLeaseRequest ¶
type CreateLeaseRequest struct {
Description *string `json:"description,omitempty"`
// seconds lease will be valid
Ttl *int64 `json:"ttl,omitempty"`
}
CreateLeaseRequest struct for CreateLeaseRequest
func NewCreateLeaseRequest ¶
func NewCreateLeaseRequest() *CreateLeaseRequest
NewCreateLeaseRequest instantiates a new CreateLeaseRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateLeaseRequestWithDefaults ¶
func NewCreateLeaseRequestWithDefaults() *CreateLeaseRequest
NewCreateLeaseRequestWithDefaults instantiates a new CreateLeaseRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateLeaseRequest) GetDescription ¶
func (o *CreateLeaseRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateLeaseRequest) GetDescriptionOk ¶
func (o *CreateLeaseRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLeaseRequest) GetTtl ¶
func (o *CreateLeaseRequest) GetTtl() int64
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*CreateLeaseRequest) GetTtlOk ¶
func (o *CreateLeaseRequest) GetTtlOk() (*int64, bool)
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLeaseRequest) HasDescription ¶
func (o *CreateLeaseRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateLeaseRequest) HasTtl ¶
func (o *CreateLeaseRequest) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (CreateLeaseRequest) MarshalJSON ¶
func (o CreateLeaseRequest) MarshalJSON() ([]byte, error)
func (*CreateLeaseRequest) SetDescription ¶
func (o *CreateLeaseRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateLeaseRequest) SetTtl ¶
func (o *CreateLeaseRequest) SetTtl(v int64)
SetTtl gets a reference to the given int64 and assigns it to the Ttl field.
func (CreateLeaseRequest) ToMap ¶
func (o CreateLeaseRequest) ToMap() (map[string]interface{}, error)
type CreateMachineRequest ¶
type CreateMachineRequest struct {
// An object defining the Machine configuration
Config *FlyMachineConfig `json:"config,omitempty"`
LeaseTtl *int64 `json:"lease_ttl,omitempty"`
Lsvd *bool `json:"lsvd,omitempty"`
// Unique name for this Machine. If omitted, one is generated for you
Name *string `json:"name,omitempty"`
// The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you).
Region *string `json:"region,omitempty"`
SkipLaunch *bool `json:"skip_launch,omitempty"`
SkipSecrets *bool `json:"skip_secrets,omitempty"`
SkipServiceRegistration *bool `json:"skip_service_registration,omitempty"`
}
CreateMachineRequest struct for CreateMachineRequest
func NewCreateMachineRequest ¶
func NewCreateMachineRequest() *CreateMachineRequest
NewCreateMachineRequest instantiates a new CreateMachineRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateMachineRequestWithDefaults ¶
func NewCreateMachineRequestWithDefaults() *CreateMachineRequest
NewCreateMachineRequestWithDefaults instantiates a new CreateMachineRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateMachineRequest) GetConfig ¶
func (o *CreateMachineRequest) GetConfig() FlyMachineConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*CreateMachineRequest) GetConfigOk ¶
func (o *CreateMachineRequest) GetConfigOk() (*FlyMachineConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetLeaseTtl ¶
func (o *CreateMachineRequest) GetLeaseTtl() int64
GetLeaseTtl returns the LeaseTtl field value if set, zero value otherwise.
func (*CreateMachineRequest) GetLeaseTtlOk ¶
func (o *CreateMachineRequest) GetLeaseTtlOk() (*int64, bool)
GetLeaseTtlOk returns a tuple with the LeaseTtl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetLsvd ¶
func (o *CreateMachineRequest) GetLsvd() bool
GetLsvd returns the Lsvd field value if set, zero value otherwise.
func (*CreateMachineRequest) GetLsvdOk ¶
func (o *CreateMachineRequest) GetLsvdOk() (*bool, bool)
GetLsvdOk returns a tuple with the Lsvd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetName ¶
func (o *CreateMachineRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateMachineRequest) GetNameOk ¶
func (o *CreateMachineRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetRegion ¶
func (o *CreateMachineRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateMachineRequest) GetRegionOk ¶
func (o *CreateMachineRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetSkipLaunch ¶
func (o *CreateMachineRequest) GetSkipLaunch() bool
GetSkipLaunch returns the SkipLaunch field value if set, zero value otherwise.
func (*CreateMachineRequest) GetSkipLaunchOk ¶
func (o *CreateMachineRequest) GetSkipLaunchOk() (*bool, bool)
GetSkipLaunchOk returns a tuple with the SkipLaunch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetSkipSecrets ¶
func (o *CreateMachineRequest) GetSkipSecrets() bool
GetSkipSecrets returns the SkipSecrets field value if set, zero value otherwise.
func (*CreateMachineRequest) GetSkipSecretsOk ¶
func (o *CreateMachineRequest) GetSkipSecretsOk() (*bool, bool)
GetSkipSecretsOk returns a tuple with the SkipSecrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) GetSkipServiceRegistration ¶
func (o *CreateMachineRequest) GetSkipServiceRegistration() bool
GetSkipServiceRegistration returns the SkipServiceRegistration field value if set, zero value otherwise.
func (*CreateMachineRequest) GetSkipServiceRegistrationOk ¶
func (o *CreateMachineRequest) GetSkipServiceRegistrationOk() (*bool, bool)
GetSkipServiceRegistrationOk returns a tuple with the SkipServiceRegistration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateMachineRequest) HasConfig ¶
func (o *CreateMachineRequest) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*CreateMachineRequest) HasLeaseTtl ¶
func (o *CreateMachineRequest) HasLeaseTtl() bool
HasLeaseTtl returns a boolean if a field has been set.
func (*CreateMachineRequest) HasLsvd ¶
func (o *CreateMachineRequest) HasLsvd() bool
HasLsvd returns a boolean if a field has been set.
func (*CreateMachineRequest) HasName ¶
func (o *CreateMachineRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateMachineRequest) HasRegion ¶
func (o *CreateMachineRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateMachineRequest) HasSkipLaunch ¶
func (o *CreateMachineRequest) HasSkipLaunch() bool
HasSkipLaunch returns a boolean if a field has been set.
func (*CreateMachineRequest) HasSkipSecrets ¶
func (o *CreateMachineRequest) HasSkipSecrets() bool
HasSkipSecrets returns a boolean if a field has been set.
func (*CreateMachineRequest) HasSkipServiceRegistration ¶
func (o *CreateMachineRequest) HasSkipServiceRegistration() bool
HasSkipServiceRegistration returns a boolean if a field has been set.
func (CreateMachineRequest) MarshalJSON ¶
func (o CreateMachineRequest) MarshalJSON() ([]byte, error)
func (*CreateMachineRequest) SetConfig ¶
func (o *CreateMachineRequest) SetConfig(v FlyMachineConfig)
SetConfig gets a reference to the given FlyMachineConfig and assigns it to the Config field.
func (*CreateMachineRequest) SetLeaseTtl ¶
func (o *CreateMachineRequest) SetLeaseTtl(v int64)
SetLeaseTtl gets a reference to the given int64 and assigns it to the LeaseTtl field.
func (*CreateMachineRequest) SetLsvd ¶
func (o *CreateMachineRequest) SetLsvd(v bool)
SetLsvd gets a reference to the given bool and assigns it to the Lsvd field.
func (*CreateMachineRequest) SetName ¶
func (o *CreateMachineRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateMachineRequest) SetRegion ¶
func (o *CreateMachineRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateMachineRequest) SetSkipLaunch ¶
func (o *CreateMachineRequest) SetSkipLaunch(v bool)
SetSkipLaunch gets a reference to the given bool and assigns it to the SkipLaunch field.
func (*CreateMachineRequest) SetSkipSecrets ¶
func (o *CreateMachineRequest) SetSkipSecrets(v bool)
SetSkipSecrets gets a reference to the given bool and assigns it to the SkipSecrets field.
func (*CreateMachineRequest) SetSkipServiceRegistration ¶
func (o *CreateMachineRequest) SetSkipServiceRegistration(v bool)
SetSkipServiceRegistration gets a reference to the given bool and assigns it to the SkipServiceRegistration field.
func (CreateMachineRequest) ToMap ¶
func (o CreateMachineRequest) ToMap() (map[string]interface{}, error)
type CreateOIDCTokenRequest ¶
type CreateOIDCTokenRequest struct {
Aud *string `json:"aud,omitempty"`
AwsPrincipalTags *bool `json:"aws_principal_tags,omitempty"`
}
CreateOIDCTokenRequest Optional parameters
func NewCreateOIDCTokenRequest ¶
func NewCreateOIDCTokenRequest() *CreateOIDCTokenRequest
NewCreateOIDCTokenRequest instantiates a new CreateOIDCTokenRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateOIDCTokenRequestWithDefaults ¶
func NewCreateOIDCTokenRequestWithDefaults() *CreateOIDCTokenRequest
NewCreateOIDCTokenRequestWithDefaults instantiates a new CreateOIDCTokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateOIDCTokenRequest) GetAud ¶
func (o *CreateOIDCTokenRequest) GetAud() string
GetAud returns the Aud field value if set, zero value otherwise.
func (*CreateOIDCTokenRequest) GetAudOk ¶
func (o *CreateOIDCTokenRequest) GetAudOk() (*string, bool)
GetAudOk returns a tuple with the Aud field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOIDCTokenRequest) GetAwsPrincipalTags ¶
func (o *CreateOIDCTokenRequest) GetAwsPrincipalTags() bool
GetAwsPrincipalTags returns the AwsPrincipalTags field value if set, zero value otherwise.
func (*CreateOIDCTokenRequest) GetAwsPrincipalTagsOk ¶
func (o *CreateOIDCTokenRequest) GetAwsPrincipalTagsOk() (*bool, bool)
GetAwsPrincipalTagsOk returns a tuple with the AwsPrincipalTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOIDCTokenRequest) HasAud ¶
func (o *CreateOIDCTokenRequest) HasAud() bool
HasAud returns a boolean if a field has been set.
func (*CreateOIDCTokenRequest) HasAwsPrincipalTags ¶
func (o *CreateOIDCTokenRequest) HasAwsPrincipalTags() bool
HasAwsPrincipalTags returns a boolean if a field has been set.
func (CreateOIDCTokenRequest) MarshalJSON ¶
func (o CreateOIDCTokenRequest) MarshalJSON() ([]byte, error)
func (*CreateOIDCTokenRequest) SetAud ¶
func (o *CreateOIDCTokenRequest) SetAud(v string)
SetAud gets a reference to the given string and assigns it to the Aud field.
func (*CreateOIDCTokenRequest) SetAwsPrincipalTags ¶
func (o *CreateOIDCTokenRequest) SetAwsPrincipalTags(v bool)
SetAwsPrincipalTags gets a reference to the given bool and assigns it to the AwsPrincipalTags field.
func (CreateOIDCTokenRequest) ToMap ¶
func (o CreateOIDCTokenRequest) ToMap() (map[string]interface{}, error)
type CreateVolumeRequest ¶
type CreateVolumeRequest struct {
Compute *FlyMachineGuest `json:"compute,omitempty"`
ComputeImage *string `json:"compute_image,omitempty"`
Encrypted *bool `json:"encrypted,omitempty"`
Fstype *string `json:"fstype,omitempty"`
Name *string `json:"name,omitempty"`
Region *string `json:"region,omitempty"`
RequireUniqueZone *bool `json:"require_unique_zone,omitempty"`
SizeGb *int64 `json:"size_gb,omitempty"`
// restore from snapshot
SnapshotId *string `json:"snapshot_id,omitempty"`
SnapshotRetention *int64 `json:"snapshot_retention,omitempty"`
// fork from remote volume
SourceVolumeId *string `json:"source_volume_id,omitempty"`
UniqueZoneAppWide *bool `json:"unique_zone_app_wide,omitempty"`
}
CreateVolumeRequest struct for CreateVolumeRequest
func NewCreateVolumeRequest ¶
func NewCreateVolumeRequest() *CreateVolumeRequest
NewCreateVolumeRequest instantiates a new CreateVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateVolumeRequestWithDefaults ¶
func NewCreateVolumeRequestWithDefaults() *CreateVolumeRequest
NewCreateVolumeRequestWithDefaults instantiates a new CreateVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateVolumeRequest) GetCompute ¶
func (o *CreateVolumeRequest) GetCompute() FlyMachineGuest
GetCompute returns the Compute field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetComputeImage ¶
func (o *CreateVolumeRequest) GetComputeImage() string
GetComputeImage returns the ComputeImage field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetComputeImageOk ¶
func (o *CreateVolumeRequest) GetComputeImageOk() (*string, bool)
GetComputeImageOk returns a tuple with the ComputeImage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetComputeOk ¶
func (o *CreateVolumeRequest) GetComputeOk() (*FlyMachineGuest, bool)
GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetEncrypted ¶
func (o *CreateVolumeRequest) GetEncrypted() bool
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetEncryptedOk ¶
func (o *CreateVolumeRequest) GetEncryptedOk() (*bool, bool)
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetFstype ¶
func (o *CreateVolumeRequest) GetFstype() string
GetFstype returns the Fstype field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetFstypeOk ¶
func (o *CreateVolumeRequest) GetFstypeOk() (*string, bool)
GetFstypeOk returns a tuple with the Fstype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetName ¶
func (o *CreateVolumeRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetNameOk ¶
func (o *CreateVolumeRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetRegion ¶
func (o *CreateVolumeRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetRegionOk ¶
func (o *CreateVolumeRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetRequireUniqueZone ¶
func (o *CreateVolumeRequest) GetRequireUniqueZone() bool
GetRequireUniqueZone returns the RequireUniqueZone field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetRequireUniqueZoneOk ¶
func (o *CreateVolumeRequest) GetRequireUniqueZoneOk() (*bool, bool)
GetRequireUniqueZoneOk returns a tuple with the RequireUniqueZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetSizeGb ¶
func (o *CreateVolumeRequest) GetSizeGb() int64
GetSizeGb returns the SizeGb field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetSizeGbOk ¶
func (o *CreateVolumeRequest) GetSizeGbOk() (*int64, bool)
GetSizeGbOk returns a tuple with the SizeGb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetSnapshotId ¶
func (o *CreateVolumeRequest) GetSnapshotId() string
GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetSnapshotIdOk ¶
func (o *CreateVolumeRequest) GetSnapshotIdOk() (*string, bool)
GetSnapshotIdOk returns a tuple with the SnapshotId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetSnapshotRetention ¶
func (o *CreateVolumeRequest) GetSnapshotRetention() int64
GetSnapshotRetention returns the SnapshotRetention field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetSnapshotRetentionOk ¶
func (o *CreateVolumeRequest) GetSnapshotRetentionOk() (*int64, bool)
GetSnapshotRetentionOk returns a tuple with the SnapshotRetention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetSourceVolumeId ¶
func (o *CreateVolumeRequest) GetSourceVolumeId() string
GetSourceVolumeId returns the SourceVolumeId field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetSourceVolumeIdOk ¶
func (o *CreateVolumeRequest) GetSourceVolumeIdOk() (*string, bool)
GetSourceVolumeIdOk returns a tuple with the SourceVolumeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) GetUniqueZoneAppWide ¶
func (o *CreateVolumeRequest) GetUniqueZoneAppWide() bool
GetUniqueZoneAppWide returns the UniqueZoneAppWide field value if set, zero value otherwise.
func (*CreateVolumeRequest) GetUniqueZoneAppWideOk ¶
func (o *CreateVolumeRequest) GetUniqueZoneAppWideOk() (*bool, bool)
GetUniqueZoneAppWideOk returns a tuple with the UniqueZoneAppWide field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVolumeRequest) HasCompute ¶
func (o *CreateVolumeRequest) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasComputeImage ¶
func (o *CreateVolumeRequest) HasComputeImage() bool
HasComputeImage returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasEncrypted ¶
func (o *CreateVolumeRequest) HasEncrypted() bool
HasEncrypted returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasFstype ¶
func (o *CreateVolumeRequest) HasFstype() bool
HasFstype returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasName ¶
func (o *CreateVolumeRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasRegion ¶
func (o *CreateVolumeRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasRequireUniqueZone ¶
func (o *CreateVolumeRequest) HasRequireUniqueZone() bool
HasRequireUniqueZone returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasSizeGb ¶
func (o *CreateVolumeRequest) HasSizeGb() bool
HasSizeGb returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasSnapshotId ¶
func (o *CreateVolumeRequest) HasSnapshotId() bool
HasSnapshotId returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasSnapshotRetention ¶
func (o *CreateVolumeRequest) HasSnapshotRetention() bool
HasSnapshotRetention returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasSourceVolumeId ¶
func (o *CreateVolumeRequest) HasSourceVolumeId() bool
HasSourceVolumeId returns a boolean if a field has been set.
func (*CreateVolumeRequest) HasUniqueZoneAppWide ¶
func (o *CreateVolumeRequest) HasUniqueZoneAppWide() bool
HasUniqueZoneAppWide returns a boolean if a field has been set.
func (CreateVolumeRequest) MarshalJSON ¶
func (o CreateVolumeRequest) MarshalJSON() ([]byte, error)
func (*CreateVolumeRequest) SetCompute ¶
func (o *CreateVolumeRequest) SetCompute(v FlyMachineGuest)
SetCompute gets a reference to the given FlyMachineGuest and assigns it to the Compute field.
func (*CreateVolumeRequest) SetComputeImage ¶
func (o *CreateVolumeRequest) SetComputeImage(v string)
SetComputeImage gets a reference to the given string and assigns it to the ComputeImage field.
func (*CreateVolumeRequest) SetEncrypted ¶
func (o *CreateVolumeRequest) SetEncrypted(v bool)
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*CreateVolumeRequest) SetFstype ¶
func (o *CreateVolumeRequest) SetFstype(v string)
SetFstype gets a reference to the given string and assigns it to the Fstype field.
func (*CreateVolumeRequest) SetName ¶
func (o *CreateVolumeRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateVolumeRequest) SetRegion ¶
func (o *CreateVolumeRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateVolumeRequest) SetRequireUniqueZone ¶
func (o *CreateVolumeRequest) SetRequireUniqueZone(v bool)
SetRequireUniqueZone gets a reference to the given bool and assigns it to the RequireUniqueZone field.
func (*CreateVolumeRequest) SetSizeGb ¶
func (o *CreateVolumeRequest) SetSizeGb(v int64)
SetSizeGb gets a reference to the given int64 and assigns it to the SizeGb field.
func (*CreateVolumeRequest) SetSnapshotId ¶
func (o *CreateVolumeRequest) SetSnapshotId(v string)
SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.
func (*CreateVolumeRequest) SetSnapshotRetention ¶
func (o *CreateVolumeRequest) SetSnapshotRetention(v int64)
SetSnapshotRetention gets a reference to the given int64 and assigns it to the SnapshotRetention field.
func (*CreateVolumeRequest) SetSourceVolumeId ¶
func (o *CreateVolumeRequest) SetSourceVolumeId(v string)
SetSourceVolumeId gets a reference to the given string and assigns it to the SourceVolumeId field.
func (*CreateVolumeRequest) SetUniqueZoneAppWide ¶
func (o *CreateVolumeRequest) SetUniqueZoneAppWide(v bool)
SetUniqueZoneAppWide gets a reference to the given bool and assigns it to the UniqueZoneAppWide field.
func (CreateVolumeRequest) ToMap ¶
func (o CreateVolumeRequest) ToMap() (map[string]interface{}, error)
type DecryptSecretkeyRequest ¶
type DecryptSecretkeyRequest struct {
AssociatedData []int64 `json:"associated_data,omitempty"`
Ciphertext []int64 `json:"ciphertext,omitempty"`
}
DecryptSecretkeyRequest struct for DecryptSecretkeyRequest
func NewDecryptSecretkeyRequest ¶
func NewDecryptSecretkeyRequest() *DecryptSecretkeyRequest
NewDecryptSecretkeyRequest instantiates a new DecryptSecretkeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDecryptSecretkeyRequestWithDefaults ¶
func NewDecryptSecretkeyRequestWithDefaults() *DecryptSecretkeyRequest
NewDecryptSecretkeyRequestWithDefaults instantiates a new DecryptSecretkeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DecryptSecretkeyRequest) GetAssociatedData ¶
func (o *DecryptSecretkeyRequest) GetAssociatedData() []int64
GetAssociatedData returns the AssociatedData field value if set, zero value otherwise.
func (*DecryptSecretkeyRequest) GetAssociatedDataOk ¶
func (o *DecryptSecretkeyRequest) GetAssociatedDataOk() ([]int64, bool)
GetAssociatedDataOk returns a tuple with the AssociatedData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DecryptSecretkeyRequest) GetCiphertext ¶
func (o *DecryptSecretkeyRequest) GetCiphertext() []int64
GetCiphertext returns the Ciphertext field value if set, zero value otherwise.
func (*DecryptSecretkeyRequest) GetCiphertextOk ¶
func (o *DecryptSecretkeyRequest) GetCiphertextOk() ([]int64, bool)
GetCiphertextOk returns a tuple with the Ciphertext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DecryptSecretkeyRequest) HasAssociatedData ¶
func (o *DecryptSecretkeyRequest) HasAssociatedData() bool
HasAssociatedData returns a boolean if a field has been set.
func (*DecryptSecretkeyRequest) HasCiphertext ¶
func (o *DecryptSecretkeyRequest) HasCiphertext() bool
HasCiphertext returns a boolean if a field has been set.
func (DecryptSecretkeyRequest) MarshalJSON ¶
func (o DecryptSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*DecryptSecretkeyRequest) SetAssociatedData ¶
func (o *DecryptSecretkeyRequest) SetAssociatedData(v []int64)
SetAssociatedData gets a reference to the given []int64 and assigns it to the AssociatedData field.
func (*DecryptSecretkeyRequest) SetCiphertext ¶
func (o *DecryptSecretkeyRequest) SetCiphertext(v []int64)
SetCiphertext gets a reference to the given []int64 and assigns it to the Ciphertext field.
func (DecryptSecretkeyRequest) ToMap ¶
func (o DecryptSecretkeyRequest) ToMap() (map[string]interface{}, error)
type DecryptSecretkeyResponse ¶
type DecryptSecretkeyResponse struct {
Plaintext []int64 `json:"plaintext,omitempty"`
}
DecryptSecretkeyResponse struct for DecryptSecretkeyResponse
func NewDecryptSecretkeyResponse ¶
func NewDecryptSecretkeyResponse() *DecryptSecretkeyResponse
NewDecryptSecretkeyResponse instantiates a new DecryptSecretkeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDecryptSecretkeyResponseWithDefaults ¶
func NewDecryptSecretkeyResponseWithDefaults() *DecryptSecretkeyResponse
NewDecryptSecretkeyResponseWithDefaults instantiates a new DecryptSecretkeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DecryptSecretkeyResponse) GetPlaintext ¶
func (o *DecryptSecretkeyResponse) GetPlaintext() []int64
GetPlaintext returns the Plaintext field value if set, zero value otherwise.
func (*DecryptSecretkeyResponse) GetPlaintextOk ¶
func (o *DecryptSecretkeyResponse) GetPlaintextOk() ([]int64, bool)
GetPlaintextOk returns a tuple with the Plaintext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DecryptSecretkeyResponse) HasPlaintext ¶
func (o *DecryptSecretkeyResponse) HasPlaintext() bool
HasPlaintext returns a boolean if a field has been set.
func (DecryptSecretkeyResponse) MarshalJSON ¶
func (o DecryptSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*DecryptSecretkeyResponse) SetPlaintext ¶
func (o *DecryptSecretkeyResponse) SetPlaintext(v []int64)
SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.
func (DecryptSecretkeyResponse) ToMap ¶
func (o DecryptSecretkeyResponse) ToMap() (map[string]interface{}, error)
type EncryptSecretkeyRequest ¶
type EncryptSecretkeyRequest struct {
AssociatedData []int64 `json:"associated_data,omitempty"`
Plaintext []int64 `json:"plaintext,omitempty"`
}
EncryptSecretkeyRequest struct for EncryptSecretkeyRequest
func NewEncryptSecretkeyRequest ¶
func NewEncryptSecretkeyRequest() *EncryptSecretkeyRequest
NewEncryptSecretkeyRequest instantiates a new EncryptSecretkeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptSecretkeyRequestWithDefaults ¶
func NewEncryptSecretkeyRequestWithDefaults() *EncryptSecretkeyRequest
NewEncryptSecretkeyRequestWithDefaults instantiates a new EncryptSecretkeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EncryptSecretkeyRequest) GetAssociatedData ¶
func (o *EncryptSecretkeyRequest) GetAssociatedData() []int64
GetAssociatedData returns the AssociatedData field value if set, zero value otherwise.
func (*EncryptSecretkeyRequest) GetAssociatedDataOk ¶
func (o *EncryptSecretkeyRequest) GetAssociatedDataOk() ([]int64, bool)
GetAssociatedDataOk returns a tuple with the AssociatedData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptSecretkeyRequest) GetPlaintext ¶
func (o *EncryptSecretkeyRequest) GetPlaintext() []int64
GetPlaintext returns the Plaintext field value if set, zero value otherwise.
func (*EncryptSecretkeyRequest) GetPlaintextOk ¶
func (o *EncryptSecretkeyRequest) GetPlaintextOk() ([]int64, bool)
GetPlaintextOk returns a tuple with the Plaintext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptSecretkeyRequest) HasAssociatedData ¶
func (o *EncryptSecretkeyRequest) HasAssociatedData() bool
HasAssociatedData returns a boolean if a field has been set.
func (*EncryptSecretkeyRequest) HasPlaintext ¶
func (o *EncryptSecretkeyRequest) HasPlaintext() bool
HasPlaintext returns a boolean if a field has been set.
func (EncryptSecretkeyRequest) MarshalJSON ¶
func (o EncryptSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*EncryptSecretkeyRequest) SetAssociatedData ¶
func (o *EncryptSecretkeyRequest) SetAssociatedData(v []int64)
SetAssociatedData gets a reference to the given []int64 and assigns it to the AssociatedData field.
func (*EncryptSecretkeyRequest) SetPlaintext ¶
func (o *EncryptSecretkeyRequest) SetPlaintext(v []int64)
SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.
func (EncryptSecretkeyRequest) ToMap ¶
func (o EncryptSecretkeyRequest) ToMap() (map[string]interface{}, error)
type EncryptSecretkeyResponse ¶
type EncryptSecretkeyResponse struct {
Ciphertext []int64 `json:"ciphertext,omitempty"`
}
EncryptSecretkeyResponse struct for EncryptSecretkeyResponse
func NewEncryptSecretkeyResponse ¶
func NewEncryptSecretkeyResponse() *EncryptSecretkeyResponse
NewEncryptSecretkeyResponse instantiates a new EncryptSecretkeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptSecretkeyResponseWithDefaults ¶
func NewEncryptSecretkeyResponseWithDefaults() *EncryptSecretkeyResponse
NewEncryptSecretkeyResponseWithDefaults instantiates a new EncryptSecretkeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EncryptSecretkeyResponse) GetCiphertext ¶
func (o *EncryptSecretkeyResponse) GetCiphertext() []int64
GetCiphertext returns the Ciphertext field value if set, zero value otherwise.
func (*EncryptSecretkeyResponse) GetCiphertextOk ¶
func (o *EncryptSecretkeyResponse) GetCiphertextOk() ([]int64, bool)
GetCiphertextOk returns a tuple with the Ciphertext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptSecretkeyResponse) HasCiphertext ¶
func (o *EncryptSecretkeyResponse) HasCiphertext() bool
HasCiphertext returns a boolean if a field has been set.
func (EncryptSecretkeyResponse) MarshalJSON ¶
func (o EncryptSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*EncryptSecretkeyResponse) SetCiphertext ¶
func (o *EncryptSecretkeyResponse) SetCiphertext(v []int64)
SetCiphertext gets a reference to the given []int64 and assigns it to the Ciphertext field.
func (EncryptSecretkeyResponse) ToMap ¶
func (o EncryptSecretkeyResponse) ToMap() (map[string]interface{}, error)
type ErrorResponse ¶
type ErrorResponse struct {
// Deprecated
Details map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
Status *MainStatusCode `json:"status,omitempty"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetDetails ¶
func (o *ErrorResponse) GetDetails() map[string]interface{}
GetDetails returns the Details field value if set, zero value otherwise.
func (*ErrorResponse) GetDetailsOk ¶
func (o *ErrorResponse) GetDetailsOk() (map[string]interface{}, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetError ¶
func (o *ErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorResponse) GetErrorOk ¶
func (o *ErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶
func (o *ErrorResponse) GetStatus() MainStatusCode
GetStatus returns the Status field value if set, zero value otherwise.
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*MainStatusCode, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasDetails ¶
func (o *ErrorResponse) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*ErrorResponse) HasError ¶
func (o *ErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*ErrorResponse) HasStatus ¶
func (o *ErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetDetails ¶
func (o *ErrorResponse) SetDetails(v map[string]interface{})
SetDetails gets a reference to the given map[string]interface{} and assigns it to the Details field.
func (*ErrorResponse) SetError ¶
func (o *ErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ErrorResponse) SetStatus ¶
func (o *ErrorResponse) SetStatus(v MainStatusCode)
SetStatus gets a reference to the given MainStatusCode and assigns it to the Status field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type ExtendVolumeRequest ¶
type ExtendVolumeRequest struct {
SizeGb *int64 `json:"size_gb,omitempty"`
}
ExtendVolumeRequest struct for ExtendVolumeRequest
func NewExtendVolumeRequest ¶
func NewExtendVolumeRequest() *ExtendVolumeRequest
NewExtendVolumeRequest instantiates a new ExtendVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExtendVolumeRequestWithDefaults ¶
func NewExtendVolumeRequestWithDefaults() *ExtendVolumeRequest
NewExtendVolumeRequestWithDefaults instantiates a new ExtendVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExtendVolumeRequest) GetSizeGb ¶
func (o *ExtendVolumeRequest) GetSizeGb() int64
GetSizeGb returns the SizeGb field value if set, zero value otherwise.
func (*ExtendVolumeRequest) GetSizeGbOk ¶
func (o *ExtendVolumeRequest) GetSizeGbOk() (*int64, bool)
GetSizeGbOk returns a tuple with the SizeGb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExtendVolumeRequest) HasSizeGb ¶
func (o *ExtendVolumeRequest) HasSizeGb() bool
HasSizeGb returns a boolean if a field has been set.
func (ExtendVolumeRequest) MarshalJSON ¶
func (o ExtendVolumeRequest) MarshalJSON() ([]byte, error)
func (*ExtendVolumeRequest) SetSizeGb ¶
func (o *ExtendVolumeRequest) SetSizeGb(v int64)
SetSizeGb gets a reference to the given int64 and assigns it to the SizeGb field.
func (ExtendVolumeRequest) ToMap ¶
func (o ExtendVolumeRequest) ToMap() (map[string]interface{}, error)
type ExtendVolumeResponse ¶
type ExtendVolumeResponse struct {
NeedsRestart *bool `json:"needs_restart,omitempty"`
Volume *Volume `json:"volume,omitempty"`
}
ExtendVolumeResponse struct for ExtendVolumeResponse
func NewExtendVolumeResponse ¶
func NewExtendVolumeResponse() *ExtendVolumeResponse
NewExtendVolumeResponse instantiates a new ExtendVolumeResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExtendVolumeResponseWithDefaults ¶
func NewExtendVolumeResponseWithDefaults() *ExtendVolumeResponse
NewExtendVolumeResponseWithDefaults instantiates a new ExtendVolumeResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExtendVolumeResponse) GetNeedsRestart ¶
func (o *ExtendVolumeResponse) GetNeedsRestart() bool
GetNeedsRestart returns the NeedsRestart field value if set, zero value otherwise.
func (*ExtendVolumeResponse) GetNeedsRestartOk ¶
func (o *ExtendVolumeResponse) GetNeedsRestartOk() (*bool, bool)
GetNeedsRestartOk returns a tuple with the NeedsRestart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExtendVolumeResponse) GetVolume ¶
func (o *ExtendVolumeResponse) GetVolume() Volume
GetVolume returns the Volume field value if set, zero value otherwise.
func (*ExtendVolumeResponse) GetVolumeOk ¶
func (o *ExtendVolumeResponse) GetVolumeOk() (*Volume, bool)
GetVolumeOk returns a tuple with the Volume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExtendVolumeResponse) HasNeedsRestart ¶
func (o *ExtendVolumeResponse) HasNeedsRestart() bool
HasNeedsRestart returns a boolean if a field has been set.
func (*ExtendVolumeResponse) HasVolume ¶
func (o *ExtendVolumeResponse) HasVolume() bool
HasVolume returns a boolean if a field has been set.
func (ExtendVolumeResponse) MarshalJSON ¶
func (o ExtendVolumeResponse) MarshalJSON() ([]byte, error)
func (*ExtendVolumeResponse) SetNeedsRestart ¶
func (o *ExtendVolumeResponse) SetNeedsRestart(v bool)
SetNeedsRestart gets a reference to the given bool and assigns it to the NeedsRestart field.
func (*ExtendVolumeResponse) SetVolume ¶
func (o *ExtendVolumeResponse) SetVolume(v Volume)
SetVolume gets a reference to the given Volume and assigns it to the Volume field.
func (ExtendVolumeResponse) ToMap ¶
func (o ExtendVolumeResponse) ToMap() (map[string]interface{}, error)
type FlyContainerConfig ¶
type FlyContainerConfig struct {
// CmdOverride is used to override the default command of the image.
Cmd []string `json:"cmd,omitempty"`
// DependsOn can be used to define dependencies between containers. The container will only be started after all of its dependent conditions have been satisfied.
DependsOn []FlyContainerDependency `json:"depends_on,omitempty"`
// EntrypointOverride is used to override the default entrypoint of the image.
Entrypoint []string `json:"entrypoint,omitempty"`
// ExtraEnv is used to add additional environment variables to the container.
Env *map[string]string `json:"env,omitempty"`
// EnvFrom can be provided to set environment variables from machine fields.
EnvFrom []FlyEnvFrom `json:"env_from,omitempty"`
// Image Config overrides - these fields are used to override the image configuration. If not provided, the image configuration will be used. ExecOverride is used to override the default command of the image.
Exec []string `json:"exec,omitempty"`
// Files are files that will be written to the container file system.
Files []FlyFile `json:"files,omitempty"`
// Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command.
Healthchecks []FlyContainerHealthcheck `json:"healthchecks,omitempty"`
// Image is the docker image to run.
Image *string `json:"image,omitempty"`
// Name is used to identify the container in the machine.
Name *string `json:"name,omitempty"`
// Restart is used to define the restart policy for the container. NOTE: spot-price is not supported for containers.
Restart *FlyMachineRestart `json:"restart,omitempty"`
// Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used.
Secrets []FlyMachineSecret `json:"secrets,omitempty"`
// Stop is used to define the signal and timeout for stopping the container.
Stop *FlyStopConfig `json:"stop,omitempty"`
// UserOverride is used to override the default user of the image.
User *string `json:"user,omitempty"`
}
FlyContainerConfig struct for FlyContainerConfig
func NewFlyContainerConfig ¶
func NewFlyContainerConfig() *FlyContainerConfig
NewFlyContainerConfig instantiates a new FlyContainerConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyContainerConfigWithDefaults ¶
func NewFlyContainerConfigWithDefaults() *FlyContainerConfig
NewFlyContainerConfigWithDefaults instantiates a new FlyContainerConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyContainerConfig) GetCmd ¶
func (o *FlyContainerConfig) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*FlyContainerConfig) GetCmdOk ¶
func (o *FlyContainerConfig) GetCmdOk() ([]string, bool)
GetCmdOk returns a tuple with the Cmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetDependsOn ¶
func (o *FlyContainerConfig) GetDependsOn() []FlyContainerDependency
GetDependsOn returns the DependsOn field value if set, zero value otherwise.
func (*FlyContainerConfig) GetDependsOnOk ¶
func (o *FlyContainerConfig) GetDependsOnOk() ([]FlyContainerDependency, bool)
GetDependsOnOk returns a tuple with the DependsOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetEntrypoint ¶
func (o *FlyContainerConfig) GetEntrypoint() []string
GetEntrypoint returns the Entrypoint field value if set, zero value otherwise.
func (*FlyContainerConfig) GetEntrypointOk ¶
func (o *FlyContainerConfig) GetEntrypointOk() ([]string, bool)
GetEntrypointOk returns a tuple with the Entrypoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetEnv ¶
func (o *FlyContainerConfig) GetEnv() map[string]string
GetEnv returns the Env field value if set, zero value otherwise.
func (*FlyContainerConfig) GetEnvFrom ¶
func (o *FlyContainerConfig) GetEnvFrom() []FlyEnvFrom
GetEnvFrom returns the EnvFrom field value if set, zero value otherwise.
func (*FlyContainerConfig) GetEnvFromOk ¶
func (o *FlyContainerConfig) GetEnvFromOk() ([]FlyEnvFrom, bool)
GetEnvFromOk returns a tuple with the EnvFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetEnvOk ¶
func (o *FlyContainerConfig) GetEnvOk() (*map[string]string, bool)
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetExec ¶
func (o *FlyContainerConfig) GetExec() []string
GetExec returns the Exec field value if set, zero value otherwise.
func (*FlyContainerConfig) GetExecOk ¶
func (o *FlyContainerConfig) GetExecOk() ([]string, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetFiles ¶
func (o *FlyContainerConfig) GetFiles() []FlyFile
GetFiles returns the Files field value if set, zero value otherwise.
func (*FlyContainerConfig) GetFilesOk ¶
func (o *FlyContainerConfig) GetFilesOk() ([]FlyFile, bool)
GetFilesOk returns a tuple with the Files field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetHealthchecks ¶
func (o *FlyContainerConfig) GetHealthchecks() []FlyContainerHealthcheck
GetHealthchecks returns the Healthchecks field value if set, zero value otherwise.
func (*FlyContainerConfig) GetHealthchecksOk ¶
func (o *FlyContainerConfig) GetHealthchecksOk() ([]FlyContainerHealthcheck, bool)
GetHealthchecksOk returns a tuple with the Healthchecks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetImage ¶
func (o *FlyContainerConfig) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*FlyContainerConfig) GetImageOk ¶
func (o *FlyContainerConfig) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetName ¶
func (o *FlyContainerConfig) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FlyContainerConfig) GetNameOk ¶
func (o *FlyContainerConfig) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetRestart ¶
func (o *FlyContainerConfig) GetRestart() FlyMachineRestart
GetRestart returns the Restart field value if set, zero value otherwise.
func (*FlyContainerConfig) GetRestartOk ¶
func (o *FlyContainerConfig) GetRestartOk() (*FlyMachineRestart, bool)
GetRestartOk returns a tuple with the Restart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetSecrets ¶
func (o *FlyContainerConfig) GetSecrets() []FlyMachineSecret
GetSecrets returns the Secrets field value if set, zero value otherwise.
func (*FlyContainerConfig) GetSecretsOk ¶
func (o *FlyContainerConfig) GetSecretsOk() ([]FlyMachineSecret, bool)
GetSecretsOk returns a tuple with the Secrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetStop ¶
func (o *FlyContainerConfig) GetStop() FlyStopConfig
GetStop returns the Stop field value if set, zero value otherwise.
func (*FlyContainerConfig) GetStopOk ¶
func (o *FlyContainerConfig) GetStopOk() (*FlyStopConfig, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) GetUser ¶
func (o *FlyContainerConfig) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*FlyContainerConfig) GetUserOk ¶
func (o *FlyContainerConfig) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerConfig) HasCmd ¶
func (o *FlyContainerConfig) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*FlyContainerConfig) HasDependsOn ¶
func (o *FlyContainerConfig) HasDependsOn() bool
HasDependsOn returns a boolean if a field has been set.
func (*FlyContainerConfig) HasEntrypoint ¶
func (o *FlyContainerConfig) HasEntrypoint() bool
HasEntrypoint returns a boolean if a field has been set.
func (*FlyContainerConfig) HasEnv ¶
func (o *FlyContainerConfig) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*FlyContainerConfig) HasEnvFrom ¶
func (o *FlyContainerConfig) HasEnvFrom() bool
HasEnvFrom returns a boolean if a field has been set.
func (*FlyContainerConfig) HasExec ¶
func (o *FlyContainerConfig) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*FlyContainerConfig) HasFiles ¶
func (o *FlyContainerConfig) HasFiles() bool
HasFiles returns a boolean if a field has been set.
func (*FlyContainerConfig) HasHealthchecks ¶
func (o *FlyContainerConfig) HasHealthchecks() bool
HasHealthchecks returns a boolean if a field has been set.
func (*FlyContainerConfig) HasImage ¶
func (o *FlyContainerConfig) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*FlyContainerConfig) HasName ¶
func (o *FlyContainerConfig) HasName() bool
HasName returns a boolean if a field has been set.
func (*FlyContainerConfig) HasRestart ¶
func (o *FlyContainerConfig) HasRestart() bool
HasRestart returns a boolean if a field has been set.
func (*FlyContainerConfig) HasSecrets ¶
func (o *FlyContainerConfig) HasSecrets() bool
HasSecrets returns a boolean if a field has been set.
func (*FlyContainerConfig) HasStop ¶
func (o *FlyContainerConfig) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*FlyContainerConfig) HasUser ¶
func (o *FlyContainerConfig) HasUser() bool
HasUser returns a boolean if a field has been set.
func (FlyContainerConfig) MarshalJSON ¶
func (o FlyContainerConfig) MarshalJSON() ([]byte, error)
func (*FlyContainerConfig) SetCmd ¶
func (o *FlyContainerConfig) SetCmd(v []string)
SetCmd gets a reference to the given []string and assigns it to the Cmd field.
func (*FlyContainerConfig) SetDependsOn ¶
func (o *FlyContainerConfig) SetDependsOn(v []FlyContainerDependency)
SetDependsOn gets a reference to the given []FlyContainerDependency and assigns it to the DependsOn field.
func (*FlyContainerConfig) SetEntrypoint ¶
func (o *FlyContainerConfig) SetEntrypoint(v []string)
SetEntrypoint gets a reference to the given []string and assigns it to the Entrypoint field.
func (*FlyContainerConfig) SetEnv ¶
func (o *FlyContainerConfig) SetEnv(v map[string]string)
SetEnv gets a reference to the given map[string]string and assigns it to the Env field.
func (*FlyContainerConfig) SetEnvFrom ¶
func (o *FlyContainerConfig) SetEnvFrom(v []FlyEnvFrom)
SetEnvFrom gets a reference to the given []FlyEnvFrom and assigns it to the EnvFrom field.
func (*FlyContainerConfig) SetExec ¶
func (o *FlyContainerConfig) SetExec(v []string)
SetExec gets a reference to the given []string and assigns it to the Exec field.
func (*FlyContainerConfig) SetFiles ¶
func (o *FlyContainerConfig) SetFiles(v []FlyFile)
SetFiles gets a reference to the given []FlyFile and assigns it to the Files field.
func (*FlyContainerConfig) SetHealthchecks ¶
func (o *FlyContainerConfig) SetHealthchecks(v []FlyContainerHealthcheck)
SetHealthchecks gets a reference to the given []FlyContainerHealthcheck and assigns it to the Healthchecks field.
func (*FlyContainerConfig) SetImage ¶
func (o *FlyContainerConfig) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*FlyContainerConfig) SetName ¶
func (o *FlyContainerConfig) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FlyContainerConfig) SetRestart ¶
func (o *FlyContainerConfig) SetRestart(v FlyMachineRestart)
SetRestart gets a reference to the given FlyMachineRestart and assigns it to the Restart field.
func (*FlyContainerConfig) SetSecrets ¶
func (o *FlyContainerConfig) SetSecrets(v []FlyMachineSecret)
SetSecrets gets a reference to the given []FlyMachineSecret and assigns it to the Secrets field.
func (*FlyContainerConfig) SetStop ¶
func (o *FlyContainerConfig) SetStop(v FlyStopConfig)
SetStop gets a reference to the given FlyStopConfig and assigns it to the Stop field.
func (*FlyContainerConfig) SetUser ¶
func (o *FlyContainerConfig) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
func (FlyContainerConfig) ToMap ¶
func (o FlyContainerConfig) ToMap() (map[string]interface{}, error)
type FlyContainerDependency ¶
type FlyContainerDependency struct {
Condition *FlyContainerDependencyCondition `json:"condition,omitempty"`
Name *string `json:"name,omitempty"`
}
FlyContainerDependency struct for FlyContainerDependency
func NewFlyContainerDependency ¶
func NewFlyContainerDependency() *FlyContainerDependency
NewFlyContainerDependency instantiates a new FlyContainerDependency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyContainerDependencyWithDefaults ¶
func NewFlyContainerDependencyWithDefaults() *FlyContainerDependency
NewFlyContainerDependencyWithDefaults instantiates a new FlyContainerDependency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyContainerDependency) GetCondition ¶
func (o *FlyContainerDependency) GetCondition() FlyContainerDependencyCondition
GetCondition returns the Condition field value if set, zero value otherwise.
func (*FlyContainerDependency) GetConditionOk ¶
func (o *FlyContainerDependency) GetConditionOk() (*FlyContainerDependencyCondition, bool)
GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerDependency) GetName ¶
func (o *FlyContainerDependency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FlyContainerDependency) GetNameOk ¶
func (o *FlyContainerDependency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerDependency) HasCondition ¶
func (o *FlyContainerDependency) HasCondition() bool
HasCondition returns a boolean if a field has been set.
func (*FlyContainerDependency) HasName ¶
func (o *FlyContainerDependency) HasName() bool
HasName returns a boolean if a field has been set.
func (FlyContainerDependency) MarshalJSON ¶
func (o FlyContainerDependency) MarshalJSON() ([]byte, error)
func (*FlyContainerDependency) SetCondition ¶
func (o *FlyContainerDependency) SetCondition(v FlyContainerDependencyCondition)
SetCondition gets a reference to the given FlyContainerDependencyCondition and assigns it to the Condition field.
func (*FlyContainerDependency) SetName ¶
func (o *FlyContainerDependency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (FlyContainerDependency) ToMap ¶
func (o FlyContainerDependency) ToMap() (map[string]interface{}, error)
type FlyContainerDependencyCondition ¶
type FlyContainerDependencyCondition string
FlyContainerDependencyCondition the model 'FlyContainerDependencyCondition'
const ( ExitedSuccessfully FlyContainerDependencyCondition = "exited_successfully" Healthy FlyContainerDependencyCondition = "healthy" Started FlyContainerDependencyCondition = "started" )
List of fly.ContainerDependencyCondition
func NewFlyContainerDependencyConditionFromValue ¶
func NewFlyContainerDependencyConditionFromValue(v string) (*FlyContainerDependencyCondition, error)
NewFlyContainerDependencyConditionFromValue returns a pointer to a valid FlyContainerDependencyCondition for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlyContainerDependencyCondition) IsValid ¶
func (v FlyContainerDependencyCondition) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlyContainerDependencyCondition) Ptr ¶
func (v FlyContainerDependencyCondition) Ptr() *FlyContainerDependencyCondition
Ptr returns reference to fly.ContainerDependencyCondition value
func (*FlyContainerDependencyCondition) UnmarshalJSON ¶
func (v *FlyContainerDependencyCondition) UnmarshalJSON(src []byte) error
type FlyContainerHealthcheck ¶
type FlyContainerHealthcheck struct {
Exec *FlyExecHealthcheck `json:"exec,omitempty"`
// The number of times the check must fail before considering the container unhealthy.
FailureThreshold *int64 `json:"failure_threshold,omitempty"`
// The time in seconds to wait after a container starts before checking its health.
GracePeriod *int64 `json:"grace_period,omitempty"`
Http *FlyHTTPHealthcheck `json:"http,omitempty"`
// The time in seconds between executing the defined check.
Interval *int64 `json:"interval,omitempty"`
// Kind of healthcheck (readiness, liveness)
Kind *FlyContainerHealthcheckKind `json:"kind,omitempty"`
// The name of the check. Must be unique within the container.
Name *string `json:"name,omitempty"`
// The number of times the check must succeeed before considering the container healthy.
SuccessThreshold *int64 `json:"success_threshold,omitempty"`
Tcp *FlyTCPHealthcheck `json:"tcp,omitempty"`
// The time in seconds to wait for the check to complete.
Timeout *int64 `json:"timeout,omitempty"`
// Unhealthy policy that determines what action to take if a container is deemed unhealthy
Unhealthy *FlyUnhealthyPolicy `json:"unhealthy,omitempty"`
}
FlyContainerHealthcheck struct for FlyContainerHealthcheck
func NewFlyContainerHealthcheck ¶
func NewFlyContainerHealthcheck() *FlyContainerHealthcheck
NewFlyContainerHealthcheck instantiates a new FlyContainerHealthcheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyContainerHealthcheckWithDefaults ¶
func NewFlyContainerHealthcheckWithDefaults() *FlyContainerHealthcheck
NewFlyContainerHealthcheckWithDefaults instantiates a new FlyContainerHealthcheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyContainerHealthcheck) GetExec ¶
func (o *FlyContainerHealthcheck) GetExec() FlyExecHealthcheck
GetExec returns the Exec field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetExecOk ¶
func (o *FlyContainerHealthcheck) GetExecOk() (*FlyExecHealthcheck, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetFailureThreshold ¶
func (o *FlyContainerHealthcheck) GetFailureThreshold() int64
GetFailureThreshold returns the FailureThreshold field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetFailureThresholdOk ¶
func (o *FlyContainerHealthcheck) GetFailureThresholdOk() (*int64, bool)
GetFailureThresholdOk returns a tuple with the FailureThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetGracePeriod ¶
func (o *FlyContainerHealthcheck) GetGracePeriod() int64
GetGracePeriod returns the GracePeriod field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetGracePeriodOk ¶
func (o *FlyContainerHealthcheck) GetGracePeriodOk() (*int64, bool)
GetGracePeriodOk returns a tuple with the GracePeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetHttp ¶
func (o *FlyContainerHealthcheck) GetHttp() FlyHTTPHealthcheck
GetHttp returns the Http field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetHttpOk ¶
func (o *FlyContainerHealthcheck) GetHttpOk() (*FlyHTTPHealthcheck, bool)
GetHttpOk returns a tuple with the Http field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetInterval ¶
func (o *FlyContainerHealthcheck) GetInterval() int64
GetInterval returns the Interval field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetIntervalOk ¶
func (o *FlyContainerHealthcheck) GetIntervalOk() (*int64, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetKind ¶
func (o *FlyContainerHealthcheck) GetKind() FlyContainerHealthcheckKind
GetKind returns the Kind field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetKindOk ¶
func (o *FlyContainerHealthcheck) GetKindOk() (*FlyContainerHealthcheckKind, bool)
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetName ¶
func (o *FlyContainerHealthcheck) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetNameOk ¶
func (o *FlyContainerHealthcheck) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetSuccessThreshold ¶
func (o *FlyContainerHealthcheck) GetSuccessThreshold() int64
GetSuccessThreshold returns the SuccessThreshold field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetSuccessThresholdOk ¶
func (o *FlyContainerHealthcheck) GetSuccessThresholdOk() (*int64, bool)
GetSuccessThresholdOk returns a tuple with the SuccessThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetTcp ¶
func (o *FlyContainerHealthcheck) GetTcp() FlyTCPHealthcheck
GetTcp returns the Tcp field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetTcpOk ¶
func (o *FlyContainerHealthcheck) GetTcpOk() (*FlyTCPHealthcheck, bool)
GetTcpOk returns a tuple with the Tcp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetTimeout ¶
func (o *FlyContainerHealthcheck) GetTimeout() int64
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetTimeoutOk ¶
func (o *FlyContainerHealthcheck) GetTimeoutOk() (*int64, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) GetUnhealthy ¶
func (o *FlyContainerHealthcheck) GetUnhealthy() FlyUnhealthyPolicy
GetUnhealthy returns the Unhealthy field value if set, zero value otherwise.
func (*FlyContainerHealthcheck) GetUnhealthyOk ¶
func (o *FlyContainerHealthcheck) GetUnhealthyOk() (*FlyUnhealthyPolicy, bool)
GetUnhealthyOk returns a tuple with the Unhealthy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyContainerHealthcheck) HasExec ¶
func (o *FlyContainerHealthcheck) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasFailureThreshold ¶
func (o *FlyContainerHealthcheck) HasFailureThreshold() bool
HasFailureThreshold returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasGracePeriod ¶
func (o *FlyContainerHealthcheck) HasGracePeriod() bool
HasGracePeriod returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasHttp ¶
func (o *FlyContainerHealthcheck) HasHttp() bool
HasHttp returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasInterval ¶
func (o *FlyContainerHealthcheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasKind ¶
func (o *FlyContainerHealthcheck) HasKind() bool
HasKind returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasName ¶
func (o *FlyContainerHealthcheck) HasName() bool
HasName returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasSuccessThreshold ¶
func (o *FlyContainerHealthcheck) HasSuccessThreshold() bool
HasSuccessThreshold returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasTcp ¶
func (o *FlyContainerHealthcheck) HasTcp() bool
HasTcp returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasTimeout ¶
func (o *FlyContainerHealthcheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (*FlyContainerHealthcheck) HasUnhealthy ¶
func (o *FlyContainerHealthcheck) HasUnhealthy() bool
HasUnhealthy returns a boolean if a field has been set.
func (FlyContainerHealthcheck) MarshalJSON ¶
func (o FlyContainerHealthcheck) MarshalJSON() ([]byte, error)
func (*FlyContainerHealthcheck) SetExec ¶
func (o *FlyContainerHealthcheck) SetExec(v FlyExecHealthcheck)
SetExec gets a reference to the given FlyExecHealthcheck and assigns it to the Exec field.
func (*FlyContainerHealthcheck) SetFailureThreshold ¶
func (o *FlyContainerHealthcheck) SetFailureThreshold(v int64)
SetFailureThreshold gets a reference to the given int64 and assigns it to the FailureThreshold field.
func (*FlyContainerHealthcheck) SetGracePeriod ¶
func (o *FlyContainerHealthcheck) SetGracePeriod(v int64)
SetGracePeriod gets a reference to the given int64 and assigns it to the GracePeriod field.
func (*FlyContainerHealthcheck) SetHttp ¶
func (o *FlyContainerHealthcheck) SetHttp(v FlyHTTPHealthcheck)
SetHttp gets a reference to the given FlyHTTPHealthcheck and assigns it to the Http field.
func (*FlyContainerHealthcheck) SetInterval ¶
func (o *FlyContainerHealthcheck) SetInterval(v int64)
SetInterval gets a reference to the given int64 and assigns it to the Interval field.
func (*FlyContainerHealthcheck) SetKind ¶
func (o *FlyContainerHealthcheck) SetKind(v FlyContainerHealthcheckKind)
SetKind gets a reference to the given FlyContainerHealthcheckKind and assigns it to the Kind field.
func (*FlyContainerHealthcheck) SetName ¶
func (o *FlyContainerHealthcheck) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FlyContainerHealthcheck) SetSuccessThreshold ¶
func (o *FlyContainerHealthcheck) SetSuccessThreshold(v int64)
SetSuccessThreshold gets a reference to the given int64 and assigns it to the SuccessThreshold field.
func (*FlyContainerHealthcheck) SetTcp ¶
func (o *FlyContainerHealthcheck) SetTcp(v FlyTCPHealthcheck)
SetTcp gets a reference to the given FlyTCPHealthcheck and assigns it to the Tcp field.
func (*FlyContainerHealthcheck) SetTimeout ¶
func (o *FlyContainerHealthcheck) SetTimeout(v int64)
SetTimeout gets a reference to the given int64 and assigns it to the Timeout field.
func (*FlyContainerHealthcheck) SetUnhealthy ¶
func (o *FlyContainerHealthcheck) SetUnhealthy(v FlyUnhealthyPolicy)
SetUnhealthy gets a reference to the given FlyUnhealthyPolicy and assigns it to the Unhealthy field.
func (FlyContainerHealthcheck) ToMap ¶
func (o FlyContainerHealthcheck) ToMap() (map[string]interface{}, error)
type FlyContainerHealthcheckKind ¶
type FlyContainerHealthcheckKind string
FlyContainerHealthcheckKind the model 'FlyContainerHealthcheckKind'
const ( Readiness FlyContainerHealthcheckKind = "readiness" Liveness FlyContainerHealthcheckKind = "liveness" )
List of fly.ContainerHealthcheckKind
func NewFlyContainerHealthcheckKindFromValue ¶
func NewFlyContainerHealthcheckKindFromValue(v string) (*FlyContainerHealthcheckKind, error)
NewFlyContainerHealthcheckKindFromValue returns a pointer to a valid FlyContainerHealthcheckKind for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlyContainerHealthcheckKind) IsValid ¶
func (v FlyContainerHealthcheckKind) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlyContainerHealthcheckKind) Ptr ¶
func (v FlyContainerHealthcheckKind) Ptr() *FlyContainerHealthcheckKind
Ptr returns reference to fly.ContainerHealthcheckKind value
func (*FlyContainerHealthcheckKind) UnmarshalJSON ¶
func (v *FlyContainerHealthcheckKind) UnmarshalJSON(src []byte) error
type FlyContainerHealthcheckScheme ¶
type FlyContainerHealthcheckScheme string
FlyContainerHealthcheckScheme the model 'FlyContainerHealthcheckScheme'
const ( HTTP FlyContainerHealthcheckScheme = "http" HTTPS FlyContainerHealthcheckScheme = "https" )
List of fly.ContainerHealthcheckScheme
func NewFlyContainerHealthcheckSchemeFromValue ¶
func NewFlyContainerHealthcheckSchemeFromValue(v string) (*FlyContainerHealthcheckScheme, error)
NewFlyContainerHealthcheckSchemeFromValue returns a pointer to a valid FlyContainerHealthcheckScheme for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlyContainerHealthcheckScheme) IsValid ¶
func (v FlyContainerHealthcheckScheme) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlyContainerHealthcheckScheme) Ptr ¶
func (v FlyContainerHealthcheckScheme) Ptr() *FlyContainerHealthcheckScheme
Ptr returns reference to fly.ContainerHealthcheckScheme value
func (*FlyContainerHealthcheckScheme) UnmarshalJSON ¶
func (v *FlyContainerHealthcheckScheme) UnmarshalJSON(src []byte) error
type FlyDNSConfig ¶
type FlyDNSConfig struct {
DnsForwardRules []FlyDnsForwardRule `json:"dns_forward_rules,omitempty"`
Hostname *string `json:"hostname,omitempty"`
HostnameFqdn *string `json:"hostname_fqdn,omitempty"`
Nameservers []string `json:"nameservers,omitempty"`
Options []FlyDnsOption `json:"options,omitempty"`
Searches []string `json:"searches,omitempty"`
SkipRegistration *bool `json:"skip_registration,omitempty"`
}
FlyDNSConfig struct for FlyDNSConfig
func NewFlyDNSConfig ¶
func NewFlyDNSConfig() *FlyDNSConfig
NewFlyDNSConfig instantiates a new FlyDNSConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyDNSConfigWithDefaults ¶
func NewFlyDNSConfigWithDefaults() *FlyDNSConfig
NewFlyDNSConfigWithDefaults instantiates a new FlyDNSConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyDNSConfig) GetDnsForwardRules ¶
func (o *FlyDNSConfig) GetDnsForwardRules() []FlyDnsForwardRule
GetDnsForwardRules returns the DnsForwardRules field value if set, zero value otherwise.
func (*FlyDNSConfig) GetDnsForwardRulesOk ¶
func (o *FlyDNSConfig) GetDnsForwardRulesOk() ([]FlyDnsForwardRule, bool)
GetDnsForwardRulesOk returns a tuple with the DnsForwardRules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) GetHostname ¶
func (o *FlyDNSConfig) GetHostname() string
GetHostname returns the Hostname field value if set, zero value otherwise.
func (*FlyDNSConfig) GetHostnameFqdn ¶
func (o *FlyDNSConfig) GetHostnameFqdn() string
GetHostnameFqdn returns the HostnameFqdn field value if set, zero value otherwise.
func (*FlyDNSConfig) GetHostnameFqdnOk ¶
func (o *FlyDNSConfig) GetHostnameFqdnOk() (*string, bool)
GetHostnameFqdnOk returns a tuple with the HostnameFqdn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) GetHostnameOk ¶
func (o *FlyDNSConfig) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) GetNameservers ¶
func (o *FlyDNSConfig) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*FlyDNSConfig) GetNameserversOk ¶
func (o *FlyDNSConfig) GetNameserversOk() ([]string, bool)
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) GetOptions ¶
func (o *FlyDNSConfig) GetOptions() []FlyDnsOption
GetOptions returns the Options field value if set, zero value otherwise.
func (*FlyDNSConfig) GetOptionsOk ¶
func (o *FlyDNSConfig) GetOptionsOk() ([]FlyDnsOption, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) GetSearches ¶
func (o *FlyDNSConfig) GetSearches() []string
GetSearches returns the Searches field value if set, zero value otherwise.
func (*FlyDNSConfig) GetSearchesOk ¶
func (o *FlyDNSConfig) GetSearchesOk() ([]string, bool)
GetSearchesOk returns a tuple with the Searches field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) GetSkipRegistration ¶
func (o *FlyDNSConfig) GetSkipRegistration() bool
GetSkipRegistration returns the SkipRegistration field value if set, zero value otherwise.
func (*FlyDNSConfig) GetSkipRegistrationOk ¶
func (o *FlyDNSConfig) GetSkipRegistrationOk() (*bool, bool)
GetSkipRegistrationOk returns a tuple with the SkipRegistration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDNSConfig) HasDnsForwardRules ¶
func (o *FlyDNSConfig) HasDnsForwardRules() bool
HasDnsForwardRules returns a boolean if a field has been set.
func (*FlyDNSConfig) HasHostname ¶
func (o *FlyDNSConfig) HasHostname() bool
HasHostname returns a boolean if a field has been set.
func (*FlyDNSConfig) HasHostnameFqdn ¶
func (o *FlyDNSConfig) HasHostnameFqdn() bool
HasHostnameFqdn returns a boolean if a field has been set.
func (*FlyDNSConfig) HasNameservers ¶
func (o *FlyDNSConfig) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (*FlyDNSConfig) HasOptions ¶
func (o *FlyDNSConfig) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*FlyDNSConfig) HasSearches ¶
func (o *FlyDNSConfig) HasSearches() bool
HasSearches returns a boolean if a field has been set.
func (*FlyDNSConfig) HasSkipRegistration ¶
func (o *FlyDNSConfig) HasSkipRegistration() bool
HasSkipRegistration returns a boolean if a field has been set.
func (FlyDNSConfig) MarshalJSON ¶
func (o FlyDNSConfig) MarshalJSON() ([]byte, error)
func (*FlyDNSConfig) SetDnsForwardRules ¶
func (o *FlyDNSConfig) SetDnsForwardRules(v []FlyDnsForwardRule)
SetDnsForwardRules gets a reference to the given []FlyDnsForwardRule and assigns it to the DnsForwardRules field.
func (*FlyDNSConfig) SetHostname ¶
func (o *FlyDNSConfig) SetHostname(v string)
SetHostname gets a reference to the given string and assigns it to the Hostname field.
func (*FlyDNSConfig) SetHostnameFqdn ¶
func (o *FlyDNSConfig) SetHostnameFqdn(v string)
SetHostnameFqdn gets a reference to the given string and assigns it to the HostnameFqdn field.
func (*FlyDNSConfig) SetNameservers ¶
func (o *FlyDNSConfig) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*FlyDNSConfig) SetOptions ¶
func (o *FlyDNSConfig) SetOptions(v []FlyDnsOption)
SetOptions gets a reference to the given []FlyDnsOption and assigns it to the Options field.
func (*FlyDNSConfig) SetSearches ¶
func (o *FlyDNSConfig) SetSearches(v []string)
SetSearches gets a reference to the given []string and assigns it to the Searches field.
func (*FlyDNSConfig) SetSkipRegistration ¶
func (o *FlyDNSConfig) SetSkipRegistration(v bool)
SetSkipRegistration gets a reference to the given bool and assigns it to the SkipRegistration field.
func (FlyDNSConfig) ToMap ¶
func (o FlyDNSConfig) ToMap() (map[string]interface{}, error)
type FlyDnsForwardRule ¶
type FlyDnsForwardRule struct {
Addr *string `json:"addr,omitempty"`
Basename *string `json:"basename,omitempty"`
}
FlyDnsForwardRule struct for FlyDnsForwardRule
func NewFlyDnsForwardRule ¶
func NewFlyDnsForwardRule() *FlyDnsForwardRule
NewFlyDnsForwardRule instantiates a new FlyDnsForwardRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyDnsForwardRuleWithDefaults ¶
func NewFlyDnsForwardRuleWithDefaults() *FlyDnsForwardRule
NewFlyDnsForwardRuleWithDefaults instantiates a new FlyDnsForwardRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyDnsForwardRule) GetAddr ¶
func (o *FlyDnsForwardRule) GetAddr() string
GetAddr returns the Addr field value if set, zero value otherwise.
func (*FlyDnsForwardRule) GetAddrOk ¶
func (o *FlyDnsForwardRule) GetAddrOk() (*string, bool)
GetAddrOk returns a tuple with the Addr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDnsForwardRule) GetBasename ¶
func (o *FlyDnsForwardRule) GetBasename() string
GetBasename returns the Basename field value if set, zero value otherwise.
func (*FlyDnsForwardRule) GetBasenameOk ¶
func (o *FlyDnsForwardRule) GetBasenameOk() (*string, bool)
GetBasenameOk returns a tuple with the Basename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDnsForwardRule) HasAddr ¶
func (o *FlyDnsForwardRule) HasAddr() bool
HasAddr returns a boolean if a field has been set.
func (*FlyDnsForwardRule) HasBasename ¶
func (o *FlyDnsForwardRule) HasBasename() bool
HasBasename returns a boolean if a field has been set.
func (FlyDnsForwardRule) MarshalJSON ¶
func (o FlyDnsForwardRule) MarshalJSON() ([]byte, error)
func (*FlyDnsForwardRule) SetAddr ¶
func (o *FlyDnsForwardRule) SetAddr(v string)
SetAddr gets a reference to the given string and assigns it to the Addr field.
func (*FlyDnsForwardRule) SetBasename ¶
func (o *FlyDnsForwardRule) SetBasename(v string)
SetBasename gets a reference to the given string and assigns it to the Basename field.
func (FlyDnsForwardRule) ToMap ¶
func (o FlyDnsForwardRule) ToMap() (map[string]interface{}, error)
type FlyDnsOption ¶
type FlyDnsOption struct {
Name *string `json:"name,omitempty"`
Value *string `json:"value,omitempty"`
}
FlyDnsOption struct for FlyDnsOption
func NewFlyDnsOption ¶
func NewFlyDnsOption() *FlyDnsOption
NewFlyDnsOption instantiates a new FlyDnsOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyDnsOptionWithDefaults ¶
func NewFlyDnsOptionWithDefaults() *FlyDnsOption
NewFlyDnsOptionWithDefaults instantiates a new FlyDnsOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyDnsOption) GetName ¶
func (o *FlyDnsOption) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FlyDnsOption) GetNameOk ¶
func (o *FlyDnsOption) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDnsOption) GetValue ¶
func (o *FlyDnsOption) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*FlyDnsOption) GetValueOk ¶
func (o *FlyDnsOption) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDnsOption) HasName ¶
func (o *FlyDnsOption) HasName() bool
HasName returns a boolean if a field has been set.
func (*FlyDnsOption) HasValue ¶
func (o *FlyDnsOption) HasValue() bool
HasValue returns a boolean if a field has been set.
func (FlyDnsOption) MarshalJSON ¶
func (o FlyDnsOption) MarshalJSON() ([]byte, error)
func (*FlyDnsOption) SetName ¶
func (o *FlyDnsOption) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FlyDnsOption) SetValue ¶
func (o *FlyDnsOption) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (FlyDnsOption) ToMap ¶
func (o FlyDnsOption) ToMap() (map[string]interface{}, error)
type FlyDuration ¶
type FlyDuration struct {
TimeDuration *int64 `json:"time.Duration,omitempty"`
}
FlyDuration struct for FlyDuration
func NewFlyDuration ¶
func NewFlyDuration() *FlyDuration
NewFlyDuration instantiates a new FlyDuration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyDurationWithDefaults ¶
func NewFlyDurationWithDefaults() *FlyDuration
NewFlyDurationWithDefaults instantiates a new FlyDuration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyDuration) GetTimeDuration ¶
func (o *FlyDuration) GetTimeDuration() int64
GetTimeDuration returns the TimeDuration field value if set, zero value otherwise.
func (*FlyDuration) GetTimeDurationOk ¶
func (o *FlyDuration) GetTimeDurationOk() (*int64, bool)
GetTimeDurationOk returns a tuple with the TimeDuration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyDuration) HasTimeDuration ¶
func (o *FlyDuration) HasTimeDuration() bool
HasTimeDuration returns a boolean if a field has been set.
func (FlyDuration) MarshalJSON ¶
func (o FlyDuration) MarshalJSON() ([]byte, error)
func (*FlyDuration) SetTimeDuration ¶
func (o *FlyDuration) SetTimeDuration(v int64)
SetTimeDuration gets a reference to the given int64 and assigns it to the TimeDuration field.
func (FlyDuration) ToMap ¶
func (o FlyDuration) ToMap() (map[string]interface{}, error)
type FlyEnvFrom ¶
type FlyEnvFrom struct {
// EnvVar is required and is the name of the environment variable that will be set from the secret. It must be a valid environment variable name.
EnvVar *string `json:"env_var,omitempty"`
// FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.
FieldRef *string `json:"field_ref,omitempty"`
}
FlyEnvFrom EnvVar defines an environment variable to be populated from a machine field, env_var
func NewFlyEnvFrom ¶
func NewFlyEnvFrom() *FlyEnvFrom
NewFlyEnvFrom instantiates a new FlyEnvFrom object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyEnvFromWithDefaults ¶
func NewFlyEnvFromWithDefaults() *FlyEnvFrom
NewFlyEnvFromWithDefaults instantiates a new FlyEnvFrom object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyEnvFrom) GetEnvVar ¶
func (o *FlyEnvFrom) GetEnvVar() string
GetEnvVar returns the EnvVar field value if set, zero value otherwise.
func (*FlyEnvFrom) GetEnvVarOk ¶
func (o *FlyEnvFrom) GetEnvVarOk() (*string, bool)
GetEnvVarOk returns a tuple with the EnvVar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyEnvFrom) GetFieldRef ¶
func (o *FlyEnvFrom) GetFieldRef() string
GetFieldRef returns the FieldRef field value if set, zero value otherwise.
func (*FlyEnvFrom) GetFieldRefOk ¶
func (o *FlyEnvFrom) GetFieldRefOk() (*string, bool)
GetFieldRefOk returns a tuple with the FieldRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyEnvFrom) HasEnvVar ¶
func (o *FlyEnvFrom) HasEnvVar() bool
HasEnvVar returns a boolean if a field has been set.
func (*FlyEnvFrom) HasFieldRef ¶
func (o *FlyEnvFrom) HasFieldRef() bool
HasFieldRef returns a boolean if a field has been set.
func (FlyEnvFrom) MarshalJSON ¶
func (o FlyEnvFrom) MarshalJSON() ([]byte, error)
func (*FlyEnvFrom) SetEnvVar ¶
func (o *FlyEnvFrom) SetEnvVar(v string)
SetEnvVar gets a reference to the given string and assigns it to the EnvVar field.
func (*FlyEnvFrom) SetFieldRef ¶
func (o *FlyEnvFrom) SetFieldRef(v string)
SetFieldRef gets a reference to the given string and assigns it to the FieldRef field.
func (FlyEnvFrom) ToMap ¶
func (o FlyEnvFrom) ToMap() (map[string]interface{}, error)
type FlyExecHealthcheck ¶
type FlyExecHealthcheck struct {
// The command to run to check the health of the container (e.g. [\"cat\", \"/tmp/healthy\"])
Command []string `json:"command,omitempty"`
}
FlyExecHealthcheck struct for FlyExecHealthcheck
func NewFlyExecHealthcheck ¶
func NewFlyExecHealthcheck() *FlyExecHealthcheck
NewFlyExecHealthcheck instantiates a new FlyExecHealthcheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyExecHealthcheckWithDefaults ¶
func NewFlyExecHealthcheckWithDefaults() *FlyExecHealthcheck
NewFlyExecHealthcheckWithDefaults instantiates a new FlyExecHealthcheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyExecHealthcheck) GetCommand ¶
func (o *FlyExecHealthcheck) GetCommand() []string
GetCommand returns the Command field value if set, zero value otherwise.
func (*FlyExecHealthcheck) GetCommandOk ¶
func (o *FlyExecHealthcheck) GetCommandOk() ([]string, bool)
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyExecHealthcheck) HasCommand ¶
func (o *FlyExecHealthcheck) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (FlyExecHealthcheck) MarshalJSON ¶
func (o FlyExecHealthcheck) MarshalJSON() ([]byte, error)
func (*FlyExecHealthcheck) SetCommand ¶
func (o *FlyExecHealthcheck) SetCommand(v []string)
SetCommand gets a reference to the given []string and assigns it to the Command field.
func (FlyExecHealthcheck) ToMap ¶
func (o FlyExecHealthcheck) ToMap() (map[string]interface{}, error)
type FlyFile ¶
type FlyFile struct {
// GuestPath is the path on the machine where the file will be written and must be an absolute path. For example: /full/path/to/file.json
GuestPath *string `json:"guest_path,omitempty"`
// The name of an image to use the OCI image config as the file contents.
ImageConfig *string `json:"image_config,omitempty"`
// Mode bits used to set permissions on this file as accepted by chmod(2).
Mode *int64 `json:"mode,omitempty"`
// The base64 encoded string of the file contents.
RawValue *string `json:"raw_value,omitempty"`
// The name of the secret that contains the base64 encoded file contents.
SecretName *string `json:"secret_name,omitempty"`
}
FlyFile A file that will be written to the Machine. One of RawValue or SecretName must be set.
func NewFlyFile ¶
func NewFlyFile() *FlyFile
NewFlyFile instantiates a new FlyFile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyFileWithDefaults ¶
func NewFlyFileWithDefaults() *FlyFile
NewFlyFileWithDefaults instantiates a new FlyFile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyFile) GetGuestPath ¶
GetGuestPath returns the GuestPath field value if set, zero value otherwise.
func (*FlyFile) GetGuestPathOk ¶
GetGuestPathOk returns a tuple with the GuestPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyFile) GetImageConfig ¶
GetImageConfig returns the ImageConfig field value if set, zero value otherwise.
func (*FlyFile) GetImageConfigOk ¶
GetImageConfigOk returns a tuple with the ImageConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyFile) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyFile) GetRawValue ¶
GetRawValue returns the RawValue field value if set, zero value otherwise.
func (*FlyFile) GetRawValueOk ¶
GetRawValueOk returns a tuple with the RawValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyFile) GetSecretName ¶
GetSecretName returns the SecretName field value if set, zero value otherwise.
func (*FlyFile) GetSecretNameOk ¶
GetSecretNameOk returns a tuple with the SecretName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyFile) HasGuestPath ¶
HasGuestPath returns a boolean if a field has been set.
func (*FlyFile) HasImageConfig ¶
HasImageConfig returns a boolean if a field has been set.
func (*FlyFile) HasRawValue ¶
HasRawValue returns a boolean if a field has been set.
func (*FlyFile) HasSecretName ¶
HasSecretName returns a boolean if a field has been set.
func (FlyFile) MarshalJSON ¶
func (*FlyFile) SetGuestPath ¶
SetGuestPath gets a reference to the given string and assigns it to the GuestPath field.
func (*FlyFile) SetImageConfig ¶
SetImageConfig gets a reference to the given string and assigns it to the ImageConfig field.
func (*FlyFile) SetMode ¶
SetMode gets a reference to the given int64 and assigns it to the Mode field.
func (*FlyFile) SetRawValue ¶
SetRawValue gets a reference to the given string and assigns it to the RawValue field.
func (*FlyFile) SetSecretName ¶
SetSecretName gets a reference to the given string and assigns it to the SecretName field.
type FlyHTTPHealthcheck ¶
type FlyHTTPHealthcheck struct {
// Additional headers to send with the request
Headers []FlyMachineHTTPHeader `json:"headers,omitempty"`
// The HTTP method to use to when making the request
Method *string `json:"method,omitempty"`
// The path to send the request to
Path *string `json:"path,omitempty"`
// The port to connect to, often the same as internal_port
Port *int64 `json:"port,omitempty"`
// Whether to use http or https
Scheme *FlyContainerHealthcheckScheme `json:"scheme,omitempty"`
// If the protocol is https, the hostname to use for TLS certificate validation
TlsServerName *string `json:"tls_server_name,omitempty"`
// If the protocol is https, whether or not to verify the TLS certificate
TlsSkipVerify *bool `json:"tls_skip_verify,omitempty"`
}
FlyHTTPHealthcheck struct for FlyHTTPHealthcheck
func NewFlyHTTPHealthcheck ¶
func NewFlyHTTPHealthcheck() *FlyHTTPHealthcheck
NewFlyHTTPHealthcheck instantiates a new FlyHTTPHealthcheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyHTTPHealthcheckWithDefaults ¶
func NewFlyHTTPHealthcheckWithDefaults() *FlyHTTPHealthcheck
NewFlyHTTPHealthcheckWithDefaults instantiates a new FlyHTTPHealthcheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyHTTPHealthcheck) GetHeaders ¶
func (o *FlyHTTPHealthcheck) GetHeaders() []FlyMachineHTTPHeader
GetHeaders returns the Headers field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetHeadersOk ¶
func (o *FlyHTTPHealthcheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)
GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) GetMethod ¶
func (o *FlyHTTPHealthcheck) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetMethodOk ¶
func (o *FlyHTTPHealthcheck) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) GetPath ¶
func (o *FlyHTTPHealthcheck) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetPathOk ¶
func (o *FlyHTTPHealthcheck) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) GetPort ¶
func (o *FlyHTTPHealthcheck) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetPortOk ¶
func (o *FlyHTTPHealthcheck) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) GetScheme ¶
func (o *FlyHTTPHealthcheck) GetScheme() FlyContainerHealthcheckScheme
GetScheme returns the Scheme field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetSchemeOk ¶
func (o *FlyHTTPHealthcheck) GetSchemeOk() (*FlyContainerHealthcheckScheme, bool)
GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) GetTlsServerName ¶
func (o *FlyHTTPHealthcheck) GetTlsServerName() string
GetTlsServerName returns the TlsServerName field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetTlsServerNameOk ¶
func (o *FlyHTTPHealthcheck) GetTlsServerNameOk() (*string, bool)
GetTlsServerNameOk returns a tuple with the TlsServerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) GetTlsSkipVerify ¶
func (o *FlyHTTPHealthcheck) GetTlsSkipVerify() bool
GetTlsSkipVerify returns the TlsSkipVerify field value if set, zero value otherwise.
func (*FlyHTTPHealthcheck) GetTlsSkipVerifyOk ¶
func (o *FlyHTTPHealthcheck) GetTlsSkipVerifyOk() (*bool, bool)
GetTlsSkipVerifyOk returns a tuple with the TlsSkipVerify field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPHealthcheck) HasHeaders ¶
func (o *FlyHTTPHealthcheck) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (*FlyHTTPHealthcheck) HasMethod ¶
func (o *FlyHTTPHealthcheck) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*FlyHTTPHealthcheck) HasPath ¶
func (o *FlyHTTPHealthcheck) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*FlyHTTPHealthcheck) HasPort ¶
func (o *FlyHTTPHealthcheck) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*FlyHTTPHealthcheck) HasScheme ¶
func (o *FlyHTTPHealthcheck) HasScheme() bool
HasScheme returns a boolean if a field has been set.
func (*FlyHTTPHealthcheck) HasTlsServerName ¶
func (o *FlyHTTPHealthcheck) HasTlsServerName() bool
HasTlsServerName returns a boolean if a field has been set.
func (*FlyHTTPHealthcheck) HasTlsSkipVerify ¶
func (o *FlyHTTPHealthcheck) HasTlsSkipVerify() bool
HasTlsSkipVerify returns a boolean if a field has been set.
func (FlyHTTPHealthcheck) MarshalJSON ¶
func (o FlyHTTPHealthcheck) MarshalJSON() ([]byte, error)
func (*FlyHTTPHealthcheck) SetHeaders ¶
func (o *FlyHTTPHealthcheck) SetHeaders(v []FlyMachineHTTPHeader)
SetHeaders gets a reference to the given []FlyMachineHTTPHeader and assigns it to the Headers field.
func (*FlyHTTPHealthcheck) SetMethod ¶
func (o *FlyHTTPHealthcheck) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*FlyHTTPHealthcheck) SetPath ¶
func (o *FlyHTTPHealthcheck) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*FlyHTTPHealthcheck) SetPort ¶
func (o *FlyHTTPHealthcheck) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (*FlyHTTPHealthcheck) SetScheme ¶
func (o *FlyHTTPHealthcheck) SetScheme(v FlyContainerHealthcheckScheme)
SetScheme gets a reference to the given FlyContainerHealthcheckScheme and assigns it to the Scheme field.
func (*FlyHTTPHealthcheck) SetTlsServerName ¶
func (o *FlyHTTPHealthcheck) SetTlsServerName(v string)
SetTlsServerName gets a reference to the given string and assigns it to the TlsServerName field.
func (*FlyHTTPHealthcheck) SetTlsSkipVerify ¶
func (o *FlyHTTPHealthcheck) SetTlsSkipVerify(v bool)
SetTlsSkipVerify gets a reference to the given bool and assigns it to the TlsSkipVerify field.
func (FlyHTTPHealthcheck) ToMap ¶
func (o FlyHTTPHealthcheck) ToMap() (map[string]interface{}, error)
type FlyHTTPOptions ¶
type FlyHTTPOptions struct {
Compress *bool `json:"compress,omitempty"`
H2Backend *bool `json:"h2_backend,omitempty"`
HeadersReadTimeout *int64 `json:"headers_read_timeout,omitempty"`
IdleTimeout *int64 `json:"idle_timeout,omitempty"`
Response *FlyHTTPResponseOptions `json:"response,omitempty"`
}
FlyHTTPOptions struct for FlyHTTPOptions
func NewFlyHTTPOptions ¶
func NewFlyHTTPOptions() *FlyHTTPOptions
NewFlyHTTPOptions instantiates a new FlyHTTPOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyHTTPOptionsWithDefaults ¶
func NewFlyHTTPOptionsWithDefaults() *FlyHTTPOptions
NewFlyHTTPOptionsWithDefaults instantiates a new FlyHTTPOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyHTTPOptions) GetCompress ¶
func (o *FlyHTTPOptions) GetCompress() bool
GetCompress returns the Compress field value if set, zero value otherwise.
func (*FlyHTTPOptions) GetCompressOk ¶
func (o *FlyHTTPOptions) GetCompressOk() (*bool, bool)
GetCompressOk returns a tuple with the Compress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPOptions) GetH2Backend ¶
func (o *FlyHTTPOptions) GetH2Backend() bool
GetH2Backend returns the H2Backend field value if set, zero value otherwise.
func (*FlyHTTPOptions) GetH2BackendOk ¶
func (o *FlyHTTPOptions) GetH2BackendOk() (*bool, bool)
GetH2BackendOk returns a tuple with the H2Backend field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPOptions) GetHeadersReadTimeout ¶
func (o *FlyHTTPOptions) GetHeadersReadTimeout() int64
GetHeadersReadTimeout returns the HeadersReadTimeout field value if set, zero value otherwise.
func (*FlyHTTPOptions) GetHeadersReadTimeoutOk ¶
func (o *FlyHTTPOptions) GetHeadersReadTimeoutOk() (*int64, bool)
GetHeadersReadTimeoutOk returns a tuple with the HeadersReadTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPOptions) GetIdleTimeout ¶
func (o *FlyHTTPOptions) GetIdleTimeout() int64
GetIdleTimeout returns the IdleTimeout field value if set, zero value otherwise.
func (*FlyHTTPOptions) GetIdleTimeoutOk ¶
func (o *FlyHTTPOptions) GetIdleTimeoutOk() (*int64, bool)
GetIdleTimeoutOk returns a tuple with the IdleTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPOptions) GetResponse ¶
func (o *FlyHTTPOptions) GetResponse() FlyHTTPResponseOptions
GetResponse returns the Response field value if set, zero value otherwise.
func (*FlyHTTPOptions) GetResponseOk ¶
func (o *FlyHTTPOptions) GetResponseOk() (*FlyHTTPResponseOptions, bool)
GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPOptions) HasCompress ¶
func (o *FlyHTTPOptions) HasCompress() bool
HasCompress returns a boolean if a field has been set.
func (*FlyHTTPOptions) HasH2Backend ¶
func (o *FlyHTTPOptions) HasH2Backend() bool
HasH2Backend returns a boolean if a field has been set.
func (*FlyHTTPOptions) HasHeadersReadTimeout ¶
func (o *FlyHTTPOptions) HasHeadersReadTimeout() bool
HasHeadersReadTimeout returns a boolean if a field has been set.
func (*FlyHTTPOptions) HasIdleTimeout ¶
func (o *FlyHTTPOptions) HasIdleTimeout() bool
HasIdleTimeout returns a boolean if a field has been set.
func (*FlyHTTPOptions) HasResponse ¶
func (o *FlyHTTPOptions) HasResponse() bool
HasResponse returns a boolean if a field has been set.
func (FlyHTTPOptions) MarshalJSON ¶
func (o FlyHTTPOptions) MarshalJSON() ([]byte, error)
func (*FlyHTTPOptions) SetCompress ¶
func (o *FlyHTTPOptions) SetCompress(v bool)
SetCompress gets a reference to the given bool and assigns it to the Compress field.
func (*FlyHTTPOptions) SetH2Backend ¶
func (o *FlyHTTPOptions) SetH2Backend(v bool)
SetH2Backend gets a reference to the given bool and assigns it to the H2Backend field.
func (*FlyHTTPOptions) SetHeadersReadTimeout ¶
func (o *FlyHTTPOptions) SetHeadersReadTimeout(v int64)
SetHeadersReadTimeout gets a reference to the given int64 and assigns it to the HeadersReadTimeout field.
func (*FlyHTTPOptions) SetIdleTimeout ¶
func (o *FlyHTTPOptions) SetIdleTimeout(v int64)
SetIdleTimeout gets a reference to the given int64 and assigns it to the IdleTimeout field.
func (*FlyHTTPOptions) SetResponse ¶
func (o *FlyHTTPOptions) SetResponse(v FlyHTTPResponseOptions)
SetResponse gets a reference to the given FlyHTTPResponseOptions and assigns it to the Response field.
func (FlyHTTPOptions) ToMap ¶
func (o FlyHTTPOptions) ToMap() (map[string]interface{}, error)
type FlyHTTPResponseOptions ¶
type FlyHTTPResponseOptions struct {
Headers map[string]map[string]interface{} `json:"headers,omitempty"`
Pristine *bool `json:"pristine,omitempty"`
}
FlyHTTPResponseOptions struct for FlyHTTPResponseOptions
func NewFlyHTTPResponseOptions ¶
func NewFlyHTTPResponseOptions() *FlyHTTPResponseOptions
NewFlyHTTPResponseOptions instantiates a new FlyHTTPResponseOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyHTTPResponseOptionsWithDefaults ¶
func NewFlyHTTPResponseOptionsWithDefaults() *FlyHTTPResponseOptions
NewFlyHTTPResponseOptionsWithDefaults instantiates a new FlyHTTPResponseOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyHTTPResponseOptions) GetHeaders ¶
func (o *FlyHTTPResponseOptions) GetHeaders() map[string]map[string]interface{}
GetHeaders returns the Headers field value if set, zero value otherwise.
func (*FlyHTTPResponseOptions) GetHeadersOk ¶
func (o *FlyHTTPResponseOptions) GetHeadersOk() (map[string]map[string]interface{}, bool)
GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPResponseOptions) GetPristine ¶
func (o *FlyHTTPResponseOptions) GetPristine() bool
GetPristine returns the Pristine field value if set, zero value otherwise.
func (*FlyHTTPResponseOptions) GetPristineOk ¶
func (o *FlyHTTPResponseOptions) GetPristineOk() (*bool, bool)
GetPristineOk returns a tuple with the Pristine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyHTTPResponseOptions) HasHeaders ¶
func (o *FlyHTTPResponseOptions) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (*FlyHTTPResponseOptions) HasPristine ¶
func (o *FlyHTTPResponseOptions) HasPristine() bool
HasPristine returns a boolean if a field has been set.
func (FlyHTTPResponseOptions) MarshalJSON ¶
func (o FlyHTTPResponseOptions) MarshalJSON() ([]byte, error)
func (*FlyHTTPResponseOptions) SetHeaders ¶
func (o *FlyHTTPResponseOptions) SetHeaders(v map[string]map[string]interface{})
SetHeaders gets a reference to the given map[string]map[string]interface{} and assigns it to the Headers field.
func (*FlyHTTPResponseOptions) SetPristine ¶
func (o *FlyHTTPResponseOptions) SetPristine(v bool)
SetPristine gets a reference to the given bool and assigns it to the Pristine field.
func (FlyHTTPResponseOptions) ToMap ¶
func (o FlyHTTPResponseOptions) ToMap() (map[string]interface{}, error)
type FlyMachineCheck ¶
type FlyMachineCheck struct {
// The time to wait after a VM starts before checking its health
GracePeriod *FlyDuration `json:"grace_period,omitempty"`
Headers []FlyMachineHTTPHeader `json:"headers,omitempty"`
// The time between connectivity checks
Interval *FlyDuration `json:"interval,omitempty"`
// Kind of the check (informational, readiness)
Kind *string `json:"kind,omitempty"`
// For http checks, the HTTP method to use to when making the request
Method *string `json:"method,omitempty"`
// For http checks, the path to send the request to
Path *string `json:"path,omitempty"`
// The port to connect to, often the same as internal_port
Port *int64 `json:"port,omitempty"`
// For http checks, whether to use http or https
Protocol *string `json:"protocol,omitempty"`
// The maximum time a connection can take before being reported as failing its health check
Timeout *FlyDuration `json:"timeout,omitempty"`
// If the protocol is https, the hostname to use for TLS certificate validation
TlsServerName *string `json:"tls_server_name,omitempty"`
// For http checks with https protocol, whether or not to verify the TLS certificate
TlsSkipVerify *bool `json:"tls_skip_verify,omitempty"`
// tcp or http
Type *string `json:"type,omitempty"`
}
FlyMachineCheck struct for FlyMachineCheck
func NewFlyMachineCheck ¶
func NewFlyMachineCheck() *FlyMachineCheck
NewFlyMachineCheck instantiates a new FlyMachineCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineCheckWithDefaults ¶
func NewFlyMachineCheckWithDefaults() *FlyMachineCheck
NewFlyMachineCheckWithDefaults instantiates a new FlyMachineCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineCheck) GetGracePeriod ¶
func (o *FlyMachineCheck) GetGracePeriod() FlyDuration
GetGracePeriod returns the GracePeriod field value if set, zero value otherwise.
func (*FlyMachineCheck) GetGracePeriodOk ¶
func (o *FlyMachineCheck) GetGracePeriodOk() (*FlyDuration, bool)
GetGracePeriodOk returns a tuple with the GracePeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetHeaders ¶
func (o *FlyMachineCheck) GetHeaders() []FlyMachineHTTPHeader
GetHeaders returns the Headers field value if set, zero value otherwise.
func (*FlyMachineCheck) GetHeadersOk ¶
func (o *FlyMachineCheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)
GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetInterval ¶
func (o *FlyMachineCheck) GetInterval() FlyDuration
GetInterval returns the Interval field value if set, zero value otherwise.
func (*FlyMachineCheck) GetIntervalOk ¶
func (o *FlyMachineCheck) GetIntervalOk() (*FlyDuration, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetKind ¶
func (o *FlyMachineCheck) GetKind() string
GetKind returns the Kind field value if set, zero value otherwise.
func (*FlyMachineCheck) GetKindOk ¶
func (o *FlyMachineCheck) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetMethod ¶
func (o *FlyMachineCheck) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*FlyMachineCheck) GetMethodOk ¶
func (o *FlyMachineCheck) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetPath ¶
func (o *FlyMachineCheck) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*FlyMachineCheck) GetPathOk ¶
func (o *FlyMachineCheck) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetPort ¶
func (o *FlyMachineCheck) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*FlyMachineCheck) GetPortOk ¶
func (o *FlyMachineCheck) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetProtocol ¶
func (o *FlyMachineCheck) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*FlyMachineCheck) GetProtocolOk ¶
func (o *FlyMachineCheck) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetTimeout ¶
func (o *FlyMachineCheck) GetTimeout() FlyDuration
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*FlyMachineCheck) GetTimeoutOk ¶
func (o *FlyMachineCheck) GetTimeoutOk() (*FlyDuration, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetTlsServerName ¶
func (o *FlyMachineCheck) GetTlsServerName() string
GetTlsServerName returns the TlsServerName field value if set, zero value otherwise.
func (*FlyMachineCheck) GetTlsServerNameOk ¶
func (o *FlyMachineCheck) GetTlsServerNameOk() (*string, bool)
GetTlsServerNameOk returns a tuple with the TlsServerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetTlsSkipVerify ¶
func (o *FlyMachineCheck) GetTlsSkipVerify() bool
GetTlsSkipVerify returns the TlsSkipVerify field value if set, zero value otherwise.
func (*FlyMachineCheck) GetTlsSkipVerifyOk ¶
func (o *FlyMachineCheck) GetTlsSkipVerifyOk() (*bool, bool)
GetTlsSkipVerifyOk returns a tuple with the TlsSkipVerify field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) GetType ¶
func (o *FlyMachineCheck) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FlyMachineCheck) GetTypeOk ¶
func (o *FlyMachineCheck) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineCheck) HasGracePeriod ¶
func (o *FlyMachineCheck) HasGracePeriod() bool
HasGracePeriod returns a boolean if a field has been set.
func (*FlyMachineCheck) HasHeaders ¶
func (o *FlyMachineCheck) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (*FlyMachineCheck) HasInterval ¶
func (o *FlyMachineCheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*FlyMachineCheck) HasKind ¶
func (o *FlyMachineCheck) HasKind() bool
HasKind returns a boolean if a field has been set.
func (*FlyMachineCheck) HasMethod ¶
func (o *FlyMachineCheck) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*FlyMachineCheck) HasPath ¶
func (o *FlyMachineCheck) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*FlyMachineCheck) HasPort ¶
func (o *FlyMachineCheck) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*FlyMachineCheck) HasProtocol ¶
func (o *FlyMachineCheck) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*FlyMachineCheck) HasTimeout ¶
func (o *FlyMachineCheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (*FlyMachineCheck) HasTlsServerName ¶
func (o *FlyMachineCheck) HasTlsServerName() bool
HasTlsServerName returns a boolean if a field has been set.
func (*FlyMachineCheck) HasTlsSkipVerify ¶
func (o *FlyMachineCheck) HasTlsSkipVerify() bool
HasTlsSkipVerify returns a boolean if a field has been set.
func (*FlyMachineCheck) HasType ¶
func (o *FlyMachineCheck) HasType() bool
HasType returns a boolean if a field has been set.
func (FlyMachineCheck) MarshalJSON ¶
func (o FlyMachineCheck) MarshalJSON() ([]byte, error)
func (*FlyMachineCheck) SetGracePeriod ¶
func (o *FlyMachineCheck) SetGracePeriod(v FlyDuration)
SetGracePeriod gets a reference to the given FlyDuration and assigns it to the GracePeriod field.
func (*FlyMachineCheck) SetHeaders ¶
func (o *FlyMachineCheck) SetHeaders(v []FlyMachineHTTPHeader)
SetHeaders gets a reference to the given []FlyMachineHTTPHeader and assigns it to the Headers field.
func (*FlyMachineCheck) SetInterval ¶
func (o *FlyMachineCheck) SetInterval(v FlyDuration)
SetInterval gets a reference to the given FlyDuration and assigns it to the Interval field.
func (*FlyMachineCheck) SetKind ¶
func (o *FlyMachineCheck) SetKind(v string)
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*FlyMachineCheck) SetMethod ¶
func (o *FlyMachineCheck) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*FlyMachineCheck) SetPath ¶
func (o *FlyMachineCheck) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*FlyMachineCheck) SetPort ¶
func (o *FlyMachineCheck) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (*FlyMachineCheck) SetProtocol ¶
func (o *FlyMachineCheck) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*FlyMachineCheck) SetTimeout ¶
func (o *FlyMachineCheck) SetTimeout(v FlyDuration)
SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.
func (*FlyMachineCheck) SetTlsServerName ¶
func (o *FlyMachineCheck) SetTlsServerName(v string)
SetTlsServerName gets a reference to the given string and assigns it to the TlsServerName field.
func (*FlyMachineCheck) SetTlsSkipVerify ¶
func (o *FlyMachineCheck) SetTlsSkipVerify(v bool)
SetTlsSkipVerify gets a reference to the given bool and assigns it to the TlsSkipVerify field.
func (*FlyMachineCheck) SetType ¶
func (o *FlyMachineCheck) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FlyMachineCheck) ToMap ¶
func (o FlyMachineCheck) ToMap() (map[string]interface{}, error)
type FlyMachineConfig ¶
type FlyMachineConfig struct {
// Optional boolean telling the Machine to destroy itself once it’s complete (default false)
AutoDestroy *bool `json:"auto_destroy,omitempty"`
// An optional object that defines one or more named top-level checks. The key for each check is the check name.
Checks *map[string]FlyMachineCheck `json:"checks,omitempty"`
// Containers are a list of containers that will run in the machine. Currently restricted to only specific organizations.
Containers []FlyContainerConfig `json:"containers,omitempty"`
// Deprecated: use Service.Autostart instead
DisableMachineAutostart *bool `json:"disable_machine_autostart,omitempty"`
Dns *FlyDNSConfig `json:"dns,omitempty"`
// An object filled with key/value pairs to be set as environment variables
Env *map[string]string `json:"env,omitempty"`
Files []FlyFile `json:"files,omitempty"`
Guest *FlyMachineGuest `json:"guest,omitempty"`
// The docker image to run
Image *string `json:"image,omitempty"`
Init *FlyMachineInit `json:"init,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
Metrics *FlyMachineMetrics `json:"metrics,omitempty"`
Processes []FlyMachineProcess `json:"processes,omitempty"`
Restart *FlyMachineRestart `json:"restart,omitempty"`
Schedule *string `json:"schedule,omitempty"`
Services []FlyMachineService `json:"services,omitempty"`
// Deprecated: use Guest instead
Size *string `json:"size,omitempty"`
// Standbys enable a machine to be a standby for another. In the event of a hardware failure, the standby machine will be started.
Standbys []string `json:"standbys,omitempty"`
Statics []FlyStatic `json:"statics,omitempty"`
StopConfig *FlyStopConfig `json:"stop_config,omitempty"`
}
FlyMachineConfig struct for FlyMachineConfig
func NewFlyMachineConfig ¶
func NewFlyMachineConfig() *FlyMachineConfig
NewFlyMachineConfig instantiates a new FlyMachineConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineConfigWithDefaults ¶
func NewFlyMachineConfigWithDefaults() *FlyMachineConfig
NewFlyMachineConfigWithDefaults instantiates a new FlyMachineConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineConfig) GetAutoDestroy ¶
func (o *FlyMachineConfig) GetAutoDestroy() bool
GetAutoDestroy returns the AutoDestroy field value if set, zero value otherwise.
func (*FlyMachineConfig) GetAutoDestroyOk ¶
func (o *FlyMachineConfig) GetAutoDestroyOk() (*bool, bool)
GetAutoDestroyOk returns a tuple with the AutoDestroy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetChecks ¶
func (o *FlyMachineConfig) GetChecks() map[string]FlyMachineCheck
GetChecks returns the Checks field value if set, zero value otherwise.
func (*FlyMachineConfig) GetChecksOk ¶
func (o *FlyMachineConfig) GetChecksOk() (*map[string]FlyMachineCheck, bool)
GetChecksOk returns a tuple with the Checks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetContainers ¶
func (o *FlyMachineConfig) GetContainers() []FlyContainerConfig
GetContainers returns the Containers field value if set, zero value otherwise.
func (*FlyMachineConfig) GetContainersOk ¶
func (o *FlyMachineConfig) GetContainersOk() ([]FlyContainerConfig, bool)
GetContainersOk returns a tuple with the Containers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetDisableMachineAutostart ¶
func (o *FlyMachineConfig) GetDisableMachineAutostart() bool
GetDisableMachineAutostart returns the DisableMachineAutostart field value if set, zero value otherwise.
func (*FlyMachineConfig) GetDisableMachineAutostartOk ¶
func (o *FlyMachineConfig) GetDisableMachineAutostartOk() (*bool, bool)
GetDisableMachineAutostartOk returns a tuple with the DisableMachineAutostart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetDns ¶
func (o *FlyMachineConfig) GetDns() FlyDNSConfig
GetDns returns the Dns field value if set, zero value otherwise.
func (*FlyMachineConfig) GetDnsOk ¶
func (o *FlyMachineConfig) GetDnsOk() (*FlyDNSConfig, bool)
GetDnsOk returns a tuple with the Dns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetEnv ¶
func (o *FlyMachineConfig) GetEnv() map[string]string
GetEnv returns the Env field value if set, zero value otherwise.
func (*FlyMachineConfig) GetEnvOk ¶
func (o *FlyMachineConfig) GetEnvOk() (*map[string]string, bool)
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetFiles ¶
func (o *FlyMachineConfig) GetFiles() []FlyFile
GetFiles returns the Files field value if set, zero value otherwise.
func (*FlyMachineConfig) GetFilesOk ¶
func (o *FlyMachineConfig) GetFilesOk() ([]FlyFile, bool)
GetFilesOk returns a tuple with the Files field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetGuest ¶
func (o *FlyMachineConfig) GetGuest() FlyMachineGuest
GetGuest returns the Guest field value if set, zero value otherwise.
func (*FlyMachineConfig) GetGuestOk ¶
func (o *FlyMachineConfig) GetGuestOk() (*FlyMachineGuest, bool)
GetGuestOk returns a tuple with the Guest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetImage ¶
func (o *FlyMachineConfig) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*FlyMachineConfig) GetImageOk ¶
func (o *FlyMachineConfig) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetInit ¶
func (o *FlyMachineConfig) GetInit() FlyMachineInit
GetInit returns the Init field value if set, zero value otherwise.
func (*FlyMachineConfig) GetInitOk ¶
func (o *FlyMachineConfig) GetInitOk() (*FlyMachineInit, bool)
GetInitOk returns a tuple with the Init field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetMetadata ¶
func (o *FlyMachineConfig) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*FlyMachineConfig) GetMetadataOk ¶
func (o *FlyMachineConfig) GetMetadataOk() (*map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetMetrics ¶
func (o *FlyMachineConfig) GetMetrics() FlyMachineMetrics
GetMetrics returns the Metrics field value if set, zero value otherwise.
func (*FlyMachineConfig) GetMetricsOk ¶
func (o *FlyMachineConfig) GetMetricsOk() (*FlyMachineMetrics, bool)
GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetProcesses ¶
func (o *FlyMachineConfig) GetProcesses() []FlyMachineProcess
GetProcesses returns the Processes field value if set, zero value otherwise.
func (*FlyMachineConfig) GetProcessesOk ¶
func (o *FlyMachineConfig) GetProcessesOk() ([]FlyMachineProcess, bool)
GetProcessesOk returns a tuple with the Processes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetRestart ¶
func (o *FlyMachineConfig) GetRestart() FlyMachineRestart
GetRestart returns the Restart field value if set, zero value otherwise.
func (*FlyMachineConfig) GetRestartOk ¶
func (o *FlyMachineConfig) GetRestartOk() (*FlyMachineRestart, bool)
GetRestartOk returns a tuple with the Restart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetSchedule ¶
func (o *FlyMachineConfig) GetSchedule() string
GetSchedule returns the Schedule field value if set, zero value otherwise.
func (*FlyMachineConfig) GetScheduleOk ¶
func (o *FlyMachineConfig) GetScheduleOk() (*string, bool)
GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetServices ¶
func (o *FlyMachineConfig) GetServices() []FlyMachineService
GetServices returns the Services field value if set, zero value otherwise.
func (*FlyMachineConfig) GetServicesOk ¶
func (o *FlyMachineConfig) GetServicesOk() ([]FlyMachineService, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetSize ¶
func (o *FlyMachineConfig) GetSize() string
GetSize returns the Size field value if set, zero value otherwise.
func (*FlyMachineConfig) GetSizeOk ¶
func (o *FlyMachineConfig) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetStandbys ¶
func (o *FlyMachineConfig) GetStandbys() []string
GetStandbys returns the Standbys field value if set, zero value otherwise.
func (*FlyMachineConfig) GetStandbysOk ¶
func (o *FlyMachineConfig) GetStandbysOk() ([]string, bool)
GetStandbysOk returns a tuple with the Standbys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetStatics ¶
func (o *FlyMachineConfig) GetStatics() []FlyStatic
GetStatics returns the Statics field value if set, zero value otherwise.
func (*FlyMachineConfig) GetStaticsOk ¶
func (o *FlyMachineConfig) GetStaticsOk() ([]FlyStatic, bool)
GetStaticsOk returns a tuple with the Statics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) GetStopConfig ¶
func (o *FlyMachineConfig) GetStopConfig() FlyStopConfig
GetStopConfig returns the StopConfig field value if set, zero value otherwise.
func (*FlyMachineConfig) GetStopConfigOk ¶
func (o *FlyMachineConfig) GetStopConfigOk() (*FlyStopConfig, bool)
GetStopConfigOk returns a tuple with the StopConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineConfig) HasAutoDestroy ¶
func (o *FlyMachineConfig) HasAutoDestroy() bool
HasAutoDestroy returns a boolean if a field has been set.
func (*FlyMachineConfig) HasChecks ¶
func (o *FlyMachineConfig) HasChecks() bool
HasChecks returns a boolean if a field has been set.
func (*FlyMachineConfig) HasContainers ¶
func (o *FlyMachineConfig) HasContainers() bool
HasContainers returns a boolean if a field has been set.
func (*FlyMachineConfig) HasDisableMachineAutostart ¶
func (o *FlyMachineConfig) HasDisableMachineAutostart() bool
HasDisableMachineAutostart returns a boolean if a field has been set.
func (*FlyMachineConfig) HasDns ¶
func (o *FlyMachineConfig) HasDns() bool
HasDns returns a boolean if a field has been set.
func (*FlyMachineConfig) HasEnv ¶
func (o *FlyMachineConfig) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*FlyMachineConfig) HasFiles ¶
func (o *FlyMachineConfig) HasFiles() bool
HasFiles returns a boolean if a field has been set.
func (*FlyMachineConfig) HasGuest ¶
func (o *FlyMachineConfig) HasGuest() bool
HasGuest returns a boolean if a field has been set.
func (*FlyMachineConfig) HasImage ¶
func (o *FlyMachineConfig) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*FlyMachineConfig) HasInit ¶
func (o *FlyMachineConfig) HasInit() bool
HasInit returns a boolean if a field has been set.
func (*FlyMachineConfig) HasMetadata ¶
func (o *FlyMachineConfig) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*FlyMachineConfig) HasMetrics ¶
func (o *FlyMachineConfig) HasMetrics() bool
HasMetrics returns a boolean if a field has been set.
func (*FlyMachineConfig) HasProcesses ¶
func (o *FlyMachineConfig) HasProcesses() bool
HasProcesses returns a boolean if a field has been set.
func (*FlyMachineConfig) HasRestart ¶
func (o *FlyMachineConfig) HasRestart() bool
HasRestart returns a boolean if a field has been set.
func (*FlyMachineConfig) HasSchedule ¶
func (o *FlyMachineConfig) HasSchedule() bool
HasSchedule returns a boolean if a field has been set.
func (*FlyMachineConfig) HasServices ¶
func (o *FlyMachineConfig) HasServices() bool
HasServices returns a boolean if a field has been set.
func (*FlyMachineConfig) HasSize ¶
func (o *FlyMachineConfig) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*FlyMachineConfig) HasStandbys ¶
func (o *FlyMachineConfig) HasStandbys() bool
HasStandbys returns a boolean if a field has been set.
func (*FlyMachineConfig) HasStatics ¶
func (o *FlyMachineConfig) HasStatics() bool
HasStatics returns a boolean if a field has been set.
func (*FlyMachineConfig) HasStopConfig ¶
func (o *FlyMachineConfig) HasStopConfig() bool
HasStopConfig returns a boolean if a field has been set.
func (FlyMachineConfig) MarshalJSON ¶
func (o FlyMachineConfig) MarshalJSON() ([]byte, error)
func (*FlyMachineConfig) SetAutoDestroy ¶
func (o *FlyMachineConfig) SetAutoDestroy(v bool)
SetAutoDestroy gets a reference to the given bool and assigns it to the AutoDestroy field.
func (*FlyMachineConfig) SetChecks ¶
func (o *FlyMachineConfig) SetChecks(v map[string]FlyMachineCheck)
SetChecks gets a reference to the given map[string]FlyMachineCheck and assigns it to the Checks field.
func (*FlyMachineConfig) SetContainers ¶
func (o *FlyMachineConfig) SetContainers(v []FlyContainerConfig)
SetContainers gets a reference to the given []FlyContainerConfig and assigns it to the Containers field.
func (*FlyMachineConfig) SetDisableMachineAutostart ¶
func (o *FlyMachineConfig) SetDisableMachineAutostart(v bool)
SetDisableMachineAutostart gets a reference to the given bool and assigns it to the DisableMachineAutostart field.
func (*FlyMachineConfig) SetDns ¶
func (o *FlyMachineConfig) SetDns(v FlyDNSConfig)
SetDns gets a reference to the given FlyDNSConfig and assigns it to the Dns field.
func (*FlyMachineConfig) SetEnv ¶
func (o *FlyMachineConfig) SetEnv(v map[string]string)
SetEnv gets a reference to the given map[string]string and assigns it to the Env field.
func (*FlyMachineConfig) SetFiles ¶
func (o *FlyMachineConfig) SetFiles(v []FlyFile)
SetFiles gets a reference to the given []FlyFile and assigns it to the Files field.
func (*FlyMachineConfig) SetGuest ¶
func (o *FlyMachineConfig) SetGuest(v FlyMachineGuest)
SetGuest gets a reference to the given FlyMachineGuest and assigns it to the Guest field.
func (*FlyMachineConfig) SetImage ¶
func (o *FlyMachineConfig) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*FlyMachineConfig) SetInit ¶
func (o *FlyMachineConfig) SetInit(v FlyMachineInit)
SetInit gets a reference to the given FlyMachineInit and assigns it to the Init field.
func (*FlyMachineConfig) SetMetadata ¶
func (o *FlyMachineConfig) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*FlyMachineConfig) SetMetrics ¶
func (o *FlyMachineConfig) SetMetrics(v FlyMachineMetrics)
SetMetrics gets a reference to the given FlyMachineMetrics and assigns it to the Metrics field.
func (*FlyMachineConfig) SetProcesses ¶
func (o *FlyMachineConfig) SetProcesses(v []FlyMachineProcess)
SetProcesses gets a reference to the given []FlyMachineProcess and assigns it to the Processes field.
func (*FlyMachineConfig) SetRestart ¶
func (o *FlyMachineConfig) SetRestart(v FlyMachineRestart)
SetRestart gets a reference to the given FlyMachineRestart and assigns it to the Restart field.
func (*FlyMachineConfig) SetSchedule ¶
func (o *FlyMachineConfig) SetSchedule(v string)
SetSchedule gets a reference to the given string and assigns it to the Schedule field.
func (*FlyMachineConfig) SetServices ¶
func (o *FlyMachineConfig) SetServices(v []FlyMachineService)
SetServices gets a reference to the given []FlyMachineService and assigns it to the Services field.
func (*FlyMachineConfig) SetSize ¶
func (o *FlyMachineConfig) SetSize(v string)
SetSize gets a reference to the given string and assigns it to the Size field.
func (*FlyMachineConfig) SetStandbys ¶
func (o *FlyMachineConfig) SetStandbys(v []string)
SetStandbys gets a reference to the given []string and assigns it to the Standbys field.
func (*FlyMachineConfig) SetStatics ¶
func (o *FlyMachineConfig) SetStatics(v []FlyStatic)
SetStatics gets a reference to the given []FlyStatic and assigns it to the Statics field.
func (*FlyMachineConfig) SetStopConfig ¶
func (o *FlyMachineConfig) SetStopConfig(v FlyStopConfig)
SetStopConfig gets a reference to the given FlyStopConfig and assigns it to the StopConfig field.
func (FlyMachineConfig) ToMap ¶
func (o FlyMachineConfig) ToMap() (map[string]interface{}, error)
type FlyMachineGuest ¶
type FlyMachineGuest struct {
CpuKind *string `json:"cpu_kind,omitempty"`
Cpus *int64 `json:"cpus,omitempty"`
GpuKind *string `json:"gpu_kind,omitempty"`
Gpus *int64 `json:"gpus,omitempty"`
HostDedicationId *string `json:"host_dedication_id,omitempty"`
KernelArgs []string `json:"kernel_args,omitempty"`
MemoryMb *int64 `json:"memory_mb,omitempty"`
}
FlyMachineGuest struct for FlyMachineGuest
func NewFlyMachineGuest ¶
func NewFlyMachineGuest() *FlyMachineGuest
NewFlyMachineGuest instantiates a new FlyMachineGuest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineGuestWithDefaults ¶
func NewFlyMachineGuestWithDefaults() *FlyMachineGuest
NewFlyMachineGuestWithDefaults instantiates a new FlyMachineGuest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineGuest) GetCpuKind ¶
func (o *FlyMachineGuest) GetCpuKind() string
GetCpuKind returns the CpuKind field value if set, zero value otherwise.
func (*FlyMachineGuest) GetCpuKindOk ¶
func (o *FlyMachineGuest) GetCpuKindOk() (*string, bool)
GetCpuKindOk returns a tuple with the CpuKind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) GetCpus ¶
func (o *FlyMachineGuest) GetCpus() int64
GetCpus returns the Cpus field value if set, zero value otherwise.
func (*FlyMachineGuest) GetCpusOk ¶
func (o *FlyMachineGuest) GetCpusOk() (*int64, bool)
GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) GetGpuKind ¶
func (o *FlyMachineGuest) GetGpuKind() string
GetGpuKind returns the GpuKind field value if set, zero value otherwise.
func (*FlyMachineGuest) GetGpuKindOk ¶
func (o *FlyMachineGuest) GetGpuKindOk() (*string, bool)
GetGpuKindOk returns a tuple with the GpuKind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) GetGpus ¶
func (o *FlyMachineGuest) GetGpus() int64
GetGpus returns the Gpus field value if set, zero value otherwise.
func (*FlyMachineGuest) GetGpusOk ¶
func (o *FlyMachineGuest) GetGpusOk() (*int64, bool)
GetGpusOk returns a tuple with the Gpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) GetHostDedicationId ¶
func (o *FlyMachineGuest) GetHostDedicationId() string
GetHostDedicationId returns the HostDedicationId field value if set, zero value otherwise.
func (*FlyMachineGuest) GetHostDedicationIdOk ¶
func (o *FlyMachineGuest) GetHostDedicationIdOk() (*string, bool)
GetHostDedicationIdOk returns a tuple with the HostDedicationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) GetKernelArgs ¶
func (o *FlyMachineGuest) GetKernelArgs() []string
GetKernelArgs returns the KernelArgs field value if set, zero value otherwise.
func (*FlyMachineGuest) GetKernelArgsOk ¶
func (o *FlyMachineGuest) GetKernelArgsOk() ([]string, bool)
GetKernelArgsOk returns a tuple with the KernelArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) GetMemoryMb ¶
func (o *FlyMachineGuest) GetMemoryMb() int64
GetMemoryMb returns the MemoryMb field value if set, zero value otherwise.
func (*FlyMachineGuest) GetMemoryMbOk ¶
func (o *FlyMachineGuest) GetMemoryMbOk() (*int64, bool)
GetMemoryMbOk returns a tuple with the MemoryMb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineGuest) HasCpuKind ¶
func (o *FlyMachineGuest) HasCpuKind() bool
HasCpuKind returns a boolean if a field has been set.
func (*FlyMachineGuest) HasCpus ¶
func (o *FlyMachineGuest) HasCpus() bool
HasCpus returns a boolean if a field has been set.
func (*FlyMachineGuest) HasGpuKind ¶
func (o *FlyMachineGuest) HasGpuKind() bool
HasGpuKind returns a boolean if a field has been set.
func (*FlyMachineGuest) HasGpus ¶
func (o *FlyMachineGuest) HasGpus() bool
HasGpus returns a boolean if a field has been set.
func (*FlyMachineGuest) HasHostDedicationId ¶
func (o *FlyMachineGuest) HasHostDedicationId() bool
HasHostDedicationId returns a boolean if a field has been set.
func (*FlyMachineGuest) HasKernelArgs ¶
func (o *FlyMachineGuest) HasKernelArgs() bool
HasKernelArgs returns a boolean if a field has been set.
func (*FlyMachineGuest) HasMemoryMb ¶
func (o *FlyMachineGuest) HasMemoryMb() bool
HasMemoryMb returns a boolean if a field has been set.
func (FlyMachineGuest) MarshalJSON ¶
func (o FlyMachineGuest) MarshalJSON() ([]byte, error)
func (*FlyMachineGuest) SetCpuKind ¶
func (o *FlyMachineGuest) SetCpuKind(v string)
SetCpuKind gets a reference to the given string and assigns it to the CpuKind field.
func (*FlyMachineGuest) SetCpus ¶
func (o *FlyMachineGuest) SetCpus(v int64)
SetCpus gets a reference to the given int64 and assigns it to the Cpus field.
func (*FlyMachineGuest) SetGpuKind ¶
func (o *FlyMachineGuest) SetGpuKind(v string)
SetGpuKind gets a reference to the given string and assigns it to the GpuKind field.
func (*FlyMachineGuest) SetGpus ¶
func (o *FlyMachineGuest) SetGpus(v int64)
SetGpus gets a reference to the given int64 and assigns it to the Gpus field.
func (*FlyMachineGuest) SetHostDedicationId ¶
func (o *FlyMachineGuest) SetHostDedicationId(v string)
SetHostDedicationId gets a reference to the given string and assigns it to the HostDedicationId field.
func (*FlyMachineGuest) SetKernelArgs ¶
func (o *FlyMachineGuest) SetKernelArgs(v []string)
SetKernelArgs gets a reference to the given []string and assigns it to the KernelArgs field.
func (*FlyMachineGuest) SetMemoryMb ¶
func (o *FlyMachineGuest) SetMemoryMb(v int64)
SetMemoryMb gets a reference to the given int64 and assigns it to the MemoryMb field.
func (FlyMachineGuest) ToMap ¶
func (o FlyMachineGuest) ToMap() (map[string]interface{}, error)
type FlyMachineHTTPHeader ¶
type FlyMachineHTTPHeader struct {
// The header name
Name *string `json:"name,omitempty"`
// The header value
Values []string `json:"values,omitempty"`
}
FlyMachineHTTPHeader For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.
func NewFlyMachineHTTPHeader ¶
func NewFlyMachineHTTPHeader() *FlyMachineHTTPHeader
NewFlyMachineHTTPHeader instantiates a new FlyMachineHTTPHeader object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineHTTPHeaderWithDefaults ¶
func NewFlyMachineHTTPHeaderWithDefaults() *FlyMachineHTTPHeader
NewFlyMachineHTTPHeaderWithDefaults instantiates a new FlyMachineHTTPHeader object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineHTTPHeader) GetName ¶
func (o *FlyMachineHTTPHeader) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FlyMachineHTTPHeader) GetNameOk ¶
func (o *FlyMachineHTTPHeader) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineHTTPHeader) GetValues ¶
func (o *FlyMachineHTTPHeader) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*FlyMachineHTTPHeader) GetValuesOk ¶
func (o *FlyMachineHTTPHeader) GetValuesOk() ([]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineHTTPHeader) HasName ¶
func (o *FlyMachineHTTPHeader) HasName() bool
HasName returns a boolean if a field has been set.
func (*FlyMachineHTTPHeader) HasValues ¶
func (o *FlyMachineHTTPHeader) HasValues() bool
HasValues returns a boolean if a field has been set.
func (FlyMachineHTTPHeader) MarshalJSON ¶
func (o FlyMachineHTTPHeader) MarshalJSON() ([]byte, error)
func (*FlyMachineHTTPHeader) SetName ¶
func (o *FlyMachineHTTPHeader) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FlyMachineHTTPHeader) SetValues ¶
func (o *FlyMachineHTTPHeader) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
func (FlyMachineHTTPHeader) ToMap ¶
func (o FlyMachineHTTPHeader) ToMap() (map[string]interface{}, error)
type FlyMachineInit ¶
type FlyMachineInit struct {
Cmd []string `json:"cmd,omitempty"`
Entrypoint []string `json:"entrypoint,omitempty"`
Exec []string `json:"exec,omitempty"`
KernelArgs []string `json:"kernel_args,omitempty"`
SwapSizeMb *int64 `json:"swap_size_mb,omitempty"`
Tty *bool `json:"tty,omitempty"`
}
FlyMachineInit struct for FlyMachineInit
func NewFlyMachineInit ¶
func NewFlyMachineInit() *FlyMachineInit
NewFlyMachineInit instantiates a new FlyMachineInit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineInitWithDefaults ¶
func NewFlyMachineInitWithDefaults() *FlyMachineInit
NewFlyMachineInitWithDefaults instantiates a new FlyMachineInit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineInit) GetCmd ¶
func (o *FlyMachineInit) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*FlyMachineInit) GetCmdOk ¶
func (o *FlyMachineInit) GetCmdOk() ([]string, bool)
GetCmdOk returns a tuple with the Cmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineInit) GetEntrypoint ¶
func (o *FlyMachineInit) GetEntrypoint() []string
GetEntrypoint returns the Entrypoint field value if set, zero value otherwise.
func (*FlyMachineInit) GetEntrypointOk ¶
func (o *FlyMachineInit) GetEntrypointOk() ([]string, bool)
GetEntrypointOk returns a tuple with the Entrypoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineInit) GetExec ¶
func (o *FlyMachineInit) GetExec() []string
GetExec returns the Exec field value if set, zero value otherwise.
func (*FlyMachineInit) GetExecOk ¶
func (o *FlyMachineInit) GetExecOk() ([]string, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineInit) GetKernelArgs ¶
func (o *FlyMachineInit) GetKernelArgs() []string
GetKernelArgs returns the KernelArgs field value if set, zero value otherwise.
func (*FlyMachineInit) GetKernelArgsOk ¶
func (o *FlyMachineInit) GetKernelArgsOk() ([]string, bool)
GetKernelArgsOk returns a tuple with the KernelArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineInit) GetSwapSizeMb ¶
func (o *FlyMachineInit) GetSwapSizeMb() int64
GetSwapSizeMb returns the SwapSizeMb field value if set, zero value otherwise.
func (*FlyMachineInit) GetSwapSizeMbOk ¶
func (o *FlyMachineInit) GetSwapSizeMbOk() (*int64, bool)
GetSwapSizeMbOk returns a tuple with the SwapSizeMb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineInit) GetTty ¶
func (o *FlyMachineInit) GetTty() bool
GetTty returns the Tty field value if set, zero value otherwise.
func (*FlyMachineInit) GetTtyOk ¶
func (o *FlyMachineInit) GetTtyOk() (*bool, bool)
GetTtyOk returns a tuple with the Tty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineInit) HasCmd ¶
func (o *FlyMachineInit) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*FlyMachineInit) HasEntrypoint ¶
func (o *FlyMachineInit) HasEntrypoint() bool
HasEntrypoint returns a boolean if a field has been set.
func (*FlyMachineInit) HasExec ¶
func (o *FlyMachineInit) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*FlyMachineInit) HasKernelArgs ¶
func (o *FlyMachineInit) HasKernelArgs() bool
HasKernelArgs returns a boolean if a field has been set.
func (*FlyMachineInit) HasSwapSizeMb ¶
func (o *FlyMachineInit) HasSwapSizeMb() bool
HasSwapSizeMb returns a boolean if a field has been set.
func (*FlyMachineInit) HasTty ¶
func (o *FlyMachineInit) HasTty() bool
HasTty returns a boolean if a field has been set.
func (FlyMachineInit) MarshalJSON ¶
func (o FlyMachineInit) MarshalJSON() ([]byte, error)
func (*FlyMachineInit) SetCmd ¶
func (o *FlyMachineInit) SetCmd(v []string)
SetCmd gets a reference to the given []string and assigns it to the Cmd field.
func (*FlyMachineInit) SetEntrypoint ¶
func (o *FlyMachineInit) SetEntrypoint(v []string)
SetEntrypoint gets a reference to the given []string and assigns it to the Entrypoint field.
func (*FlyMachineInit) SetExec ¶
func (o *FlyMachineInit) SetExec(v []string)
SetExec gets a reference to the given []string and assigns it to the Exec field.
func (*FlyMachineInit) SetKernelArgs ¶
func (o *FlyMachineInit) SetKernelArgs(v []string)
SetKernelArgs gets a reference to the given []string and assigns it to the KernelArgs field.
func (*FlyMachineInit) SetSwapSizeMb ¶
func (o *FlyMachineInit) SetSwapSizeMb(v int64)
SetSwapSizeMb gets a reference to the given int64 and assigns it to the SwapSizeMb field.
func (*FlyMachineInit) SetTty ¶
func (o *FlyMachineInit) SetTty(v bool)
SetTty gets a reference to the given bool and assigns it to the Tty field.
func (FlyMachineInit) ToMap ¶
func (o FlyMachineInit) ToMap() (map[string]interface{}, error)
type FlyMachineMetrics ¶
type FlyMachineMetrics struct {
Https *bool `json:"https,omitempty"`
Path *string `json:"path,omitempty"`
Port *int64 `json:"port,omitempty"`
}
FlyMachineMetrics struct for FlyMachineMetrics
func NewFlyMachineMetrics ¶
func NewFlyMachineMetrics() *FlyMachineMetrics
NewFlyMachineMetrics instantiates a new FlyMachineMetrics object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineMetricsWithDefaults ¶
func NewFlyMachineMetricsWithDefaults() *FlyMachineMetrics
NewFlyMachineMetricsWithDefaults instantiates a new FlyMachineMetrics object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineMetrics) GetHttps ¶
func (o *FlyMachineMetrics) GetHttps() bool
GetHttps returns the Https field value if set, zero value otherwise.
func (*FlyMachineMetrics) GetHttpsOk ¶
func (o *FlyMachineMetrics) GetHttpsOk() (*bool, bool)
GetHttpsOk returns a tuple with the Https field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineMetrics) GetPath ¶
func (o *FlyMachineMetrics) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*FlyMachineMetrics) GetPathOk ¶
func (o *FlyMachineMetrics) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineMetrics) GetPort ¶
func (o *FlyMachineMetrics) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*FlyMachineMetrics) GetPortOk ¶
func (o *FlyMachineMetrics) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineMetrics) HasHttps ¶
func (o *FlyMachineMetrics) HasHttps() bool
HasHttps returns a boolean if a field has been set.
func (*FlyMachineMetrics) HasPath ¶
func (o *FlyMachineMetrics) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*FlyMachineMetrics) HasPort ¶
func (o *FlyMachineMetrics) HasPort() bool
HasPort returns a boolean if a field has been set.
func (FlyMachineMetrics) MarshalJSON ¶
func (o FlyMachineMetrics) MarshalJSON() ([]byte, error)
func (*FlyMachineMetrics) SetHttps ¶
func (o *FlyMachineMetrics) SetHttps(v bool)
SetHttps gets a reference to the given bool and assigns it to the Https field.
func (*FlyMachineMetrics) SetPath ¶
func (o *FlyMachineMetrics) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*FlyMachineMetrics) SetPort ¶
func (o *FlyMachineMetrics) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (FlyMachineMetrics) ToMap ¶
func (o FlyMachineMetrics) ToMap() (map[string]interface{}, error)
type FlyMachinePort ¶
type FlyMachinePort struct {
EndPort *int64 `json:"end_port,omitempty"`
ForceHttps *bool `json:"force_https,omitempty"`
Handlers []string `json:"handlers,omitempty"`
HttpOptions *FlyHTTPOptions `json:"http_options,omitempty"`
Port *int64 `json:"port,omitempty"`
ProxyProtoOptions *FlyProxyProtoOptions `json:"proxy_proto_options,omitempty"`
StartPort *int64 `json:"start_port,omitempty"`
TlsOptions *FlyTLSOptions `json:"tls_options,omitempty"`
}
FlyMachinePort struct for FlyMachinePort
func NewFlyMachinePort ¶
func NewFlyMachinePort() *FlyMachinePort
NewFlyMachinePort instantiates a new FlyMachinePort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachinePortWithDefaults ¶
func NewFlyMachinePortWithDefaults() *FlyMachinePort
NewFlyMachinePortWithDefaults instantiates a new FlyMachinePort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachinePort) GetEndPort ¶
func (o *FlyMachinePort) GetEndPort() int64
GetEndPort returns the EndPort field value if set, zero value otherwise.
func (*FlyMachinePort) GetEndPortOk ¶
func (o *FlyMachinePort) GetEndPortOk() (*int64, bool)
GetEndPortOk returns a tuple with the EndPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetForceHttps ¶
func (o *FlyMachinePort) GetForceHttps() bool
GetForceHttps returns the ForceHttps field value if set, zero value otherwise.
func (*FlyMachinePort) GetForceHttpsOk ¶
func (o *FlyMachinePort) GetForceHttpsOk() (*bool, bool)
GetForceHttpsOk returns a tuple with the ForceHttps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetHandlers ¶
func (o *FlyMachinePort) GetHandlers() []string
GetHandlers returns the Handlers field value if set, zero value otherwise.
func (*FlyMachinePort) GetHandlersOk ¶
func (o *FlyMachinePort) GetHandlersOk() ([]string, bool)
GetHandlersOk returns a tuple with the Handlers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetHttpOptions ¶
func (o *FlyMachinePort) GetHttpOptions() FlyHTTPOptions
GetHttpOptions returns the HttpOptions field value if set, zero value otherwise.
func (*FlyMachinePort) GetHttpOptionsOk ¶
func (o *FlyMachinePort) GetHttpOptionsOk() (*FlyHTTPOptions, bool)
GetHttpOptionsOk returns a tuple with the HttpOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetPort ¶
func (o *FlyMachinePort) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*FlyMachinePort) GetPortOk ¶
func (o *FlyMachinePort) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetProxyProtoOptions ¶
func (o *FlyMachinePort) GetProxyProtoOptions() FlyProxyProtoOptions
GetProxyProtoOptions returns the ProxyProtoOptions field value if set, zero value otherwise.
func (*FlyMachinePort) GetProxyProtoOptionsOk ¶
func (o *FlyMachinePort) GetProxyProtoOptionsOk() (*FlyProxyProtoOptions, bool)
GetProxyProtoOptionsOk returns a tuple with the ProxyProtoOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetStartPort ¶
func (o *FlyMachinePort) GetStartPort() int64
GetStartPort returns the StartPort field value if set, zero value otherwise.
func (*FlyMachinePort) GetStartPortOk ¶
func (o *FlyMachinePort) GetStartPortOk() (*int64, bool)
GetStartPortOk returns a tuple with the StartPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) GetTlsOptions ¶
func (o *FlyMachinePort) GetTlsOptions() FlyTLSOptions
GetTlsOptions returns the TlsOptions field value if set, zero value otherwise.
func (*FlyMachinePort) GetTlsOptionsOk ¶
func (o *FlyMachinePort) GetTlsOptionsOk() (*FlyTLSOptions, bool)
GetTlsOptionsOk returns a tuple with the TlsOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachinePort) HasEndPort ¶
func (o *FlyMachinePort) HasEndPort() bool
HasEndPort returns a boolean if a field has been set.
func (*FlyMachinePort) HasForceHttps ¶
func (o *FlyMachinePort) HasForceHttps() bool
HasForceHttps returns a boolean if a field has been set.
func (*FlyMachinePort) HasHandlers ¶
func (o *FlyMachinePort) HasHandlers() bool
HasHandlers returns a boolean if a field has been set.
func (*FlyMachinePort) HasHttpOptions ¶
func (o *FlyMachinePort) HasHttpOptions() bool
HasHttpOptions returns a boolean if a field has been set.
func (*FlyMachinePort) HasPort ¶
func (o *FlyMachinePort) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*FlyMachinePort) HasProxyProtoOptions ¶
func (o *FlyMachinePort) HasProxyProtoOptions() bool
HasProxyProtoOptions returns a boolean if a field has been set.
func (*FlyMachinePort) HasStartPort ¶
func (o *FlyMachinePort) HasStartPort() bool
HasStartPort returns a boolean if a field has been set.
func (*FlyMachinePort) HasTlsOptions ¶
func (o *FlyMachinePort) HasTlsOptions() bool
HasTlsOptions returns a boolean if a field has been set.
func (FlyMachinePort) MarshalJSON ¶
func (o FlyMachinePort) MarshalJSON() ([]byte, error)
func (*FlyMachinePort) SetEndPort ¶
func (o *FlyMachinePort) SetEndPort(v int64)
SetEndPort gets a reference to the given int64 and assigns it to the EndPort field.
func (*FlyMachinePort) SetForceHttps ¶
func (o *FlyMachinePort) SetForceHttps(v bool)
SetForceHttps gets a reference to the given bool and assigns it to the ForceHttps field.
func (*FlyMachinePort) SetHandlers ¶
func (o *FlyMachinePort) SetHandlers(v []string)
SetHandlers gets a reference to the given []string and assigns it to the Handlers field.
func (*FlyMachinePort) SetHttpOptions ¶
func (o *FlyMachinePort) SetHttpOptions(v FlyHTTPOptions)
SetHttpOptions gets a reference to the given FlyHTTPOptions and assigns it to the HttpOptions field.
func (*FlyMachinePort) SetPort ¶
func (o *FlyMachinePort) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (*FlyMachinePort) SetProxyProtoOptions ¶
func (o *FlyMachinePort) SetProxyProtoOptions(v FlyProxyProtoOptions)
SetProxyProtoOptions gets a reference to the given FlyProxyProtoOptions and assigns it to the ProxyProtoOptions field.
func (*FlyMachinePort) SetStartPort ¶
func (o *FlyMachinePort) SetStartPort(v int64)
SetStartPort gets a reference to the given int64 and assigns it to the StartPort field.
func (*FlyMachinePort) SetTlsOptions ¶
func (o *FlyMachinePort) SetTlsOptions(v FlyTLSOptions)
SetTlsOptions gets a reference to the given FlyTLSOptions and assigns it to the TlsOptions field.
func (FlyMachinePort) ToMap ¶
func (o FlyMachinePort) ToMap() (map[string]interface{}, error)
type FlyMachineProcess ¶
type FlyMachineProcess struct {
Cmd []string `json:"cmd,omitempty"`
Entrypoint []string `json:"entrypoint,omitempty"`
Env *map[string]string `json:"env,omitempty"`
// EnvFrom can be provided to set environment variables from machine fields.
EnvFrom []FlyEnvFrom `json:"env_from,omitempty"`
Exec []string `json:"exec,omitempty"`
// IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to and only use the secrets provided at the process level. The default/legacy behavior is to use the secrets provided at the App level.
IgnoreAppSecrets *bool `json:"ignore_app_secrets,omitempty"`
// Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used.
Secrets []FlyMachineSecret `json:"secrets,omitempty"`
User *string `json:"user,omitempty"`
}
FlyMachineProcess struct for FlyMachineProcess
func NewFlyMachineProcess ¶
func NewFlyMachineProcess() *FlyMachineProcess
NewFlyMachineProcess instantiates a new FlyMachineProcess object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineProcessWithDefaults ¶
func NewFlyMachineProcessWithDefaults() *FlyMachineProcess
NewFlyMachineProcessWithDefaults instantiates a new FlyMachineProcess object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineProcess) GetCmd ¶
func (o *FlyMachineProcess) GetCmd() []string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*FlyMachineProcess) GetCmdOk ¶
func (o *FlyMachineProcess) GetCmdOk() ([]string, bool)
GetCmdOk returns a tuple with the Cmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetEntrypoint ¶
func (o *FlyMachineProcess) GetEntrypoint() []string
GetEntrypoint returns the Entrypoint field value if set, zero value otherwise.
func (*FlyMachineProcess) GetEntrypointOk ¶
func (o *FlyMachineProcess) GetEntrypointOk() ([]string, bool)
GetEntrypointOk returns a tuple with the Entrypoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetEnv ¶
func (o *FlyMachineProcess) GetEnv() map[string]string
GetEnv returns the Env field value if set, zero value otherwise.
func (*FlyMachineProcess) GetEnvFrom ¶
func (o *FlyMachineProcess) GetEnvFrom() []FlyEnvFrom
GetEnvFrom returns the EnvFrom field value if set, zero value otherwise.
func (*FlyMachineProcess) GetEnvFromOk ¶
func (o *FlyMachineProcess) GetEnvFromOk() ([]FlyEnvFrom, bool)
GetEnvFromOk returns a tuple with the EnvFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetEnvOk ¶
func (o *FlyMachineProcess) GetEnvOk() (*map[string]string, bool)
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetExec ¶
func (o *FlyMachineProcess) GetExec() []string
GetExec returns the Exec field value if set, zero value otherwise.
func (*FlyMachineProcess) GetExecOk ¶
func (o *FlyMachineProcess) GetExecOk() ([]string, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetIgnoreAppSecrets ¶
func (o *FlyMachineProcess) GetIgnoreAppSecrets() bool
GetIgnoreAppSecrets returns the IgnoreAppSecrets field value if set, zero value otherwise.
func (*FlyMachineProcess) GetIgnoreAppSecretsOk ¶
func (o *FlyMachineProcess) GetIgnoreAppSecretsOk() (*bool, bool)
GetIgnoreAppSecretsOk returns a tuple with the IgnoreAppSecrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetSecrets ¶
func (o *FlyMachineProcess) GetSecrets() []FlyMachineSecret
GetSecrets returns the Secrets field value if set, zero value otherwise.
func (*FlyMachineProcess) GetSecretsOk ¶
func (o *FlyMachineProcess) GetSecretsOk() ([]FlyMachineSecret, bool)
GetSecretsOk returns a tuple with the Secrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) GetUser ¶
func (o *FlyMachineProcess) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*FlyMachineProcess) GetUserOk ¶
func (o *FlyMachineProcess) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineProcess) HasCmd ¶
func (o *FlyMachineProcess) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*FlyMachineProcess) HasEntrypoint ¶
func (o *FlyMachineProcess) HasEntrypoint() bool
HasEntrypoint returns a boolean if a field has been set.
func (*FlyMachineProcess) HasEnv ¶
func (o *FlyMachineProcess) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*FlyMachineProcess) HasEnvFrom ¶
func (o *FlyMachineProcess) HasEnvFrom() bool
HasEnvFrom returns a boolean if a field has been set.
func (*FlyMachineProcess) HasExec ¶
func (o *FlyMachineProcess) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*FlyMachineProcess) HasIgnoreAppSecrets ¶
func (o *FlyMachineProcess) HasIgnoreAppSecrets() bool
HasIgnoreAppSecrets returns a boolean if a field has been set.
func (*FlyMachineProcess) HasSecrets ¶
func (o *FlyMachineProcess) HasSecrets() bool
HasSecrets returns a boolean if a field has been set.
func (*FlyMachineProcess) HasUser ¶
func (o *FlyMachineProcess) HasUser() bool
HasUser returns a boolean if a field has been set.
func (FlyMachineProcess) MarshalJSON ¶
func (o FlyMachineProcess) MarshalJSON() ([]byte, error)
func (*FlyMachineProcess) SetCmd ¶
func (o *FlyMachineProcess) SetCmd(v []string)
SetCmd gets a reference to the given []string and assigns it to the Cmd field.
func (*FlyMachineProcess) SetEntrypoint ¶
func (o *FlyMachineProcess) SetEntrypoint(v []string)
SetEntrypoint gets a reference to the given []string and assigns it to the Entrypoint field.
func (*FlyMachineProcess) SetEnv ¶
func (o *FlyMachineProcess) SetEnv(v map[string]string)
SetEnv gets a reference to the given map[string]string and assigns it to the Env field.
func (*FlyMachineProcess) SetEnvFrom ¶
func (o *FlyMachineProcess) SetEnvFrom(v []FlyEnvFrom)
SetEnvFrom gets a reference to the given []FlyEnvFrom and assigns it to the EnvFrom field.
func (*FlyMachineProcess) SetExec ¶
func (o *FlyMachineProcess) SetExec(v []string)
SetExec gets a reference to the given []string and assigns it to the Exec field.
func (*FlyMachineProcess) SetIgnoreAppSecrets ¶
func (o *FlyMachineProcess) SetIgnoreAppSecrets(v bool)
SetIgnoreAppSecrets gets a reference to the given bool and assigns it to the IgnoreAppSecrets field.
func (*FlyMachineProcess) SetSecrets ¶
func (o *FlyMachineProcess) SetSecrets(v []FlyMachineSecret)
SetSecrets gets a reference to the given []FlyMachineSecret and assigns it to the Secrets field.
func (*FlyMachineProcess) SetUser ¶
func (o *FlyMachineProcess) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
func (FlyMachineProcess) ToMap ¶
func (o FlyMachineProcess) ToMap() (map[string]interface{}, error)
type FlyMachineRestart ¶
type FlyMachineRestart struct {
// GPU bid price for spot Machines.
GpuBidPrice *float32 `json:"gpu_bid_price,omitempty"`
// When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.
MaxRetries *int64 `json:"max_retries,omitempty"`
// * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash. * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly. * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules. * spot-price - Starts the Machine only when there is capacity and the spot price is less than or equal to the bid price.
Policy *string `json:"policy,omitempty"`
}
FlyMachineRestart The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/.
func NewFlyMachineRestart ¶
func NewFlyMachineRestart() *FlyMachineRestart
NewFlyMachineRestart instantiates a new FlyMachineRestart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineRestartWithDefaults ¶
func NewFlyMachineRestartWithDefaults() *FlyMachineRestart
NewFlyMachineRestartWithDefaults instantiates a new FlyMachineRestart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineRestart) GetGpuBidPrice ¶
func (o *FlyMachineRestart) GetGpuBidPrice() float32
GetGpuBidPrice returns the GpuBidPrice field value if set, zero value otherwise.
func (*FlyMachineRestart) GetGpuBidPriceOk ¶
func (o *FlyMachineRestart) GetGpuBidPriceOk() (*float32, bool)
GetGpuBidPriceOk returns a tuple with the GpuBidPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineRestart) GetMaxRetries ¶
func (o *FlyMachineRestart) GetMaxRetries() int64
GetMaxRetries returns the MaxRetries field value if set, zero value otherwise.
func (*FlyMachineRestart) GetMaxRetriesOk ¶
func (o *FlyMachineRestart) GetMaxRetriesOk() (*int64, bool)
GetMaxRetriesOk returns a tuple with the MaxRetries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineRestart) GetPolicy ¶
func (o *FlyMachineRestart) GetPolicy() string
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*FlyMachineRestart) GetPolicyOk ¶
func (o *FlyMachineRestart) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineRestart) HasGpuBidPrice ¶
func (o *FlyMachineRestart) HasGpuBidPrice() bool
HasGpuBidPrice returns a boolean if a field has been set.
func (*FlyMachineRestart) HasMaxRetries ¶
func (o *FlyMachineRestart) HasMaxRetries() bool
HasMaxRetries returns a boolean if a field has been set.
func (*FlyMachineRestart) HasPolicy ¶
func (o *FlyMachineRestart) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (FlyMachineRestart) MarshalJSON ¶
func (o FlyMachineRestart) MarshalJSON() ([]byte, error)
func (*FlyMachineRestart) SetGpuBidPrice ¶
func (o *FlyMachineRestart) SetGpuBidPrice(v float32)
SetGpuBidPrice gets a reference to the given float32 and assigns it to the GpuBidPrice field.
func (*FlyMachineRestart) SetMaxRetries ¶
func (o *FlyMachineRestart) SetMaxRetries(v int64)
SetMaxRetries gets a reference to the given int64 and assigns it to the MaxRetries field.
func (*FlyMachineRestart) SetPolicy ¶
func (o *FlyMachineRestart) SetPolicy(v string)
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (FlyMachineRestart) ToMap ¶
func (o FlyMachineRestart) ToMap() (map[string]interface{}, error)
type FlyMachineSecret ¶
type FlyMachineSecret struct {
// EnvVar is required and is the name of the environment variable that will be set from the secret. It must be a valid environment variable name.
EnvVar *string `json:"env_var,omitempty"`
// Name is optional and when provided is used to reference a secret name where the EnvVar is different from what was set as the secret name.
Name *string `json:"name,omitempty"`
}
FlyMachineSecret A Secret needing to be set in the environment of the Machine. env_var is required
func NewFlyMachineSecret ¶
func NewFlyMachineSecret() *FlyMachineSecret
NewFlyMachineSecret instantiates a new FlyMachineSecret object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineSecretWithDefaults ¶
func NewFlyMachineSecretWithDefaults() *FlyMachineSecret
NewFlyMachineSecretWithDefaults instantiates a new FlyMachineSecret object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineSecret) GetEnvVar ¶
func (o *FlyMachineSecret) GetEnvVar() string
GetEnvVar returns the EnvVar field value if set, zero value otherwise.
func (*FlyMachineSecret) GetEnvVarOk ¶
func (o *FlyMachineSecret) GetEnvVarOk() (*string, bool)
GetEnvVarOk returns a tuple with the EnvVar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineSecret) GetName ¶
func (o *FlyMachineSecret) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FlyMachineSecret) GetNameOk ¶
func (o *FlyMachineSecret) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineSecret) HasEnvVar ¶
func (o *FlyMachineSecret) HasEnvVar() bool
HasEnvVar returns a boolean if a field has been set.
func (*FlyMachineSecret) HasName ¶
func (o *FlyMachineSecret) HasName() bool
HasName returns a boolean if a field has been set.
func (FlyMachineSecret) MarshalJSON ¶
func (o FlyMachineSecret) MarshalJSON() ([]byte, error)
func (*FlyMachineSecret) SetEnvVar ¶
func (o *FlyMachineSecret) SetEnvVar(v string)
SetEnvVar gets a reference to the given string and assigns it to the EnvVar field.
func (*FlyMachineSecret) SetName ¶
func (o *FlyMachineSecret) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (FlyMachineSecret) ToMap ¶
func (o FlyMachineSecret) ToMap() (map[string]interface{}, error)
type FlyMachineService ¶
type FlyMachineService struct {
Autostart *bool `json:"autostart,omitempty"`
// Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for \"off\" and \"stop\" in responses. * \"off\" or false - Do not autostop the Machine. * \"stop\" or true - Automatically stop the Machine. * \"suspend\" - Automatically suspend the Machine, falling back to a full stop if this is not possible.
Autostop *string `json:"autostop,omitempty"`
// An optional list of service checks
Checks []FlyMachineServiceCheck `json:"checks,omitempty"`
Concurrency *FlyMachineServiceConcurrency `json:"concurrency,omitempty"`
ForceInstanceDescription *string `json:"force_instance_description,omitempty"`
ForceInstanceKey *string `json:"force_instance_key,omitempty"`
InternalPort *int64 `json:"internal_port,omitempty"`
MinMachinesRunning *int64 `json:"min_machines_running,omitempty"`
Ports []FlyMachinePort `json:"ports,omitempty"`
Protocol *string `json:"protocol,omitempty"`
}
FlyMachineService struct for FlyMachineService
func NewFlyMachineService ¶
func NewFlyMachineService() *FlyMachineService
NewFlyMachineService instantiates a new FlyMachineService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineServiceWithDefaults ¶
func NewFlyMachineServiceWithDefaults() *FlyMachineService
NewFlyMachineServiceWithDefaults instantiates a new FlyMachineService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineService) GetAutostart ¶
func (o *FlyMachineService) GetAutostart() bool
GetAutostart returns the Autostart field value if set, zero value otherwise.
func (*FlyMachineService) GetAutostartOk ¶
func (o *FlyMachineService) GetAutostartOk() (*bool, bool)
GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetAutostop ¶
func (o *FlyMachineService) GetAutostop() string
GetAutostop returns the Autostop field value if set, zero value otherwise.
func (*FlyMachineService) GetAutostopOk ¶
func (o *FlyMachineService) GetAutostopOk() (*string, bool)
GetAutostopOk returns a tuple with the Autostop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetChecks ¶
func (o *FlyMachineService) GetChecks() []FlyMachineServiceCheck
GetChecks returns the Checks field value if set, zero value otherwise.
func (*FlyMachineService) GetChecksOk ¶
func (o *FlyMachineService) GetChecksOk() ([]FlyMachineServiceCheck, bool)
GetChecksOk returns a tuple with the Checks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetConcurrency ¶
func (o *FlyMachineService) GetConcurrency() FlyMachineServiceConcurrency
GetConcurrency returns the Concurrency field value if set, zero value otherwise.
func (*FlyMachineService) GetConcurrencyOk ¶
func (o *FlyMachineService) GetConcurrencyOk() (*FlyMachineServiceConcurrency, bool)
GetConcurrencyOk returns a tuple with the Concurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetForceInstanceDescription ¶
func (o *FlyMachineService) GetForceInstanceDescription() string
GetForceInstanceDescription returns the ForceInstanceDescription field value if set, zero value otherwise.
func (*FlyMachineService) GetForceInstanceDescriptionOk ¶
func (o *FlyMachineService) GetForceInstanceDescriptionOk() (*string, bool)
GetForceInstanceDescriptionOk returns a tuple with the ForceInstanceDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetForceInstanceKey ¶
func (o *FlyMachineService) GetForceInstanceKey() string
GetForceInstanceKey returns the ForceInstanceKey field value if set, zero value otherwise.
func (*FlyMachineService) GetForceInstanceKeyOk ¶
func (o *FlyMachineService) GetForceInstanceKeyOk() (*string, bool)
GetForceInstanceKeyOk returns a tuple with the ForceInstanceKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetInternalPort ¶
func (o *FlyMachineService) GetInternalPort() int64
GetInternalPort returns the InternalPort field value if set, zero value otherwise.
func (*FlyMachineService) GetInternalPortOk ¶
func (o *FlyMachineService) GetInternalPortOk() (*int64, bool)
GetInternalPortOk returns a tuple with the InternalPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetMinMachinesRunning ¶
func (o *FlyMachineService) GetMinMachinesRunning() int64
GetMinMachinesRunning returns the MinMachinesRunning field value if set, zero value otherwise.
func (*FlyMachineService) GetMinMachinesRunningOk ¶
func (o *FlyMachineService) GetMinMachinesRunningOk() (*int64, bool)
GetMinMachinesRunningOk returns a tuple with the MinMachinesRunning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetPorts ¶
func (o *FlyMachineService) GetPorts() []FlyMachinePort
GetPorts returns the Ports field value if set, zero value otherwise.
func (*FlyMachineService) GetPortsOk ¶
func (o *FlyMachineService) GetPortsOk() ([]FlyMachinePort, bool)
GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) GetProtocol ¶
func (o *FlyMachineService) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*FlyMachineService) GetProtocolOk ¶
func (o *FlyMachineService) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineService) HasAutostart ¶
func (o *FlyMachineService) HasAutostart() bool
HasAutostart returns a boolean if a field has been set.
func (*FlyMachineService) HasAutostop ¶
func (o *FlyMachineService) HasAutostop() bool
HasAutostop returns a boolean if a field has been set.
func (*FlyMachineService) HasChecks ¶
func (o *FlyMachineService) HasChecks() bool
HasChecks returns a boolean if a field has been set.
func (*FlyMachineService) HasConcurrency ¶
func (o *FlyMachineService) HasConcurrency() bool
HasConcurrency returns a boolean if a field has been set.
func (*FlyMachineService) HasForceInstanceDescription ¶
func (o *FlyMachineService) HasForceInstanceDescription() bool
HasForceInstanceDescription returns a boolean if a field has been set.
func (*FlyMachineService) HasForceInstanceKey ¶
func (o *FlyMachineService) HasForceInstanceKey() bool
HasForceInstanceKey returns a boolean if a field has been set.
func (*FlyMachineService) HasInternalPort ¶
func (o *FlyMachineService) HasInternalPort() bool
HasInternalPort returns a boolean if a field has been set.
func (*FlyMachineService) HasMinMachinesRunning ¶
func (o *FlyMachineService) HasMinMachinesRunning() bool
HasMinMachinesRunning returns a boolean if a field has been set.
func (*FlyMachineService) HasPorts ¶
func (o *FlyMachineService) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (*FlyMachineService) HasProtocol ¶
func (o *FlyMachineService) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (FlyMachineService) MarshalJSON ¶
func (o FlyMachineService) MarshalJSON() ([]byte, error)
func (*FlyMachineService) SetAutostart ¶
func (o *FlyMachineService) SetAutostart(v bool)
SetAutostart gets a reference to the given bool and assigns it to the Autostart field.
func (*FlyMachineService) SetAutostop ¶
func (o *FlyMachineService) SetAutostop(v string)
SetAutostop gets a reference to the given string and assigns it to the Autostop field.
func (*FlyMachineService) SetChecks ¶
func (o *FlyMachineService) SetChecks(v []FlyMachineServiceCheck)
SetChecks gets a reference to the given []FlyMachineServiceCheck and assigns it to the Checks field.
func (*FlyMachineService) SetConcurrency ¶
func (o *FlyMachineService) SetConcurrency(v FlyMachineServiceConcurrency)
SetConcurrency gets a reference to the given FlyMachineServiceConcurrency and assigns it to the Concurrency field.
func (*FlyMachineService) SetForceInstanceDescription ¶
func (o *FlyMachineService) SetForceInstanceDescription(v string)
SetForceInstanceDescription gets a reference to the given string and assigns it to the ForceInstanceDescription field.
func (*FlyMachineService) SetForceInstanceKey ¶
func (o *FlyMachineService) SetForceInstanceKey(v string)
SetForceInstanceKey gets a reference to the given string and assigns it to the ForceInstanceKey field.
func (*FlyMachineService) SetInternalPort ¶
func (o *FlyMachineService) SetInternalPort(v int64)
SetInternalPort gets a reference to the given int64 and assigns it to the InternalPort field.
func (*FlyMachineService) SetMinMachinesRunning ¶
func (o *FlyMachineService) SetMinMachinesRunning(v int64)
SetMinMachinesRunning gets a reference to the given int64 and assigns it to the MinMachinesRunning field.
func (*FlyMachineService) SetPorts ¶
func (o *FlyMachineService) SetPorts(v []FlyMachinePort)
SetPorts gets a reference to the given []FlyMachinePort and assigns it to the Ports field.
func (*FlyMachineService) SetProtocol ¶
func (o *FlyMachineService) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (FlyMachineService) ToMap ¶
func (o FlyMachineService) ToMap() (map[string]interface{}, error)
type FlyMachineServiceCheck ¶
type FlyMachineServiceCheck struct {
// The time to wait after a VM starts before checking its health
GracePeriod *FlyDuration `json:"grace_period,omitempty"`
Headers []FlyMachineHTTPHeader `json:"headers,omitempty"`
// The time between connectivity checks
Interval *FlyDuration `json:"interval,omitempty"`
// For http checks, the HTTP method to use to when making the request
Method *string `json:"method,omitempty"`
// For http checks, the path to send the request to
Path *string `json:"path,omitempty"`
// The port to connect to, often the same as internal_port
Port *int64 `json:"port,omitempty"`
// For http checks, whether to use http or https
Protocol *string `json:"protocol,omitempty"`
// The maximum time a connection can take before being reported as failing its health check
Timeout *FlyDuration `json:"timeout,omitempty"`
// If the protocol is https, the hostname to use for TLS certificate validation
TlsServerName *string `json:"tls_server_name,omitempty"`
// For http checks with https protocol, whether or not to verify the TLS certificate
TlsSkipVerify *bool `json:"tls_skip_verify,omitempty"`
// tcp or http
Type *string `json:"type,omitempty"`
}
FlyMachineServiceCheck struct for FlyMachineServiceCheck
func NewFlyMachineServiceCheck ¶
func NewFlyMachineServiceCheck() *FlyMachineServiceCheck
NewFlyMachineServiceCheck instantiates a new FlyMachineServiceCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineServiceCheckWithDefaults ¶
func NewFlyMachineServiceCheckWithDefaults() *FlyMachineServiceCheck
NewFlyMachineServiceCheckWithDefaults instantiates a new FlyMachineServiceCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineServiceCheck) GetGracePeriod ¶
func (o *FlyMachineServiceCheck) GetGracePeriod() FlyDuration
GetGracePeriod returns the GracePeriod field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetGracePeriodOk ¶
func (o *FlyMachineServiceCheck) GetGracePeriodOk() (*FlyDuration, bool)
GetGracePeriodOk returns a tuple with the GracePeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetHeaders ¶
func (o *FlyMachineServiceCheck) GetHeaders() []FlyMachineHTTPHeader
GetHeaders returns the Headers field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetHeadersOk ¶
func (o *FlyMachineServiceCheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)
GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetInterval ¶
func (o *FlyMachineServiceCheck) GetInterval() FlyDuration
GetInterval returns the Interval field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetIntervalOk ¶
func (o *FlyMachineServiceCheck) GetIntervalOk() (*FlyDuration, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetMethod ¶
func (o *FlyMachineServiceCheck) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetMethodOk ¶
func (o *FlyMachineServiceCheck) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetPath ¶
func (o *FlyMachineServiceCheck) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetPathOk ¶
func (o *FlyMachineServiceCheck) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetPort ¶
func (o *FlyMachineServiceCheck) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetPortOk ¶
func (o *FlyMachineServiceCheck) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetProtocol ¶
func (o *FlyMachineServiceCheck) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetProtocolOk ¶
func (o *FlyMachineServiceCheck) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetTimeout ¶
func (o *FlyMachineServiceCheck) GetTimeout() FlyDuration
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetTimeoutOk ¶
func (o *FlyMachineServiceCheck) GetTimeoutOk() (*FlyDuration, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetTlsServerName ¶
func (o *FlyMachineServiceCheck) GetTlsServerName() string
GetTlsServerName returns the TlsServerName field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetTlsServerNameOk ¶
func (o *FlyMachineServiceCheck) GetTlsServerNameOk() (*string, bool)
GetTlsServerNameOk returns a tuple with the TlsServerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetTlsSkipVerify ¶
func (o *FlyMachineServiceCheck) GetTlsSkipVerify() bool
GetTlsSkipVerify returns the TlsSkipVerify field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetTlsSkipVerifyOk ¶
func (o *FlyMachineServiceCheck) GetTlsSkipVerifyOk() (*bool, bool)
GetTlsSkipVerifyOk returns a tuple with the TlsSkipVerify field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) GetType ¶
func (o *FlyMachineServiceCheck) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FlyMachineServiceCheck) GetTypeOk ¶
func (o *FlyMachineServiceCheck) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceCheck) HasGracePeriod ¶
func (o *FlyMachineServiceCheck) HasGracePeriod() bool
HasGracePeriod returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasHeaders ¶
func (o *FlyMachineServiceCheck) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasInterval ¶
func (o *FlyMachineServiceCheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasMethod ¶
func (o *FlyMachineServiceCheck) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasPath ¶
func (o *FlyMachineServiceCheck) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasPort ¶
func (o *FlyMachineServiceCheck) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasProtocol ¶
func (o *FlyMachineServiceCheck) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasTimeout ¶
func (o *FlyMachineServiceCheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasTlsServerName ¶
func (o *FlyMachineServiceCheck) HasTlsServerName() bool
HasTlsServerName returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasTlsSkipVerify ¶
func (o *FlyMachineServiceCheck) HasTlsSkipVerify() bool
HasTlsSkipVerify returns a boolean if a field has been set.
func (*FlyMachineServiceCheck) HasType ¶
func (o *FlyMachineServiceCheck) HasType() bool
HasType returns a boolean if a field has been set.
func (FlyMachineServiceCheck) MarshalJSON ¶
func (o FlyMachineServiceCheck) MarshalJSON() ([]byte, error)
func (*FlyMachineServiceCheck) SetGracePeriod ¶
func (o *FlyMachineServiceCheck) SetGracePeriod(v FlyDuration)
SetGracePeriod gets a reference to the given FlyDuration and assigns it to the GracePeriod field.
func (*FlyMachineServiceCheck) SetHeaders ¶
func (o *FlyMachineServiceCheck) SetHeaders(v []FlyMachineHTTPHeader)
SetHeaders gets a reference to the given []FlyMachineHTTPHeader and assigns it to the Headers field.
func (*FlyMachineServiceCheck) SetInterval ¶
func (o *FlyMachineServiceCheck) SetInterval(v FlyDuration)
SetInterval gets a reference to the given FlyDuration and assigns it to the Interval field.
func (*FlyMachineServiceCheck) SetMethod ¶
func (o *FlyMachineServiceCheck) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*FlyMachineServiceCheck) SetPath ¶
func (o *FlyMachineServiceCheck) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*FlyMachineServiceCheck) SetPort ¶
func (o *FlyMachineServiceCheck) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (*FlyMachineServiceCheck) SetProtocol ¶
func (o *FlyMachineServiceCheck) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*FlyMachineServiceCheck) SetTimeout ¶
func (o *FlyMachineServiceCheck) SetTimeout(v FlyDuration)
SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.
func (*FlyMachineServiceCheck) SetTlsServerName ¶
func (o *FlyMachineServiceCheck) SetTlsServerName(v string)
SetTlsServerName gets a reference to the given string and assigns it to the TlsServerName field.
func (*FlyMachineServiceCheck) SetTlsSkipVerify ¶
func (o *FlyMachineServiceCheck) SetTlsSkipVerify(v bool)
SetTlsSkipVerify gets a reference to the given bool and assigns it to the TlsSkipVerify field.
func (*FlyMachineServiceCheck) SetType ¶
func (o *FlyMachineServiceCheck) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FlyMachineServiceCheck) ToMap ¶
func (o FlyMachineServiceCheck) ToMap() (map[string]interface{}, error)
type FlyMachineServiceConcurrency ¶
type FlyMachineServiceConcurrency struct {
HardLimit *int64 `json:"hard_limit,omitempty"`
SoftLimit *int64 `json:"soft_limit,omitempty"`
Type *string `json:"type,omitempty"`
}
FlyMachineServiceConcurrency struct for FlyMachineServiceConcurrency
func NewFlyMachineServiceConcurrency ¶
func NewFlyMachineServiceConcurrency() *FlyMachineServiceConcurrency
NewFlyMachineServiceConcurrency instantiates a new FlyMachineServiceConcurrency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyMachineServiceConcurrencyWithDefaults ¶
func NewFlyMachineServiceConcurrencyWithDefaults() *FlyMachineServiceConcurrency
NewFlyMachineServiceConcurrencyWithDefaults instantiates a new FlyMachineServiceConcurrency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyMachineServiceConcurrency) GetHardLimit ¶
func (o *FlyMachineServiceConcurrency) GetHardLimit() int64
GetHardLimit returns the HardLimit field value if set, zero value otherwise.
func (*FlyMachineServiceConcurrency) GetHardLimitOk ¶
func (o *FlyMachineServiceConcurrency) GetHardLimitOk() (*int64, bool)
GetHardLimitOk returns a tuple with the HardLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceConcurrency) GetSoftLimit ¶
func (o *FlyMachineServiceConcurrency) GetSoftLimit() int64
GetSoftLimit returns the SoftLimit field value if set, zero value otherwise.
func (*FlyMachineServiceConcurrency) GetSoftLimitOk ¶
func (o *FlyMachineServiceConcurrency) GetSoftLimitOk() (*int64, bool)
GetSoftLimitOk returns a tuple with the SoftLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceConcurrency) GetType ¶
func (o *FlyMachineServiceConcurrency) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FlyMachineServiceConcurrency) GetTypeOk ¶
func (o *FlyMachineServiceConcurrency) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyMachineServiceConcurrency) HasHardLimit ¶
func (o *FlyMachineServiceConcurrency) HasHardLimit() bool
HasHardLimit returns a boolean if a field has been set.
func (*FlyMachineServiceConcurrency) HasSoftLimit ¶
func (o *FlyMachineServiceConcurrency) HasSoftLimit() bool
HasSoftLimit returns a boolean if a field has been set.
func (*FlyMachineServiceConcurrency) HasType ¶
func (o *FlyMachineServiceConcurrency) HasType() bool
HasType returns a boolean if a field has been set.
func (FlyMachineServiceConcurrency) MarshalJSON ¶
func (o FlyMachineServiceConcurrency) MarshalJSON() ([]byte, error)
func (*FlyMachineServiceConcurrency) SetHardLimit ¶
func (o *FlyMachineServiceConcurrency) SetHardLimit(v int64)
SetHardLimit gets a reference to the given int64 and assigns it to the HardLimit field.
func (*FlyMachineServiceConcurrency) SetSoftLimit ¶
func (o *FlyMachineServiceConcurrency) SetSoftLimit(v int64)
SetSoftLimit gets a reference to the given int64 and assigns it to the SoftLimit field.
func (*FlyMachineServiceConcurrency) SetType ¶
func (o *FlyMachineServiceConcurrency) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FlyMachineServiceConcurrency) ToMap ¶
func (o FlyMachineServiceConcurrency) ToMap() (map[string]interface{}, error)
type FlyProxyProtoOptions ¶
type FlyProxyProtoOptions struct {
Version *string `json:"version,omitempty"`
}
FlyProxyProtoOptions struct for FlyProxyProtoOptions
func NewFlyProxyProtoOptions ¶
func NewFlyProxyProtoOptions() *FlyProxyProtoOptions
NewFlyProxyProtoOptions instantiates a new FlyProxyProtoOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyProxyProtoOptionsWithDefaults ¶
func NewFlyProxyProtoOptionsWithDefaults() *FlyProxyProtoOptions
NewFlyProxyProtoOptionsWithDefaults instantiates a new FlyProxyProtoOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyProxyProtoOptions) GetVersion ¶
func (o *FlyProxyProtoOptions) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*FlyProxyProtoOptions) GetVersionOk ¶
func (o *FlyProxyProtoOptions) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyProxyProtoOptions) HasVersion ¶
func (o *FlyProxyProtoOptions) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (FlyProxyProtoOptions) MarshalJSON ¶
func (o FlyProxyProtoOptions) MarshalJSON() ([]byte, error)
func (*FlyProxyProtoOptions) SetVersion ¶
func (o *FlyProxyProtoOptions) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (FlyProxyProtoOptions) ToMap ¶
func (o FlyProxyProtoOptions) ToMap() (map[string]interface{}, error)
type FlyStatic ¶
type FlyStatic struct {
GuestPath string `json:"guest_path"`
IndexDocument *string `json:"index_document,omitempty"`
TigrisBucket *string `json:"tigris_bucket,omitempty"`
UrlPrefix string `json:"url_prefix"`
}
FlyStatic struct for FlyStatic
func NewFlyStatic ¶
NewFlyStatic instantiates a new FlyStatic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyStaticWithDefaults ¶
func NewFlyStaticWithDefaults() *FlyStatic
NewFlyStaticWithDefaults instantiates a new FlyStatic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyStatic) GetGuestPath ¶
GetGuestPath returns the GuestPath field value
func (*FlyStatic) GetGuestPathOk ¶
GetGuestPathOk returns a tuple with the GuestPath field value and a boolean to check if the value has been set.
func (*FlyStatic) GetIndexDocument ¶
GetIndexDocument returns the IndexDocument field value if set, zero value otherwise.
func (*FlyStatic) GetIndexDocumentOk ¶
GetIndexDocumentOk returns a tuple with the IndexDocument field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyStatic) GetTigrisBucket ¶
GetTigrisBucket returns the TigrisBucket field value if set, zero value otherwise.
func (*FlyStatic) GetTigrisBucketOk ¶
GetTigrisBucketOk returns a tuple with the TigrisBucket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyStatic) GetUrlPrefix ¶
GetUrlPrefix returns the UrlPrefix field value
func (*FlyStatic) GetUrlPrefixOk ¶
GetUrlPrefixOk returns a tuple with the UrlPrefix field value and a boolean to check if the value has been set.
func (*FlyStatic) HasIndexDocument ¶
HasIndexDocument returns a boolean if a field has been set.
func (*FlyStatic) HasTigrisBucket ¶
HasTigrisBucket returns a boolean if a field has been set.
func (FlyStatic) MarshalJSON ¶
func (*FlyStatic) SetGuestPath ¶
SetGuestPath sets field value
func (*FlyStatic) SetIndexDocument ¶
SetIndexDocument gets a reference to the given string and assigns it to the IndexDocument field.
func (*FlyStatic) SetTigrisBucket ¶
SetTigrisBucket gets a reference to the given string and assigns it to the TigrisBucket field.
func (*FlyStatic) SetUrlPrefix ¶
SetUrlPrefix sets field value
func (*FlyStatic) UnmarshalJSON ¶
type FlyStopConfig ¶
type FlyStopConfig struct {
Signal *string `json:"signal,omitempty"`
Timeout *FlyDuration `json:"timeout,omitempty"`
}
FlyStopConfig struct for FlyStopConfig
func NewFlyStopConfig ¶
func NewFlyStopConfig() *FlyStopConfig
NewFlyStopConfig instantiates a new FlyStopConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyStopConfigWithDefaults ¶
func NewFlyStopConfigWithDefaults() *FlyStopConfig
NewFlyStopConfigWithDefaults instantiates a new FlyStopConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyStopConfig) GetSignal ¶
func (o *FlyStopConfig) GetSignal() string
GetSignal returns the Signal field value if set, zero value otherwise.
func (*FlyStopConfig) GetSignalOk ¶
func (o *FlyStopConfig) GetSignalOk() (*string, bool)
GetSignalOk returns a tuple with the Signal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyStopConfig) GetTimeout ¶
func (o *FlyStopConfig) GetTimeout() FlyDuration
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*FlyStopConfig) GetTimeoutOk ¶
func (o *FlyStopConfig) GetTimeoutOk() (*FlyDuration, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyStopConfig) HasSignal ¶
func (o *FlyStopConfig) HasSignal() bool
HasSignal returns a boolean if a field has been set.
func (*FlyStopConfig) HasTimeout ¶
func (o *FlyStopConfig) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (FlyStopConfig) MarshalJSON ¶
func (o FlyStopConfig) MarshalJSON() ([]byte, error)
func (*FlyStopConfig) SetSignal ¶
func (o *FlyStopConfig) SetSignal(v string)
SetSignal gets a reference to the given string and assigns it to the Signal field.
func (*FlyStopConfig) SetTimeout ¶
func (o *FlyStopConfig) SetTimeout(v FlyDuration)
SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.
func (FlyStopConfig) ToMap ¶
func (o FlyStopConfig) ToMap() (map[string]interface{}, error)
type FlyTCPHealthcheck ¶
type FlyTCPHealthcheck struct {
// The port to connect to, often the same as internal_port
Port *int64 `json:"port,omitempty"`
}
FlyTCPHealthcheck struct for FlyTCPHealthcheck
func NewFlyTCPHealthcheck ¶
func NewFlyTCPHealthcheck() *FlyTCPHealthcheck
NewFlyTCPHealthcheck instantiates a new FlyTCPHealthcheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyTCPHealthcheckWithDefaults ¶
func NewFlyTCPHealthcheckWithDefaults() *FlyTCPHealthcheck
NewFlyTCPHealthcheckWithDefaults instantiates a new FlyTCPHealthcheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyTCPHealthcheck) GetPort ¶
func (o *FlyTCPHealthcheck) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*FlyTCPHealthcheck) GetPortOk ¶
func (o *FlyTCPHealthcheck) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyTCPHealthcheck) HasPort ¶
func (o *FlyTCPHealthcheck) HasPort() bool
HasPort returns a boolean if a field has been set.
func (FlyTCPHealthcheck) MarshalJSON ¶
func (o FlyTCPHealthcheck) MarshalJSON() ([]byte, error)
func (*FlyTCPHealthcheck) SetPort ¶
func (o *FlyTCPHealthcheck) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (FlyTCPHealthcheck) ToMap ¶
func (o FlyTCPHealthcheck) ToMap() (map[string]interface{}, error)
type FlyTLSOptions ¶
type FlyTLSOptions struct {
Alpn []string `json:"alpn,omitempty"`
DefaultSelfSigned *bool `json:"default_self_signed,omitempty"`
Versions []string `json:"versions,omitempty"`
}
FlyTLSOptions struct for FlyTLSOptions
func NewFlyTLSOptions ¶
func NewFlyTLSOptions() *FlyTLSOptions
NewFlyTLSOptions instantiates a new FlyTLSOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlyTLSOptionsWithDefaults ¶
func NewFlyTLSOptionsWithDefaults() *FlyTLSOptions
NewFlyTLSOptionsWithDefaults instantiates a new FlyTLSOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FlyTLSOptions) GetAlpn ¶
func (o *FlyTLSOptions) GetAlpn() []string
GetAlpn returns the Alpn field value if set, zero value otherwise.
func (*FlyTLSOptions) GetAlpnOk ¶
func (o *FlyTLSOptions) GetAlpnOk() ([]string, bool)
GetAlpnOk returns a tuple with the Alpn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyTLSOptions) GetDefaultSelfSigned ¶
func (o *FlyTLSOptions) GetDefaultSelfSigned() bool
GetDefaultSelfSigned returns the DefaultSelfSigned field value if set, zero value otherwise.
func (*FlyTLSOptions) GetDefaultSelfSignedOk ¶
func (o *FlyTLSOptions) GetDefaultSelfSignedOk() (*bool, bool)
GetDefaultSelfSignedOk returns a tuple with the DefaultSelfSigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyTLSOptions) GetVersions ¶
func (o *FlyTLSOptions) GetVersions() []string
GetVersions returns the Versions field value if set, zero value otherwise.
func (*FlyTLSOptions) GetVersionsOk ¶
func (o *FlyTLSOptions) GetVersionsOk() ([]string, bool)
GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FlyTLSOptions) HasAlpn ¶
func (o *FlyTLSOptions) HasAlpn() bool
HasAlpn returns a boolean if a field has been set.
func (*FlyTLSOptions) HasDefaultSelfSigned ¶
func (o *FlyTLSOptions) HasDefaultSelfSigned() bool
HasDefaultSelfSigned returns a boolean if a field has been set.
func (*FlyTLSOptions) HasVersions ¶
func (o *FlyTLSOptions) HasVersions() bool
HasVersions returns a boolean if a field has been set.
func (FlyTLSOptions) MarshalJSON ¶
func (o FlyTLSOptions) MarshalJSON() ([]byte, error)
func (*FlyTLSOptions) SetAlpn ¶
func (o *FlyTLSOptions) SetAlpn(v []string)
SetAlpn gets a reference to the given []string and assigns it to the Alpn field.
func (*FlyTLSOptions) SetDefaultSelfSigned ¶
func (o *FlyTLSOptions) SetDefaultSelfSigned(v bool)
SetDefaultSelfSigned gets a reference to the given bool and assigns it to the DefaultSelfSigned field.
func (*FlyTLSOptions) SetVersions ¶
func (o *FlyTLSOptions) SetVersions(v []string)
SetVersions gets a reference to the given []string and assigns it to the Versions field.
func (FlyTLSOptions) ToMap ¶
func (o FlyTLSOptions) ToMap() (map[string]interface{}, error)
type FlyUnhealthyPolicy ¶
type FlyUnhealthyPolicy string
FlyUnhealthyPolicy the model 'FlyUnhealthyPolicy'
const (
UnhealthyPolicyStop FlyUnhealthyPolicy = "stop"
)
List of fly.UnhealthyPolicy
func NewFlyUnhealthyPolicyFromValue ¶
func NewFlyUnhealthyPolicyFromValue(v string) (*FlyUnhealthyPolicy, error)
NewFlyUnhealthyPolicyFromValue returns a pointer to a valid FlyUnhealthyPolicy for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlyUnhealthyPolicy) IsValid ¶
func (v FlyUnhealthyPolicy) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlyUnhealthyPolicy) Ptr ¶
func (v FlyUnhealthyPolicy) Ptr() *FlyUnhealthyPolicy
Ptr returns reference to fly.UnhealthyPolicy value
func (*FlyUnhealthyPolicy) UnmarshalJSON ¶
func (v *FlyUnhealthyPolicy) UnmarshalJSON(src []byte) error
type Flydv1ExecResponse ¶
type Flydv1ExecResponse struct {
ExitCode *int64 `json:"exit_code,omitempty"`
ExitSignal *int64 `json:"exit_signal,omitempty"`
Stderr *string `json:"stderr,omitempty"`
Stdout *string `json:"stdout,omitempty"`
}
Flydv1ExecResponse struct for Flydv1ExecResponse
func NewFlydv1ExecResponse ¶
func NewFlydv1ExecResponse() *Flydv1ExecResponse
NewFlydv1ExecResponse instantiates a new Flydv1ExecResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlydv1ExecResponseWithDefaults ¶
func NewFlydv1ExecResponseWithDefaults() *Flydv1ExecResponse
NewFlydv1ExecResponseWithDefaults instantiates a new Flydv1ExecResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Flydv1ExecResponse) GetExitCode ¶
func (o *Flydv1ExecResponse) GetExitCode() int64
GetExitCode returns the ExitCode field value if set, zero value otherwise.
func (*Flydv1ExecResponse) GetExitCodeOk ¶
func (o *Flydv1ExecResponse) GetExitCodeOk() (*int64, bool)
GetExitCodeOk returns a tuple with the ExitCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flydv1ExecResponse) GetExitSignal ¶
func (o *Flydv1ExecResponse) GetExitSignal() int64
GetExitSignal returns the ExitSignal field value if set, zero value otherwise.
func (*Flydv1ExecResponse) GetExitSignalOk ¶
func (o *Flydv1ExecResponse) GetExitSignalOk() (*int64, bool)
GetExitSignalOk returns a tuple with the ExitSignal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flydv1ExecResponse) GetStderr ¶
func (o *Flydv1ExecResponse) GetStderr() string
GetStderr returns the Stderr field value if set, zero value otherwise.
func (*Flydv1ExecResponse) GetStderrOk ¶
func (o *Flydv1ExecResponse) GetStderrOk() (*string, bool)
GetStderrOk returns a tuple with the Stderr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flydv1ExecResponse) GetStdout ¶
func (o *Flydv1ExecResponse) GetStdout() string
GetStdout returns the Stdout field value if set, zero value otherwise.
func (*Flydv1ExecResponse) GetStdoutOk ¶
func (o *Flydv1ExecResponse) GetStdoutOk() (*string, bool)
GetStdoutOk returns a tuple with the Stdout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flydv1ExecResponse) HasExitCode ¶
func (o *Flydv1ExecResponse) HasExitCode() bool
HasExitCode returns a boolean if a field has been set.
func (*Flydv1ExecResponse) HasExitSignal ¶
func (o *Flydv1ExecResponse) HasExitSignal() bool
HasExitSignal returns a boolean if a field has been set.
func (*Flydv1ExecResponse) HasStderr ¶
func (o *Flydv1ExecResponse) HasStderr() bool
HasStderr returns a boolean if a field has been set.
func (*Flydv1ExecResponse) HasStdout ¶
func (o *Flydv1ExecResponse) HasStdout() bool
HasStdout returns a boolean if a field has been set.
func (Flydv1ExecResponse) MarshalJSON ¶
func (o Flydv1ExecResponse) MarshalJSON() ([]byte, error)
func (*Flydv1ExecResponse) SetExitCode ¶
func (o *Flydv1ExecResponse) SetExitCode(v int64)
SetExitCode gets a reference to the given int64 and assigns it to the ExitCode field.
func (*Flydv1ExecResponse) SetExitSignal ¶
func (o *Flydv1ExecResponse) SetExitSignal(v int64)
SetExitSignal gets a reference to the given int64 and assigns it to the ExitSignal field.
func (*Flydv1ExecResponse) SetStderr ¶
func (o *Flydv1ExecResponse) SetStderr(v string)
SetStderr gets a reference to the given string and assigns it to the Stderr field.
func (*Flydv1ExecResponse) SetStdout ¶
func (o *Flydv1ExecResponse) SetStdout(v string)
SetStdout gets a reference to the given string and assigns it to the Stdout field.
func (Flydv1ExecResponse) ToMap ¶
func (o Flydv1ExecResponse) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type ImageRef ¶
type ImageRef struct {
Digest *string `json:"digest,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Registry *string `json:"registry,omitempty"`
Repository *string `json:"repository,omitempty"`
Tag *string `json:"tag,omitempty"`
}
ImageRef struct for ImageRef
func NewImageRef ¶
func NewImageRef() *ImageRef
NewImageRef instantiates a new ImageRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImageRefWithDefaults ¶
func NewImageRefWithDefaults() *ImageRef
NewImageRefWithDefaults instantiates a new ImageRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImageRef) GetDigestOk ¶
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageRef) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageRef) GetRegistry ¶
GetRegistry returns the Registry field value if set, zero value otherwise.
func (*ImageRef) GetRegistryOk ¶
GetRegistryOk returns a tuple with the Registry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageRef) GetRepository ¶
GetRepository returns the Repository field value if set, zero value otherwise.
func (*ImageRef) GetRepositoryOk ¶
GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageRef) GetTagOk ¶
GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageRef) HasRegistry ¶
HasRegistry returns a boolean if a field has been set.
func (*ImageRef) HasRepository ¶
HasRepository returns a boolean if a field has been set.
func (ImageRef) MarshalJSON ¶
func (*ImageRef) SetDigest ¶
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*ImageRef) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*ImageRef) SetRegistry ¶
SetRegistry gets a reference to the given string and assigns it to the Registry field.
func (*ImageRef) SetRepository ¶
SetRepository gets a reference to the given string and assigns it to the Repository field.
type Lease ¶
type Lease struct {
// Description or reason for the Lease.
Description *string `json:"description,omitempty"`
// ExpiresAt is the unix timestamp in UTC to denote when the Lease will no longer be valid.
ExpiresAt *int64 `json:"expires_at,omitempty"`
// Nonce is the unique ID autogenerated and associated with the Lease.
Nonce *string `json:"nonce,omitempty"`
// Owner is the user identifier which acquired the Lease.
Owner *string `json:"owner,omitempty"`
// Machine version
Version *string `json:"version,omitempty"`
}
Lease struct for Lease
func NewLease ¶
func NewLease() *Lease
NewLease instantiates a new Lease object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLeaseWithDefaults ¶
func NewLeaseWithDefaults() *Lease
NewLeaseWithDefaults instantiates a new Lease object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Lease) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Lease) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lease) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*Lease) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lease) GetNonceOk ¶
GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lease) GetOwnerOk ¶
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lease) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Lease) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lease) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Lease) HasExpiresAt ¶
HasExpiresAt returns a boolean if a field has been set.
func (*Lease) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Lease) MarshalJSON ¶
func (*Lease) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Lease) SetExpiresAt ¶
SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.
func (*Lease) SetNonce ¶
SetNonce gets a reference to the given string and assigns it to the Nonce field.
func (*Lease) SetOwner ¶
SetOwner gets a reference to the given string and assigns it to the Owner field.
func (*Lease) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
type ListApp ¶
type ListApp struct {
Id *string `json:"id,omitempty"`
MachineCount *int64 `json:"machine_count,omitempty"`
Name *string `json:"name,omitempty"`
Network map[string]interface{} `json:"network,omitempty"`
}
ListApp struct for ListApp
func NewListApp ¶
func NewListApp() *ListApp
NewListApp instantiates a new ListApp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAppWithDefaults ¶
func NewListAppWithDefaults() *ListApp
NewListAppWithDefaults instantiates a new ListApp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListApp) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListApp) GetMachineCount ¶
GetMachineCount returns the MachineCount field value if set, zero value otherwise.
func (*ListApp) GetMachineCountOk ¶
GetMachineCountOk returns a tuple with the MachineCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListApp) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListApp) GetNetwork ¶
GetNetwork returns the Network field value if set, zero value otherwise.
func (*ListApp) GetNetworkOk ¶
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListApp) HasMachineCount ¶
HasMachineCount returns a boolean if a field has been set.
func (*ListApp) HasNetwork ¶
HasNetwork returns a boolean if a field has been set.
func (ListApp) MarshalJSON ¶
func (*ListApp) SetMachineCount ¶
SetMachineCount gets a reference to the given int64 and assigns it to the MachineCount field.
func (*ListApp) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*ListApp) SetNetwork ¶
SetNetwork gets a reference to the given map[string]interface{} and assigns it to the Network field.
type ListAppsResponse ¶
type ListAppsResponse struct {
Apps []ListApp `json:"apps,omitempty"`
TotalApps *int64 `json:"total_apps,omitempty"`
}
ListAppsResponse struct for ListAppsResponse
func NewListAppsResponse ¶
func NewListAppsResponse() *ListAppsResponse
NewListAppsResponse instantiates a new ListAppsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAppsResponseWithDefaults ¶
func NewListAppsResponseWithDefaults() *ListAppsResponse
NewListAppsResponseWithDefaults instantiates a new ListAppsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAppsResponse) GetApps ¶
func (o *ListAppsResponse) GetApps() []ListApp
GetApps returns the Apps field value if set, zero value otherwise.
func (*ListAppsResponse) GetAppsOk ¶
func (o *ListAppsResponse) GetAppsOk() ([]ListApp, bool)
GetAppsOk returns a tuple with the Apps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAppsResponse) GetTotalApps ¶
func (o *ListAppsResponse) GetTotalApps() int64
GetTotalApps returns the TotalApps field value if set, zero value otherwise.
func (*ListAppsResponse) GetTotalAppsOk ¶
func (o *ListAppsResponse) GetTotalAppsOk() (*int64, bool)
GetTotalAppsOk returns a tuple with the TotalApps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAppsResponse) HasApps ¶
func (o *ListAppsResponse) HasApps() bool
HasApps returns a boolean if a field has been set.
func (*ListAppsResponse) HasTotalApps ¶
func (o *ListAppsResponse) HasTotalApps() bool
HasTotalApps returns a boolean if a field has been set.
func (ListAppsResponse) MarshalJSON ¶
func (o ListAppsResponse) MarshalJSON() ([]byte, error)
func (*ListAppsResponse) SetApps ¶
func (o *ListAppsResponse) SetApps(v []ListApp)
SetApps gets a reference to the given []ListApp and assigns it to the Apps field.
func (*ListAppsResponse) SetTotalApps ¶
func (o *ListAppsResponse) SetTotalApps(v int64)
SetTotalApps gets a reference to the given int64 and assigns it to the TotalApps field.
func (ListAppsResponse) ToMap ¶
func (o ListAppsResponse) ToMap() (map[string]interface{}, error)
type ListenSocket ¶
type ListenSocket struct {
Address *string `json:"address,omitempty"`
Proto *string `json:"proto,omitempty"`
}
ListenSocket struct for ListenSocket
func NewListenSocket ¶
func NewListenSocket() *ListenSocket
NewListenSocket instantiates a new ListenSocket object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListenSocketWithDefaults ¶
func NewListenSocketWithDefaults() *ListenSocket
NewListenSocketWithDefaults instantiates a new ListenSocket object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListenSocket) GetAddress ¶
func (o *ListenSocket) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*ListenSocket) GetAddressOk ¶
func (o *ListenSocket) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListenSocket) GetProto ¶
func (o *ListenSocket) GetProto() string
GetProto returns the Proto field value if set, zero value otherwise.
func (*ListenSocket) GetProtoOk ¶
func (o *ListenSocket) GetProtoOk() (*string, bool)
GetProtoOk returns a tuple with the Proto field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListenSocket) HasAddress ¶
func (o *ListenSocket) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*ListenSocket) HasProto ¶
func (o *ListenSocket) HasProto() bool
HasProto returns a boolean if a field has been set.
func (ListenSocket) MarshalJSON ¶
func (o ListenSocket) MarshalJSON() ([]byte, error)
func (*ListenSocket) SetAddress ¶
func (o *ListenSocket) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*ListenSocket) SetProto ¶
func (o *ListenSocket) SetProto(v string)
SetProto gets a reference to the given string and assigns it to the Proto field.
func (ListenSocket) ToMap ¶
func (o ListenSocket) ToMap() (map[string]interface{}, error)
type Machine ¶
type Machine struct {
Checks []CheckStatus `json:"checks,omitempty"`
Config *FlyMachineConfig `json:"config,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
Events []MachineEvent `json:"events,omitempty"`
HostStatus *string `json:"host_status,omitempty"`
Id *string `json:"id,omitempty"`
ImageRef *ImageRef `json:"image_ref,omitempty"`
IncompleteConfig *FlyMachineConfig `json:"incomplete_config,omitempty"`
// InstanceID is unique for each version of the machine
InstanceId *string `json:"instance_id,omitempty"`
Name *string `json:"name,omitempty"`
// Nonce is only every returned on machine creation if a lease_duration was provided.
Nonce *string `json:"nonce,omitempty"`
// PrivateIP is the internal 6PN address of the machine.
PrivateIp *string `json:"private_ip,omitempty"`
Region *string `json:"region,omitempty"`
State *string `json:"state,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
Machine struct for Machine
func NewMachine ¶
func NewMachine() *Machine
NewMachine instantiates a new Machine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMachineWithDefaults ¶
func NewMachineWithDefaults() *Machine
NewMachineWithDefaults instantiates a new Machine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Machine) GetChecks ¶
func (o *Machine) GetChecks() []CheckStatus
GetChecks returns the Checks field value if set, zero value otherwise.
func (*Machine) GetChecksOk ¶
func (o *Machine) GetChecksOk() ([]CheckStatus, bool)
GetChecksOk returns a tuple with the Checks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetConfig ¶
func (o *Machine) GetConfig() FlyMachineConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*Machine) GetConfigOk ¶
func (o *Machine) GetConfigOk() (*FlyMachineConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Machine) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetEvents ¶
func (o *Machine) GetEvents() []MachineEvent
GetEvents returns the Events field value if set, zero value otherwise.
func (*Machine) GetEventsOk ¶
func (o *Machine) GetEventsOk() ([]MachineEvent, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetHostStatus ¶
GetHostStatus returns the HostStatus field value if set, zero value otherwise.
func (*Machine) GetHostStatusOk ¶
GetHostStatusOk returns a tuple with the HostStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetImageRef ¶
GetImageRef returns the ImageRef field value if set, zero value otherwise.
func (*Machine) GetImageRefOk ¶
GetImageRefOk returns a tuple with the ImageRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetIncompleteConfig ¶
func (o *Machine) GetIncompleteConfig() FlyMachineConfig
GetIncompleteConfig returns the IncompleteConfig field value if set, zero value otherwise.
func (*Machine) GetIncompleteConfigOk ¶
func (o *Machine) GetIncompleteConfigOk() (*FlyMachineConfig, bool)
GetIncompleteConfigOk returns a tuple with the IncompleteConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetInstanceId ¶
GetInstanceId returns the InstanceId field value if set, zero value otherwise.
func (*Machine) GetInstanceIdOk ¶
GetInstanceIdOk returns a tuple with the InstanceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetNonceOk ¶
GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetPrivateIp ¶
GetPrivateIp returns the PrivateIp field value if set, zero value otherwise.
func (*Machine) GetPrivateIpOk ¶
GetPrivateIpOk returns a tuple with the PrivateIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Machine) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Machine) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Machine) HasHostStatus ¶
HasHostStatus returns a boolean if a field has been set.
func (*Machine) HasImageRef ¶
HasImageRef returns a boolean if a field has been set.
func (*Machine) HasIncompleteConfig ¶
HasIncompleteConfig returns a boolean if a field has been set.
func (*Machine) HasInstanceId ¶
HasInstanceId returns a boolean if a field has been set.
func (*Machine) HasPrivateIp ¶
HasPrivateIp returns a boolean if a field has been set.
func (*Machine) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Machine) MarshalJSON ¶
func (*Machine) SetChecks ¶
func (o *Machine) SetChecks(v []CheckStatus)
SetChecks gets a reference to the given []CheckStatus and assigns it to the Checks field.
func (*Machine) SetConfig ¶
func (o *Machine) SetConfig(v FlyMachineConfig)
SetConfig gets a reference to the given FlyMachineConfig and assigns it to the Config field.
func (*Machine) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Machine) SetEvents ¶
func (o *Machine) SetEvents(v []MachineEvent)
SetEvents gets a reference to the given []MachineEvent and assigns it to the Events field.
func (*Machine) SetHostStatus ¶
SetHostStatus gets a reference to the given string and assigns it to the HostStatus field.
func (*Machine) SetImageRef ¶
SetImageRef gets a reference to the given ImageRef and assigns it to the ImageRef field.
func (*Machine) SetIncompleteConfig ¶
func (o *Machine) SetIncompleteConfig(v FlyMachineConfig)
SetIncompleteConfig gets a reference to the given FlyMachineConfig and assigns it to the IncompleteConfig field.
func (*Machine) SetInstanceId ¶
SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.
func (*Machine) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Machine) SetNonce ¶
SetNonce gets a reference to the given string and assigns it to the Nonce field.
func (*Machine) SetPrivateIp ¶
SetPrivateIp gets a reference to the given string and assigns it to the PrivateIp field.
func (*Machine) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*Machine) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
func (*Machine) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
type MachineEvent ¶
type MachineEvent struct {
Id *string `json:"id,omitempty"`
Request map[string]interface{} `json:"request,omitempty"`
Source *string `json:"source,omitempty"`
Status *string `json:"status,omitempty"`
Timestamp *int64 `json:"timestamp,omitempty"`
Type *string `json:"type,omitempty"`
}
MachineEvent struct for MachineEvent
func NewMachineEvent ¶
func NewMachineEvent() *MachineEvent
NewMachineEvent instantiates a new MachineEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMachineEventWithDefaults ¶
func NewMachineEventWithDefaults() *MachineEvent
NewMachineEventWithDefaults instantiates a new MachineEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MachineEvent) GetId ¶
func (o *MachineEvent) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MachineEvent) GetIdOk ¶
func (o *MachineEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineEvent) GetRequest ¶
func (o *MachineEvent) GetRequest() map[string]interface{}
GetRequest returns the Request field value if set, zero value otherwise.
func (*MachineEvent) GetRequestOk ¶
func (o *MachineEvent) GetRequestOk() (map[string]interface{}, bool)
GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineEvent) GetSource ¶
func (o *MachineEvent) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*MachineEvent) GetSourceOk ¶
func (o *MachineEvent) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineEvent) GetStatus ¶
func (o *MachineEvent) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*MachineEvent) GetStatusOk ¶
func (o *MachineEvent) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineEvent) GetTimestamp ¶
func (o *MachineEvent) GetTimestamp() int64
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*MachineEvent) GetTimestampOk ¶
func (o *MachineEvent) GetTimestampOk() (*int64, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineEvent) GetType ¶
func (o *MachineEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*MachineEvent) GetTypeOk ¶
func (o *MachineEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineEvent) HasId ¶
func (o *MachineEvent) HasId() bool
HasId returns a boolean if a field has been set.
func (*MachineEvent) HasRequest ¶
func (o *MachineEvent) HasRequest() bool
HasRequest returns a boolean if a field has been set.
func (*MachineEvent) HasSource ¶
func (o *MachineEvent) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*MachineEvent) HasStatus ¶
func (o *MachineEvent) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MachineEvent) HasTimestamp ¶
func (o *MachineEvent) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*MachineEvent) HasType ¶
func (o *MachineEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (MachineEvent) MarshalJSON ¶
func (o MachineEvent) MarshalJSON() ([]byte, error)
func (*MachineEvent) SetId ¶
func (o *MachineEvent) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MachineEvent) SetRequest ¶
func (o *MachineEvent) SetRequest(v map[string]interface{})
SetRequest gets a reference to the given map[string]interface{} and assigns it to the Request field.
func (*MachineEvent) SetSource ¶
func (o *MachineEvent) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*MachineEvent) SetStatus ¶
func (o *MachineEvent) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*MachineEvent) SetTimestamp ¶
func (o *MachineEvent) SetTimestamp(v int64)
SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.
func (*MachineEvent) SetType ¶
func (o *MachineEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (MachineEvent) ToMap ¶
func (o MachineEvent) ToMap() (map[string]interface{}, error)
type MachineExecRequest ¶
type MachineExecRequest struct {
// Deprecated: use Command instead
Cmd *string `json:"cmd,omitempty"`
Command []string `json:"command,omitempty"`
Container *string `json:"container,omitempty"`
Stdin *string `json:"stdin,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
}
MachineExecRequest struct for MachineExecRequest
func NewMachineExecRequest ¶
func NewMachineExecRequest() *MachineExecRequest
NewMachineExecRequest instantiates a new MachineExecRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMachineExecRequestWithDefaults ¶
func NewMachineExecRequestWithDefaults() *MachineExecRequest
NewMachineExecRequestWithDefaults instantiates a new MachineExecRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MachineExecRequest) GetCmd ¶
func (o *MachineExecRequest) GetCmd() string
GetCmd returns the Cmd field value if set, zero value otherwise.
func (*MachineExecRequest) GetCmdOk ¶
func (o *MachineExecRequest) GetCmdOk() (*string, bool)
GetCmdOk returns a tuple with the Cmd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineExecRequest) GetCommand ¶
func (o *MachineExecRequest) GetCommand() []string
GetCommand returns the Command field value if set, zero value otherwise.
func (*MachineExecRequest) GetCommandOk ¶
func (o *MachineExecRequest) GetCommandOk() ([]string, bool)
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineExecRequest) GetContainer ¶
func (o *MachineExecRequest) GetContainer() string
GetContainer returns the Container field value if set, zero value otherwise.
func (*MachineExecRequest) GetContainerOk ¶
func (o *MachineExecRequest) GetContainerOk() (*string, bool)
GetContainerOk returns a tuple with the Container field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineExecRequest) GetStdin ¶
func (o *MachineExecRequest) GetStdin() string
GetStdin returns the Stdin field value if set, zero value otherwise.
func (*MachineExecRequest) GetStdinOk ¶
func (o *MachineExecRequest) GetStdinOk() (*string, bool)
GetStdinOk returns a tuple with the Stdin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineExecRequest) GetTimeout ¶
func (o *MachineExecRequest) GetTimeout() int64
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*MachineExecRequest) GetTimeoutOk ¶
func (o *MachineExecRequest) GetTimeoutOk() (*int64, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineExecRequest) HasCmd ¶
func (o *MachineExecRequest) HasCmd() bool
HasCmd returns a boolean if a field has been set.
func (*MachineExecRequest) HasCommand ¶
func (o *MachineExecRequest) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (*MachineExecRequest) HasContainer ¶
func (o *MachineExecRequest) HasContainer() bool
HasContainer returns a boolean if a field has been set.
func (*MachineExecRequest) HasStdin ¶
func (o *MachineExecRequest) HasStdin() bool
HasStdin returns a boolean if a field has been set.
func (*MachineExecRequest) HasTimeout ¶
func (o *MachineExecRequest) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (MachineExecRequest) MarshalJSON ¶
func (o MachineExecRequest) MarshalJSON() ([]byte, error)
func (*MachineExecRequest) SetCmd ¶
func (o *MachineExecRequest) SetCmd(v string)
SetCmd gets a reference to the given string and assigns it to the Cmd field.
func (*MachineExecRequest) SetCommand ¶
func (o *MachineExecRequest) SetCommand(v []string)
SetCommand gets a reference to the given []string and assigns it to the Command field.
func (*MachineExecRequest) SetContainer ¶
func (o *MachineExecRequest) SetContainer(v string)
SetContainer gets a reference to the given string and assigns it to the Container field.
func (*MachineExecRequest) SetStdin ¶
func (o *MachineExecRequest) SetStdin(v string)
SetStdin gets a reference to the given string and assigns it to the Stdin field.
func (*MachineExecRequest) SetTimeout ¶
func (o *MachineExecRequest) SetTimeout(v int64)
SetTimeout gets a reference to the given int64 and assigns it to the Timeout field.
func (MachineExecRequest) ToMap ¶
func (o MachineExecRequest) ToMap() (map[string]interface{}, error)
type MachineVersion ¶
type MachineVersion struct {
UserConfig *FlyMachineConfig `json:"user_config,omitempty"`
Version *string `json:"version,omitempty"`
}
MachineVersion struct for MachineVersion
func NewMachineVersion ¶
func NewMachineVersion() *MachineVersion
NewMachineVersion instantiates a new MachineVersion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMachineVersionWithDefaults ¶
func NewMachineVersionWithDefaults() *MachineVersion
NewMachineVersionWithDefaults instantiates a new MachineVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MachineVersion) GetUserConfig ¶
func (o *MachineVersion) GetUserConfig() FlyMachineConfig
GetUserConfig returns the UserConfig field value if set, zero value otherwise.
func (*MachineVersion) GetUserConfigOk ¶
func (o *MachineVersion) GetUserConfigOk() (*FlyMachineConfig, bool)
GetUserConfigOk returns a tuple with the UserConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineVersion) GetVersion ¶
func (o *MachineVersion) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*MachineVersion) GetVersionOk ¶
func (o *MachineVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineVersion) HasUserConfig ¶
func (o *MachineVersion) HasUserConfig() bool
HasUserConfig returns a boolean if a field has been set.
func (*MachineVersion) HasVersion ¶
func (o *MachineVersion) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (MachineVersion) MarshalJSON ¶
func (o MachineVersion) MarshalJSON() ([]byte, error)
func (*MachineVersion) SetUserConfig ¶
func (o *MachineVersion) SetUserConfig(v FlyMachineConfig)
SetUserConfig gets a reference to the given FlyMachineConfig and assigns it to the UserConfig field.
func (*MachineVersion) SetVersion ¶
func (o *MachineVersion) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (MachineVersion) ToMap ¶
func (o MachineVersion) ToMap() (map[string]interface{}, error)
type MachinesAPIService ¶
type MachinesAPIService service
MachinesAPIService MachinesAPI service
func (*MachinesAPIService) MachinesCordon ¶
func (a *MachinesAPIService) MachinesCordon(ctx context.Context, appName string, machineId string) ApiMachinesCordonRequest
MachinesCordon Cordon Machine
“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesCordonRequest
func (*MachinesAPIService) MachinesCordonExecute ¶
func (a *MachinesAPIService) MachinesCordonExecute(r ApiMachinesCordonRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesCreate ¶
func (a *MachinesAPIService) MachinesCreate(ctx context.Context, appName string) ApiMachinesCreateRequest
MachinesCreate Create Machine
Create a Machine within a specific app using the details provided in the request body.
**Important**: This request can fail, and you’re responsible for handling that failure. If you ask for a large Machine, or a Machine in a region we happen to be at capacity for, you might need to retry the request, or to fall back to another region. If you’re working directly with the Machines API, you’re taking some responsibility for your own orchestration!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiMachinesCreateRequest
func (*MachinesAPIService) MachinesCreateExecute ¶
func (a *MachinesAPIService) MachinesCreateExecute(r ApiMachinesCreateRequest) (*Machine, *http.Response, error)
Execute executes the request
@return Machine
func (*MachinesAPIService) MachinesCreateLease ¶
func (a *MachinesAPIService) MachinesCreateLease(ctx context.Context, appName string, machineId string) ApiMachinesCreateLeaseRequest
MachinesCreateLease Create Lease
Create a lease for a specific Machine within an app using the details provided in the request body. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesCreateLeaseRequest
func (*MachinesAPIService) MachinesCreateLeaseExecute ¶
func (a *MachinesAPIService) MachinesCreateLeaseExecute(r ApiMachinesCreateLeaseRequest) (*Lease, *http.Response, error)
Execute executes the request
@return Lease
func (*MachinesAPIService) MachinesDelete ¶
func (a *MachinesAPIService) MachinesDelete(ctx context.Context, appName string, machineId string) ApiMachinesDeleteRequest
MachinesDelete Destroy Machine
Delete a specific Machine within an app by Machine ID, with an optional force parameter to force kill the Machine if it's running.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesDeleteRequest
func (*MachinesAPIService) MachinesDeleteExecute ¶
func (a *MachinesAPIService) MachinesDeleteExecute(r ApiMachinesDeleteRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesDeleteMetadata ¶
func (a *MachinesAPIService) MachinesDeleteMetadata(ctx context.Context, appName string, machineId string, key string) ApiMachinesDeleteMetadataRequest
MachinesDeleteMetadata Delete Metadata
Delete metadata for a specific Machine within an app by providing a metadata key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @param key Metadata Key @return ApiMachinesDeleteMetadataRequest
func (*MachinesAPIService) MachinesDeleteMetadataExecute ¶
func (a *MachinesAPIService) MachinesDeleteMetadataExecute(r ApiMachinesDeleteMetadataRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesExec ¶
func (a *MachinesAPIService) MachinesExec(ctx context.Context, appName string, machineId string) ApiMachinesExecRequest
MachinesExec Execute Command
Execute a command on a specific Machine and return the raw command output bytes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesExecRequest
func (*MachinesAPIService) MachinesExecExecute ¶
func (a *MachinesAPIService) MachinesExecExecute(r ApiMachinesExecRequest) (*Flydv1ExecResponse, *http.Response, error)
Execute executes the request
@return Flydv1ExecResponse
func (*MachinesAPIService) MachinesList ¶
func (a *MachinesAPIService) MachinesList(ctx context.Context, appName string) ApiMachinesListRequest
MachinesList List Machines
List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiMachinesListRequest
func (*MachinesAPIService) MachinesListEvents ¶
func (a *MachinesAPIService) MachinesListEvents(ctx context.Context, appName string, machineId string) ApiMachinesListEventsRequest
MachinesListEvents List Events
List all events associated with a specific Machine within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesListEventsRequest
func (*MachinesAPIService) MachinesListEventsExecute ¶
func (a *MachinesAPIService) MachinesListEventsExecute(r ApiMachinesListEventsRequest) ([]MachineEvent, *http.Response, error)
Execute executes the request
@return []MachineEvent
func (*MachinesAPIService) MachinesListExecute ¶
func (a *MachinesAPIService) MachinesListExecute(r ApiMachinesListRequest) ([]Machine, *http.Response, error)
Execute executes the request
@return []Machine
func (*MachinesAPIService) MachinesListProcesses ¶
func (a *MachinesAPIService) MachinesListProcesses(ctx context.Context, appName string, machineId string) ApiMachinesListProcessesRequest
MachinesListProcesses List Processes
List all processes running on a specific Machine within an app, with optional sorting parameters.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesListProcessesRequest
func (*MachinesAPIService) MachinesListProcessesExecute ¶
func (a *MachinesAPIService) MachinesListProcessesExecute(r ApiMachinesListProcessesRequest) ([]ProcessStat, *http.Response, error)
Execute executes the request
@return []ProcessStat
func (*MachinesAPIService) MachinesListVersions ¶
func (a *MachinesAPIService) MachinesListVersions(ctx context.Context, appName string, machineId string) ApiMachinesListVersionsRequest
MachinesListVersions List Versions
List all versions of the configuration for a specific Machine within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesListVersionsRequest
func (*MachinesAPIService) MachinesListVersionsExecute ¶
func (a *MachinesAPIService) MachinesListVersionsExecute(r ApiMachinesListVersionsRequest) ([]MachineVersion, *http.Response, error)
Execute executes the request
@return []MachineVersion
func (*MachinesAPIService) MachinesReleaseLease ¶
func (a *MachinesAPIService) MachinesReleaseLease(ctx context.Context, appName string, machineId string) ApiMachinesReleaseLeaseRequest
MachinesReleaseLease Release Lease
Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesReleaseLeaseRequest
func (*MachinesAPIService) MachinesReleaseLeaseExecute ¶
func (a *MachinesAPIService) MachinesReleaseLeaseExecute(r ApiMachinesReleaseLeaseRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesRestart ¶
func (a *MachinesAPIService) MachinesRestart(ctx context.Context, appName string, machineId string) ApiMachinesRestartRequest
MachinesRestart Restart Machine
Restart a specific Machine within an app, with an optional timeout parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesRestartRequest
func (*MachinesAPIService) MachinesRestartExecute ¶
func (a *MachinesAPIService) MachinesRestartExecute(r ApiMachinesRestartRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesShow ¶
func (a *MachinesAPIService) MachinesShow(ctx context.Context, appName string, machineId string) ApiMachinesShowRequest
MachinesShow Get Machine
Get details of a specific Machine within an app by the Machine ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesShowRequest
func (*MachinesAPIService) MachinesShowExecute ¶
func (a *MachinesAPIService) MachinesShowExecute(r ApiMachinesShowRequest) (*Machine, *http.Response, error)
Execute executes the request
@return Machine
func (*MachinesAPIService) MachinesShowLease ¶
func (a *MachinesAPIService) MachinesShowLease(ctx context.Context, appName string, machineId string) ApiMachinesShowLeaseRequest
MachinesShowLease Get Lease
Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesShowLeaseRequest
func (*MachinesAPIService) MachinesShowLeaseExecute ¶
func (a *MachinesAPIService) MachinesShowLeaseExecute(r ApiMachinesShowLeaseRequest) (*Lease, *http.Response, error)
Execute executes the request
@return Lease
func (*MachinesAPIService) MachinesShowMetadata ¶
func (a *MachinesAPIService) MachinesShowMetadata(ctx context.Context, appName string, machineId string) ApiMachinesShowMetadataRequest
MachinesShowMetadata Get Metadata
Retrieve metadata for a specific Machine within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesShowMetadataRequest
func (*MachinesAPIService) MachinesShowMetadataExecute ¶
func (a *MachinesAPIService) MachinesShowMetadataExecute(r ApiMachinesShowMetadataRequest) (map[string]string, *http.Response, error)
Execute executes the request
@return map[string]string
func (*MachinesAPIService) MachinesSignal ¶
func (a *MachinesAPIService) MachinesSignal(ctx context.Context, appName string, machineId string) ApiMachinesSignalRequest
MachinesSignal Signal Machine
Send a signal to a specific Machine within an app using the details provided in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesSignalRequest
func (*MachinesAPIService) MachinesSignalExecute ¶
func (a *MachinesAPIService) MachinesSignalExecute(r ApiMachinesSignalRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesStart ¶
func (a *MachinesAPIService) MachinesStart(ctx context.Context, appName string, machineId string) ApiMachinesStartRequest
MachinesStart Start Machine
Start a specific Machine within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesStartRequest
func (*MachinesAPIService) MachinesStartExecute ¶
func (a *MachinesAPIService) MachinesStartExecute(r ApiMachinesStartRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesStop ¶
func (a *MachinesAPIService) MachinesStop(ctx context.Context, appName string, machineId string) ApiMachinesStopRequest
MachinesStop Stop Machine
Stop a specific Machine within an app, with an optional request body to specify signal and timeout.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesStopRequest
func (*MachinesAPIService) MachinesStopExecute ¶
func (a *MachinesAPIService) MachinesStopExecute(r ApiMachinesStopRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesSuspend ¶
func (a *MachinesAPIService) MachinesSuspend(ctx context.Context, appName string, machineId string) ApiMachinesSuspendRequest
MachinesSuspend Suspend Machine
Suspend a specific Machine within an app. The next start operation will attempt (but is not guaranteed) to resume the Machine from a snapshot taken at suspension time, rather than performing a cold boot.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesSuspendRequest
func (*MachinesAPIService) MachinesSuspendExecute ¶
func (a *MachinesAPIService) MachinesSuspendExecute(r ApiMachinesSuspendRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesUncordon ¶
func (a *MachinesAPIService) MachinesUncordon(ctx context.Context, appName string, machineId string) ApiMachinesUncordonRequest
MachinesUncordon Uncordon Machine
“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesUncordonRequest
func (*MachinesAPIService) MachinesUncordonExecute ¶
func (a *MachinesAPIService) MachinesUncordonExecute(r ApiMachinesUncordonRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesUpdate ¶
func (a *MachinesAPIService) MachinesUpdate(ctx context.Context, appName string, machineId string) ApiMachinesUpdateRequest
MachinesUpdate Update Machine
Update a Machine's configuration using the details provided in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesUpdateRequest
func (*MachinesAPIService) MachinesUpdateExecute ¶
func (a *MachinesAPIService) MachinesUpdateExecute(r ApiMachinesUpdateRequest) (*Machine, *http.Response, error)
Execute executes the request
@return Machine
func (*MachinesAPIService) MachinesUpdateMetadata ¶
func (a *MachinesAPIService) MachinesUpdateMetadata(ctx context.Context, appName string, machineId string, key string) ApiMachinesUpdateMetadataRequest
MachinesUpdateMetadata Update Metadata
Update metadata for a specific machine within an app by providing a metadata key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @param key Metadata Key @return ApiMachinesUpdateMetadataRequest
func (*MachinesAPIService) MachinesUpdateMetadataExecute ¶
func (a *MachinesAPIService) MachinesUpdateMetadataExecute(r ApiMachinesUpdateMetadataRequest) (*http.Response, error)
Execute executes the request
func (*MachinesAPIService) MachinesWait ¶
func (a *MachinesAPIService) MachinesWait(ctx context.Context, appName string, machineId string) ApiMachinesWaitRequest
MachinesWait Wait for State
Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`.
This request will block for up to 60 seconds. Set a shorter timeout with the timeout parameter.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param machineId Machine ID @return ApiMachinesWaitRequest
func (*MachinesAPIService) MachinesWaitExecute ¶
func (a *MachinesAPIService) MachinesWaitExecute(r ApiMachinesWaitRequest) (*http.Response, error)
Execute executes the request
type MainGetPlacementsRequest ¶
type MainGetPlacementsRequest struct {
// Resource requirements for the Machine to simulate. Defaults to a performance-1x machine
Compute *FlyMachineGuest `json:"compute,omitempty"`
// Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.
Count *int64 `json:"count,omitempty"`
OrgSlug string `json:"org_slug"`
// Region expression for placement as a comma-delimited set of regions or aliases. Defaults to \"[region],any\", to prefer the API endpoint's local region with any other region as fallback.
Region *string `json:"region,omitempty"`
VolumeName *string `json:"volume_name,omitempty"`
VolumeSizeBytes *int64 `json:"volume_size_bytes,omitempty"`
// Optional weights to override default placement preferences.
Weights *map[string]int64 `json:"weights,omitempty"`
}
MainGetPlacementsRequest struct for MainGetPlacementsRequest
func NewMainGetPlacementsRequest ¶
func NewMainGetPlacementsRequest(orgSlug string) *MainGetPlacementsRequest
NewMainGetPlacementsRequest instantiates a new MainGetPlacementsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMainGetPlacementsRequestWithDefaults ¶
func NewMainGetPlacementsRequestWithDefaults() *MainGetPlacementsRequest
NewMainGetPlacementsRequestWithDefaults instantiates a new MainGetPlacementsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MainGetPlacementsRequest) GetCompute ¶
func (o *MainGetPlacementsRequest) GetCompute() FlyMachineGuest
GetCompute returns the Compute field value if set, zero value otherwise.
func (*MainGetPlacementsRequest) GetComputeOk ¶
func (o *MainGetPlacementsRequest) GetComputeOk() (*FlyMachineGuest, bool)
GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) GetCount ¶
func (o *MainGetPlacementsRequest) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*MainGetPlacementsRequest) GetCountOk ¶
func (o *MainGetPlacementsRequest) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) GetOrgSlug ¶
func (o *MainGetPlacementsRequest) GetOrgSlug() string
GetOrgSlug returns the OrgSlug field value
func (*MainGetPlacementsRequest) GetOrgSlugOk ¶
func (o *MainGetPlacementsRequest) GetOrgSlugOk() (*string, bool)
GetOrgSlugOk returns a tuple with the OrgSlug field value and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) GetRegion ¶
func (o *MainGetPlacementsRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*MainGetPlacementsRequest) GetRegionOk ¶
func (o *MainGetPlacementsRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) GetVolumeName ¶
func (o *MainGetPlacementsRequest) GetVolumeName() string
GetVolumeName returns the VolumeName field value if set, zero value otherwise.
func (*MainGetPlacementsRequest) GetVolumeNameOk ¶
func (o *MainGetPlacementsRequest) GetVolumeNameOk() (*string, bool)
GetVolumeNameOk returns a tuple with the VolumeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) GetVolumeSizeBytes ¶
func (o *MainGetPlacementsRequest) GetVolumeSizeBytes() int64
GetVolumeSizeBytes returns the VolumeSizeBytes field value if set, zero value otherwise.
func (*MainGetPlacementsRequest) GetVolumeSizeBytesOk ¶
func (o *MainGetPlacementsRequest) GetVolumeSizeBytesOk() (*int64, bool)
GetVolumeSizeBytesOk returns a tuple with the VolumeSizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) GetWeights ¶
func (o *MainGetPlacementsRequest) GetWeights() map[string]int64
GetWeights returns the Weights field value if set, zero value otherwise.
func (*MainGetPlacementsRequest) GetWeightsOk ¶
func (o *MainGetPlacementsRequest) GetWeightsOk() (*map[string]int64, bool)
GetWeightsOk returns a tuple with the Weights field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsRequest) HasCompute ¶
func (o *MainGetPlacementsRequest) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*MainGetPlacementsRequest) HasCount ¶
func (o *MainGetPlacementsRequest) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*MainGetPlacementsRequest) HasRegion ¶
func (o *MainGetPlacementsRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*MainGetPlacementsRequest) HasVolumeName ¶
func (o *MainGetPlacementsRequest) HasVolumeName() bool
HasVolumeName returns a boolean if a field has been set.
func (*MainGetPlacementsRequest) HasVolumeSizeBytes ¶
func (o *MainGetPlacementsRequest) HasVolumeSizeBytes() bool
HasVolumeSizeBytes returns a boolean if a field has been set.
func (*MainGetPlacementsRequest) HasWeights ¶
func (o *MainGetPlacementsRequest) HasWeights() bool
HasWeights returns a boolean if a field has been set.
func (MainGetPlacementsRequest) MarshalJSON ¶
func (o MainGetPlacementsRequest) MarshalJSON() ([]byte, error)
func (*MainGetPlacementsRequest) SetCompute ¶
func (o *MainGetPlacementsRequest) SetCompute(v FlyMachineGuest)
SetCompute gets a reference to the given FlyMachineGuest and assigns it to the Compute field.
func (*MainGetPlacementsRequest) SetCount ¶
func (o *MainGetPlacementsRequest) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*MainGetPlacementsRequest) SetOrgSlug ¶
func (o *MainGetPlacementsRequest) SetOrgSlug(v string)
SetOrgSlug sets field value
func (*MainGetPlacementsRequest) SetRegion ¶
func (o *MainGetPlacementsRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*MainGetPlacementsRequest) SetVolumeName ¶
func (o *MainGetPlacementsRequest) SetVolumeName(v string)
SetVolumeName gets a reference to the given string and assigns it to the VolumeName field.
func (*MainGetPlacementsRequest) SetVolumeSizeBytes ¶
func (o *MainGetPlacementsRequest) SetVolumeSizeBytes(v int64)
SetVolumeSizeBytes gets a reference to the given int64 and assigns it to the VolumeSizeBytes field.
func (*MainGetPlacementsRequest) SetWeights ¶
func (o *MainGetPlacementsRequest) SetWeights(v map[string]int64)
SetWeights gets a reference to the given map[string]int64 and assigns it to the Weights field.
func (MainGetPlacementsRequest) ToMap ¶
func (o MainGetPlacementsRequest) ToMap() (map[string]interface{}, error)
func (*MainGetPlacementsRequest) UnmarshalJSON ¶
func (o *MainGetPlacementsRequest) UnmarshalJSON(data []byte) (err error)
type MainGetPlacementsResponse ¶
type MainGetPlacementsResponse struct {
Regions []PlacementRegionPlacement `json:"regions,omitempty"`
}
MainGetPlacementsResponse struct for MainGetPlacementsResponse
func NewMainGetPlacementsResponse ¶
func NewMainGetPlacementsResponse() *MainGetPlacementsResponse
NewMainGetPlacementsResponse instantiates a new MainGetPlacementsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMainGetPlacementsResponseWithDefaults ¶
func NewMainGetPlacementsResponseWithDefaults() *MainGetPlacementsResponse
NewMainGetPlacementsResponseWithDefaults instantiates a new MainGetPlacementsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MainGetPlacementsResponse) GetRegions ¶
func (o *MainGetPlacementsResponse) GetRegions() []PlacementRegionPlacement
GetRegions returns the Regions field value if set, zero value otherwise.
func (*MainGetPlacementsResponse) GetRegionsOk ¶
func (o *MainGetPlacementsResponse) GetRegionsOk() ([]PlacementRegionPlacement, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainGetPlacementsResponse) HasRegions ¶
func (o *MainGetPlacementsResponse) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (MainGetPlacementsResponse) MarshalJSON ¶
func (o MainGetPlacementsResponse) MarshalJSON() ([]byte, error)
func (*MainGetPlacementsResponse) SetRegions ¶
func (o *MainGetPlacementsResponse) SetRegions(v []PlacementRegionPlacement)
SetRegions gets a reference to the given []PlacementRegionPlacement and assigns it to the Regions field.
func (MainGetPlacementsResponse) ToMap ¶
func (o MainGetPlacementsResponse) ToMap() (map[string]interface{}, error)
type MainRegionResponse ¶
type MainRegionResponse struct {
Regions []ReadsGetCapacityPerRegionRow `json:"regions,omitempty"`
}
MainRegionResponse struct for MainRegionResponse
func NewMainRegionResponse ¶
func NewMainRegionResponse() *MainRegionResponse
NewMainRegionResponse instantiates a new MainRegionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMainRegionResponseWithDefaults ¶
func NewMainRegionResponseWithDefaults() *MainRegionResponse
NewMainRegionResponseWithDefaults instantiates a new MainRegionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MainRegionResponse) GetRegions ¶
func (o *MainRegionResponse) GetRegions() []ReadsGetCapacityPerRegionRow
GetRegions returns the Regions field value if set, zero value otherwise.
func (*MainRegionResponse) GetRegionsOk ¶
func (o *MainRegionResponse) GetRegionsOk() ([]ReadsGetCapacityPerRegionRow, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MainRegionResponse) HasRegions ¶
func (o *MainRegionResponse) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (MainRegionResponse) MarshalJSON ¶
func (o MainRegionResponse) MarshalJSON() ([]byte, error)
func (*MainRegionResponse) SetRegions ¶
func (o *MainRegionResponse) SetRegions(v []ReadsGetCapacityPerRegionRow)
SetRegions gets a reference to the given []ReadsGetCapacityPerRegionRow and assigns it to the Regions field.
func (MainRegionResponse) ToMap ¶
func (o MainRegionResponse) ToMap() (map[string]interface{}, error)
type MainStatusCode ¶
type MainStatusCode string
MainStatusCode the model 'MainStatusCode'
func NewMainStatusCodeFromValue ¶
func NewMainStatusCodeFromValue(v string) (*MainStatusCode, error)
NewMainStatusCodeFromValue returns a pointer to a valid MainStatusCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MainStatusCode) IsValid ¶
func (v MainStatusCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MainStatusCode) Ptr ¶
func (v MainStatusCode) Ptr() *MainStatusCode
Ptr returns reference to main.statusCode value
func (*MainStatusCode) UnmarshalJSON ¶
func (v *MainStatusCode) UnmarshalJSON(src []byte) error
type MappedNullable ¶
type NullableApp ¶
type NullableApp struct {
// contains filtered or unexported fields
}
func NewNullableApp ¶
func NewNullableApp(val *App) *NullableApp
func (NullableApp) Get ¶
func (v NullableApp) Get() *App
func (NullableApp) IsSet ¶
func (v NullableApp) IsSet() bool
func (NullableApp) MarshalJSON ¶
func (v NullableApp) MarshalJSON() ([]byte, error)
func (*NullableApp) Set ¶
func (v *NullableApp) Set(val *App)
func (*NullableApp) UnmarshalJSON ¶
func (v *NullableApp) UnmarshalJSON(src []byte) error
func (*NullableApp) Unset ¶
func (v *NullableApp) Unset()
type NullableAppSecret ¶
type NullableAppSecret struct {
// contains filtered or unexported fields
}
func NewNullableAppSecret ¶
func NewNullableAppSecret(val *AppSecret) *NullableAppSecret
func (NullableAppSecret) Get ¶
func (v NullableAppSecret) Get() *AppSecret
func (NullableAppSecret) IsSet ¶
func (v NullableAppSecret) IsSet() bool
func (NullableAppSecret) MarshalJSON ¶
func (v NullableAppSecret) MarshalJSON() ([]byte, error)
func (*NullableAppSecret) Set ¶
func (v *NullableAppSecret) Set(val *AppSecret)
func (*NullableAppSecret) UnmarshalJSON ¶
func (v *NullableAppSecret) UnmarshalJSON(src []byte) error
func (*NullableAppSecret) Unset ¶
func (v *NullableAppSecret) Unset()
type NullableAppSecrets ¶
type NullableAppSecrets struct {
// contains filtered or unexported fields
}
func NewNullableAppSecrets ¶
func NewNullableAppSecrets(val *AppSecrets) *NullableAppSecrets
func (NullableAppSecrets) Get ¶
func (v NullableAppSecrets) Get() *AppSecrets
func (NullableAppSecrets) IsSet ¶
func (v NullableAppSecrets) IsSet() bool
func (NullableAppSecrets) MarshalJSON ¶
func (v NullableAppSecrets) MarshalJSON() ([]byte, error)
func (*NullableAppSecrets) Set ¶
func (v *NullableAppSecrets) Set(val *AppSecrets)
func (*NullableAppSecrets) UnmarshalJSON ¶
func (v *NullableAppSecrets) UnmarshalJSON(src []byte) error
func (*NullableAppSecrets) Unset ¶
func (v *NullableAppSecrets) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCheckStatus ¶
type NullableCheckStatus struct {
// contains filtered or unexported fields
}
func NewNullableCheckStatus ¶
func NewNullableCheckStatus(val *CheckStatus) *NullableCheckStatus
func (NullableCheckStatus) Get ¶
func (v NullableCheckStatus) Get() *CheckStatus
func (NullableCheckStatus) IsSet ¶
func (v NullableCheckStatus) IsSet() bool
func (NullableCheckStatus) MarshalJSON ¶
func (v NullableCheckStatus) MarshalJSON() ([]byte, error)
func (*NullableCheckStatus) Set ¶
func (v *NullableCheckStatus) Set(val *CheckStatus)
func (*NullableCheckStatus) UnmarshalJSON ¶
func (v *NullableCheckStatus) UnmarshalJSON(src []byte) error
func (*NullableCheckStatus) Unset ¶
func (v *NullableCheckStatus) Unset()
type NullableCreateAppRequest ¶
type NullableCreateAppRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateAppRequest ¶
func NewNullableCreateAppRequest(val *CreateAppRequest) *NullableCreateAppRequest
func (NullableCreateAppRequest) Get ¶
func (v NullableCreateAppRequest) Get() *CreateAppRequest
func (NullableCreateAppRequest) IsSet ¶
func (v NullableCreateAppRequest) IsSet() bool
func (NullableCreateAppRequest) MarshalJSON ¶
func (v NullableCreateAppRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateAppRequest) Set ¶
func (v *NullableCreateAppRequest) Set(val *CreateAppRequest)
func (*NullableCreateAppRequest) UnmarshalJSON ¶
func (v *NullableCreateAppRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateAppRequest) Unset ¶
func (v *NullableCreateAppRequest) Unset()
type NullableCreateLeaseRequest ¶
type NullableCreateLeaseRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateLeaseRequest ¶
func NewNullableCreateLeaseRequest(val *CreateLeaseRequest) *NullableCreateLeaseRequest
func (NullableCreateLeaseRequest) Get ¶
func (v NullableCreateLeaseRequest) Get() *CreateLeaseRequest
func (NullableCreateLeaseRequest) IsSet ¶
func (v NullableCreateLeaseRequest) IsSet() bool
func (NullableCreateLeaseRequest) MarshalJSON ¶
func (v NullableCreateLeaseRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateLeaseRequest) Set ¶
func (v *NullableCreateLeaseRequest) Set(val *CreateLeaseRequest)
func (*NullableCreateLeaseRequest) UnmarshalJSON ¶
func (v *NullableCreateLeaseRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateLeaseRequest) Unset ¶
func (v *NullableCreateLeaseRequest) Unset()
type NullableCreateMachineRequest ¶
type NullableCreateMachineRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateMachineRequest ¶
func NewNullableCreateMachineRequest(val *CreateMachineRequest) *NullableCreateMachineRequest
func (NullableCreateMachineRequest) Get ¶
func (v NullableCreateMachineRequest) Get() *CreateMachineRequest
func (NullableCreateMachineRequest) IsSet ¶
func (v NullableCreateMachineRequest) IsSet() bool
func (NullableCreateMachineRequest) MarshalJSON ¶
func (v NullableCreateMachineRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateMachineRequest) Set ¶
func (v *NullableCreateMachineRequest) Set(val *CreateMachineRequest)
func (*NullableCreateMachineRequest) UnmarshalJSON ¶
func (v *NullableCreateMachineRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateMachineRequest) Unset ¶
func (v *NullableCreateMachineRequest) Unset()
type NullableCreateOIDCTokenRequest ¶
type NullableCreateOIDCTokenRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateOIDCTokenRequest ¶
func NewNullableCreateOIDCTokenRequest(val *CreateOIDCTokenRequest) *NullableCreateOIDCTokenRequest
func (NullableCreateOIDCTokenRequest) Get ¶
func (v NullableCreateOIDCTokenRequest) Get() *CreateOIDCTokenRequest
func (NullableCreateOIDCTokenRequest) IsSet ¶
func (v NullableCreateOIDCTokenRequest) IsSet() bool
func (NullableCreateOIDCTokenRequest) MarshalJSON ¶
func (v NullableCreateOIDCTokenRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateOIDCTokenRequest) Set ¶
func (v *NullableCreateOIDCTokenRequest) Set(val *CreateOIDCTokenRequest)
func (*NullableCreateOIDCTokenRequest) UnmarshalJSON ¶
func (v *NullableCreateOIDCTokenRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateOIDCTokenRequest) Unset ¶
func (v *NullableCreateOIDCTokenRequest) Unset()
type NullableCreateVolumeRequest ¶
type NullableCreateVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateVolumeRequest ¶
func NewNullableCreateVolumeRequest(val *CreateVolumeRequest) *NullableCreateVolumeRequest
func (NullableCreateVolumeRequest) Get ¶
func (v NullableCreateVolumeRequest) Get() *CreateVolumeRequest
func (NullableCreateVolumeRequest) IsSet ¶
func (v NullableCreateVolumeRequest) IsSet() bool
func (NullableCreateVolumeRequest) MarshalJSON ¶
func (v NullableCreateVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateVolumeRequest) Set ¶
func (v *NullableCreateVolumeRequest) Set(val *CreateVolumeRequest)
func (*NullableCreateVolumeRequest) UnmarshalJSON ¶
func (v *NullableCreateVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateVolumeRequest) Unset ¶
func (v *NullableCreateVolumeRequest) Unset()
type NullableDecryptSecretkeyRequest ¶
type NullableDecryptSecretkeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableDecryptSecretkeyRequest ¶
func NewNullableDecryptSecretkeyRequest(val *DecryptSecretkeyRequest) *NullableDecryptSecretkeyRequest
func (NullableDecryptSecretkeyRequest) Get ¶
func (v NullableDecryptSecretkeyRequest) Get() *DecryptSecretkeyRequest
func (NullableDecryptSecretkeyRequest) IsSet ¶
func (v NullableDecryptSecretkeyRequest) IsSet() bool
func (NullableDecryptSecretkeyRequest) MarshalJSON ¶
func (v NullableDecryptSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*NullableDecryptSecretkeyRequest) Set ¶
func (v *NullableDecryptSecretkeyRequest) Set(val *DecryptSecretkeyRequest)
func (*NullableDecryptSecretkeyRequest) UnmarshalJSON ¶
func (v *NullableDecryptSecretkeyRequest) UnmarshalJSON(src []byte) error
func (*NullableDecryptSecretkeyRequest) Unset ¶
func (v *NullableDecryptSecretkeyRequest) Unset()
type NullableDecryptSecretkeyResponse ¶
type NullableDecryptSecretkeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableDecryptSecretkeyResponse ¶
func NewNullableDecryptSecretkeyResponse(val *DecryptSecretkeyResponse) *NullableDecryptSecretkeyResponse
func (NullableDecryptSecretkeyResponse) Get ¶
func (v NullableDecryptSecretkeyResponse) Get() *DecryptSecretkeyResponse
func (NullableDecryptSecretkeyResponse) IsSet ¶
func (v NullableDecryptSecretkeyResponse) IsSet() bool
func (NullableDecryptSecretkeyResponse) MarshalJSON ¶
func (v NullableDecryptSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*NullableDecryptSecretkeyResponse) Set ¶
func (v *NullableDecryptSecretkeyResponse) Set(val *DecryptSecretkeyResponse)
func (*NullableDecryptSecretkeyResponse) UnmarshalJSON ¶
func (v *NullableDecryptSecretkeyResponse) UnmarshalJSON(src []byte) error
func (*NullableDecryptSecretkeyResponse) Unset ¶
func (v *NullableDecryptSecretkeyResponse) Unset()
type NullableEncryptSecretkeyRequest ¶
type NullableEncryptSecretkeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableEncryptSecretkeyRequest ¶
func NewNullableEncryptSecretkeyRequest(val *EncryptSecretkeyRequest) *NullableEncryptSecretkeyRequest
func (NullableEncryptSecretkeyRequest) Get ¶
func (v NullableEncryptSecretkeyRequest) Get() *EncryptSecretkeyRequest
func (NullableEncryptSecretkeyRequest) IsSet ¶
func (v NullableEncryptSecretkeyRequest) IsSet() bool
func (NullableEncryptSecretkeyRequest) MarshalJSON ¶
func (v NullableEncryptSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*NullableEncryptSecretkeyRequest) Set ¶
func (v *NullableEncryptSecretkeyRequest) Set(val *EncryptSecretkeyRequest)
func (*NullableEncryptSecretkeyRequest) UnmarshalJSON ¶
func (v *NullableEncryptSecretkeyRequest) UnmarshalJSON(src []byte) error
func (*NullableEncryptSecretkeyRequest) Unset ¶
func (v *NullableEncryptSecretkeyRequest) Unset()
type NullableEncryptSecretkeyResponse ¶
type NullableEncryptSecretkeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableEncryptSecretkeyResponse ¶
func NewNullableEncryptSecretkeyResponse(val *EncryptSecretkeyResponse) *NullableEncryptSecretkeyResponse
func (NullableEncryptSecretkeyResponse) Get ¶
func (v NullableEncryptSecretkeyResponse) Get() *EncryptSecretkeyResponse
func (NullableEncryptSecretkeyResponse) IsSet ¶
func (v NullableEncryptSecretkeyResponse) IsSet() bool
func (NullableEncryptSecretkeyResponse) MarshalJSON ¶
func (v NullableEncryptSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*NullableEncryptSecretkeyResponse) Set ¶
func (v *NullableEncryptSecretkeyResponse) Set(val *EncryptSecretkeyResponse)
func (*NullableEncryptSecretkeyResponse) UnmarshalJSON ¶
func (v *NullableEncryptSecretkeyResponse) UnmarshalJSON(src []byte) error
func (*NullableEncryptSecretkeyResponse) Unset ¶
func (v *NullableEncryptSecretkeyResponse) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableExtendVolumeRequest ¶
type NullableExtendVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableExtendVolumeRequest ¶
func NewNullableExtendVolumeRequest(val *ExtendVolumeRequest) *NullableExtendVolumeRequest
func (NullableExtendVolumeRequest) Get ¶
func (v NullableExtendVolumeRequest) Get() *ExtendVolumeRequest
func (NullableExtendVolumeRequest) IsSet ¶
func (v NullableExtendVolumeRequest) IsSet() bool
func (NullableExtendVolumeRequest) MarshalJSON ¶
func (v NullableExtendVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableExtendVolumeRequest) Set ¶
func (v *NullableExtendVolumeRequest) Set(val *ExtendVolumeRequest)
func (*NullableExtendVolumeRequest) UnmarshalJSON ¶
func (v *NullableExtendVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableExtendVolumeRequest) Unset ¶
func (v *NullableExtendVolumeRequest) Unset()
type NullableExtendVolumeResponse ¶
type NullableExtendVolumeResponse struct {
// contains filtered or unexported fields
}
func NewNullableExtendVolumeResponse ¶
func NewNullableExtendVolumeResponse(val *ExtendVolumeResponse) *NullableExtendVolumeResponse
func (NullableExtendVolumeResponse) Get ¶
func (v NullableExtendVolumeResponse) Get() *ExtendVolumeResponse
func (NullableExtendVolumeResponse) IsSet ¶
func (v NullableExtendVolumeResponse) IsSet() bool
func (NullableExtendVolumeResponse) MarshalJSON ¶
func (v NullableExtendVolumeResponse) MarshalJSON() ([]byte, error)
func (*NullableExtendVolumeResponse) Set ¶
func (v *NullableExtendVolumeResponse) Set(val *ExtendVolumeResponse)
func (*NullableExtendVolumeResponse) UnmarshalJSON ¶
func (v *NullableExtendVolumeResponse) UnmarshalJSON(src []byte) error
func (*NullableExtendVolumeResponse) Unset ¶
func (v *NullableExtendVolumeResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableFlyContainerConfig ¶
type NullableFlyContainerConfig struct {
// contains filtered or unexported fields
}
func NewNullableFlyContainerConfig ¶
func NewNullableFlyContainerConfig(val *FlyContainerConfig) *NullableFlyContainerConfig
func (NullableFlyContainerConfig) Get ¶
func (v NullableFlyContainerConfig) Get() *FlyContainerConfig
func (NullableFlyContainerConfig) IsSet ¶
func (v NullableFlyContainerConfig) IsSet() bool
func (NullableFlyContainerConfig) MarshalJSON ¶
func (v NullableFlyContainerConfig) MarshalJSON() ([]byte, error)
func (*NullableFlyContainerConfig) Set ¶
func (v *NullableFlyContainerConfig) Set(val *FlyContainerConfig)
func (*NullableFlyContainerConfig) UnmarshalJSON ¶
func (v *NullableFlyContainerConfig) UnmarshalJSON(src []byte) error
func (*NullableFlyContainerConfig) Unset ¶
func (v *NullableFlyContainerConfig) Unset()
type NullableFlyContainerDependency ¶
type NullableFlyContainerDependency struct {
// contains filtered or unexported fields
}
func NewNullableFlyContainerDependency ¶
func NewNullableFlyContainerDependency(val *FlyContainerDependency) *NullableFlyContainerDependency
func (NullableFlyContainerDependency) Get ¶
func (v NullableFlyContainerDependency) Get() *FlyContainerDependency
func (NullableFlyContainerDependency) IsSet ¶
func (v NullableFlyContainerDependency) IsSet() bool
func (NullableFlyContainerDependency) MarshalJSON ¶
func (v NullableFlyContainerDependency) MarshalJSON() ([]byte, error)
func (*NullableFlyContainerDependency) Set ¶
func (v *NullableFlyContainerDependency) Set(val *FlyContainerDependency)
func (*NullableFlyContainerDependency) UnmarshalJSON ¶
func (v *NullableFlyContainerDependency) UnmarshalJSON(src []byte) error
func (*NullableFlyContainerDependency) Unset ¶
func (v *NullableFlyContainerDependency) Unset()
type NullableFlyContainerDependencyCondition ¶
type NullableFlyContainerDependencyCondition struct {
// contains filtered or unexported fields
}
func NewNullableFlyContainerDependencyCondition ¶
func NewNullableFlyContainerDependencyCondition(val *FlyContainerDependencyCondition) *NullableFlyContainerDependencyCondition
func (NullableFlyContainerDependencyCondition) IsSet ¶
func (v NullableFlyContainerDependencyCondition) IsSet() bool
func (NullableFlyContainerDependencyCondition) MarshalJSON ¶
func (v NullableFlyContainerDependencyCondition) MarshalJSON() ([]byte, error)
func (*NullableFlyContainerDependencyCondition) Set ¶
func (v *NullableFlyContainerDependencyCondition) Set(val *FlyContainerDependencyCondition)
func (*NullableFlyContainerDependencyCondition) UnmarshalJSON ¶
func (v *NullableFlyContainerDependencyCondition) UnmarshalJSON(src []byte) error
func (*NullableFlyContainerDependencyCondition) Unset ¶
func (v *NullableFlyContainerDependencyCondition) Unset()
type NullableFlyContainerHealthcheck ¶
type NullableFlyContainerHealthcheck struct {
// contains filtered or unexported fields
}
func NewNullableFlyContainerHealthcheck ¶
func NewNullableFlyContainerHealthcheck(val *FlyContainerHealthcheck) *NullableFlyContainerHealthcheck
func (NullableFlyContainerHealthcheck) Get ¶
func (v NullableFlyContainerHealthcheck) Get() *FlyContainerHealthcheck
func (NullableFlyContainerHealthcheck) IsSet ¶
func (v NullableFlyContainerHealthcheck) IsSet() bool
func (NullableFlyContainerHealthcheck) MarshalJSON ¶
func (v NullableFlyContainerHealthcheck) MarshalJSON() ([]byte, error)
func (*NullableFlyContainerHealthcheck) Set ¶
func (v *NullableFlyContainerHealthcheck) Set(val *FlyContainerHealthcheck)
func (*NullableFlyContainerHealthcheck) UnmarshalJSON ¶
func (v *NullableFlyContainerHealthcheck) UnmarshalJSON(src []byte) error
func (*NullableFlyContainerHealthcheck) Unset ¶
func (v *NullableFlyContainerHealthcheck) Unset()
type NullableFlyContainerHealthcheckKind ¶
type NullableFlyContainerHealthcheckKind struct {
// contains filtered or unexported fields
}
func NewNullableFlyContainerHealthcheckKind ¶
func NewNullableFlyContainerHealthcheckKind(val *FlyContainerHealthcheckKind) *NullableFlyContainerHealthcheckKind
func (NullableFlyContainerHealthcheckKind) Get ¶
func (v NullableFlyContainerHealthcheckKind) Get() *FlyContainerHealthcheckKind
func (NullableFlyContainerHealthcheckKind) IsSet ¶
func (v NullableFlyContainerHealthcheckKind) IsSet() bool
func (NullableFlyContainerHealthcheckKind) MarshalJSON ¶
func (v NullableFlyContainerHealthcheckKind) MarshalJSON() ([]byte, error)
func (*NullableFlyContainerHealthcheckKind) Set ¶
func (v *NullableFlyContainerHealthcheckKind) Set(val *FlyContainerHealthcheckKind)
func (*NullableFlyContainerHealthcheckKind) UnmarshalJSON ¶
func (v *NullableFlyContainerHealthcheckKind) UnmarshalJSON(src []byte) error
func (*NullableFlyContainerHealthcheckKind) Unset ¶
func (v *NullableFlyContainerHealthcheckKind) Unset()
type NullableFlyContainerHealthcheckScheme ¶
type NullableFlyContainerHealthcheckScheme struct {
// contains filtered or unexported fields
}
func NewNullableFlyContainerHealthcheckScheme ¶
func NewNullableFlyContainerHealthcheckScheme(val *FlyContainerHealthcheckScheme) *NullableFlyContainerHealthcheckScheme
func (NullableFlyContainerHealthcheckScheme) Get ¶
func (v NullableFlyContainerHealthcheckScheme) Get() *FlyContainerHealthcheckScheme
func (NullableFlyContainerHealthcheckScheme) IsSet ¶
func (v NullableFlyContainerHealthcheckScheme) IsSet() bool
func (NullableFlyContainerHealthcheckScheme) MarshalJSON ¶
func (v NullableFlyContainerHealthcheckScheme) MarshalJSON() ([]byte, error)
func (*NullableFlyContainerHealthcheckScheme) Set ¶
func (v *NullableFlyContainerHealthcheckScheme) Set(val *FlyContainerHealthcheckScheme)
func (*NullableFlyContainerHealthcheckScheme) UnmarshalJSON ¶
func (v *NullableFlyContainerHealthcheckScheme) UnmarshalJSON(src []byte) error
func (*NullableFlyContainerHealthcheckScheme) Unset ¶
func (v *NullableFlyContainerHealthcheckScheme) Unset()
type NullableFlyDNSConfig ¶
type NullableFlyDNSConfig struct {
// contains filtered or unexported fields
}
func NewNullableFlyDNSConfig ¶
func NewNullableFlyDNSConfig(val *FlyDNSConfig) *NullableFlyDNSConfig
func (NullableFlyDNSConfig) Get ¶
func (v NullableFlyDNSConfig) Get() *FlyDNSConfig
func (NullableFlyDNSConfig) IsSet ¶
func (v NullableFlyDNSConfig) IsSet() bool
func (NullableFlyDNSConfig) MarshalJSON ¶
func (v NullableFlyDNSConfig) MarshalJSON() ([]byte, error)
func (*NullableFlyDNSConfig) Set ¶
func (v *NullableFlyDNSConfig) Set(val *FlyDNSConfig)
func (*NullableFlyDNSConfig) UnmarshalJSON ¶
func (v *NullableFlyDNSConfig) UnmarshalJSON(src []byte) error
func (*NullableFlyDNSConfig) Unset ¶
func (v *NullableFlyDNSConfig) Unset()
type NullableFlyDnsForwardRule ¶
type NullableFlyDnsForwardRule struct {
// contains filtered or unexported fields
}
func NewNullableFlyDnsForwardRule ¶
func NewNullableFlyDnsForwardRule(val *FlyDnsForwardRule) *NullableFlyDnsForwardRule
func (NullableFlyDnsForwardRule) Get ¶
func (v NullableFlyDnsForwardRule) Get() *FlyDnsForwardRule
func (NullableFlyDnsForwardRule) IsSet ¶
func (v NullableFlyDnsForwardRule) IsSet() bool
func (NullableFlyDnsForwardRule) MarshalJSON ¶
func (v NullableFlyDnsForwardRule) MarshalJSON() ([]byte, error)
func (*NullableFlyDnsForwardRule) Set ¶
func (v *NullableFlyDnsForwardRule) Set(val *FlyDnsForwardRule)
func (*NullableFlyDnsForwardRule) UnmarshalJSON ¶
func (v *NullableFlyDnsForwardRule) UnmarshalJSON(src []byte) error
func (*NullableFlyDnsForwardRule) Unset ¶
func (v *NullableFlyDnsForwardRule) Unset()
type NullableFlyDnsOption ¶
type NullableFlyDnsOption struct {
// contains filtered or unexported fields
}
func NewNullableFlyDnsOption ¶
func NewNullableFlyDnsOption(val *FlyDnsOption) *NullableFlyDnsOption
func (NullableFlyDnsOption) Get ¶
func (v NullableFlyDnsOption) Get() *FlyDnsOption
func (NullableFlyDnsOption) IsSet ¶
func (v NullableFlyDnsOption) IsSet() bool
func (NullableFlyDnsOption) MarshalJSON ¶
func (v NullableFlyDnsOption) MarshalJSON() ([]byte, error)
func (*NullableFlyDnsOption) Set ¶
func (v *NullableFlyDnsOption) Set(val *FlyDnsOption)
func (*NullableFlyDnsOption) UnmarshalJSON ¶
func (v *NullableFlyDnsOption) UnmarshalJSON(src []byte) error
func (*NullableFlyDnsOption) Unset ¶
func (v *NullableFlyDnsOption) Unset()
type NullableFlyDuration ¶
type NullableFlyDuration struct {
// contains filtered or unexported fields
}
func NewNullableFlyDuration ¶
func NewNullableFlyDuration(val *FlyDuration) *NullableFlyDuration
func (NullableFlyDuration) Get ¶
func (v NullableFlyDuration) Get() *FlyDuration
func (NullableFlyDuration) IsSet ¶
func (v NullableFlyDuration) IsSet() bool
func (NullableFlyDuration) MarshalJSON ¶
func (v NullableFlyDuration) MarshalJSON() ([]byte, error)
func (*NullableFlyDuration) Set ¶
func (v *NullableFlyDuration) Set(val *FlyDuration)
func (*NullableFlyDuration) UnmarshalJSON ¶
func (v *NullableFlyDuration) UnmarshalJSON(src []byte) error
func (*NullableFlyDuration) Unset ¶
func (v *NullableFlyDuration) Unset()
type NullableFlyEnvFrom ¶
type NullableFlyEnvFrom struct {
// contains filtered or unexported fields
}
func NewNullableFlyEnvFrom ¶
func NewNullableFlyEnvFrom(val *FlyEnvFrom) *NullableFlyEnvFrom
func (NullableFlyEnvFrom) Get ¶
func (v NullableFlyEnvFrom) Get() *FlyEnvFrom
func (NullableFlyEnvFrom) IsSet ¶
func (v NullableFlyEnvFrom) IsSet() bool
func (NullableFlyEnvFrom) MarshalJSON ¶
func (v NullableFlyEnvFrom) MarshalJSON() ([]byte, error)
func (*NullableFlyEnvFrom) Set ¶
func (v *NullableFlyEnvFrom) Set(val *FlyEnvFrom)
func (*NullableFlyEnvFrom) UnmarshalJSON ¶
func (v *NullableFlyEnvFrom) UnmarshalJSON(src []byte) error
func (*NullableFlyEnvFrom) Unset ¶
func (v *NullableFlyEnvFrom) Unset()
type NullableFlyExecHealthcheck ¶
type NullableFlyExecHealthcheck struct {
// contains filtered or unexported fields
}
func NewNullableFlyExecHealthcheck ¶
func NewNullableFlyExecHealthcheck(val *FlyExecHealthcheck) *NullableFlyExecHealthcheck
func (NullableFlyExecHealthcheck) Get ¶
func (v NullableFlyExecHealthcheck) Get() *FlyExecHealthcheck
func (NullableFlyExecHealthcheck) IsSet ¶
func (v NullableFlyExecHealthcheck) IsSet() bool
func (NullableFlyExecHealthcheck) MarshalJSON ¶
func (v NullableFlyExecHealthcheck) MarshalJSON() ([]byte, error)
func (*NullableFlyExecHealthcheck) Set ¶
func (v *NullableFlyExecHealthcheck) Set(val *FlyExecHealthcheck)
func (*NullableFlyExecHealthcheck) UnmarshalJSON ¶
func (v *NullableFlyExecHealthcheck) UnmarshalJSON(src []byte) error
func (*NullableFlyExecHealthcheck) Unset ¶
func (v *NullableFlyExecHealthcheck) Unset()
type NullableFlyFile ¶
type NullableFlyFile struct {
// contains filtered or unexported fields
}
func NewNullableFlyFile ¶
func NewNullableFlyFile(val *FlyFile) *NullableFlyFile
func (NullableFlyFile) Get ¶
func (v NullableFlyFile) Get() *FlyFile
func (NullableFlyFile) IsSet ¶
func (v NullableFlyFile) IsSet() bool
func (NullableFlyFile) MarshalJSON ¶
func (v NullableFlyFile) MarshalJSON() ([]byte, error)
func (*NullableFlyFile) Set ¶
func (v *NullableFlyFile) Set(val *FlyFile)
func (*NullableFlyFile) UnmarshalJSON ¶
func (v *NullableFlyFile) UnmarshalJSON(src []byte) error
func (*NullableFlyFile) Unset ¶
func (v *NullableFlyFile) Unset()
type NullableFlyHTTPHealthcheck ¶
type NullableFlyHTTPHealthcheck struct {
// contains filtered or unexported fields
}
func NewNullableFlyHTTPHealthcheck ¶
func NewNullableFlyHTTPHealthcheck(val *FlyHTTPHealthcheck) *NullableFlyHTTPHealthcheck
func (NullableFlyHTTPHealthcheck) Get ¶
func (v NullableFlyHTTPHealthcheck) Get() *FlyHTTPHealthcheck
func (NullableFlyHTTPHealthcheck) IsSet ¶
func (v NullableFlyHTTPHealthcheck) IsSet() bool
func (NullableFlyHTTPHealthcheck) MarshalJSON ¶
func (v NullableFlyHTTPHealthcheck) MarshalJSON() ([]byte, error)
func (*NullableFlyHTTPHealthcheck) Set ¶
func (v *NullableFlyHTTPHealthcheck) Set(val *FlyHTTPHealthcheck)
func (*NullableFlyHTTPHealthcheck) UnmarshalJSON ¶
func (v *NullableFlyHTTPHealthcheck) UnmarshalJSON(src []byte) error
func (*NullableFlyHTTPHealthcheck) Unset ¶
func (v *NullableFlyHTTPHealthcheck) Unset()
type NullableFlyHTTPOptions ¶
type NullableFlyHTTPOptions struct {
// contains filtered or unexported fields
}
func NewNullableFlyHTTPOptions ¶
func NewNullableFlyHTTPOptions(val *FlyHTTPOptions) *NullableFlyHTTPOptions
func (NullableFlyHTTPOptions) Get ¶
func (v NullableFlyHTTPOptions) Get() *FlyHTTPOptions
func (NullableFlyHTTPOptions) IsSet ¶
func (v NullableFlyHTTPOptions) IsSet() bool
func (NullableFlyHTTPOptions) MarshalJSON ¶
func (v NullableFlyHTTPOptions) MarshalJSON() ([]byte, error)
func (*NullableFlyHTTPOptions) Set ¶
func (v *NullableFlyHTTPOptions) Set(val *FlyHTTPOptions)
func (*NullableFlyHTTPOptions) UnmarshalJSON ¶
func (v *NullableFlyHTTPOptions) UnmarshalJSON(src []byte) error
func (*NullableFlyHTTPOptions) Unset ¶
func (v *NullableFlyHTTPOptions) Unset()
type NullableFlyHTTPResponseOptions ¶
type NullableFlyHTTPResponseOptions struct {
// contains filtered or unexported fields
}
func NewNullableFlyHTTPResponseOptions ¶
func NewNullableFlyHTTPResponseOptions(val *FlyHTTPResponseOptions) *NullableFlyHTTPResponseOptions
func (NullableFlyHTTPResponseOptions) Get ¶
func (v NullableFlyHTTPResponseOptions) Get() *FlyHTTPResponseOptions
func (NullableFlyHTTPResponseOptions) IsSet ¶
func (v NullableFlyHTTPResponseOptions) IsSet() bool
func (NullableFlyHTTPResponseOptions) MarshalJSON ¶
func (v NullableFlyHTTPResponseOptions) MarshalJSON() ([]byte, error)
func (*NullableFlyHTTPResponseOptions) Set ¶
func (v *NullableFlyHTTPResponseOptions) Set(val *FlyHTTPResponseOptions)
func (*NullableFlyHTTPResponseOptions) UnmarshalJSON ¶
func (v *NullableFlyHTTPResponseOptions) UnmarshalJSON(src []byte) error
func (*NullableFlyHTTPResponseOptions) Unset ¶
func (v *NullableFlyHTTPResponseOptions) Unset()
type NullableFlyMachineCheck ¶
type NullableFlyMachineCheck struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineCheck ¶
func NewNullableFlyMachineCheck(val *FlyMachineCheck) *NullableFlyMachineCheck
func (NullableFlyMachineCheck) Get ¶
func (v NullableFlyMachineCheck) Get() *FlyMachineCheck
func (NullableFlyMachineCheck) IsSet ¶
func (v NullableFlyMachineCheck) IsSet() bool
func (NullableFlyMachineCheck) MarshalJSON ¶
func (v NullableFlyMachineCheck) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineCheck) Set ¶
func (v *NullableFlyMachineCheck) Set(val *FlyMachineCheck)
func (*NullableFlyMachineCheck) UnmarshalJSON ¶
func (v *NullableFlyMachineCheck) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineCheck) Unset ¶
func (v *NullableFlyMachineCheck) Unset()
type NullableFlyMachineConfig ¶
type NullableFlyMachineConfig struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineConfig ¶
func NewNullableFlyMachineConfig(val *FlyMachineConfig) *NullableFlyMachineConfig
func (NullableFlyMachineConfig) Get ¶
func (v NullableFlyMachineConfig) Get() *FlyMachineConfig
func (NullableFlyMachineConfig) IsSet ¶
func (v NullableFlyMachineConfig) IsSet() bool
func (NullableFlyMachineConfig) MarshalJSON ¶
func (v NullableFlyMachineConfig) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineConfig) Set ¶
func (v *NullableFlyMachineConfig) Set(val *FlyMachineConfig)
func (*NullableFlyMachineConfig) UnmarshalJSON ¶
func (v *NullableFlyMachineConfig) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineConfig) Unset ¶
func (v *NullableFlyMachineConfig) Unset()
type NullableFlyMachineGuest ¶
type NullableFlyMachineGuest struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineGuest ¶
func NewNullableFlyMachineGuest(val *FlyMachineGuest) *NullableFlyMachineGuest
func (NullableFlyMachineGuest) Get ¶
func (v NullableFlyMachineGuest) Get() *FlyMachineGuest
func (NullableFlyMachineGuest) IsSet ¶
func (v NullableFlyMachineGuest) IsSet() bool
func (NullableFlyMachineGuest) MarshalJSON ¶
func (v NullableFlyMachineGuest) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineGuest) Set ¶
func (v *NullableFlyMachineGuest) Set(val *FlyMachineGuest)
func (*NullableFlyMachineGuest) UnmarshalJSON ¶
func (v *NullableFlyMachineGuest) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineGuest) Unset ¶
func (v *NullableFlyMachineGuest) Unset()
type NullableFlyMachineHTTPHeader ¶
type NullableFlyMachineHTTPHeader struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineHTTPHeader ¶
func NewNullableFlyMachineHTTPHeader(val *FlyMachineHTTPHeader) *NullableFlyMachineHTTPHeader
func (NullableFlyMachineHTTPHeader) Get ¶
func (v NullableFlyMachineHTTPHeader) Get() *FlyMachineHTTPHeader
func (NullableFlyMachineHTTPHeader) IsSet ¶
func (v NullableFlyMachineHTTPHeader) IsSet() bool
func (NullableFlyMachineHTTPHeader) MarshalJSON ¶
func (v NullableFlyMachineHTTPHeader) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineHTTPHeader) Set ¶
func (v *NullableFlyMachineHTTPHeader) Set(val *FlyMachineHTTPHeader)
func (*NullableFlyMachineHTTPHeader) UnmarshalJSON ¶
func (v *NullableFlyMachineHTTPHeader) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineHTTPHeader) Unset ¶
func (v *NullableFlyMachineHTTPHeader) Unset()
type NullableFlyMachineInit ¶
type NullableFlyMachineInit struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineInit ¶
func NewNullableFlyMachineInit(val *FlyMachineInit) *NullableFlyMachineInit
func (NullableFlyMachineInit) Get ¶
func (v NullableFlyMachineInit) Get() *FlyMachineInit
func (NullableFlyMachineInit) IsSet ¶
func (v NullableFlyMachineInit) IsSet() bool
func (NullableFlyMachineInit) MarshalJSON ¶
func (v NullableFlyMachineInit) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineInit) Set ¶
func (v *NullableFlyMachineInit) Set(val *FlyMachineInit)
func (*NullableFlyMachineInit) UnmarshalJSON ¶
func (v *NullableFlyMachineInit) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineInit) Unset ¶
func (v *NullableFlyMachineInit) Unset()
type NullableFlyMachineMetrics ¶
type NullableFlyMachineMetrics struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineMetrics ¶
func NewNullableFlyMachineMetrics(val *FlyMachineMetrics) *NullableFlyMachineMetrics
func (NullableFlyMachineMetrics) Get ¶
func (v NullableFlyMachineMetrics) Get() *FlyMachineMetrics
func (NullableFlyMachineMetrics) IsSet ¶
func (v NullableFlyMachineMetrics) IsSet() bool
func (NullableFlyMachineMetrics) MarshalJSON ¶
func (v NullableFlyMachineMetrics) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineMetrics) Set ¶
func (v *NullableFlyMachineMetrics) Set(val *FlyMachineMetrics)
func (*NullableFlyMachineMetrics) UnmarshalJSON ¶
func (v *NullableFlyMachineMetrics) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineMetrics) Unset ¶
func (v *NullableFlyMachineMetrics) Unset()
type NullableFlyMachinePort ¶
type NullableFlyMachinePort struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachinePort ¶
func NewNullableFlyMachinePort(val *FlyMachinePort) *NullableFlyMachinePort
func (NullableFlyMachinePort) Get ¶
func (v NullableFlyMachinePort) Get() *FlyMachinePort
func (NullableFlyMachinePort) IsSet ¶
func (v NullableFlyMachinePort) IsSet() bool
func (NullableFlyMachinePort) MarshalJSON ¶
func (v NullableFlyMachinePort) MarshalJSON() ([]byte, error)
func (*NullableFlyMachinePort) Set ¶
func (v *NullableFlyMachinePort) Set(val *FlyMachinePort)
func (*NullableFlyMachinePort) UnmarshalJSON ¶
func (v *NullableFlyMachinePort) UnmarshalJSON(src []byte) error
func (*NullableFlyMachinePort) Unset ¶
func (v *NullableFlyMachinePort) Unset()
type NullableFlyMachineProcess ¶
type NullableFlyMachineProcess struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineProcess ¶
func NewNullableFlyMachineProcess(val *FlyMachineProcess) *NullableFlyMachineProcess
func (NullableFlyMachineProcess) Get ¶
func (v NullableFlyMachineProcess) Get() *FlyMachineProcess
func (NullableFlyMachineProcess) IsSet ¶
func (v NullableFlyMachineProcess) IsSet() bool
func (NullableFlyMachineProcess) MarshalJSON ¶
func (v NullableFlyMachineProcess) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineProcess) Set ¶
func (v *NullableFlyMachineProcess) Set(val *FlyMachineProcess)
func (*NullableFlyMachineProcess) UnmarshalJSON ¶
func (v *NullableFlyMachineProcess) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineProcess) Unset ¶
func (v *NullableFlyMachineProcess) Unset()
type NullableFlyMachineRestart ¶
type NullableFlyMachineRestart struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineRestart ¶
func NewNullableFlyMachineRestart(val *FlyMachineRestart) *NullableFlyMachineRestart
func (NullableFlyMachineRestart) Get ¶
func (v NullableFlyMachineRestart) Get() *FlyMachineRestart
func (NullableFlyMachineRestart) IsSet ¶
func (v NullableFlyMachineRestart) IsSet() bool
func (NullableFlyMachineRestart) MarshalJSON ¶
func (v NullableFlyMachineRestart) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineRestart) Set ¶
func (v *NullableFlyMachineRestart) Set(val *FlyMachineRestart)
func (*NullableFlyMachineRestart) UnmarshalJSON ¶
func (v *NullableFlyMachineRestart) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineRestart) Unset ¶
func (v *NullableFlyMachineRestart) Unset()
type NullableFlyMachineSecret ¶
type NullableFlyMachineSecret struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineSecret ¶
func NewNullableFlyMachineSecret(val *FlyMachineSecret) *NullableFlyMachineSecret
func (NullableFlyMachineSecret) Get ¶
func (v NullableFlyMachineSecret) Get() *FlyMachineSecret
func (NullableFlyMachineSecret) IsSet ¶
func (v NullableFlyMachineSecret) IsSet() bool
func (NullableFlyMachineSecret) MarshalJSON ¶
func (v NullableFlyMachineSecret) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineSecret) Set ¶
func (v *NullableFlyMachineSecret) Set(val *FlyMachineSecret)
func (*NullableFlyMachineSecret) UnmarshalJSON ¶
func (v *NullableFlyMachineSecret) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineSecret) Unset ¶
func (v *NullableFlyMachineSecret) Unset()
type NullableFlyMachineService ¶
type NullableFlyMachineService struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineService ¶
func NewNullableFlyMachineService(val *FlyMachineService) *NullableFlyMachineService
func (NullableFlyMachineService) Get ¶
func (v NullableFlyMachineService) Get() *FlyMachineService
func (NullableFlyMachineService) IsSet ¶
func (v NullableFlyMachineService) IsSet() bool
func (NullableFlyMachineService) MarshalJSON ¶
func (v NullableFlyMachineService) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineService) Set ¶
func (v *NullableFlyMachineService) Set(val *FlyMachineService)
func (*NullableFlyMachineService) UnmarshalJSON ¶
func (v *NullableFlyMachineService) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineService) Unset ¶
func (v *NullableFlyMachineService) Unset()
type NullableFlyMachineServiceCheck ¶
type NullableFlyMachineServiceCheck struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineServiceCheck ¶
func NewNullableFlyMachineServiceCheck(val *FlyMachineServiceCheck) *NullableFlyMachineServiceCheck
func (NullableFlyMachineServiceCheck) Get ¶
func (v NullableFlyMachineServiceCheck) Get() *FlyMachineServiceCheck
func (NullableFlyMachineServiceCheck) IsSet ¶
func (v NullableFlyMachineServiceCheck) IsSet() bool
func (NullableFlyMachineServiceCheck) MarshalJSON ¶
func (v NullableFlyMachineServiceCheck) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineServiceCheck) Set ¶
func (v *NullableFlyMachineServiceCheck) Set(val *FlyMachineServiceCheck)
func (*NullableFlyMachineServiceCheck) UnmarshalJSON ¶
func (v *NullableFlyMachineServiceCheck) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineServiceCheck) Unset ¶
func (v *NullableFlyMachineServiceCheck) Unset()
type NullableFlyMachineServiceConcurrency ¶
type NullableFlyMachineServiceConcurrency struct {
// contains filtered or unexported fields
}
func NewNullableFlyMachineServiceConcurrency ¶
func NewNullableFlyMachineServiceConcurrency(val *FlyMachineServiceConcurrency) *NullableFlyMachineServiceConcurrency
func (NullableFlyMachineServiceConcurrency) Get ¶
func (v NullableFlyMachineServiceConcurrency) Get() *FlyMachineServiceConcurrency
func (NullableFlyMachineServiceConcurrency) IsSet ¶
func (v NullableFlyMachineServiceConcurrency) IsSet() bool
func (NullableFlyMachineServiceConcurrency) MarshalJSON ¶
func (v NullableFlyMachineServiceConcurrency) MarshalJSON() ([]byte, error)
func (*NullableFlyMachineServiceConcurrency) Set ¶
func (v *NullableFlyMachineServiceConcurrency) Set(val *FlyMachineServiceConcurrency)
func (*NullableFlyMachineServiceConcurrency) UnmarshalJSON ¶
func (v *NullableFlyMachineServiceConcurrency) UnmarshalJSON(src []byte) error
func (*NullableFlyMachineServiceConcurrency) Unset ¶
func (v *NullableFlyMachineServiceConcurrency) Unset()
type NullableFlyProxyProtoOptions ¶
type NullableFlyProxyProtoOptions struct {
// contains filtered or unexported fields
}
func NewNullableFlyProxyProtoOptions ¶
func NewNullableFlyProxyProtoOptions(val *FlyProxyProtoOptions) *NullableFlyProxyProtoOptions
func (NullableFlyProxyProtoOptions) Get ¶
func (v NullableFlyProxyProtoOptions) Get() *FlyProxyProtoOptions
func (NullableFlyProxyProtoOptions) IsSet ¶
func (v NullableFlyProxyProtoOptions) IsSet() bool
func (NullableFlyProxyProtoOptions) MarshalJSON ¶
func (v NullableFlyProxyProtoOptions) MarshalJSON() ([]byte, error)
func (*NullableFlyProxyProtoOptions) Set ¶
func (v *NullableFlyProxyProtoOptions) Set(val *FlyProxyProtoOptions)
func (*NullableFlyProxyProtoOptions) UnmarshalJSON ¶
func (v *NullableFlyProxyProtoOptions) UnmarshalJSON(src []byte) error
func (*NullableFlyProxyProtoOptions) Unset ¶
func (v *NullableFlyProxyProtoOptions) Unset()
type NullableFlyStatic ¶
type NullableFlyStatic struct {
// contains filtered or unexported fields
}
func NewNullableFlyStatic ¶
func NewNullableFlyStatic(val *FlyStatic) *NullableFlyStatic
func (NullableFlyStatic) Get ¶
func (v NullableFlyStatic) Get() *FlyStatic
func (NullableFlyStatic) IsSet ¶
func (v NullableFlyStatic) IsSet() bool
func (NullableFlyStatic) MarshalJSON ¶
func (v NullableFlyStatic) MarshalJSON() ([]byte, error)
func (*NullableFlyStatic) Set ¶
func (v *NullableFlyStatic) Set(val *FlyStatic)
func (*NullableFlyStatic) UnmarshalJSON ¶
func (v *NullableFlyStatic) UnmarshalJSON(src []byte) error
func (*NullableFlyStatic) Unset ¶
func (v *NullableFlyStatic) Unset()
type NullableFlyStopConfig ¶
type NullableFlyStopConfig struct {
// contains filtered or unexported fields
}
func NewNullableFlyStopConfig ¶
func NewNullableFlyStopConfig(val *FlyStopConfig) *NullableFlyStopConfig
func (NullableFlyStopConfig) Get ¶
func (v NullableFlyStopConfig) Get() *FlyStopConfig
func (NullableFlyStopConfig) IsSet ¶
func (v NullableFlyStopConfig) IsSet() bool
func (NullableFlyStopConfig) MarshalJSON ¶
func (v NullableFlyStopConfig) MarshalJSON() ([]byte, error)
func (*NullableFlyStopConfig) Set ¶
func (v *NullableFlyStopConfig) Set(val *FlyStopConfig)
func (*NullableFlyStopConfig) UnmarshalJSON ¶
func (v *NullableFlyStopConfig) UnmarshalJSON(src []byte) error
func (*NullableFlyStopConfig) Unset ¶
func (v *NullableFlyStopConfig) Unset()
type NullableFlyTCPHealthcheck ¶
type NullableFlyTCPHealthcheck struct {
// contains filtered or unexported fields
}
func NewNullableFlyTCPHealthcheck ¶
func NewNullableFlyTCPHealthcheck(val *FlyTCPHealthcheck) *NullableFlyTCPHealthcheck
func (NullableFlyTCPHealthcheck) Get ¶
func (v NullableFlyTCPHealthcheck) Get() *FlyTCPHealthcheck
func (NullableFlyTCPHealthcheck) IsSet ¶
func (v NullableFlyTCPHealthcheck) IsSet() bool
func (NullableFlyTCPHealthcheck) MarshalJSON ¶
func (v NullableFlyTCPHealthcheck) MarshalJSON() ([]byte, error)
func (*NullableFlyTCPHealthcheck) Set ¶
func (v *NullableFlyTCPHealthcheck) Set(val *FlyTCPHealthcheck)
func (*NullableFlyTCPHealthcheck) UnmarshalJSON ¶
func (v *NullableFlyTCPHealthcheck) UnmarshalJSON(src []byte) error
func (*NullableFlyTCPHealthcheck) Unset ¶
func (v *NullableFlyTCPHealthcheck) Unset()
type NullableFlyTLSOptions ¶
type NullableFlyTLSOptions struct {
// contains filtered or unexported fields
}
func NewNullableFlyTLSOptions ¶
func NewNullableFlyTLSOptions(val *FlyTLSOptions) *NullableFlyTLSOptions
func (NullableFlyTLSOptions) Get ¶
func (v NullableFlyTLSOptions) Get() *FlyTLSOptions
func (NullableFlyTLSOptions) IsSet ¶
func (v NullableFlyTLSOptions) IsSet() bool
func (NullableFlyTLSOptions) MarshalJSON ¶
func (v NullableFlyTLSOptions) MarshalJSON() ([]byte, error)
func (*NullableFlyTLSOptions) Set ¶
func (v *NullableFlyTLSOptions) Set(val *FlyTLSOptions)
func (*NullableFlyTLSOptions) UnmarshalJSON ¶
func (v *NullableFlyTLSOptions) UnmarshalJSON(src []byte) error
func (*NullableFlyTLSOptions) Unset ¶
func (v *NullableFlyTLSOptions) Unset()
type NullableFlyUnhealthyPolicy ¶
type NullableFlyUnhealthyPolicy struct {
// contains filtered or unexported fields
}
func NewNullableFlyUnhealthyPolicy ¶
func NewNullableFlyUnhealthyPolicy(val *FlyUnhealthyPolicy) *NullableFlyUnhealthyPolicy
func (NullableFlyUnhealthyPolicy) Get ¶
func (v NullableFlyUnhealthyPolicy) Get() *FlyUnhealthyPolicy
func (NullableFlyUnhealthyPolicy) IsSet ¶
func (v NullableFlyUnhealthyPolicy) IsSet() bool
func (NullableFlyUnhealthyPolicy) MarshalJSON ¶
func (v NullableFlyUnhealthyPolicy) MarshalJSON() ([]byte, error)
func (*NullableFlyUnhealthyPolicy) Set ¶
func (v *NullableFlyUnhealthyPolicy) Set(val *FlyUnhealthyPolicy)
func (*NullableFlyUnhealthyPolicy) UnmarshalJSON ¶
func (v *NullableFlyUnhealthyPolicy) UnmarshalJSON(src []byte) error
func (*NullableFlyUnhealthyPolicy) Unset ¶
func (v *NullableFlyUnhealthyPolicy) Unset()
type NullableFlydv1ExecResponse ¶
type NullableFlydv1ExecResponse struct {
// contains filtered or unexported fields
}
func NewNullableFlydv1ExecResponse ¶
func NewNullableFlydv1ExecResponse(val *Flydv1ExecResponse) *NullableFlydv1ExecResponse
func (NullableFlydv1ExecResponse) Get ¶
func (v NullableFlydv1ExecResponse) Get() *Flydv1ExecResponse
func (NullableFlydv1ExecResponse) IsSet ¶
func (v NullableFlydv1ExecResponse) IsSet() bool
func (NullableFlydv1ExecResponse) MarshalJSON ¶
func (v NullableFlydv1ExecResponse) MarshalJSON() ([]byte, error)
func (*NullableFlydv1ExecResponse) Set ¶
func (v *NullableFlydv1ExecResponse) Set(val *Flydv1ExecResponse)
func (*NullableFlydv1ExecResponse) UnmarshalJSON ¶
func (v *NullableFlydv1ExecResponse) UnmarshalJSON(src []byte) error
func (*NullableFlydv1ExecResponse) Unset ¶
func (v *NullableFlydv1ExecResponse) Unset()
type NullableImageRef ¶
type NullableImageRef struct {
// contains filtered or unexported fields
}
func NewNullableImageRef ¶
func NewNullableImageRef(val *ImageRef) *NullableImageRef
func (NullableImageRef) Get ¶
func (v NullableImageRef) Get() *ImageRef
func (NullableImageRef) IsSet ¶
func (v NullableImageRef) IsSet() bool
func (NullableImageRef) MarshalJSON ¶
func (v NullableImageRef) MarshalJSON() ([]byte, error)
func (*NullableImageRef) Set ¶
func (v *NullableImageRef) Set(val *ImageRef)
func (*NullableImageRef) UnmarshalJSON ¶
func (v *NullableImageRef) UnmarshalJSON(src []byte) error
func (*NullableImageRef) Unset ¶
func (v *NullableImageRef) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLease ¶
type NullableLease struct {
// contains filtered or unexported fields
}
func NewNullableLease ¶
func NewNullableLease(val *Lease) *NullableLease
func (NullableLease) Get ¶
func (v NullableLease) Get() *Lease
func (NullableLease) IsSet ¶
func (v NullableLease) IsSet() bool
func (NullableLease) MarshalJSON ¶
func (v NullableLease) MarshalJSON() ([]byte, error)
func (*NullableLease) Set ¶
func (v *NullableLease) Set(val *Lease)
func (*NullableLease) UnmarshalJSON ¶
func (v *NullableLease) UnmarshalJSON(src []byte) error
func (*NullableLease) Unset ¶
func (v *NullableLease) Unset()
type NullableListApp ¶
type NullableListApp struct {
// contains filtered or unexported fields
}
func NewNullableListApp ¶
func NewNullableListApp(val *ListApp) *NullableListApp
func (NullableListApp) Get ¶
func (v NullableListApp) Get() *ListApp
func (NullableListApp) IsSet ¶
func (v NullableListApp) IsSet() bool
func (NullableListApp) MarshalJSON ¶
func (v NullableListApp) MarshalJSON() ([]byte, error)
func (*NullableListApp) Set ¶
func (v *NullableListApp) Set(val *ListApp)
func (*NullableListApp) UnmarshalJSON ¶
func (v *NullableListApp) UnmarshalJSON(src []byte) error
func (*NullableListApp) Unset ¶
func (v *NullableListApp) Unset()
type NullableListAppsResponse ¶
type NullableListAppsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListAppsResponse ¶
func NewNullableListAppsResponse(val *ListAppsResponse) *NullableListAppsResponse
func (NullableListAppsResponse) Get ¶
func (v NullableListAppsResponse) Get() *ListAppsResponse
func (NullableListAppsResponse) IsSet ¶
func (v NullableListAppsResponse) IsSet() bool
func (NullableListAppsResponse) MarshalJSON ¶
func (v NullableListAppsResponse) MarshalJSON() ([]byte, error)
func (*NullableListAppsResponse) Set ¶
func (v *NullableListAppsResponse) Set(val *ListAppsResponse)
func (*NullableListAppsResponse) UnmarshalJSON ¶
func (v *NullableListAppsResponse) UnmarshalJSON(src []byte) error
func (*NullableListAppsResponse) Unset ¶
func (v *NullableListAppsResponse) Unset()
type NullableListenSocket ¶
type NullableListenSocket struct {
// contains filtered or unexported fields
}
func NewNullableListenSocket ¶
func NewNullableListenSocket(val *ListenSocket) *NullableListenSocket
func (NullableListenSocket) Get ¶
func (v NullableListenSocket) Get() *ListenSocket
func (NullableListenSocket) IsSet ¶
func (v NullableListenSocket) IsSet() bool
func (NullableListenSocket) MarshalJSON ¶
func (v NullableListenSocket) MarshalJSON() ([]byte, error)
func (*NullableListenSocket) Set ¶
func (v *NullableListenSocket) Set(val *ListenSocket)
func (*NullableListenSocket) UnmarshalJSON ¶
func (v *NullableListenSocket) UnmarshalJSON(src []byte) error
func (*NullableListenSocket) Unset ¶
func (v *NullableListenSocket) Unset()
type NullableMachine ¶
type NullableMachine struct {
// contains filtered or unexported fields
}
func NewNullableMachine ¶
func NewNullableMachine(val *Machine) *NullableMachine
func (NullableMachine) Get ¶
func (v NullableMachine) Get() *Machine
func (NullableMachine) IsSet ¶
func (v NullableMachine) IsSet() bool
func (NullableMachine) MarshalJSON ¶
func (v NullableMachine) MarshalJSON() ([]byte, error)
func (*NullableMachine) Set ¶
func (v *NullableMachine) Set(val *Machine)
func (*NullableMachine) UnmarshalJSON ¶
func (v *NullableMachine) UnmarshalJSON(src []byte) error
func (*NullableMachine) Unset ¶
func (v *NullableMachine) Unset()
type NullableMachineEvent ¶
type NullableMachineEvent struct {
// contains filtered or unexported fields
}
func NewNullableMachineEvent ¶
func NewNullableMachineEvent(val *MachineEvent) *NullableMachineEvent
func (NullableMachineEvent) Get ¶
func (v NullableMachineEvent) Get() *MachineEvent
func (NullableMachineEvent) IsSet ¶
func (v NullableMachineEvent) IsSet() bool
func (NullableMachineEvent) MarshalJSON ¶
func (v NullableMachineEvent) MarshalJSON() ([]byte, error)
func (*NullableMachineEvent) Set ¶
func (v *NullableMachineEvent) Set(val *MachineEvent)
func (*NullableMachineEvent) UnmarshalJSON ¶
func (v *NullableMachineEvent) UnmarshalJSON(src []byte) error
func (*NullableMachineEvent) Unset ¶
func (v *NullableMachineEvent) Unset()
type NullableMachineExecRequest ¶
type NullableMachineExecRequest struct {
// contains filtered or unexported fields
}
func NewNullableMachineExecRequest ¶
func NewNullableMachineExecRequest(val *MachineExecRequest) *NullableMachineExecRequest
func (NullableMachineExecRequest) Get ¶
func (v NullableMachineExecRequest) Get() *MachineExecRequest
func (NullableMachineExecRequest) IsSet ¶
func (v NullableMachineExecRequest) IsSet() bool
func (NullableMachineExecRequest) MarshalJSON ¶
func (v NullableMachineExecRequest) MarshalJSON() ([]byte, error)
func (*NullableMachineExecRequest) Set ¶
func (v *NullableMachineExecRequest) Set(val *MachineExecRequest)
func (*NullableMachineExecRequest) UnmarshalJSON ¶
func (v *NullableMachineExecRequest) UnmarshalJSON(src []byte) error
func (*NullableMachineExecRequest) Unset ¶
func (v *NullableMachineExecRequest) Unset()
type NullableMachineVersion ¶
type NullableMachineVersion struct {
// contains filtered or unexported fields
}
func NewNullableMachineVersion ¶
func NewNullableMachineVersion(val *MachineVersion) *NullableMachineVersion
func (NullableMachineVersion) Get ¶
func (v NullableMachineVersion) Get() *MachineVersion
func (NullableMachineVersion) IsSet ¶
func (v NullableMachineVersion) IsSet() bool
func (NullableMachineVersion) MarshalJSON ¶
func (v NullableMachineVersion) MarshalJSON() ([]byte, error)
func (*NullableMachineVersion) Set ¶
func (v *NullableMachineVersion) Set(val *MachineVersion)
func (*NullableMachineVersion) UnmarshalJSON ¶
func (v *NullableMachineVersion) UnmarshalJSON(src []byte) error
func (*NullableMachineVersion) Unset ¶
func (v *NullableMachineVersion) Unset()
type NullableMainGetPlacementsRequest ¶
type NullableMainGetPlacementsRequest struct {
// contains filtered or unexported fields
}
func NewNullableMainGetPlacementsRequest ¶
func NewNullableMainGetPlacementsRequest(val *MainGetPlacementsRequest) *NullableMainGetPlacementsRequest
func (NullableMainGetPlacementsRequest) Get ¶
func (v NullableMainGetPlacementsRequest) Get() *MainGetPlacementsRequest
func (NullableMainGetPlacementsRequest) IsSet ¶
func (v NullableMainGetPlacementsRequest) IsSet() bool
func (NullableMainGetPlacementsRequest) MarshalJSON ¶
func (v NullableMainGetPlacementsRequest) MarshalJSON() ([]byte, error)
func (*NullableMainGetPlacementsRequest) Set ¶
func (v *NullableMainGetPlacementsRequest) Set(val *MainGetPlacementsRequest)
func (*NullableMainGetPlacementsRequest) UnmarshalJSON ¶
func (v *NullableMainGetPlacementsRequest) UnmarshalJSON(src []byte) error
func (*NullableMainGetPlacementsRequest) Unset ¶
func (v *NullableMainGetPlacementsRequest) Unset()
type NullableMainGetPlacementsResponse ¶
type NullableMainGetPlacementsResponse struct {
// contains filtered or unexported fields
}
func NewNullableMainGetPlacementsResponse ¶
func NewNullableMainGetPlacementsResponse(val *MainGetPlacementsResponse) *NullableMainGetPlacementsResponse
func (NullableMainGetPlacementsResponse) Get ¶
func (v NullableMainGetPlacementsResponse) Get() *MainGetPlacementsResponse
func (NullableMainGetPlacementsResponse) IsSet ¶
func (v NullableMainGetPlacementsResponse) IsSet() bool
func (NullableMainGetPlacementsResponse) MarshalJSON ¶
func (v NullableMainGetPlacementsResponse) MarshalJSON() ([]byte, error)
func (*NullableMainGetPlacementsResponse) Set ¶
func (v *NullableMainGetPlacementsResponse) Set(val *MainGetPlacementsResponse)
func (*NullableMainGetPlacementsResponse) UnmarshalJSON ¶
func (v *NullableMainGetPlacementsResponse) UnmarshalJSON(src []byte) error
func (*NullableMainGetPlacementsResponse) Unset ¶
func (v *NullableMainGetPlacementsResponse) Unset()
type NullableMainRegionResponse ¶
type NullableMainRegionResponse struct {
// contains filtered or unexported fields
}
func NewNullableMainRegionResponse ¶
func NewNullableMainRegionResponse(val *MainRegionResponse) *NullableMainRegionResponse
func (NullableMainRegionResponse) Get ¶
func (v NullableMainRegionResponse) Get() *MainRegionResponse
func (NullableMainRegionResponse) IsSet ¶
func (v NullableMainRegionResponse) IsSet() bool
func (NullableMainRegionResponse) MarshalJSON ¶
func (v NullableMainRegionResponse) MarshalJSON() ([]byte, error)
func (*NullableMainRegionResponse) Set ¶
func (v *NullableMainRegionResponse) Set(val *MainRegionResponse)
func (*NullableMainRegionResponse) UnmarshalJSON ¶
func (v *NullableMainRegionResponse) UnmarshalJSON(src []byte) error
func (*NullableMainRegionResponse) Unset ¶
func (v *NullableMainRegionResponse) Unset()
type NullableMainStatusCode ¶
type NullableMainStatusCode struct {
// contains filtered or unexported fields
}
func NewNullableMainStatusCode ¶
func NewNullableMainStatusCode(val *MainStatusCode) *NullableMainStatusCode
func (NullableMainStatusCode) Get ¶
func (v NullableMainStatusCode) Get() *MainStatusCode
func (NullableMainStatusCode) IsSet ¶
func (v NullableMainStatusCode) IsSet() bool
func (NullableMainStatusCode) MarshalJSON ¶
func (v NullableMainStatusCode) MarshalJSON() ([]byte, error)
func (*NullableMainStatusCode) Set ¶
func (v *NullableMainStatusCode) Set(val *MainStatusCode)
func (*NullableMainStatusCode) UnmarshalJSON ¶
func (v *NullableMainStatusCode) UnmarshalJSON(src []byte) error
func (*NullableMainStatusCode) Unset ¶
func (v *NullableMainStatusCode) Unset()
type NullableOrganization ¶
type NullableOrganization struct {
// contains filtered or unexported fields
}
func NewNullableOrganization ¶
func NewNullableOrganization(val *Organization) *NullableOrganization
func (NullableOrganization) Get ¶
func (v NullableOrganization) Get() *Organization
func (NullableOrganization) IsSet ¶
func (v NullableOrganization) IsSet() bool
func (NullableOrganization) MarshalJSON ¶
func (v NullableOrganization) MarshalJSON() ([]byte, error)
func (*NullableOrganization) Set ¶
func (v *NullableOrganization) Set(val *Organization)
func (*NullableOrganization) UnmarshalJSON ¶
func (v *NullableOrganization) UnmarshalJSON(src []byte) error
func (*NullableOrganization) Unset ¶
func (v *NullableOrganization) Unset()
type NullablePlacementRegionPlacement ¶
type NullablePlacementRegionPlacement struct {
// contains filtered or unexported fields
}
func NewNullablePlacementRegionPlacement ¶
func NewNullablePlacementRegionPlacement(val *PlacementRegionPlacement) *NullablePlacementRegionPlacement
func (NullablePlacementRegionPlacement) Get ¶
func (v NullablePlacementRegionPlacement) Get() *PlacementRegionPlacement
func (NullablePlacementRegionPlacement) IsSet ¶
func (v NullablePlacementRegionPlacement) IsSet() bool
func (NullablePlacementRegionPlacement) MarshalJSON ¶
func (v NullablePlacementRegionPlacement) MarshalJSON() ([]byte, error)
func (*NullablePlacementRegionPlacement) Set ¶
func (v *NullablePlacementRegionPlacement) Set(val *PlacementRegionPlacement)
func (*NullablePlacementRegionPlacement) UnmarshalJSON ¶
func (v *NullablePlacementRegionPlacement) UnmarshalJSON(src []byte) error
func (*NullablePlacementRegionPlacement) Unset ¶
func (v *NullablePlacementRegionPlacement) Unset()
type NullableProcessStat ¶
type NullableProcessStat struct {
// contains filtered or unexported fields
}
func NewNullableProcessStat ¶
func NewNullableProcessStat(val *ProcessStat) *NullableProcessStat
func (NullableProcessStat) Get ¶
func (v NullableProcessStat) Get() *ProcessStat
func (NullableProcessStat) IsSet ¶
func (v NullableProcessStat) IsSet() bool
func (NullableProcessStat) MarshalJSON ¶
func (v NullableProcessStat) MarshalJSON() ([]byte, error)
func (*NullableProcessStat) Set ¶
func (v *NullableProcessStat) Set(val *ProcessStat)
func (*NullableProcessStat) UnmarshalJSON ¶
func (v *NullableProcessStat) UnmarshalJSON(src []byte) error
func (*NullableProcessStat) Unset ¶
func (v *NullableProcessStat) Unset()
type NullableReadsGetCapacityPerRegionRow ¶
type NullableReadsGetCapacityPerRegionRow struct {
// contains filtered or unexported fields
}
func NewNullableReadsGetCapacityPerRegionRow ¶
func NewNullableReadsGetCapacityPerRegionRow(val *ReadsGetCapacityPerRegionRow) *NullableReadsGetCapacityPerRegionRow
func (NullableReadsGetCapacityPerRegionRow) Get ¶
func (v NullableReadsGetCapacityPerRegionRow) Get() *ReadsGetCapacityPerRegionRow
func (NullableReadsGetCapacityPerRegionRow) IsSet ¶
func (v NullableReadsGetCapacityPerRegionRow) IsSet() bool
func (NullableReadsGetCapacityPerRegionRow) MarshalJSON ¶
func (v NullableReadsGetCapacityPerRegionRow) MarshalJSON() ([]byte, error)
func (*NullableReadsGetCapacityPerRegionRow) Set ¶
func (v *NullableReadsGetCapacityPerRegionRow) Set(val *ReadsGetCapacityPerRegionRow)
func (*NullableReadsGetCapacityPerRegionRow) UnmarshalJSON ¶
func (v *NullableReadsGetCapacityPerRegionRow) UnmarshalJSON(src []byte) error
func (*NullableReadsGetCapacityPerRegionRow) Unset ¶
func (v *NullableReadsGetCapacityPerRegionRow) Unset()
type NullableSecretKey ¶
type NullableSecretKey struct {
// contains filtered or unexported fields
}
func NewNullableSecretKey ¶
func NewNullableSecretKey(val *SecretKey) *NullableSecretKey
func (NullableSecretKey) Get ¶
func (v NullableSecretKey) Get() *SecretKey
func (NullableSecretKey) IsSet ¶
func (v NullableSecretKey) IsSet() bool
func (NullableSecretKey) MarshalJSON ¶
func (v NullableSecretKey) MarshalJSON() ([]byte, error)
func (*NullableSecretKey) Set ¶
func (v *NullableSecretKey) Set(val *SecretKey)
func (*NullableSecretKey) UnmarshalJSON ¶
func (v *NullableSecretKey) UnmarshalJSON(src []byte) error
func (*NullableSecretKey) Unset ¶
func (v *NullableSecretKey) Unset()
type NullableSecretKeys ¶
type NullableSecretKeys struct {
// contains filtered or unexported fields
}
func NewNullableSecretKeys ¶
func NewNullableSecretKeys(val *SecretKeys) *NullableSecretKeys
func (NullableSecretKeys) Get ¶
func (v NullableSecretKeys) Get() *SecretKeys
func (NullableSecretKeys) IsSet ¶
func (v NullableSecretKeys) IsSet() bool
func (NullableSecretKeys) MarshalJSON ¶
func (v NullableSecretKeys) MarshalJSON() ([]byte, error)
func (*NullableSecretKeys) Set ¶
func (v *NullableSecretKeys) Set(val *SecretKeys)
func (*NullableSecretKeys) UnmarshalJSON ¶
func (v *NullableSecretKeys) UnmarshalJSON(src []byte) error
func (*NullableSecretKeys) Unset ¶
func (v *NullableSecretKeys) Unset()
type NullableSetAppSecretRequest ¶
type NullableSetAppSecretRequest struct {
// contains filtered or unexported fields
}
func NewNullableSetAppSecretRequest ¶
func NewNullableSetAppSecretRequest(val *SetAppSecretRequest) *NullableSetAppSecretRequest
func (NullableSetAppSecretRequest) Get ¶
func (v NullableSetAppSecretRequest) Get() *SetAppSecretRequest
func (NullableSetAppSecretRequest) IsSet ¶
func (v NullableSetAppSecretRequest) IsSet() bool
func (NullableSetAppSecretRequest) MarshalJSON ¶
func (v NullableSetAppSecretRequest) MarshalJSON() ([]byte, error)
func (*NullableSetAppSecretRequest) Set ¶
func (v *NullableSetAppSecretRequest) Set(val *SetAppSecretRequest)
func (*NullableSetAppSecretRequest) UnmarshalJSON ¶
func (v *NullableSetAppSecretRequest) UnmarshalJSON(src []byte) error
func (*NullableSetAppSecretRequest) Unset ¶
func (v *NullableSetAppSecretRequest) Unset()
type NullableSetAppSecretResponse ¶
type NullableSetAppSecretResponse struct {
// contains filtered or unexported fields
}
func NewNullableSetAppSecretResponse ¶
func NewNullableSetAppSecretResponse(val *SetAppSecretResponse) *NullableSetAppSecretResponse
func (NullableSetAppSecretResponse) Get ¶
func (v NullableSetAppSecretResponse) Get() *SetAppSecretResponse
func (NullableSetAppSecretResponse) IsSet ¶
func (v NullableSetAppSecretResponse) IsSet() bool
func (NullableSetAppSecretResponse) MarshalJSON ¶
func (v NullableSetAppSecretResponse) MarshalJSON() ([]byte, error)
func (*NullableSetAppSecretResponse) Set ¶
func (v *NullableSetAppSecretResponse) Set(val *SetAppSecretResponse)
func (*NullableSetAppSecretResponse) UnmarshalJSON ¶
func (v *NullableSetAppSecretResponse) UnmarshalJSON(src []byte) error
func (*NullableSetAppSecretResponse) Unset ¶
func (v *NullableSetAppSecretResponse) Unset()
type NullableSetSecretkeyRequest ¶
type NullableSetSecretkeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableSetSecretkeyRequest ¶
func NewNullableSetSecretkeyRequest(val *SetSecretkeyRequest) *NullableSetSecretkeyRequest
func (NullableSetSecretkeyRequest) Get ¶
func (v NullableSetSecretkeyRequest) Get() *SetSecretkeyRequest
func (NullableSetSecretkeyRequest) IsSet ¶
func (v NullableSetSecretkeyRequest) IsSet() bool
func (NullableSetSecretkeyRequest) MarshalJSON ¶
func (v NullableSetSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*NullableSetSecretkeyRequest) Set ¶
func (v *NullableSetSecretkeyRequest) Set(val *SetSecretkeyRequest)
func (*NullableSetSecretkeyRequest) UnmarshalJSON ¶
func (v *NullableSetSecretkeyRequest) UnmarshalJSON(src []byte) error
func (*NullableSetSecretkeyRequest) Unset ¶
func (v *NullableSetSecretkeyRequest) Unset()
type NullableSetSecretkeyResponse ¶
type NullableSetSecretkeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableSetSecretkeyResponse ¶
func NewNullableSetSecretkeyResponse(val *SetSecretkeyResponse) *NullableSetSecretkeyResponse
func (NullableSetSecretkeyResponse) Get ¶
func (v NullableSetSecretkeyResponse) Get() *SetSecretkeyResponse
func (NullableSetSecretkeyResponse) IsSet ¶
func (v NullableSetSecretkeyResponse) IsSet() bool
func (NullableSetSecretkeyResponse) MarshalJSON ¶
func (v NullableSetSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*NullableSetSecretkeyResponse) Set ¶
func (v *NullableSetSecretkeyResponse) Set(val *SetSecretkeyResponse)
func (*NullableSetSecretkeyResponse) UnmarshalJSON ¶
func (v *NullableSetSecretkeyResponse) UnmarshalJSON(src []byte) error
func (*NullableSetSecretkeyResponse) Unset ¶
func (v *NullableSetSecretkeyResponse) Unset()
type NullableSignSecretkeyRequest ¶
type NullableSignSecretkeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableSignSecretkeyRequest ¶
func NewNullableSignSecretkeyRequest(val *SignSecretkeyRequest) *NullableSignSecretkeyRequest
func (NullableSignSecretkeyRequest) Get ¶
func (v NullableSignSecretkeyRequest) Get() *SignSecretkeyRequest
func (NullableSignSecretkeyRequest) IsSet ¶
func (v NullableSignSecretkeyRequest) IsSet() bool
func (NullableSignSecretkeyRequest) MarshalJSON ¶
func (v NullableSignSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*NullableSignSecretkeyRequest) Set ¶
func (v *NullableSignSecretkeyRequest) Set(val *SignSecretkeyRequest)
func (*NullableSignSecretkeyRequest) UnmarshalJSON ¶
func (v *NullableSignSecretkeyRequest) UnmarshalJSON(src []byte) error
func (*NullableSignSecretkeyRequest) Unset ¶
func (v *NullableSignSecretkeyRequest) Unset()
type NullableSignSecretkeyResponse ¶
type NullableSignSecretkeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableSignSecretkeyResponse ¶
func NewNullableSignSecretkeyResponse(val *SignSecretkeyResponse) *NullableSignSecretkeyResponse
func (NullableSignSecretkeyResponse) Get ¶
func (v NullableSignSecretkeyResponse) Get() *SignSecretkeyResponse
func (NullableSignSecretkeyResponse) IsSet ¶
func (v NullableSignSecretkeyResponse) IsSet() bool
func (NullableSignSecretkeyResponse) MarshalJSON ¶
func (v NullableSignSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*NullableSignSecretkeyResponse) Set ¶
func (v *NullableSignSecretkeyResponse) Set(val *SignSecretkeyResponse)
func (*NullableSignSecretkeyResponse) UnmarshalJSON ¶
func (v *NullableSignSecretkeyResponse) UnmarshalJSON(src []byte) error
func (*NullableSignSecretkeyResponse) Unset ¶
func (v *NullableSignSecretkeyResponse) Unset()
type NullableSignalRequest ¶
type NullableSignalRequest struct {
// contains filtered or unexported fields
}
func NewNullableSignalRequest ¶
func NewNullableSignalRequest(val *SignalRequest) *NullableSignalRequest
func (NullableSignalRequest) Get ¶
func (v NullableSignalRequest) Get() *SignalRequest
func (NullableSignalRequest) IsSet ¶
func (v NullableSignalRequest) IsSet() bool
func (NullableSignalRequest) MarshalJSON ¶
func (v NullableSignalRequest) MarshalJSON() ([]byte, error)
func (*NullableSignalRequest) Set ¶
func (v *NullableSignalRequest) Set(val *SignalRequest)
func (*NullableSignalRequest) UnmarshalJSON ¶
func (v *NullableSignalRequest) UnmarshalJSON(src []byte) error
func (*NullableSignalRequest) Unset ¶
func (v *NullableSignalRequest) Unset()
type NullableStopRequest ¶
type NullableStopRequest struct {
// contains filtered or unexported fields
}
func NewNullableStopRequest ¶
func NewNullableStopRequest(val *StopRequest) *NullableStopRequest
func (NullableStopRequest) Get ¶
func (v NullableStopRequest) Get() *StopRequest
func (NullableStopRequest) IsSet ¶
func (v NullableStopRequest) IsSet() bool
func (NullableStopRequest) MarshalJSON ¶
func (v NullableStopRequest) MarshalJSON() ([]byte, error)
func (*NullableStopRequest) Set ¶
func (v *NullableStopRequest) Set(val *StopRequest)
func (*NullableStopRequest) UnmarshalJSON ¶
func (v *NullableStopRequest) UnmarshalJSON(src []byte) error
func (*NullableStopRequest) Unset ¶
func (v *NullableStopRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateMachineRequest ¶
type NullableUpdateMachineRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateMachineRequest ¶
func NewNullableUpdateMachineRequest(val *UpdateMachineRequest) *NullableUpdateMachineRequest
func (NullableUpdateMachineRequest) Get ¶
func (v NullableUpdateMachineRequest) Get() *UpdateMachineRequest
func (NullableUpdateMachineRequest) IsSet ¶
func (v NullableUpdateMachineRequest) IsSet() bool
func (NullableUpdateMachineRequest) MarshalJSON ¶
func (v NullableUpdateMachineRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateMachineRequest) Set ¶
func (v *NullableUpdateMachineRequest) Set(val *UpdateMachineRequest)
func (*NullableUpdateMachineRequest) UnmarshalJSON ¶
func (v *NullableUpdateMachineRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateMachineRequest) Unset ¶
func (v *NullableUpdateMachineRequest) Unset()
type NullableUpdateVolumeRequest ¶
type NullableUpdateVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVolumeRequest ¶
func NewNullableUpdateVolumeRequest(val *UpdateVolumeRequest) *NullableUpdateVolumeRequest
func (NullableUpdateVolumeRequest) Get ¶
func (v NullableUpdateVolumeRequest) Get() *UpdateVolumeRequest
func (NullableUpdateVolumeRequest) IsSet ¶
func (v NullableUpdateVolumeRequest) IsSet() bool
func (NullableUpdateVolumeRequest) MarshalJSON ¶
func (v NullableUpdateVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateVolumeRequest) Set ¶
func (v *NullableUpdateVolumeRequest) Set(val *UpdateVolumeRequest)
func (*NullableUpdateVolumeRequest) UnmarshalJSON ¶
func (v *NullableUpdateVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateVolumeRequest) Unset ¶
func (v *NullableUpdateVolumeRequest) Unset()
type NullableVerifySecretkeyRequest ¶
type NullableVerifySecretkeyRequest struct {
// contains filtered or unexported fields
}
func NewNullableVerifySecretkeyRequest ¶
func NewNullableVerifySecretkeyRequest(val *VerifySecretkeyRequest) *NullableVerifySecretkeyRequest
func (NullableVerifySecretkeyRequest) Get ¶
func (v NullableVerifySecretkeyRequest) Get() *VerifySecretkeyRequest
func (NullableVerifySecretkeyRequest) IsSet ¶
func (v NullableVerifySecretkeyRequest) IsSet() bool
func (NullableVerifySecretkeyRequest) MarshalJSON ¶
func (v NullableVerifySecretkeyRequest) MarshalJSON() ([]byte, error)
func (*NullableVerifySecretkeyRequest) Set ¶
func (v *NullableVerifySecretkeyRequest) Set(val *VerifySecretkeyRequest)
func (*NullableVerifySecretkeyRequest) UnmarshalJSON ¶
func (v *NullableVerifySecretkeyRequest) UnmarshalJSON(src []byte) error
func (*NullableVerifySecretkeyRequest) Unset ¶
func (v *NullableVerifySecretkeyRequest) Unset()
type NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type NullableVolumeSnapshot ¶
type NullableVolumeSnapshot struct {
// contains filtered or unexported fields
}
func NewNullableVolumeSnapshot ¶
func NewNullableVolumeSnapshot(val *VolumeSnapshot) *NullableVolumeSnapshot
func (NullableVolumeSnapshot) Get ¶
func (v NullableVolumeSnapshot) Get() *VolumeSnapshot
func (NullableVolumeSnapshot) IsSet ¶
func (v NullableVolumeSnapshot) IsSet() bool
func (NullableVolumeSnapshot) MarshalJSON ¶
func (v NullableVolumeSnapshot) MarshalJSON() ([]byte, error)
func (*NullableVolumeSnapshot) Set ¶
func (v *NullableVolumeSnapshot) Set(val *VolumeSnapshot)
func (*NullableVolumeSnapshot) UnmarshalJSON ¶
func (v *NullableVolumeSnapshot) UnmarshalJSON(src []byte) error
func (*NullableVolumeSnapshot) Unset ¶
func (v *NullableVolumeSnapshot) Unset()
type Organization ¶
type Organization struct {
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
}
Organization struct for Organization
func NewOrganization ¶
func NewOrganization() *Organization
NewOrganization instantiates a new Organization object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrganizationWithDefaults ¶
func NewOrganizationWithDefaults() *Organization
NewOrganizationWithDefaults instantiates a new Organization object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Organization) GetName ¶
func (o *Organization) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Organization) GetNameOk ¶
func (o *Organization) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Organization) GetSlug ¶
func (o *Organization) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*Organization) GetSlugOk ¶
func (o *Organization) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Organization) HasName ¶
func (o *Organization) HasName() bool
HasName returns a boolean if a field has been set.
func (*Organization) HasSlug ¶
func (o *Organization) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (Organization) MarshalJSON ¶
func (o Organization) MarshalJSON() ([]byte, error)
func (*Organization) SetName ¶
func (o *Organization) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Organization) SetSlug ¶
func (o *Organization) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (Organization) ToMap ¶
func (o Organization) ToMap() (map[string]interface{}, error)
type PlacementRegionPlacement ¶
type PlacementRegionPlacement struct {
// Hint on the number of machines in this region can be created concurrently. Equal to the number of unique hosts selected for placement.
Concurrency *int64 `json:"concurrency,omitempty"`
Count *int64 `json:"count,omitempty"`
Region *string `json:"region,omitempty"`
}
PlacementRegionPlacement struct for PlacementRegionPlacement
func NewPlacementRegionPlacement ¶
func NewPlacementRegionPlacement() *PlacementRegionPlacement
NewPlacementRegionPlacement instantiates a new PlacementRegionPlacement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlacementRegionPlacementWithDefaults ¶
func NewPlacementRegionPlacementWithDefaults() *PlacementRegionPlacement
NewPlacementRegionPlacementWithDefaults instantiates a new PlacementRegionPlacement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlacementRegionPlacement) GetConcurrency ¶
func (o *PlacementRegionPlacement) GetConcurrency() int64
GetConcurrency returns the Concurrency field value if set, zero value otherwise.
func (*PlacementRegionPlacement) GetConcurrencyOk ¶
func (o *PlacementRegionPlacement) GetConcurrencyOk() (*int64, bool)
GetConcurrencyOk returns a tuple with the Concurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlacementRegionPlacement) GetCount ¶
func (o *PlacementRegionPlacement) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PlacementRegionPlacement) GetCountOk ¶
func (o *PlacementRegionPlacement) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlacementRegionPlacement) GetRegion ¶
func (o *PlacementRegionPlacement) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*PlacementRegionPlacement) GetRegionOk ¶
func (o *PlacementRegionPlacement) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlacementRegionPlacement) HasConcurrency ¶
func (o *PlacementRegionPlacement) HasConcurrency() bool
HasConcurrency returns a boolean if a field has been set.
func (*PlacementRegionPlacement) HasCount ¶
func (o *PlacementRegionPlacement) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PlacementRegionPlacement) HasRegion ¶
func (o *PlacementRegionPlacement) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (PlacementRegionPlacement) MarshalJSON ¶
func (o PlacementRegionPlacement) MarshalJSON() ([]byte, error)
func (*PlacementRegionPlacement) SetConcurrency ¶
func (o *PlacementRegionPlacement) SetConcurrency(v int64)
SetConcurrency gets a reference to the given int64 and assigns it to the Concurrency field.
func (*PlacementRegionPlacement) SetCount ¶
func (o *PlacementRegionPlacement) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PlacementRegionPlacement) SetRegion ¶
func (o *PlacementRegionPlacement) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (PlacementRegionPlacement) ToMap ¶
func (o PlacementRegionPlacement) ToMap() (map[string]interface{}, error)
type PlatformAPIService ¶
type PlatformAPIService service
PlatformAPIService PlatformAPI service
func (*PlatformAPIService) PlatformPlacementsPost ¶
func (a *PlatformAPIService) PlatformPlacementsPost(ctx context.Context) ApiPlatformPlacementsPostRequest
PlatformPlacementsPost Get Placements
Simulates placing the specified number of machines into regions, depending on available capacity and limits.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPlatformPlacementsPostRequest
func (*PlatformAPIService) PlatformPlacementsPostExecute ¶
func (a *PlatformAPIService) PlatformPlacementsPostExecute(r ApiPlatformPlacementsPostRequest) (*MainGetPlacementsResponse, *http.Response, error)
Execute executes the request
@return MainGetPlacementsResponse
func (*PlatformAPIService) PlatformRegionsGet ¶
func (a *PlatformAPIService) PlatformRegionsGet(ctx context.Context) ApiPlatformRegionsGetRequest
PlatformRegionsGet Get Regions
List all regions on the platform with their current Machine capacity.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPlatformRegionsGetRequest
func (*PlatformAPIService) PlatformRegionsGetExecute ¶
func (a *PlatformAPIService) PlatformRegionsGetExecute(r ApiPlatformRegionsGetRequest) (*MainRegionResponse, *http.Response, error)
Execute executes the request
@return MainRegionResponse
type ProcessStat ¶
type ProcessStat struct {
Command *string `json:"command,omitempty"`
Cpu *int64 `json:"cpu,omitempty"`
Directory *string `json:"directory,omitempty"`
ListenSockets []ListenSocket `json:"listen_sockets,omitempty"`
Pid *int64 `json:"pid,omitempty"`
Rss *int64 `json:"rss,omitempty"`
Rtime *int64 `json:"rtime,omitempty"`
Stime *int64 `json:"stime,omitempty"`
}
ProcessStat struct for ProcessStat
func NewProcessStat ¶
func NewProcessStat() *ProcessStat
NewProcessStat instantiates a new ProcessStat object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProcessStatWithDefaults ¶
func NewProcessStatWithDefaults() *ProcessStat
NewProcessStatWithDefaults instantiates a new ProcessStat object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProcessStat) GetCommand ¶
func (o *ProcessStat) GetCommand() string
GetCommand returns the Command field value if set, zero value otherwise.
func (*ProcessStat) GetCommandOk ¶
func (o *ProcessStat) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetCpu ¶
func (o *ProcessStat) GetCpu() int64
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*ProcessStat) GetCpuOk ¶
func (o *ProcessStat) GetCpuOk() (*int64, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetDirectory ¶
func (o *ProcessStat) GetDirectory() string
GetDirectory returns the Directory field value if set, zero value otherwise.
func (*ProcessStat) GetDirectoryOk ¶
func (o *ProcessStat) GetDirectoryOk() (*string, bool)
GetDirectoryOk returns a tuple with the Directory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetListenSockets ¶
func (o *ProcessStat) GetListenSockets() []ListenSocket
GetListenSockets returns the ListenSockets field value if set, zero value otherwise.
func (*ProcessStat) GetListenSocketsOk ¶
func (o *ProcessStat) GetListenSocketsOk() ([]ListenSocket, bool)
GetListenSocketsOk returns a tuple with the ListenSockets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetPid ¶
func (o *ProcessStat) GetPid() int64
GetPid returns the Pid field value if set, zero value otherwise.
func (*ProcessStat) GetPidOk ¶
func (o *ProcessStat) GetPidOk() (*int64, bool)
GetPidOk returns a tuple with the Pid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetRss ¶
func (o *ProcessStat) GetRss() int64
GetRss returns the Rss field value if set, zero value otherwise.
func (*ProcessStat) GetRssOk ¶
func (o *ProcessStat) GetRssOk() (*int64, bool)
GetRssOk returns a tuple with the Rss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetRtime ¶
func (o *ProcessStat) GetRtime() int64
GetRtime returns the Rtime field value if set, zero value otherwise.
func (*ProcessStat) GetRtimeOk ¶
func (o *ProcessStat) GetRtimeOk() (*int64, bool)
GetRtimeOk returns a tuple with the Rtime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) GetStime ¶
func (o *ProcessStat) GetStime() int64
GetStime returns the Stime field value if set, zero value otherwise.
func (*ProcessStat) GetStimeOk ¶
func (o *ProcessStat) GetStimeOk() (*int64, bool)
GetStimeOk returns a tuple with the Stime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessStat) HasCommand ¶
func (o *ProcessStat) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (*ProcessStat) HasCpu ¶
func (o *ProcessStat) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*ProcessStat) HasDirectory ¶
func (o *ProcessStat) HasDirectory() bool
HasDirectory returns a boolean if a field has been set.
func (*ProcessStat) HasListenSockets ¶
func (o *ProcessStat) HasListenSockets() bool
HasListenSockets returns a boolean if a field has been set.
func (*ProcessStat) HasPid ¶
func (o *ProcessStat) HasPid() bool
HasPid returns a boolean if a field has been set.
func (*ProcessStat) HasRss ¶
func (o *ProcessStat) HasRss() bool
HasRss returns a boolean if a field has been set.
func (*ProcessStat) HasRtime ¶
func (o *ProcessStat) HasRtime() bool
HasRtime returns a boolean if a field has been set.
func (*ProcessStat) HasStime ¶
func (o *ProcessStat) HasStime() bool
HasStime returns a boolean if a field has been set.
func (ProcessStat) MarshalJSON ¶
func (o ProcessStat) MarshalJSON() ([]byte, error)
func (*ProcessStat) SetCommand ¶
func (o *ProcessStat) SetCommand(v string)
SetCommand gets a reference to the given string and assigns it to the Command field.
func (*ProcessStat) SetCpu ¶
func (o *ProcessStat) SetCpu(v int64)
SetCpu gets a reference to the given int64 and assigns it to the Cpu field.
func (*ProcessStat) SetDirectory ¶
func (o *ProcessStat) SetDirectory(v string)
SetDirectory gets a reference to the given string and assigns it to the Directory field.
func (*ProcessStat) SetListenSockets ¶
func (o *ProcessStat) SetListenSockets(v []ListenSocket)
SetListenSockets gets a reference to the given []ListenSocket and assigns it to the ListenSockets field.
func (*ProcessStat) SetPid ¶
func (o *ProcessStat) SetPid(v int64)
SetPid gets a reference to the given int64 and assigns it to the Pid field.
func (*ProcessStat) SetRss ¶
func (o *ProcessStat) SetRss(v int64)
SetRss gets a reference to the given int64 and assigns it to the Rss field.
func (*ProcessStat) SetRtime ¶
func (o *ProcessStat) SetRtime(v int64)
SetRtime gets a reference to the given int64 and assigns it to the Rtime field.
func (*ProcessStat) SetStime ¶
func (o *ProcessStat) SetStime(v int64)
SetStime gets a reference to the given int64 and assigns it to the Stime field.
func (ProcessStat) ToMap ¶
func (o ProcessStat) ToMap() (map[string]interface{}, error)
type ReadsGetCapacityPerRegionRow ¶
type ReadsGetCapacityPerRegionRow struct {
Capacity *int64 `json:"capacity,omitempty"`
Code *string `json:"code,omitempty"`
GatewayAvailable *bool `json:"gateway_available,omitempty"`
GeoRegion *string `json:"geo_region,omitempty"`
Latitude *float32 `json:"latitude,omitempty"`
Longitude *float32 `json:"longitude,omitempty"`
Name *string `json:"name,omitempty"`
RequiresPaidPlan *bool `json:"requires_paid_plan,omitempty"`
}
ReadsGetCapacityPerRegionRow struct for ReadsGetCapacityPerRegionRow
func NewReadsGetCapacityPerRegionRow ¶
func NewReadsGetCapacityPerRegionRow() *ReadsGetCapacityPerRegionRow
NewReadsGetCapacityPerRegionRow instantiates a new ReadsGetCapacityPerRegionRow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewReadsGetCapacityPerRegionRowWithDefaults ¶
func NewReadsGetCapacityPerRegionRowWithDefaults() *ReadsGetCapacityPerRegionRow
NewReadsGetCapacityPerRegionRowWithDefaults instantiates a new ReadsGetCapacityPerRegionRow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ReadsGetCapacityPerRegionRow) GetCapacity ¶
func (o *ReadsGetCapacityPerRegionRow) GetCapacity() int64
GetCapacity returns the Capacity field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetCapacityOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetCapacityOk() (*int64, bool)
GetCapacityOk returns a tuple with the Capacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetCode ¶
func (o *ReadsGetCapacityPerRegionRow) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetCodeOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetGatewayAvailable ¶
func (o *ReadsGetCapacityPerRegionRow) GetGatewayAvailable() bool
GetGatewayAvailable returns the GatewayAvailable field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetGatewayAvailableOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetGatewayAvailableOk() (*bool, bool)
GetGatewayAvailableOk returns a tuple with the GatewayAvailable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetGeoRegion ¶
func (o *ReadsGetCapacityPerRegionRow) GetGeoRegion() string
GetGeoRegion returns the GeoRegion field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetGeoRegionOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetGeoRegionOk() (*string, bool)
GetGeoRegionOk returns a tuple with the GeoRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetLatitude ¶
func (o *ReadsGetCapacityPerRegionRow) GetLatitude() float32
GetLatitude returns the Latitude field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetLatitudeOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetLongitude ¶
func (o *ReadsGetCapacityPerRegionRow) GetLongitude() float32
GetLongitude returns the Longitude field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetLongitudeOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetName ¶
func (o *ReadsGetCapacityPerRegionRow) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetNameOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) GetRequiresPaidPlan ¶
func (o *ReadsGetCapacityPerRegionRow) GetRequiresPaidPlan() bool
GetRequiresPaidPlan returns the RequiresPaidPlan field value if set, zero value otherwise.
func (*ReadsGetCapacityPerRegionRow) GetRequiresPaidPlanOk ¶
func (o *ReadsGetCapacityPerRegionRow) GetRequiresPaidPlanOk() (*bool, bool)
GetRequiresPaidPlanOk returns a tuple with the RequiresPaidPlan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadsGetCapacityPerRegionRow) HasCapacity ¶
func (o *ReadsGetCapacityPerRegionRow) HasCapacity() bool
HasCapacity returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasCode ¶
func (o *ReadsGetCapacityPerRegionRow) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasGatewayAvailable ¶
func (o *ReadsGetCapacityPerRegionRow) HasGatewayAvailable() bool
HasGatewayAvailable returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasGeoRegion ¶
func (o *ReadsGetCapacityPerRegionRow) HasGeoRegion() bool
HasGeoRegion returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasLatitude ¶
func (o *ReadsGetCapacityPerRegionRow) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasLongitude ¶
func (o *ReadsGetCapacityPerRegionRow) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasName ¶
func (o *ReadsGetCapacityPerRegionRow) HasName() bool
HasName returns a boolean if a field has been set.
func (*ReadsGetCapacityPerRegionRow) HasRequiresPaidPlan ¶
func (o *ReadsGetCapacityPerRegionRow) HasRequiresPaidPlan() bool
HasRequiresPaidPlan returns a boolean if a field has been set.
func (ReadsGetCapacityPerRegionRow) MarshalJSON ¶
func (o ReadsGetCapacityPerRegionRow) MarshalJSON() ([]byte, error)
func (*ReadsGetCapacityPerRegionRow) SetCapacity ¶
func (o *ReadsGetCapacityPerRegionRow) SetCapacity(v int64)
SetCapacity gets a reference to the given int64 and assigns it to the Capacity field.
func (*ReadsGetCapacityPerRegionRow) SetCode ¶
func (o *ReadsGetCapacityPerRegionRow) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ReadsGetCapacityPerRegionRow) SetGatewayAvailable ¶
func (o *ReadsGetCapacityPerRegionRow) SetGatewayAvailable(v bool)
SetGatewayAvailable gets a reference to the given bool and assigns it to the GatewayAvailable field.
func (*ReadsGetCapacityPerRegionRow) SetGeoRegion ¶
func (o *ReadsGetCapacityPerRegionRow) SetGeoRegion(v string)
SetGeoRegion gets a reference to the given string and assigns it to the GeoRegion field.
func (*ReadsGetCapacityPerRegionRow) SetLatitude ¶
func (o *ReadsGetCapacityPerRegionRow) SetLatitude(v float32)
SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.
func (*ReadsGetCapacityPerRegionRow) SetLongitude ¶
func (o *ReadsGetCapacityPerRegionRow) SetLongitude(v float32)
SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.
func (*ReadsGetCapacityPerRegionRow) SetName ¶
func (o *ReadsGetCapacityPerRegionRow) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ReadsGetCapacityPerRegionRow) SetRequiresPaidPlan ¶
func (o *ReadsGetCapacityPerRegionRow) SetRequiresPaidPlan(v bool)
SetRequiresPaidPlan gets a reference to the given bool and assigns it to the RequiresPaidPlan field.
func (ReadsGetCapacityPerRegionRow) ToMap ¶
func (o ReadsGetCapacityPerRegionRow) ToMap() (map[string]interface{}, error)
type SecretKey ¶
type SecretKey struct {
Name *string `json:"name,omitempty"`
PublicKey []int64 `json:"public_key,omitempty"`
Type *string `json:"type,omitempty"`
}
SecretKey struct for SecretKey
func NewSecretKey ¶
func NewSecretKey() *SecretKey
NewSecretKey instantiates a new SecretKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecretKeyWithDefaults ¶
func NewSecretKeyWithDefaults() *SecretKey
NewSecretKeyWithDefaults instantiates a new SecretKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecretKey) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretKey) GetPublicKey ¶
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*SecretKey) GetPublicKeyOk ¶
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretKey) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretKey) HasPublicKey ¶
HasPublicKey returns a boolean if a field has been set.
func (SecretKey) MarshalJSON ¶
func (*SecretKey) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecretKey) SetPublicKey ¶
SetPublicKey gets a reference to the given []int64 and assigns it to the PublicKey field.
type SecretKeys ¶
type SecretKeys struct {
SecretKeys []SecretKey `json:"secret_keys,omitempty"`
}
SecretKeys struct for SecretKeys
func NewSecretKeys ¶
func NewSecretKeys() *SecretKeys
NewSecretKeys instantiates a new SecretKeys object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecretKeysWithDefaults ¶
func NewSecretKeysWithDefaults() *SecretKeys
NewSecretKeysWithDefaults instantiates a new SecretKeys object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecretKeys) GetSecretKeys ¶
func (o *SecretKeys) GetSecretKeys() []SecretKey
GetSecretKeys returns the SecretKeys field value if set, zero value otherwise.
func (*SecretKeys) GetSecretKeysOk ¶
func (o *SecretKeys) GetSecretKeysOk() ([]SecretKey, bool)
GetSecretKeysOk returns a tuple with the SecretKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretKeys) HasSecretKeys ¶
func (o *SecretKeys) HasSecretKeys() bool
HasSecretKeys returns a boolean if a field has been set.
func (SecretKeys) MarshalJSON ¶
func (o SecretKeys) MarshalJSON() ([]byte, error)
func (*SecretKeys) SetSecretKeys ¶
func (o *SecretKeys) SetSecretKeys(v []SecretKey)
SetSecretKeys gets a reference to the given []SecretKey and assigns it to the SecretKeys field.
func (SecretKeys) ToMap ¶
func (o SecretKeys) ToMap() (map[string]interface{}, error)
type SecretsAPIService ¶
type SecretsAPIService service
SecretsAPIService SecretsAPI service
func (*SecretsAPIService) SecretCreate ¶
func (a *SecretsAPIService) SecretCreate(ctx context.Context, appName string, secretName string) ApiSecretCreateRequest
SecretCreate Create or update Secret
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName App secret name @return ApiSecretCreateRequest
func (*SecretsAPIService) SecretCreateExecute ¶
func (a *SecretsAPIService) SecretCreateExecute(r ApiSecretCreateRequest) (*SetAppSecretResponse, *http.Response, error)
Execute executes the request
@return SetAppSecretResponse
func (*SecretsAPIService) SecretDelete ¶
func (a *SecretsAPIService) SecretDelete(ctx context.Context, appName string, secretName string) ApiSecretDeleteRequest
SecretDelete Delete an app secret
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName App secret name @return ApiSecretDeleteRequest
func (*SecretsAPIService) SecretDeleteExecute ¶
func (a *SecretsAPIService) SecretDeleteExecute(r ApiSecretDeleteRequest) (*http.Response, error)
Execute executes the request
func (*SecretsAPIService) SecretGet ¶
func (a *SecretsAPIService) SecretGet(ctx context.Context, appName string, secretName string) ApiSecretGetRequest
SecretGet Get an app secret
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName App secret name @return ApiSecretGetRequest
func (*SecretsAPIService) SecretGetExecute ¶
func (a *SecretsAPIService) SecretGetExecute(r ApiSecretGetRequest) (*AppSecret, *http.Response, error)
Execute executes the request
@return AppSecret
func (*SecretsAPIService) SecretkeyDecrypt ¶
func (a *SecretsAPIService) SecretkeyDecrypt(ctx context.Context, appName string, secretName string) ApiSecretkeyDecryptRequest
SecretkeyDecrypt Decrypt with a secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeyDecryptRequest
func (*SecretsAPIService) SecretkeyDecryptExecute ¶
func (a *SecretsAPIService) SecretkeyDecryptExecute(r ApiSecretkeyDecryptRequest) (*DecryptSecretkeyResponse, *http.Response, error)
Execute executes the request
@return DecryptSecretkeyResponse
func (*SecretsAPIService) SecretkeyDelete ¶
func (a *SecretsAPIService) SecretkeyDelete(ctx context.Context, appName string, secretName string) ApiSecretkeyDeleteRequest
SecretkeyDelete Delete an app's secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeyDeleteRequest
func (*SecretsAPIService) SecretkeyDeleteExecute ¶
func (a *SecretsAPIService) SecretkeyDeleteExecute(r ApiSecretkeyDeleteRequest) (*http.Response, error)
Execute executes the request
func (*SecretsAPIService) SecretkeyEncrypt ¶
func (a *SecretsAPIService) SecretkeyEncrypt(ctx context.Context, appName string, secretName string) ApiSecretkeyEncryptRequest
SecretkeyEncrypt Encrypt with a secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeyEncryptRequest
func (*SecretsAPIService) SecretkeyEncryptExecute ¶
func (a *SecretsAPIService) SecretkeyEncryptExecute(r ApiSecretkeyEncryptRequest) (*EncryptSecretkeyResponse, *http.Response, error)
Execute executes the request
@return EncryptSecretkeyResponse
func (*SecretsAPIService) SecretkeyGenerate ¶
func (a *SecretsAPIService) SecretkeyGenerate(ctx context.Context, appName string, secretName string) ApiSecretkeyGenerateRequest
SecretkeyGenerate Generate a random secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeyGenerateRequest
func (*SecretsAPIService) SecretkeyGenerateExecute ¶
func (a *SecretsAPIService) SecretkeyGenerateExecute(r ApiSecretkeyGenerateRequest) (*SetSecretkeyResponse, *http.Response, error)
Execute executes the request
@return SetSecretkeyResponse
func (*SecretsAPIService) SecretkeyGet ¶
func (a *SecretsAPIService) SecretkeyGet(ctx context.Context, appName string, secretName string) ApiSecretkeyGetRequest
SecretkeyGet Get an app's secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeyGetRequest
func (*SecretsAPIService) SecretkeyGetExecute ¶
func (a *SecretsAPIService) SecretkeyGetExecute(r ApiSecretkeyGetRequest) (*SecretKey, *http.Response, error)
Execute executes the request
@return SecretKey
func (*SecretsAPIService) SecretkeySet ¶
func (a *SecretsAPIService) SecretkeySet(ctx context.Context, appName string, secretName string) ApiSecretkeySetRequest
SecretkeySet Create or update a secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeySetRequest
func (*SecretsAPIService) SecretkeySetExecute ¶
func (a *SecretsAPIService) SecretkeySetExecute(r ApiSecretkeySetRequest) (*SetSecretkeyResponse, *http.Response, error)
Execute executes the request
@return SetSecretkeyResponse
func (*SecretsAPIService) SecretkeySign ¶
func (a *SecretsAPIService) SecretkeySign(ctx context.Context, appName string, secretName string) ApiSecretkeySignRequest
SecretkeySign Sign with a secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeySignRequest
func (*SecretsAPIService) SecretkeySignExecute ¶
func (a *SecretsAPIService) SecretkeySignExecute(r ApiSecretkeySignRequest) (*SignSecretkeyResponse, *http.Response, error)
Execute executes the request
@return SignSecretkeyResponse
func (*SecretsAPIService) SecretkeyVerify ¶
func (a *SecretsAPIService) SecretkeyVerify(ctx context.Context, appName string, secretName string) ApiSecretkeyVerifyRequest
SecretkeyVerify Verify with a secret key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param secretName Secret key name @return ApiSecretkeyVerifyRequest
func (*SecretsAPIService) SecretkeyVerifyExecute ¶
func (a *SecretsAPIService) SecretkeyVerifyExecute(r ApiSecretkeyVerifyRequest) (*http.Response, error)
Execute executes the request
func (*SecretsAPIService) SecretkeysList ¶
func (a *SecretsAPIService) SecretkeysList(ctx context.Context, appName string) ApiSecretkeysListRequest
SecretkeysList List secret keys belonging to an app
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiSecretkeysListRequest
func (*SecretsAPIService) SecretkeysListExecute ¶
func (a *SecretsAPIService) SecretkeysListExecute(r ApiSecretkeysListRequest) (*SecretKeys, *http.Response, error)
Execute executes the request
@return SecretKeys
func (*SecretsAPIService) SecretsList ¶
func (a *SecretsAPIService) SecretsList(ctx context.Context, appName string) ApiSecretsListRequest
SecretsList List app secrets belonging to an app
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiSecretsListRequest
func (*SecretsAPIService) SecretsListExecute ¶
func (a *SecretsAPIService) SecretsListExecute(r ApiSecretsListRequest) (*AppSecrets, *http.Response, error)
Execute executes the request
@return AppSecrets
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SetAppSecretRequest ¶
type SetAppSecretRequest struct {
Value *string `json:"value,omitempty"`
}
SetAppSecretRequest struct for SetAppSecretRequest
func NewSetAppSecretRequest ¶
func NewSetAppSecretRequest() *SetAppSecretRequest
NewSetAppSecretRequest instantiates a new SetAppSecretRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetAppSecretRequestWithDefaults ¶
func NewSetAppSecretRequestWithDefaults() *SetAppSecretRequest
NewSetAppSecretRequestWithDefaults instantiates a new SetAppSecretRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetAppSecretRequest) GetValue ¶
func (o *SetAppSecretRequest) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*SetAppSecretRequest) GetValueOk ¶
func (o *SetAppSecretRequest) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetAppSecretRequest) HasValue ¶
func (o *SetAppSecretRequest) HasValue() bool
HasValue returns a boolean if a field has been set.
func (SetAppSecretRequest) MarshalJSON ¶
func (o SetAppSecretRequest) MarshalJSON() ([]byte, error)
func (*SetAppSecretRequest) SetValue ¶
func (o *SetAppSecretRequest) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (SetAppSecretRequest) ToMap ¶
func (o SetAppSecretRequest) ToMap() (map[string]interface{}, error)
type SetAppSecretResponse ¶
type SetAppSecretResponse struct {
Digest *string `json:"digest,omitempty"`
Name *string `json:"name,omitempty"`
Value *string `json:"value,omitempty"`
Version *int64 `json:"version,omitempty"`
}
SetAppSecretResponse struct for SetAppSecretResponse
func NewSetAppSecretResponse ¶
func NewSetAppSecretResponse() *SetAppSecretResponse
NewSetAppSecretResponse instantiates a new SetAppSecretResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetAppSecretResponseWithDefaults ¶
func NewSetAppSecretResponseWithDefaults() *SetAppSecretResponse
NewSetAppSecretResponseWithDefaults instantiates a new SetAppSecretResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetAppSecretResponse) GetDigest ¶
func (o *SetAppSecretResponse) GetDigest() string
GetDigest returns the Digest field value if set, zero value otherwise.
func (*SetAppSecretResponse) GetDigestOk ¶
func (o *SetAppSecretResponse) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetAppSecretResponse) GetName ¶
func (o *SetAppSecretResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SetAppSecretResponse) GetNameOk ¶
func (o *SetAppSecretResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetAppSecretResponse) GetValue ¶
func (o *SetAppSecretResponse) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*SetAppSecretResponse) GetValueOk ¶
func (o *SetAppSecretResponse) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetAppSecretResponse) GetVersion ¶
func (o *SetAppSecretResponse) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*SetAppSecretResponse) GetVersionOk ¶
func (o *SetAppSecretResponse) GetVersionOk() (*int64, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetAppSecretResponse) HasDigest ¶
func (o *SetAppSecretResponse) HasDigest() bool
HasDigest returns a boolean if a field has been set.
func (*SetAppSecretResponse) HasName ¶
func (o *SetAppSecretResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*SetAppSecretResponse) HasValue ¶
func (o *SetAppSecretResponse) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*SetAppSecretResponse) HasVersion ¶
func (o *SetAppSecretResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SetAppSecretResponse) MarshalJSON ¶
func (o SetAppSecretResponse) MarshalJSON() ([]byte, error)
func (*SetAppSecretResponse) SetDigest ¶
func (o *SetAppSecretResponse) SetDigest(v string)
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*SetAppSecretResponse) SetName ¶
func (o *SetAppSecretResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SetAppSecretResponse) SetValue ¶
func (o *SetAppSecretResponse) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (*SetAppSecretResponse) SetVersion ¶
func (o *SetAppSecretResponse) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (SetAppSecretResponse) ToMap ¶
func (o SetAppSecretResponse) ToMap() (map[string]interface{}, error)
type SetSecretkeyRequest ¶
type SetSecretkeyRequest struct {
Type *string `json:"type,omitempty"`
Value []int64 `json:"value,omitempty"`
}
SetSecretkeyRequest struct for SetSecretkeyRequest
func NewSetSecretkeyRequest ¶
func NewSetSecretkeyRequest() *SetSecretkeyRequest
NewSetSecretkeyRequest instantiates a new SetSecretkeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetSecretkeyRequestWithDefaults ¶
func NewSetSecretkeyRequestWithDefaults() *SetSecretkeyRequest
NewSetSecretkeyRequestWithDefaults instantiates a new SetSecretkeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetSecretkeyRequest) GetType ¶
func (o *SetSecretkeyRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SetSecretkeyRequest) GetTypeOk ¶
func (o *SetSecretkeyRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetSecretkeyRequest) GetValue ¶
func (o *SetSecretkeyRequest) GetValue() []int64
GetValue returns the Value field value if set, zero value otherwise.
func (*SetSecretkeyRequest) GetValueOk ¶
func (o *SetSecretkeyRequest) GetValueOk() ([]int64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetSecretkeyRequest) HasType ¶
func (o *SetSecretkeyRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*SetSecretkeyRequest) HasValue ¶
func (o *SetSecretkeyRequest) HasValue() bool
HasValue returns a boolean if a field has been set.
func (SetSecretkeyRequest) MarshalJSON ¶
func (o SetSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*SetSecretkeyRequest) SetType ¶
func (o *SetSecretkeyRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SetSecretkeyRequest) SetValue ¶
func (o *SetSecretkeyRequest) SetValue(v []int64)
SetValue gets a reference to the given []int64 and assigns it to the Value field.
func (SetSecretkeyRequest) ToMap ¶
func (o SetSecretkeyRequest) ToMap() (map[string]interface{}, error)
type SetSecretkeyResponse ¶
type SetSecretkeyResponse struct {
Name *string `json:"name,omitempty"`
PublicKey []int64 `json:"public_key,omitempty"`
Type *string `json:"type,omitempty"`
Version *int64 `json:"version,omitempty"`
}
SetSecretkeyResponse struct for SetSecretkeyResponse
func NewSetSecretkeyResponse ¶
func NewSetSecretkeyResponse() *SetSecretkeyResponse
NewSetSecretkeyResponse instantiates a new SetSecretkeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetSecretkeyResponseWithDefaults ¶
func NewSetSecretkeyResponseWithDefaults() *SetSecretkeyResponse
NewSetSecretkeyResponseWithDefaults instantiates a new SetSecretkeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetSecretkeyResponse) GetName ¶
func (o *SetSecretkeyResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SetSecretkeyResponse) GetNameOk ¶
func (o *SetSecretkeyResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetSecretkeyResponse) GetPublicKey ¶
func (o *SetSecretkeyResponse) GetPublicKey() []int64
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*SetSecretkeyResponse) GetPublicKeyOk ¶
func (o *SetSecretkeyResponse) GetPublicKeyOk() ([]int64, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetSecretkeyResponse) GetType ¶
func (o *SetSecretkeyResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SetSecretkeyResponse) GetTypeOk ¶
func (o *SetSecretkeyResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetSecretkeyResponse) GetVersion ¶
func (o *SetSecretkeyResponse) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*SetSecretkeyResponse) GetVersionOk ¶
func (o *SetSecretkeyResponse) GetVersionOk() (*int64, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SetSecretkeyResponse) HasName ¶
func (o *SetSecretkeyResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*SetSecretkeyResponse) HasPublicKey ¶
func (o *SetSecretkeyResponse) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (*SetSecretkeyResponse) HasType ¶
func (o *SetSecretkeyResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*SetSecretkeyResponse) HasVersion ¶
func (o *SetSecretkeyResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SetSecretkeyResponse) MarshalJSON ¶
func (o SetSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*SetSecretkeyResponse) SetName ¶
func (o *SetSecretkeyResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SetSecretkeyResponse) SetPublicKey ¶
func (o *SetSecretkeyResponse) SetPublicKey(v []int64)
SetPublicKey gets a reference to the given []int64 and assigns it to the PublicKey field.
func (*SetSecretkeyResponse) SetType ¶
func (o *SetSecretkeyResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SetSecretkeyResponse) SetVersion ¶
func (o *SetSecretkeyResponse) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (SetSecretkeyResponse) ToMap ¶
func (o SetSecretkeyResponse) ToMap() (map[string]interface{}, error)
type SignSecretkeyRequest ¶
type SignSecretkeyRequest struct {
Plaintext []int64 `json:"plaintext,omitempty"`
}
SignSecretkeyRequest struct for SignSecretkeyRequest
func NewSignSecretkeyRequest ¶
func NewSignSecretkeyRequest() *SignSecretkeyRequest
NewSignSecretkeyRequest instantiates a new SignSecretkeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignSecretkeyRequestWithDefaults ¶
func NewSignSecretkeyRequestWithDefaults() *SignSecretkeyRequest
NewSignSecretkeyRequestWithDefaults instantiates a new SignSecretkeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignSecretkeyRequest) GetPlaintext ¶
func (o *SignSecretkeyRequest) GetPlaintext() []int64
GetPlaintext returns the Plaintext field value if set, zero value otherwise.
func (*SignSecretkeyRequest) GetPlaintextOk ¶
func (o *SignSecretkeyRequest) GetPlaintextOk() ([]int64, bool)
GetPlaintextOk returns a tuple with the Plaintext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignSecretkeyRequest) HasPlaintext ¶
func (o *SignSecretkeyRequest) HasPlaintext() bool
HasPlaintext returns a boolean if a field has been set.
func (SignSecretkeyRequest) MarshalJSON ¶
func (o SignSecretkeyRequest) MarshalJSON() ([]byte, error)
func (*SignSecretkeyRequest) SetPlaintext ¶
func (o *SignSecretkeyRequest) SetPlaintext(v []int64)
SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.
func (SignSecretkeyRequest) ToMap ¶
func (o SignSecretkeyRequest) ToMap() (map[string]interface{}, error)
type SignSecretkeyResponse ¶
type SignSecretkeyResponse struct {
Signature []int64 `json:"signature,omitempty"`
}
SignSecretkeyResponse struct for SignSecretkeyResponse
func NewSignSecretkeyResponse ¶
func NewSignSecretkeyResponse() *SignSecretkeyResponse
NewSignSecretkeyResponse instantiates a new SignSecretkeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignSecretkeyResponseWithDefaults ¶
func NewSignSecretkeyResponseWithDefaults() *SignSecretkeyResponse
NewSignSecretkeyResponseWithDefaults instantiates a new SignSecretkeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignSecretkeyResponse) GetSignature ¶
func (o *SignSecretkeyResponse) GetSignature() []int64
GetSignature returns the Signature field value if set, zero value otherwise.
func (*SignSecretkeyResponse) GetSignatureOk ¶
func (o *SignSecretkeyResponse) GetSignatureOk() ([]int64, bool)
GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignSecretkeyResponse) HasSignature ¶
func (o *SignSecretkeyResponse) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (SignSecretkeyResponse) MarshalJSON ¶
func (o SignSecretkeyResponse) MarshalJSON() ([]byte, error)
func (*SignSecretkeyResponse) SetSignature ¶
func (o *SignSecretkeyResponse) SetSignature(v []int64)
SetSignature gets a reference to the given []int64 and assigns it to the Signature field.
func (SignSecretkeyResponse) ToMap ¶
func (o SignSecretkeyResponse) ToMap() (map[string]interface{}, error)
type SignalRequest ¶
type SignalRequest struct {
Signal *string `json:"signal,omitempty"`
}
SignalRequest struct for SignalRequest
func NewSignalRequest ¶
func NewSignalRequest() *SignalRequest
NewSignalRequest instantiates a new SignalRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignalRequestWithDefaults ¶
func NewSignalRequestWithDefaults() *SignalRequest
NewSignalRequestWithDefaults instantiates a new SignalRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignalRequest) GetSignal ¶
func (o *SignalRequest) GetSignal() string
GetSignal returns the Signal field value if set, zero value otherwise.
func (*SignalRequest) GetSignalOk ¶
func (o *SignalRequest) GetSignalOk() (*string, bool)
GetSignalOk returns a tuple with the Signal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SignalRequest) HasSignal ¶
func (o *SignalRequest) HasSignal() bool
HasSignal returns a boolean if a field has been set.
func (SignalRequest) MarshalJSON ¶
func (o SignalRequest) MarshalJSON() ([]byte, error)
func (*SignalRequest) SetSignal ¶
func (o *SignalRequest) SetSignal(v string)
SetSignal gets a reference to the given string and assigns it to the Signal field.
func (SignalRequest) ToMap ¶
func (o SignalRequest) ToMap() (map[string]interface{}, error)
type StopRequest ¶
type StopRequest struct {
Signal *string `json:"signal,omitempty"`
Timeout *FlyDuration `json:"timeout,omitempty"`
}
StopRequest struct for StopRequest
func NewStopRequest ¶
func NewStopRequest() *StopRequest
NewStopRequest instantiates a new StopRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStopRequestWithDefaults ¶
func NewStopRequestWithDefaults() *StopRequest
NewStopRequestWithDefaults instantiates a new StopRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StopRequest) GetSignal ¶
func (o *StopRequest) GetSignal() string
GetSignal returns the Signal field value if set, zero value otherwise.
func (*StopRequest) GetSignalOk ¶
func (o *StopRequest) GetSignalOk() (*string, bool)
GetSignalOk returns a tuple with the Signal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StopRequest) GetTimeout ¶
func (o *StopRequest) GetTimeout() FlyDuration
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*StopRequest) GetTimeoutOk ¶
func (o *StopRequest) GetTimeoutOk() (*FlyDuration, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StopRequest) HasSignal ¶
func (o *StopRequest) HasSignal() bool
HasSignal returns a boolean if a field has been set.
func (*StopRequest) HasTimeout ¶
func (o *StopRequest) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (StopRequest) MarshalJSON ¶
func (o StopRequest) MarshalJSON() ([]byte, error)
func (*StopRequest) SetSignal ¶
func (o *StopRequest) SetSignal(v string)
SetSignal gets a reference to the given string and assigns it to the Signal field.
func (*StopRequest) SetTimeout ¶
func (o *StopRequest) SetTimeout(v FlyDuration)
SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.
func (StopRequest) ToMap ¶
func (o StopRequest) ToMap() (map[string]interface{}, error)
type TokensAPIService ¶
type TokensAPIService service
TokensAPIService TokensAPI service
func (*TokensAPIService) TokensRequestKms ¶
func (a *TokensAPIService) TokensRequestKms(ctx context.Context) ApiTokensRequestKmsRequest
TokensRequestKms Request a Petsem token for accessing KMS
This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTokensRequestKmsRequest
func (*TokensAPIService) TokensRequestKmsExecute ¶
func (a *TokensAPIService) TokensRequestKmsExecute(r ApiTokensRequestKmsRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*TokensAPIService) TokensRequestOIDC ¶
func (a *TokensAPIService) TokensRequestOIDC(ctx context.Context) ApiTokensRequestOIDCRequest
TokensRequestOIDC Request an OIDC token
Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTokensRequestOIDCRequest
func (*TokensAPIService) TokensRequestOIDCExecute ¶
func (a *TokensAPIService) TokensRequestOIDCExecute(r ApiTokensRequestOIDCRequest) (string, *http.Response, error)
Execute executes the request
@return string
type UpdateMachineRequest ¶
type UpdateMachineRequest struct {
// An object defining the Machine configuration
Config *FlyMachineConfig `json:"config,omitempty"`
CurrentVersion *string `json:"current_version,omitempty"`
LeaseTtl *int64 `json:"lease_ttl,omitempty"`
Lsvd *bool `json:"lsvd,omitempty"`
// Unique name for this Machine. If omitted, one is generated for you
Name *string `json:"name,omitempty"`
// The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you).
Region *string `json:"region,omitempty"`
SkipLaunch *bool `json:"skip_launch,omitempty"`
SkipSecrets *bool `json:"skip_secrets,omitempty"`
SkipServiceRegistration *bool `json:"skip_service_registration,omitempty"`
}
UpdateMachineRequest struct for UpdateMachineRequest
func NewUpdateMachineRequest ¶
func NewUpdateMachineRequest() *UpdateMachineRequest
NewUpdateMachineRequest instantiates a new UpdateMachineRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateMachineRequestWithDefaults ¶
func NewUpdateMachineRequestWithDefaults() *UpdateMachineRequest
NewUpdateMachineRequestWithDefaults instantiates a new UpdateMachineRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateMachineRequest) GetConfig ¶
func (o *UpdateMachineRequest) GetConfig() FlyMachineConfig
GetConfig returns the Config field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetConfigOk ¶
func (o *UpdateMachineRequest) GetConfigOk() (*FlyMachineConfig, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetCurrentVersion ¶
func (o *UpdateMachineRequest) GetCurrentVersion() string
GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetCurrentVersionOk ¶
func (o *UpdateMachineRequest) GetCurrentVersionOk() (*string, bool)
GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetLeaseTtl ¶
func (o *UpdateMachineRequest) GetLeaseTtl() int64
GetLeaseTtl returns the LeaseTtl field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetLeaseTtlOk ¶
func (o *UpdateMachineRequest) GetLeaseTtlOk() (*int64, bool)
GetLeaseTtlOk returns a tuple with the LeaseTtl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetLsvd ¶
func (o *UpdateMachineRequest) GetLsvd() bool
GetLsvd returns the Lsvd field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetLsvdOk ¶
func (o *UpdateMachineRequest) GetLsvdOk() (*bool, bool)
GetLsvdOk returns a tuple with the Lsvd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetName ¶
func (o *UpdateMachineRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetNameOk ¶
func (o *UpdateMachineRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetRegion ¶
func (o *UpdateMachineRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetRegionOk ¶
func (o *UpdateMachineRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetSkipLaunch ¶
func (o *UpdateMachineRequest) GetSkipLaunch() bool
GetSkipLaunch returns the SkipLaunch field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetSkipLaunchOk ¶
func (o *UpdateMachineRequest) GetSkipLaunchOk() (*bool, bool)
GetSkipLaunchOk returns a tuple with the SkipLaunch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetSkipSecrets ¶
func (o *UpdateMachineRequest) GetSkipSecrets() bool
GetSkipSecrets returns the SkipSecrets field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetSkipSecretsOk ¶
func (o *UpdateMachineRequest) GetSkipSecretsOk() (*bool, bool)
GetSkipSecretsOk returns a tuple with the SkipSecrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) GetSkipServiceRegistration ¶
func (o *UpdateMachineRequest) GetSkipServiceRegistration() bool
GetSkipServiceRegistration returns the SkipServiceRegistration field value if set, zero value otherwise.
func (*UpdateMachineRequest) GetSkipServiceRegistrationOk ¶
func (o *UpdateMachineRequest) GetSkipServiceRegistrationOk() (*bool, bool)
GetSkipServiceRegistrationOk returns a tuple with the SkipServiceRegistration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMachineRequest) HasConfig ¶
func (o *UpdateMachineRequest) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasCurrentVersion ¶
func (o *UpdateMachineRequest) HasCurrentVersion() bool
HasCurrentVersion returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasLeaseTtl ¶
func (o *UpdateMachineRequest) HasLeaseTtl() bool
HasLeaseTtl returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasLsvd ¶
func (o *UpdateMachineRequest) HasLsvd() bool
HasLsvd returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasName ¶
func (o *UpdateMachineRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasRegion ¶
func (o *UpdateMachineRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasSkipLaunch ¶
func (o *UpdateMachineRequest) HasSkipLaunch() bool
HasSkipLaunch returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasSkipSecrets ¶
func (o *UpdateMachineRequest) HasSkipSecrets() bool
HasSkipSecrets returns a boolean if a field has been set.
func (*UpdateMachineRequest) HasSkipServiceRegistration ¶
func (o *UpdateMachineRequest) HasSkipServiceRegistration() bool
HasSkipServiceRegistration returns a boolean if a field has been set.
func (UpdateMachineRequest) MarshalJSON ¶
func (o UpdateMachineRequest) MarshalJSON() ([]byte, error)
func (*UpdateMachineRequest) SetConfig ¶
func (o *UpdateMachineRequest) SetConfig(v FlyMachineConfig)
SetConfig gets a reference to the given FlyMachineConfig and assigns it to the Config field.
func (*UpdateMachineRequest) SetCurrentVersion ¶
func (o *UpdateMachineRequest) SetCurrentVersion(v string)
SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.
func (*UpdateMachineRequest) SetLeaseTtl ¶
func (o *UpdateMachineRequest) SetLeaseTtl(v int64)
SetLeaseTtl gets a reference to the given int64 and assigns it to the LeaseTtl field.
func (*UpdateMachineRequest) SetLsvd ¶
func (o *UpdateMachineRequest) SetLsvd(v bool)
SetLsvd gets a reference to the given bool and assigns it to the Lsvd field.
func (*UpdateMachineRequest) SetName ¶
func (o *UpdateMachineRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateMachineRequest) SetRegion ¶
func (o *UpdateMachineRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*UpdateMachineRequest) SetSkipLaunch ¶
func (o *UpdateMachineRequest) SetSkipLaunch(v bool)
SetSkipLaunch gets a reference to the given bool and assigns it to the SkipLaunch field.
func (*UpdateMachineRequest) SetSkipSecrets ¶
func (o *UpdateMachineRequest) SetSkipSecrets(v bool)
SetSkipSecrets gets a reference to the given bool and assigns it to the SkipSecrets field.
func (*UpdateMachineRequest) SetSkipServiceRegistration ¶
func (o *UpdateMachineRequest) SetSkipServiceRegistration(v bool)
SetSkipServiceRegistration gets a reference to the given bool and assigns it to the SkipServiceRegistration field.
func (UpdateMachineRequest) ToMap ¶
func (o UpdateMachineRequest) ToMap() (map[string]interface{}, error)
type UpdateVolumeRequest ¶
type UpdateVolumeRequest struct {
AutoBackupEnabled *bool `json:"auto_backup_enabled,omitempty"`
SnapshotRetention *int64 `json:"snapshot_retention,omitempty"`
}
UpdateVolumeRequest struct for UpdateVolumeRequest
func NewUpdateVolumeRequest ¶
func NewUpdateVolumeRequest() *UpdateVolumeRequest
NewUpdateVolumeRequest instantiates a new UpdateVolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateVolumeRequestWithDefaults ¶
func NewUpdateVolumeRequestWithDefaults() *UpdateVolumeRequest
NewUpdateVolumeRequestWithDefaults instantiates a new UpdateVolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateVolumeRequest) GetAutoBackupEnabled ¶
func (o *UpdateVolumeRequest) GetAutoBackupEnabled() bool
GetAutoBackupEnabled returns the AutoBackupEnabled field value if set, zero value otherwise.
func (*UpdateVolumeRequest) GetAutoBackupEnabledOk ¶
func (o *UpdateVolumeRequest) GetAutoBackupEnabledOk() (*bool, bool)
GetAutoBackupEnabledOk returns a tuple with the AutoBackupEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeRequest) GetSnapshotRetention ¶
func (o *UpdateVolumeRequest) GetSnapshotRetention() int64
GetSnapshotRetention returns the SnapshotRetention field value if set, zero value otherwise.
func (*UpdateVolumeRequest) GetSnapshotRetentionOk ¶
func (o *UpdateVolumeRequest) GetSnapshotRetentionOk() (*int64, bool)
GetSnapshotRetentionOk returns a tuple with the SnapshotRetention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVolumeRequest) HasAutoBackupEnabled ¶
func (o *UpdateVolumeRequest) HasAutoBackupEnabled() bool
HasAutoBackupEnabled returns a boolean if a field has been set.
func (*UpdateVolumeRequest) HasSnapshotRetention ¶
func (o *UpdateVolumeRequest) HasSnapshotRetention() bool
HasSnapshotRetention returns a boolean if a field has been set.
func (UpdateVolumeRequest) MarshalJSON ¶
func (o UpdateVolumeRequest) MarshalJSON() ([]byte, error)
func (*UpdateVolumeRequest) SetAutoBackupEnabled ¶
func (o *UpdateVolumeRequest) SetAutoBackupEnabled(v bool)
SetAutoBackupEnabled gets a reference to the given bool and assigns it to the AutoBackupEnabled field.
func (*UpdateVolumeRequest) SetSnapshotRetention ¶
func (o *UpdateVolumeRequest) SetSnapshotRetention(v int64)
SetSnapshotRetention gets a reference to the given int64 and assigns it to the SnapshotRetention field.
func (UpdateVolumeRequest) ToMap ¶
func (o UpdateVolumeRequest) ToMap() (map[string]interface{}, error)
type VerifySecretkeyRequest ¶
type VerifySecretkeyRequest struct {
Plaintext []int64 `json:"plaintext,omitempty"`
Signature []int64 `json:"signature,omitempty"`
}
VerifySecretkeyRequest struct for VerifySecretkeyRequest
func NewVerifySecretkeyRequest ¶
func NewVerifySecretkeyRequest() *VerifySecretkeyRequest
NewVerifySecretkeyRequest instantiates a new VerifySecretkeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVerifySecretkeyRequestWithDefaults ¶
func NewVerifySecretkeyRequestWithDefaults() *VerifySecretkeyRequest
NewVerifySecretkeyRequestWithDefaults instantiates a new VerifySecretkeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VerifySecretkeyRequest) GetPlaintext ¶
func (o *VerifySecretkeyRequest) GetPlaintext() []int64
GetPlaintext returns the Plaintext field value if set, zero value otherwise.
func (*VerifySecretkeyRequest) GetPlaintextOk ¶
func (o *VerifySecretkeyRequest) GetPlaintextOk() ([]int64, bool)
GetPlaintextOk returns a tuple with the Plaintext field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifySecretkeyRequest) GetSignature ¶
func (o *VerifySecretkeyRequest) GetSignature() []int64
GetSignature returns the Signature field value if set, zero value otherwise.
func (*VerifySecretkeyRequest) GetSignatureOk ¶
func (o *VerifySecretkeyRequest) GetSignatureOk() ([]int64, bool)
GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VerifySecretkeyRequest) HasPlaintext ¶
func (o *VerifySecretkeyRequest) HasPlaintext() bool
HasPlaintext returns a boolean if a field has been set.
func (*VerifySecretkeyRequest) HasSignature ¶
func (o *VerifySecretkeyRequest) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (VerifySecretkeyRequest) MarshalJSON ¶
func (o VerifySecretkeyRequest) MarshalJSON() ([]byte, error)
func (*VerifySecretkeyRequest) SetPlaintext ¶
func (o *VerifySecretkeyRequest) SetPlaintext(v []int64)
SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.
func (*VerifySecretkeyRequest) SetSignature ¶
func (o *VerifySecretkeyRequest) SetSignature(v []int64)
SetSignature gets a reference to the given []int64 and assigns it to the Signature field.
func (VerifySecretkeyRequest) ToMap ¶
func (o VerifySecretkeyRequest) ToMap() (map[string]interface{}, error)
type Volume ¶
type Volume struct {
AttachedAllocId *string `json:"attached_alloc_id,omitempty"`
AttachedMachineId *string `json:"attached_machine_id,omitempty"`
AutoBackupEnabled *bool `json:"auto_backup_enabled,omitempty"`
BlockSize *int64 `json:"block_size,omitempty"`
Blocks *int64 `json:"blocks,omitempty"`
BlocksAvail *int64 `json:"blocks_avail,omitempty"`
BlocksFree *int64 `json:"blocks_free,omitempty"`
BytesTotal *int64 `json:"bytes_total,omitempty"`
BytesUsed *int64 `json:"bytes_used,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
Encrypted *bool `json:"encrypted,omitempty"`
Fstype *string `json:"fstype,omitempty"`
HostStatus *string `json:"host_status,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Region *string `json:"region,omitempty"`
SizeGb *int64 `json:"size_gb,omitempty"`
SnapshotRetention *int64 `json:"snapshot_retention,omitempty"`
State *string `json:"state,omitempty"`
Zone *string `json:"zone,omitempty"`
}
Volume struct for Volume
func NewVolume ¶
func NewVolume() *Volume
NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Volume) GetAttachedAllocId ¶
GetAttachedAllocId returns the AttachedAllocId field value if set, zero value otherwise.
func (*Volume) GetAttachedAllocIdOk ¶
GetAttachedAllocIdOk returns a tuple with the AttachedAllocId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetAttachedMachineId ¶
GetAttachedMachineId returns the AttachedMachineId field value if set, zero value otherwise.
func (*Volume) GetAttachedMachineIdOk ¶
GetAttachedMachineIdOk returns a tuple with the AttachedMachineId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetAutoBackupEnabled ¶
GetAutoBackupEnabled returns the AutoBackupEnabled field value if set, zero value otherwise.
func (*Volume) GetAutoBackupEnabledOk ¶
GetAutoBackupEnabledOk returns a tuple with the AutoBackupEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBlockSize ¶
GetBlockSize returns the BlockSize field value if set, zero value otherwise.
func (*Volume) GetBlockSizeOk ¶
GetBlockSizeOk returns a tuple with the BlockSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBlocksAvail ¶
GetBlocksAvail returns the BlocksAvail field value if set, zero value otherwise.
func (*Volume) GetBlocksAvailOk ¶
GetBlocksAvailOk returns a tuple with the BlocksAvail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBlocksFree ¶
GetBlocksFree returns the BlocksFree field value if set, zero value otherwise.
func (*Volume) GetBlocksFreeOk ¶
GetBlocksFreeOk returns a tuple with the BlocksFree field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBlocksOk ¶
GetBlocksOk returns a tuple with the Blocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBytesTotal ¶
GetBytesTotal returns the BytesTotal field value if set, zero value otherwise.
func (*Volume) GetBytesTotalOk ¶
GetBytesTotalOk returns a tuple with the BytesTotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetBytesUsed ¶
GetBytesUsed returns the BytesUsed field value if set, zero value otherwise.
func (*Volume) GetBytesUsedOk ¶
GetBytesUsedOk returns a tuple with the BytesUsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Volume) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetEncrypted ¶
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*Volume) GetEncryptedOk ¶
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetFstypeOk ¶
GetFstypeOk returns a tuple with the Fstype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetHostStatus ¶
GetHostStatus returns the HostStatus field value if set, zero value otherwise.
func (*Volume) GetHostStatusOk ¶
GetHostStatusOk returns a tuple with the HostStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetSizeGbOk ¶
GetSizeGbOk returns a tuple with the SizeGb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetSnapshotRetention ¶
GetSnapshotRetention returns the SnapshotRetention field value if set, zero value otherwise.
func (*Volume) GetSnapshotRetentionOk ¶
GetSnapshotRetentionOk returns a tuple with the SnapshotRetention field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetZoneOk ¶
GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) HasAttachedAllocId ¶
HasAttachedAllocId returns a boolean if a field has been set.
func (*Volume) HasAttachedMachineId ¶
HasAttachedMachineId returns a boolean if a field has been set.
func (*Volume) HasAutoBackupEnabled ¶
HasAutoBackupEnabled returns a boolean if a field has been set.
func (*Volume) HasBlockSize ¶
HasBlockSize returns a boolean if a field has been set.
func (*Volume) HasBlocksAvail ¶
HasBlocksAvail returns a boolean if a field has been set.
func (*Volume) HasBlocksFree ¶
HasBlocksFree returns a boolean if a field has been set.
func (*Volume) HasBytesTotal ¶
HasBytesTotal returns a boolean if a field has been set.
func (*Volume) HasBytesUsed ¶
HasBytesUsed returns a boolean if a field has been set.
func (*Volume) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Volume) HasEncrypted ¶
HasEncrypted returns a boolean if a field has been set.
func (*Volume) HasHostStatus ¶
HasHostStatus returns a boolean if a field has been set.
func (*Volume) HasSnapshotRetention ¶
HasSnapshotRetention returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetAttachedAllocId ¶
SetAttachedAllocId gets a reference to the given string and assigns it to the AttachedAllocId field.
func (*Volume) SetAttachedMachineId ¶
SetAttachedMachineId gets a reference to the given string and assigns it to the AttachedMachineId field.
func (*Volume) SetAutoBackupEnabled ¶
SetAutoBackupEnabled gets a reference to the given bool and assigns it to the AutoBackupEnabled field.
func (*Volume) SetBlockSize ¶
SetBlockSize gets a reference to the given int64 and assigns it to the BlockSize field.
func (*Volume) SetBlocks ¶
SetBlocks gets a reference to the given int64 and assigns it to the Blocks field.
func (*Volume) SetBlocksAvail ¶
SetBlocksAvail gets a reference to the given int64 and assigns it to the BlocksAvail field.
func (*Volume) SetBlocksFree ¶
SetBlocksFree gets a reference to the given int64 and assigns it to the BlocksFree field.
func (*Volume) SetBytesTotal ¶
SetBytesTotal gets a reference to the given int64 and assigns it to the BytesTotal field.
func (*Volume) SetBytesUsed ¶
SetBytesUsed gets a reference to the given int64 and assigns it to the BytesUsed field.
func (*Volume) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Volume) SetEncrypted ¶
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*Volume) SetFstype ¶
SetFstype gets a reference to the given string and assigns it to the Fstype field.
func (*Volume) SetHostStatus ¶
SetHostStatus gets a reference to the given string and assigns it to the HostStatus field.
func (*Volume) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Volume) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*Volume) SetSizeGb ¶
SetSizeGb gets a reference to the given int64 and assigns it to the SizeGb field.
func (*Volume) SetSnapshotRetention ¶
SetSnapshotRetention gets a reference to the given int64 and assigns it to the SnapshotRetention field.
func (*Volume) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
type VolumeSnapshot ¶
type VolumeSnapshot struct {
CreatedAt *string `json:"created_at,omitempty"`
Digest *string `json:"digest,omitempty"`
Id *string `json:"id,omitempty"`
RetentionDays *int64 `json:"retention_days,omitempty"`
Size *int64 `json:"size,omitempty"`
Status *string `json:"status,omitempty"`
}
VolumeSnapshot struct for VolumeSnapshot
func NewVolumeSnapshot ¶
func NewVolumeSnapshot() *VolumeSnapshot
NewVolumeSnapshot instantiates a new VolumeSnapshot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeSnapshotWithDefaults ¶
func NewVolumeSnapshotWithDefaults() *VolumeSnapshot
NewVolumeSnapshotWithDefaults instantiates a new VolumeSnapshot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeSnapshot) GetCreatedAt ¶
func (o *VolumeSnapshot) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*VolumeSnapshot) GetCreatedAtOk ¶
func (o *VolumeSnapshot) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetDigest ¶
func (o *VolumeSnapshot) GetDigest() string
GetDigest returns the Digest field value if set, zero value otherwise.
func (*VolumeSnapshot) GetDigestOk ¶
func (o *VolumeSnapshot) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetId ¶
func (o *VolumeSnapshot) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VolumeSnapshot) GetIdOk ¶
func (o *VolumeSnapshot) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetRetentionDays ¶
func (o *VolumeSnapshot) GetRetentionDays() int64
GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.
func (*VolumeSnapshot) GetRetentionDaysOk ¶
func (o *VolumeSnapshot) GetRetentionDaysOk() (*int64, bool)
GetRetentionDaysOk returns a tuple with the RetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetSize ¶
func (o *VolumeSnapshot) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*VolumeSnapshot) GetSizeOk ¶
func (o *VolumeSnapshot) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) GetStatus ¶
func (o *VolumeSnapshot) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*VolumeSnapshot) GetStatusOk ¶
func (o *VolumeSnapshot) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeSnapshot) HasCreatedAt ¶
func (o *VolumeSnapshot) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*VolumeSnapshot) HasDigest ¶
func (o *VolumeSnapshot) HasDigest() bool
HasDigest returns a boolean if a field has been set.
func (*VolumeSnapshot) HasId ¶
func (o *VolumeSnapshot) HasId() bool
HasId returns a boolean if a field has been set.
func (*VolumeSnapshot) HasRetentionDays ¶
func (o *VolumeSnapshot) HasRetentionDays() bool
HasRetentionDays returns a boolean if a field has been set.
func (*VolumeSnapshot) HasSize ¶
func (o *VolumeSnapshot) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*VolumeSnapshot) HasStatus ¶
func (o *VolumeSnapshot) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (VolumeSnapshot) MarshalJSON ¶
func (o VolumeSnapshot) MarshalJSON() ([]byte, error)
func (*VolumeSnapshot) SetCreatedAt ¶
func (o *VolumeSnapshot) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*VolumeSnapshot) SetDigest ¶
func (o *VolumeSnapshot) SetDigest(v string)
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*VolumeSnapshot) SetId ¶
func (o *VolumeSnapshot) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*VolumeSnapshot) SetRetentionDays ¶
func (o *VolumeSnapshot) SetRetentionDays(v int64)
SetRetentionDays gets a reference to the given int64 and assigns it to the RetentionDays field.
func (*VolumeSnapshot) SetSize ¶
func (o *VolumeSnapshot) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*VolumeSnapshot) SetStatus ¶
func (o *VolumeSnapshot) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (VolumeSnapshot) ToMap ¶
func (o VolumeSnapshot) ToMap() (map[string]interface{}, error)
type VolumesAPIService ¶
type VolumesAPIService service
VolumesAPIService VolumesAPI service
func (*VolumesAPIService) CreateVolumeSnapshot ¶
func (a *VolumesAPIService) CreateVolumeSnapshot(ctx context.Context, appName string, volumeId string) ApiCreateVolumeSnapshotRequest
CreateVolumeSnapshot Create Snapshot
Create a snapshot for a specific volume within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param volumeId Volume ID @return ApiCreateVolumeSnapshotRequest
func (*VolumesAPIService) CreateVolumeSnapshotExecute ¶
func (a *VolumesAPIService) CreateVolumeSnapshotExecute(r ApiCreateVolumeSnapshotRequest) (*http.Response, error)
Execute executes the request
func (*VolumesAPIService) VolumeDelete ¶
func (a *VolumesAPIService) VolumeDelete(ctx context.Context, appName string, volumeId string) ApiVolumeDeleteRequest
VolumeDelete Destroy Volume
Delete a specific volume within an app by volume ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param volumeId Volume ID @return ApiVolumeDeleteRequest
func (*VolumesAPIService) VolumeDeleteExecute ¶
func (a *VolumesAPIService) VolumeDeleteExecute(r ApiVolumeDeleteRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumesAPIService) VolumesCreate ¶
func (a *VolumesAPIService) VolumesCreate(ctx context.Context, appName string) ApiVolumesCreateRequest
VolumesCreate Create Volume
Create a volume for a specific app using the details provided in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiVolumesCreateRequest
func (*VolumesAPIService) VolumesCreateExecute ¶
func (a *VolumesAPIService) VolumesCreateExecute(r ApiVolumesCreateRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumesAPIService) VolumesExtend ¶
func (a *VolumesAPIService) VolumesExtend(ctx context.Context, appName string, volumeId string) ApiVolumesExtendRequest
VolumesExtend Extend Volume
Extend a volume's size within an app using the details provided in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param volumeId Volume ID @return ApiVolumesExtendRequest
func (*VolumesAPIService) VolumesExtendExecute ¶
func (a *VolumesAPIService) VolumesExtendExecute(r ApiVolumesExtendRequest) (*ExtendVolumeResponse, *http.Response, error)
Execute executes the request
@return ExtendVolumeResponse
func (*VolumesAPIService) VolumesGetById ¶
func (a *VolumesAPIService) VolumesGetById(ctx context.Context, appName string, volumeId string) ApiVolumesGetByIdRequest
VolumesGetById Get Volume
Retrieve details about a specific volume by its ID within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param volumeId Volume ID @return ApiVolumesGetByIdRequest
func (*VolumesAPIService) VolumesGetByIdExecute ¶
func (a *VolumesAPIService) VolumesGetByIdExecute(r ApiVolumesGetByIdRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
func (*VolumesAPIService) VolumesList ¶
func (a *VolumesAPIService) VolumesList(ctx context.Context, appName string) ApiVolumesListRequest
VolumesList List Volumes
List all volumes associated with a specific app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @return ApiVolumesListRequest
func (*VolumesAPIService) VolumesListExecute ¶
func (a *VolumesAPIService) VolumesListExecute(r ApiVolumesListRequest) ([]Volume, *http.Response, error)
Execute executes the request
@return []Volume
func (*VolumesAPIService) VolumesListSnapshots ¶
func (a *VolumesAPIService) VolumesListSnapshots(ctx context.Context, appName string, volumeId string) ApiVolumesListSnapshotsRequest
VolumesListSnapshots List Snapshots
List all snapshots for a specific volume within an app.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param volumeId Volume ID @return ApiVolumesListSnapshotsRequest
func (*VolumesAPIService) VolumesListSnapshotsExecute ¶
func (a *VolumesAPIService) VolumesListSnapshotsExecute(r ApiVolumesListSnapshotsRequest) ([]VolumeSnapshot, *http.Response, error)
Execute executes the request
@return []VolumeSnapshot
func (*VolumesAPIService) VolumesUpdate ¶
func (a *VolumesAPIService) VolumesUpdate(ctx context.Context, appName string, volumeId string) ApiVolumesUpdateRequest
VolumesUpdate Update Volume
Update a volume's configuration using the details provided in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param appName Fly App Name @param volumeId Volume ID @return ApiVolumesUpdateRequest
func (*VolumesAPIService) VolumesUpdateExecute ¶
func (a *VolumesAPIService) VolumesUpdateExecute(r ApiVolumesUpdateRequest) (*Volume, *http.Response, error)
Execute executes the request
@return Volume
Source Files
¶
- api_apps.go
- api_machines.go
- api_platform.go
- api_secrets.go
- api_tokens.go
- api_volumes.go
- client.go
- configuration.go
- model_app.go
- model_app_secret.go
- model_app_secrets.go
- model_check_status.go
- model_create_app_request.go
- model_create_lease_request.go
- model_create_machine_request.go
- model_create_oidc_token_request.go
- model_create_volume_request.go
- model_decrypt_secretkey_request.go
- model_decrypt_secretkey_response.go
- model_encrypt_secretkey_request.go
- model_encrypt_secretkey_response.go
- model_error_response.go
- model_extend_volume_request.go
- model_extend_volume_response.go
- model_fly_container_config.go
- model_fly_container_dependency.go
- model_fly_container_dependency_condition.go
- model_fly_container_healthcheck.go
- model_fly_container_healthcheck_kind.go
- model_fly_container_healthcheck_scheme.go
- model_fly_dns_config.go
- model_fly_dns_forward_rule.go
- model_fly_dns_option.go
- model_fly_duration.go
- model_fly_env_from.go
- model_fly_exec_healthcheck.go
- model_fly_file.go
- model_fly_http_healthcheck.go
- model_fly_http_options.go
- model_fly_http_response_options.go
- model_fly_machine_check.go
- model_fly_machine_config.go
- model_fly_machine_guest.go
- model_fly_machine_http_header.go
- model_fly_machine_init.go
- model_fly_machine_metrics.go
- model_fly_machine_port.go
- model_fly_machine_process.go
- model_fly_machine_restart.go
- model_fly_machine_secret.go
- model_fly_machine_service.go
- model_fly_machine_service_check.go
- model_fly_machine_service_concurrency.go
- model_fly_proxy_proto_options.go
- model_fly_static.go
- model_fly_stop_config.go
- model_fly_tcp_healthcheck.go
- model_fly_tls_options.go
- model_fly_unhealthy_policy.go
- model_flydv1_exec_response.go
- model_image_ref.go
- model_lease.go
- model_list_app.go
- model_list_apps_response.go
- model_listen_socket.go
- model_machine.go
- model_machine_event.go
- model_machine_exec_request.go
- model_machine_version.go
- model_main_get_placements_request.go
- model_main_get_placements_response.go
- model_main_region_response.go
- model_main_status_code.go
- model_organization.go
- model_placement_region_placement.go
- model_process_stat.go
- model_reads_get_capacity_per_region_row.go
- model_secret_key.go
- model_secret_keys.go
- model_set_app_secret_request.go
- model_set_app_secret_response.go
- model_set_secretkey_request.go
- model_set_secretkey_response.go
- model_sign_secretkey_request.go
- model_sign_secretkey_response.go
- model_signal_request.go
- model_stop_request.go
- model_update_machine_request.go
- model_update_volume_request.go
- model_verify_secretkey_request.go
- model_volume.go
- model_volume_snapshot.go
- response.go
- utils.go