Versions in this module Expand all Collapse all v1 v1.3.0 Aug 3, 2026 v1.2.0 Aug 3, 2026 Changes in this version + const AccessKeyStatusActive + const AccessKeyStatusInactive + const AddOnTypeAutoSnapshot + const AddOnTypeStopInstanceOnIdle + const AlarmStateAlarm + const AlarmStateInsufficientData + const AlarmStateOK + const AutoMountStatusFailed + const AutoMountStatusMounted + const AutoMountStatusNotMounted + const AutoMountStatusPending + const AutoSnapshotStatusFailed + const AutoSnapshotStatusInProgress + const AutoSnapshotStatusNotFound + const AutoSnapshotStatusSuccess + const BucketStateOK + const BucketStateUnknown + const CertificateStatusExpired + const CertificateStatusFailed + const CertificateStatusInactive + const CertificateStatusIssued + const CertificateStatusPendingValidation + const CertificateStatusRevoked + const CertificateStatusValidationTimedOut + const ContactMethodStatusInvalid + const ContactMethodStatusPendingVerification + const ContactMethodStatusValid + const ContactProtocolEmail + const ContactProtocolSMS + const ContainerDeploymentStateActivating + const ContainerDeploymentStateActive + const ContainerDeploymentStateFailed + const ContainerDeploymentStateInactive + const ContainerServiceDetailActivatingDeployment + const ContainerServiceDetailCertificateLimitExceeded + const ContainerServiceDetailCreatingDeployment + const ContainerServiceDetailCreatingNetworkInfrastructure + const ContainerServiceDetailCreatingSystemResources + const ContainerServiceDetailEvaluatingHealthCheck + const ContainerServiceDetailProvisioningCertificate + const ContainerServiceDetailProvisioningService + const ContainerServiceDetailUnknownError + const ContainerServiceStateDeleting + const ContainerServiceStateDeploying + const ContainerServiceStateDisabled + const ContainerServiceStatePending + const ContainerServiceStateReady + const ContainerServiceStateRunning + const ContainerServiceStateUpdating + const DiskStateAvailable + const DiskStateError + const DiskStateInUse + const DiskStatePending + const DiskStateUnknown + const GUISessionStatusFailed + const GUISessionStatusReady + const GUISessionStatusSettingUp + const GUISessionStatusStopped + const InstanceHealthDraining + const InstanceHealthHealthy + const InstanceHealthInitial + const InstanceHealthUnavailable + const InstanceHealthUnhealthy + const InstanceHealthUnused + const InstancePlatformLinuxUnix + const InstancePlatformWindows + const InstanceStateCodePending + const InstanceStateCodeRunning + const InstanceStateCodeShuttingDown + const InstanceStateCodeStopped + const InstanceStateCodeStopping + const InstanceStateCodeTerminated + const InstanceStateNamePending + const InstanceStateNameRunning + const InstanceStateNameShuttingDown + const InstanceStateNameStopped + const InstanceStateNameStopping + const InstanceStateNameTerminated + const LoadBalancerProtocolHTTP + const LoadBalancerProtocolHTTPHTTPS + const LoadBalancerStateActive + const LoadBalancerStateActiveImpaired + const LoadBalancerStateFailed + const LoadBalancerStateProvisioning + const LoadBalancerStateUnknown + const ObjectVersioningEnabled + const ObjectVersioningNeverEnabled + const ObjectVersioningSuspended + const OperationStatusCompleted + const OperationStatusFailed + const OperationStatusNotStarted + const OperationStatusStarted + const OperationStatusSucceeded + const OperationTypeCreateInstance + const OperationTypeEnableAddOn + const PasswordVersionCurrent + const PasswordVersionPending + const PasswordVersionPrevious + const PortStateOpen + const RecordStateFailed + const RecordStateStarted + const RecordStateSucceeded + const RelationalDatabaseStateAvailable + const RelationalDatabaseStateBackingUp + const RelationalDatabaseStateCreating + const RelationalDatabaseStateDeleting + const RelationalDatabaseStateModifying + const RelationalDatabaseStateRebooting + const RelationalDatabaseStateStarting + const RelationalDatabaseStateStopped + const RelationalDatabaseStateStopping + const ResourceTypeAlarm + const ResourceTypeBucket + const ResourceTypeCertificate + const ResourceTypeCloudFormationStackRecord + const ResourceTypeContactMethod + const ResourceTypeContainerService + const ResourceTypeDisk + const ResourceTypeDiskSnapshot + const ResourceTypeDistribution + const ResourceTypeDomain + const ResourceTypeExportSnapshotRecord + const ResourceTypeInstance + const ResourceTypeInstanceSnapshot + const ResourceTypeKeyPair + const ResourceTypeLoadBalancer + const ResourceTypeLoadBalancerTLSCertificate + const ResourceTypePeeredVpc + const ResourceTypeRelationalDatabase + const ResourceTypeRelationalDatabaseSnapshot + const ResourceTypeStaticIP + const SnapshotStateAvailable + const SnapshotStateCompleted + const SnapshotStateError + const SnapshotStatePending + const SnapshotStateUnknown + var ErrNilAppContext = errors.New("AppContext is required") + type AccessKey struct + AccessKeyID string + CreatedAt time.Time + SecretAccessKey string + Status string + type AddOn struct + Duration string + Name string + NextSnapshotTimeOfDay string + SnapshotTimeOfDay string + Status string + Threshold string + type AddOnRequest struct + AutoSnapshotTimeOfDay string + StopInstanceOnIdleDuration string + StopInstanceOnIdleThreshold string + Type string + type Alarm struct + Arn string + ComparisonOperator string + ContactProtocols []string + CreatedAt time.Time + DatapointsToAlarm int32 + EvaluationPeriods int32 + Location ResourceLocation + MetricName string + MonitoredResourceArn string + MonitoredResourceName string + Name string + NotificationEnabled bool + NotificationTriggers []string + State string + Statistic string + SupportCode string + Tags *tags.Tags + Threshold float64 + TreatMissingData string + Unit string + type AttachedDisk struct + Path string + SizeInGb int32 + type AutoSnapshotDetails struct + CreatedAt time.Time + Date string + FromAttachedDisks []AttachedDisk + Status string + type Blueprint struct + AppCategory string + BlueprintID string + Description string + Group string + IsActive bool + MinPower int32 + Name string + Platform string + Type string + Version string + VersionCode string + type Bucket struct + AbleToUpdateBundle bool + AccessKeys []AccessKey + Arn string + BundleID string + CreatedAt time.Time + Location ResourceLocation + Name string + ObjectVersioning string + ReadonlyAccessAccounts []string + State string + StateMessage string + SupportCode string + Tags *tags.Tags + URL string + type BucketBundle struct + BundleID string + IsActive bool + Name string + Price float32 + StoragePerMonthInGb int32 + TransferPerMonthInGb int32 + type Bundle struct + BundleID string + CPUCount int32 + DiskSizeInGb int32 + InstanceType string + IsActive bool + Name string + Power int32 + Price float32 + PublicIPv4AddressCount int32 + RAMSizeInGb float32 + SupportedAppCategories []string + SupportedPlatforms []string + TransferPerMonthInGb int32 + type Certificate struct + Arn string + CreatedAt time.Time + DomainName string + IssuedAt time.Time + Name string + NotAfter time.Time + NotBefore time.Time + Status string + SubjectAlternativeNames []string + Tags *tags.Tags + type CloudFormationBackend interface + CreateStackFromLightsail func(stackName string, instanceNames []string) (stackID string, err error) + type CloudFormationStackRecord struct + Arn string + CreatedAt time.Time + DestinationInfoID string + Location ResourceLocation + Name string + SourceInstances []string + State string + type ContactMethod struct + Arn string + ContactEndpoint string + CreatedAt time.Time + Location ResourceLocation + Protocol string + Status string + SupportCode string + Tags *tags.Tags + type ContainerDefinition struct + Command []string + Environment map[string]string + Image string + Ports map[string]string + type ContainerImage struct + CreatedAt time.Time + Digest string + Image string + type ContainerService struct + Arn string + CreatedAt time.Time + CurrentDeployment *ContainerServiceDeployment + Images []ContainerImage + IsDisabled bool + Location ResourceLocation + Name string + NextDeployment *ContainerServiceDeployment + NextImageVersion map[string]int + Power string + PowerID string + PrincipalArn string + PrivateDomainName string + PublicDomainNames map[string][]string + Scale int32 + State string + StateDetailCode string + StateDetailMessage string + Tags *tags.Tags + URL string + type ContainerServiceDeployment struct + Containers map[string]ContainerDefinition + CreatedAt time.Time + PublicEndpoint *ContainerServiceEndpoint + State string + Version int32 + type ContainerServiceEndpoint struct + ContainerName string + ContainerPort int32 + type ContainerServicePowerSeed struct + CPUCount float32 + IsActive bool + Name string + PowerID string + Price float32 + RAMSizeInGb float32 + type CreateInstancesFromSnapshotRequest struct + AddOns []AddOnRequest + AvailabilityZone string + BundleID string + IPAddressType string + InstanceNames []string + InstanceSnapshotName string + KeyPairName string + Tags map[string]string + type CreateInstancesRequest struct + AddOns []AddOnRequest + AvailabilityZone string + BlueprintID string + BundleID string + IPAddressType string + KeyPairName string + Names []string + Tags map[string]string + type Disk struct + AddOns []AddOn + Arn string + AttachedTo string + AttachmentState string + AutoMountStatus string + AutoSnapshots []AutoSnapshotDetails + CreatedAt time.Time + GbInUse int32 + Iops int32 + IsAttached bool + IsSystemDisk bool + Location ResourceLocation + Name string + Path string + SizeInGb int32 + State string + SupportCode string + Tags *tags.Tags + type DiskSnapshot struct + Arn string + CreatedAt time.Time + FromDiskArn string + FromDiskName string + FromInstanceArn string + FromInstanceName string + IsFromAutoSnapshot bool + Location ResourceLocation + Name string + Progress string + SizeInGb int32 + State string + SupportCode string + Tags *tags.Tags + type Distribution struct + AbleToUpdateBundle bool + AlternativeDomainNames []string + Arn string + BundleID string + CertificateName string + CreatedAt time.Time + DomainName string + IPAddressType string + IsEnabled bool + Location ResourceLocation + Name string + Origin DistributionOrigin + OriginPublicDNS string + Status string + SupportCode string + Tags *tags.Tags + ViewerMinTLSVersion string + type DistributionBundle struct + BundleID string + IsActive bool + Name string + Price float32 + TransferPerMonthInGb int32 + type DistributionOrigin struct + Name string + ProtocolPolicy string + RegionName string + type Domain struct + Arn string + CreatedAt time.Time + Entries []DomainEntry + Location ResourceLocation + Name string + SupportCode string + Tags *tags.Tags + type DomainEntry struct + ID string + IsAlias bool + Name string + Options map[string]string + Target string + Type string + type ExportSnapshotRecord struct + Arn string + CreatedAt time.Time + Location ResourceLocation + Name string + SourceArn string + SourceName string + SourceResourceType string + State string + type GUISession struct + ResourceName string + Status string + URL string + type Handler struct + Backend *InMemoryBackend + func NewHandler(backend *InMemoryBackend) *Handler + func (h *Handler) ChaosOperations() []string + func (h *Handler) ChaosRegions() []string + func (h *Handler) ChaosServiceName() string + func (h *Handler) ExtractOperation(c *echo.Context) string + func (h *Handler) ExtractResource(c *echo.Context) string + func (h *Handler) GetSupportedOperations() []string + func (h *Handler) Handler() echo.HandlerFunc + func (h *Handler) MatchPriority() int + func (h *Handler) Name() string + func (h *Handler) Reset() + func (h *Handler) Restore(ctx context.Context, data []byte) error + func (h *Handler) RouteMatcher() service.Matcher + func (h *Handler) Snapshot(ctx context.Context) []byte + type HostKeyAttributes struct + Algorithm string + FingerprintSHA1 string + FingerprintSHA256 string + NotValidAfter time.Time + NotValidBefore time.Time + PublicKey string + WitnessedAt time.Time + type InMemoryBackend struct + func NewInMemoryBackend(ctx context.Context, accountID, region string) *InMemoryBackend + func (b *InMemoryBackend) AccountID() string + func (b *InMemoryBackend) AllocateStaticIP(name string) (*Operation, error) + func (b *InMemoryBackend) AttachCertificateToDistribution(distributionName, certificateName string) (*Operation, error) + func (b *InMemoryBackend) AttachDisk(diskName, instanceName, diskPath string, autoMounting bool) (*Operation, error) + func (b *InMemoryBackend) AttachInstancesToLoadBalancer(name string, instanceNames []string) ([]Operation, error) + func (b *InMemoryBackend) AttachLoadBalancerTLSCertificate(loadBalancerName, certificateName string) ([]Operation, error) + func (b *InMemoryBackend) AttachStaticIP(name, instanceName string) (*Operation, error) + func (b *InMemoryBackend) Close() + func (b *InMemoryBackend) CloseInstancePublicPorts(name string, rule InstancePortInfo) (*Operation, error) + func (b *InMemoryBackend) CopySnapshot(sourceRegion, sourceResourceName, targetSnapshotName string) ([]Operation, error) + func (b *InMemoryBackend) CreateBucket(name, bundleID string, enableObjectVersioning bool, userTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) CreateBucketAccessKey(bucketName string) (*AccessKey, []Operation, error) + func (b *InMemoryBackend) CreateCertificate(name, domainName string, sans []string, userTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) CreateCloudFormationStack(instances []InstanceEntry) ([]Operation, error) + func (b *InMemoryBackend) CreateContactMethod(protocol, contactEndpoint string, userTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) CreateContainerService(name, power string, scale int32, deployment *ContainerServiceDeployment, ...) (*ContainerService, error) + func (b *InMemoryBackend) CreateContainerServiceDeployment(name string, containers map[string]ContainerDefinition, ...) (*ContainerService, error) + func (b *InMemoryBackend) CreateContainerServiceRegistryLogin() (string, string, string, time.Time) + func (b *InMemoryBackend) CreateDisk(name, availabilityZone string, sizeInGb int32, addOns []AddOnRequest, ...) ([]Operation, error) + func (b *InMemoryBackend) CreateDiskFromSnapshot(name, availabilityZone, snapshotName string, sizeInGb int32, ...) ([]Operation, error) + func (b *InMemoryBackend) CreateDiskSnapshot(diskName, instanceName, snapshotName string, userTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) CreateDistribution(name, bundleID, originName, ipAddressType, certificateName string, ...) ([]Operation, error) + func (b *InMemoryBackend) CreateDomain(name string, userTags map[string]string) (*Operation, error) + func (b *InMemoryBackend) CreateDomainEntry(domainName string, entry DomainEntry) (*Operation, error) + func (b *InMemoryBackend) CreateGUISessionAccessDetails(resourceName string) (*GUISession, error) + func (b *InMemoryBackend) CreateInstanceSnapshot(instanceName, snapshotName string, userTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) CreateInstances(req CreateInstancesRequest) ([]Operation, error) + func (b *InMemoryBackend) CreateInstancesFromSnapshot(req CreateInstancesFromSnapshotRequest) ([]Operation, error) + func (b *InMemoryBackend) CreateKeyPair(name string, userTags map[string]string) (*KeyPair, *Operation, string, string, error) + func (b *InMemoryBackend) CreateLoadBalancer(name string, instancePort int32, ...) ([]Operation, error) + func (b *InMemoryBackend) CreateLoadBalancerTLSCertificate(loadBalancerName, certificateName, domainName string, ...) ([]Operation, error) + func (b *InMemoryBackend) CreateRelationalDatabase(...) ([]Operation, error) + func (b *InMemoryBackend) CreateRelationalDatabaseFromSnapshot(name, snapshotName, availabilityZone, bundleID string, publiclyAccessible bool, ...) ([]Operation, error) + func (b *InMemoryBackend) CreateRelationalDatabaseSnapshot(dbName, snapshotName string, userTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) DeleteAlarm(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteAutoSnapshot(resourceName, date string) ([]Operation, error) + func (b *InMemoryBackend) DeleteBucket(name string, forceDelete bool) ([]Operation, error) + func (b *InMemoryBackend) DeleteBucketAccessKey(bucketName, accessKeyID string) ([]Operation, error) + func (b *InMemoryBackend) DeleteCertificate(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteContactMethod(protocol string) ([]Operation, error) + func (b *InMemoryBackend) DeleteContainerImage(serviceName, image string) error + func (b *InMemoryBackend) DeleteContainerService(name string) error + func (b *InMemoryBackend) DeleteDisk(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteDiskSnapshot(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteDistribution(name string) (*Operation, error) + func (b *InMemoryBackend) DeleteDomain(name string) (*Operation, error) + func (b *InMemoryBackend) DeleteDomainEntry(domainName string, entry DomainEntry) (*Operation, error) + func (b *InMemoryBackend) DeleteInstance(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteInstanceSnapshot(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteKeyPair(name string) (*Operation, error) + func (b *InMemoryBackend) DeleteKnownHostKeys(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteLoadBalancer(name string) ([]Operation, error) + func (b *InMemoryBackend) DeleteLoadBalancerTLSCertificate(loadBalancerName, certificateName string) ([]Operation, error) + func (b *InMemoryBackend) DeleteRelationalDatabase(name, finalSnapshotName string, skipFinalSnapshot bool) ([]Operation, error) + func (b *InMemoryBackend) DeleteRelationalDatabaseSnapshot(name string) ([]Operation, error) + func (b *InMemoryBackend) DetachCertificateFromDistribution(distributionName string) (*Operation, error) + func (b *InMemoryBackend) DetachDisk(diskName string) (*Operation, error) + func (b *InMemoryBackend) DetachInstancesFromLoadBalancer(name string, instanceNames []string) ([]Operation, error) + func (b *InMemoryBackend) DetachStaticIP(name string) (*Operation, error) + func (b *InMemoryBackend) DisableAddOn(resourceName, addOnType string) ([]Operation, error) + func (b *InMemoryBackend) DownloadDefaultKeyPair() (time.Time, string, string, error) + func (b *InMemoryBackend) EnableAddOn(resourceName string, req AddOnRequest) ([]Operation, error) + func (b *InMemoryBackend) ExportSnapshot(sourceSnapshotName string) ([]Operation, error) + func (b *InMemoryBackend) GetActiveNames() []string + func (b *InMemoryBackend) GetAlarms(name, monitoredResourceName string) ([]*Alarm, error) + func (b *InMemoryBackend) GetAutoSnapshots(resourceName string) ([]AutoSnapshotDetails, string, error) + func (b *InMemoryBackend) GetBlueprints(appCategory string, includeInactive bool) []Blueprint + func (b *InMemoryBackend) GetBucketAccessKeys(bucketName string) ([]AccessKey, error) + func (b *InMemoryBackend) GetBucketBundles(includeInactive bool) []BucketBundle + func (b *InMemoryBackend) GetBucketMetricData(name string) error + func (b *InMemoryBackend) GetBuckets(name string) ([]*Bucket, error) + func (b *InMemoryBackend) GetBundles(appCategory string, includeInactive bool) []Bundle + func (b *InMemoryBackend) GetCertificates(name string, token string) (page.Page[*Certificate], error) + func (b *InMemoryBackend) GetCloudFormationStackRecords(token string) (page.Page[*CloudFormationStackRecord], error) + func (b *InMemoryBackend) GetContactMethods(protocols []string) ([]*ContactMethod, error) + func (b *InMemoryBackend) GetContainerImages(serviceName string) ([]ContainerImage, error) + func (b *InMemoryBackend) GetContainerLog(serviceName, _ string) error + func (b *InMemoryBackend) GetContainerServiceDeployments(name string) ([]ContainerServiceDeployment, error) + func (b *InMemoryBackend) GetContainerServiceMetricData(name string) error + func (b *InMemoryBackend) GetContainerServicePowers() []ContainerServicePowerSeed + func (b *InMemoryBackend) GetContainerServices(name string) ([]*ContainerService, error) + func (b *InMemoryBackend) GetCostEstimate(resourceName string) error + func (b *InMemoryBackend) GetDisk(name string) (*Disk, error) + func (b *InMemoryBackend) GetDiskSnapshot(name string) (*DiskSnapshot, error) + func (b *InMemoryBackend) GetDiskSnapshots(token string) (page.Page[*DiskSnapshot], error) + func (b *InMemoryBackend) GetDisks(token string) (page.Page[*Disk], error) + func (b *InMemoryBackend) GetDistributionBundles() []DistributionBundle + func (b *InMemoryBackend) GetDistributionLatestCacheReset(name string) (time.Time, error) + func (b *InMemoryBackend) GetDistributionMetricData(name string) error + func (b *InMemoryBackend) GetDistributions(name, token string) (page.Page[*Distribution], error) + func (b *InMemoryBackend) GetDomain(name string) (*Domain, error) + func (b *InMemoryBackend) GetDomains(token string) (page.Page[*Domain], error) + func (b *InMemoryBackend) GetExportSnapshotRecords(token string) (page.Page[*ExportSnapshotRecord], error) + func (b *InMemoryBackend) GetInstance(name string) (*Instance, error) + func (b *InMemoryBackend) GetInstanceAccessDetails(name, protocol string) (*InstanceAccessDetails, error) + func (b *InMemoryBackend) GetInstanceMetricData(instanceName string) error + func (b *InMemoryBackend) GetInstancePortStates(name string) ([]InstancePortInfo, error) + func (b *InMemoryBackend) GetInstanceSnapshot(name string) (*InstanceSnapshot, error) + func (b *InMemoryBackend) GetInstanceSnapshots(token string) (page.Page[*InstanceSnapshot], error) + func (b *InMemoryBackend) GetInstanceState(name string) (int32, string, error) + func (b *InMemoryBackend) GetInstances(token string) (page.Page[*Instance], error) + func (b *InMemoryBackend) GetKeyPair(name string) (*KeyPair, error) + func (b *InMemoryBackend) GetKeyPairs(includeDefault bool, token string) (page.Page[*KeyPair], error) + func (b *InMemoryBackend) GetLoadBalancer(name string) (*LoadBalancer, error) + func (b *InMemoryBackend) GetLoadBalancerMetricData(name string) error + func (b *InMemoryBackend) GetLoadBalancerTLSCertificates(loadBalancerName string) ([]*LoadBalancerTLSCertificate, error) + func (b *InMemoryBackend) GetLoadBalancerTLSPolicies(token string) (page.Page[LoadBalancerTLSPolicy], error) + func (b *InMemoryBackend) GetLoadBalancers(token string) (page.Page[*LoadBalancer], error) + func (b *InMemoryBackend) GetOperation(id string) (*Operation, error) + func (b *InMemoryBackend) GetOperations(token string) (page.Page[*Operation], error) + func (b *InMemoryBackend) GetOperationsForResource(resourceName, token string) (page.Page[*Operation], error) + func (b *InMemoryBackend) GetRegions() []RegionSeed + func (b *InMemoryBackend) GetRelationalDatabase(name string) (*RelationalDatabase, error) + func (b *InMemoryBackend) GetRelationalDatabaseBlueprints() []RelationalDatabaseBlueprint + func (b *InMemoryBackend) GetRelationalDatabaseBundles(includeInactive bool) []RelationalDatabaseBundle + func (b *InMemoryBackend) GetRelationalDatabaseEvents(name, token string) (page.Page[RelationalDatabaseEvent], error) + func (b *InMemoryBackend) GetRelationalDatabaseLogEvents(name, logStreamName string) error + func (b *InMemoryBackend) GetRelationalDatabaseLogStreams(name string) ([]string, error) + func (b *InMemoryBackend) GetRelationalDatabaseMasterUserPassword(name, passwordVersion string) (string, error) + func (b *InMemoryBackend) GetRelationalDatabaseMetricData(name string) error + func (b *InMemoryBackend) GetRelationalDatabaseParameters(name, token string) (page.Page[RelationalDatabaseParameter], error) + func (b *InMemoryBackend) GetRelationalDatabaseSnapshot(name string) (*RelationalDatabaseSnapshot, error) + func (b *InMemoryBackend) GetRelationalDatabaseSnapshots(token string) (page.Page[*RelationalDatabaseSnapshot], error) + func (b *InMemoryBackend) GetRelationalDatabases(token string) (page.Page[*RelationalDatabase], error) + func (b *InMemoryBackend) GetSetupHistory(resourceName, token string) (page.Page[*SetupHistoryEntry], error) + func (b *InMemoryBackend) GetStaticIP(name string) (*StaticIP, error) + func (b *InMemoryBackend) GetStaticIPs(token string) (page.Page[*StaticIP], error) + func (b *InMemoryBackend) ImportKeyPair(name, publicKeyBase64 string) (*Operation, error) + func (b *InMemoryBackend) IsVpcPeered() bool + func (b *InMemoryBackend) OpenInstancePublicPorts(name string, rule InstancePortInfo) (*Operation, error) + func (b *InMemoryBackend) PeerVpc() (*Operation, error) + func (b *InMemoryBackend) PutAlarm(...) ([]Operation, error) + func (b *InMemoryBackend) PutInstancePublicPorts(name string, rules []InstancePortInfo) (*Operation, error) + func (b *InMemoryBackend) RebootInstance(name string) ([]Operation, error) + func (b *InMemoryBackend) RebootRelationalDatabase(name string) ([]Operation, error) + func (b *InMemoryBackend) Region() string + func (b *InMemoryBackend) RegisterContainerImage(serviceName, label, digest string) (*ContainerImage, error) + func (b *InMemoryBackend) ReleaseStaticIP(name string) (*Operation, error) + func (b *InMemoryBackend) Reset() + func (b *InMemoryBackend) ResetDistributionCache(name string) (*Operation, time.Time, error) + func (b *InMemoryBackend) Restore(ctx context.Context, data []byte) error + func (b *InMemoryBackend) SendContactMethodVerification(protocol string) ([]Operation, error) + func (b *InMemoryBackend) SetCloudFormationBackend(cfn CloudFormationBackend) + func (b *InMemoryBackend) SetIPAddressType(resourceName, resourceType, ipAddressType string) ([]Operation, error) + func (b *InMemoryBackend) SetResourceAccessForBucket(resourceName, bucketName, access string) ([]Operation, error) + func (b *InMemoryBackend) SetupInstanceHTTPS(instanceName, certificateProvider string, domainNames []string) ([]Operation, error) + func (b *InMemoryBackend) Snapshot(ctx context.Context) []byte + func (b *InMemoryBackend) StartGUISession(resourceName string) (*Operation, error) + func (b *InMemoryBackend) StartInstance(name string) ([]Operation, error) + func (b *InMemoryBackend) StartRelationalDatabase(name string) ([]Operation, error) + func (b *InMemoryBackend) StopGUISession(resourceName string) (*Operation, error) + func (b *InMemoryBackend) StopInstance(name string) ([]Operation, error) + func (b *InMemoryBackend) StopRelationalDatabase(name, snapshotName string) ([]Operation, error) + func (b *InMemoryBackend) TagResource(resourceName, _ string, newTags map[string]string) ([]Operation, error) + func (b *InMemoryBackend) TagResourceByARN(arnStr string, newTags map[string]string) error + func (b *InMemoryBackend) TaggedResources() []TaggedEntry + func (b *InMemoryBackend) TestAlarm(name, state string) ([]Operation, error) + func (b *InMemoryBackend) UnpeerVpc() (*Operation, error) + func (b *InMemoryBackend) UntagResource(resourceName, _ string, tagKeys []string) ([]Operation, error) + func (b *InMemoryBackend) UntagResourceByARN(arnStr string, tagKeys []string) error + func (b *InMemoryBackend) UpdateBucket(name, versioning string, readonlyAccessAccounts []string) (*Bucket, []Operation, error) + func (b *InMemoryBackend) UpdateBucketBundle(name, bundleID string) ([]Operation, error) + func (b *InMemoryBackend) UpdateContainerService(name string, isDisabled *bool, power string, scale int32, ...) (*ContainerService, error) + func (b *InMemoryBackend) UpdateDistribution(name, certificateName string, isEnabled *bool) (*Operation, error) + func (b *InMemoryBackend) UpdateDistributionBundle(name, bundleID string) (*Operation, error) + func (b *InMemoryBackend) UpdateDomainEntry(domainName string, entry DomainEntry) ([]Operation, error) + func (b *InMemoryBackend) UpdateInstanceMetadataOptions(name string, opts InstanceMetadataOptions) (*Operation, error) + func (b *InMemoryBackend) UpdateLoadBalancerAttribute(name, attributeName, attributeValue string) ([]Operation, error) + func (b *InMemoryBackend) UpdateRelationalDatabase(name string, ...) ([]Operation, error) + func (b *InMemoryBackend) UpdateRelationalDatabaseParameters(name string, params []RelationalDatabaseParameter) ([]Operation, error) + type Instance struct + AddOns []AddOn + Arn string + AutoSnapshots []AutoSnapshotDetails + BlueprintID string + BlueprintName string + BundleID string + CPUCount int32 + CreatedAt time.Time + DiskSizeInGb int32 + HostKeys []HostKeyAttributes + IPAddressType string + IPv6Addresses []string + IsStaticIP bool + KnownHostKeysDeleted bool + Location ResourceLocation + MetadataOptions InstanceMetadataOptions + MonthlyTransfer int32 + Name string + Ports []InstancePortInfo + PrivateIPAddress string + PublicIPAddress string + RAMSizeInGb float32 + SSHKeyName string + StateCode int32 + StateName string + SupportCode string + Tags *tags.Tags + Username string + type InstanceAccessDetails struct + CertKey string + ExpiresAt time.Time + HostKeys []HostKeyAttributes + IPAddress string + InstanceName string + Password string + PrivateKey string + Protocol string + Username string + type InstanceEntry struct + AvailabilityZone string + InstanceType string + PortInfoSource string + SourceName string + UserData string + type InstanceMetadataOptions struct + HTTPEndpoint string + HTTPProtocolIpv6 string + HTTPPutResponseHopLimit int32 + HTTPTokens string + State string + type InstancePortInfo struct + AccessDirection string + AccessFrom string + AccessType string + CidrListAliases []string + Cidrs []string + CommonName string + FromPort int32 + Ipv6Cidrs []string + Protocol string + ToPort int32 + type InstanceSnapshot struct + Arn string + CreatedAt time.Time + FromAttachedDisks []AttachedDisk + FromBlueprintID string + FromBundleID string + FromInstanceArn string + FromInstanceName string + IsFromAutoSnapshot bool + Location ResourceLocation + Name string + Progress string + SizeInGb int32 + State string + SupportCode string + Tags *tags.Tags + type KeyPair struct + Arn string + CreatedAt time.Time + Fingerprint string + Location ResourceLocation + Name string + SupportCode string + Tags *tags.Tags + type LoadBalancer struct + Arn string + AttachedInstances []string + CreatedAt time.Time + DNSName string + HTTPSRedirectionEnabled bool + HealthCheckPath string + IPAddressType string + InstanceHealth map[string]instanceHealth + InstancePort int32 + Location ResourceLocation + Name string + Protocol string + PublicPorts []int32 + State string + SupportCode string + TLSCertificateNames []string + TLSPolicyName string + Tags *tags.Tags + type LoadBalancerTLSCertificate struct + Arn string + CreatedAt time.Time + DomainName string + IsAttached bool + IssuedAt time.Time + Issuer string + LoadBalancerName string + Location ResourceLocation + Name string + NotAfter time.Time + NotBefore time.Time + SerialNumber string + Status string + Subject string + SubjectAlternativeNames []string + SupportCode string + Tags *tags.Tags + type LoadBalancerTLSPolicy struct + Ciphers []string + Description string + IsDefault bool + Name string + Protocols []string + type Operation struct + CreatedAt time.Time + Details string + ErrorCode string + ErrorDetails string + ID string + IsTerminal bool + Location ResourceLocation + ResourceName string + ResourceType string + Status string + StatusChangedAt time.Time + Type string + type Provider struct + func (p *Provider) Init(ctx *service.AppContext) (service.Registerable, error) + func (p *Provider) Name() string + type RegionSeed struct + AvailabilityZones []string + ContinentCode string + Description string + DisplayName string + Name string + type RelationalDatabase struct + Arn string + BackupRetentionEnabled bool + BlueprintID string + BundleID string + CPUCount int32 + CaCertificateIdentifier string + CreatedAt time.Time + DiskSizeInGb int32 + Engine string + EngineVersion string + Events []RelationalDatabaseEvent + LatestRestorableTime time.Time + Location ResourceLocation + MasterDatabaseName string + MasterUserPassword string + MasterUsername string + Name string + ParameterApplyStatus string + Parameters map[string]RelationalDatabaseParameter + PreferredBackupWindow string + PreferredMaintenanceWindow string + PreviousMasterUserPassword string + PubliclyAccessible bool + RAMSizeInGb float32 + SecondaryAvailabilityZone string + State string + SupportCode string + Tags *tags.Tags + type RelationalDatabaseBlueprint struct + BlueprintID string + Engine string + EngineDescription string + EngineVersion string + EngineVersionDescription string + IsEngineDefault bool + type RelationalDatabaseBundle struct + BundleID string + CPUCount int32 + DiskSizeInGb int32 + IsActive bool + IsEncrypted bool + Name string + Price float32 + RAMSizeInGb float32 + TransferPerMonthInGb int32 + type RelationalDatabaseEvent struct + CreatedAt time.Time + EventCategories []string + Message string + Resource string + type RelationalDatabaseParameter struct + AllowedValues string + ApplyMethod string + ApplyType string + DataType string + Description string + IsModifiable bool + ParameterName string + ParameterValue string + type RelationalDatabaseSnapshot struct + Arn string + CreatedAt time.Time + Engine string + EngineVersion string + FromRelationalDatabaseArn string + FromRelationalDatabaseBlueprintID string + FromRelationalDatabaseBundleID string + FromRelationalDatabaseName string + Location ResourceLocation + Name string + SizeInGb int32 + State string + SupportCode string + Tags *tags.Tags + type ResourceLocation struct + AvailabilityZone string + RegionName string + type SetupExecutionDetail struct + Command string + DateTime time.Time + Name string + StandardError string + StandardOutput string + Status string + Version string + type SetupHistoryEntry struct + CertificateProvider string + CreatedAt time.Time + DomainNames []string + ExecutionDetails []SetupExecutionDetail + InstanceName string + Location ResourceLocation + OperationID string + ResourceName string + Status string + type StaticIP struct + Arn string + AttachedTo string + CreatedAt time.Time + IPAddress string + IsAttached bool + Location ResourceLocation + Name string + SupportCode string + type TaggedEntry struct + ARN string + Tags map[string]string