util

package
v0.0.0-...-c6cf6ad Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FakeStorage = &cloudstorage.StorageInfo{
	Name:    "fake",
	Region:  "nowhere",
	Path:    "s3://fake/",
	Created: time.Date(2020, 6, 20, 21, 43, 0, 0, time.UTC),
}

Functions

This section is empty.

Types

type FailedStorageProvider

type FailedStorageProvider struct{}

func (FailedStorageProvider) ConfigureHistoryServerStorage

func (f FailedStorageProvider) ConfigureHistoryServerStorage() (*cloudstorage.StorageInfo, error)

func (FailedStorageProvider) GetStorageInfo

func (f FailedStorageProvider) GetStorageInfo() (*cloudstorage.StorageInfo, error)

type FakeInstanceTypeManager

type FakeInstanceTypeManager struct{}

func (FakeInstanceTypeManager) GetValidInstanceTypesInFamily

func (m FakeInstanceTypeManager) GetValidInstanceTypesInFamily(family string) ([]string, error)

func (FakeInstanceTypeManager) Start

func (m FakeInstanceTypeManager) Start() error

func (FakeInstanceTypeManager) Stop

func (m FakeInstanceTypeManager) Stop()

func (FakeInstanceTypeManager) ValidateInstanceType

func (m FakeInstanceTypeManager) ValidateInstanceType(instanceType string) error

type FakeStorageProvider

type FakeStorageProvider struct{}

func (FakeStorageProvider) ConfigureHistoryServerStorage

func (f FakeStorageProvider) ConfigureHistoryServerStorage() (*cloudstorage.StorageInfo, error)

func (FakeStorageProvider) GetStorageInfo

func (f FakeStorageProvider) GetStorageInfo() (*cloudstorage.StorageInfo, error)

type NilStorageProvider

type NilStorageProvider struct{}

func (NilStorageProvider) ConfigureHistoryServerStorage

func (f NilStorageProvider) ConfigureHistoryServerStorage() (*cloudstorage.StorageInfo, error)

func (NilStorageProvider) GetStorageInfo

func (f NilStorageProvider) GetStorageInfo() (*cloudstorage.StorageInfo, error)

Jump to

Keyboard shortcuts

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