Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCantDetermineMinIOImage = errors.New("can't determine MinIO Image")
)
Functions ¶
func GetLatestMinIOImage ¶
func GetLatestMinIOImage(client HTTPClientI) (*string, error)
getLatestMinIOImage returns the latest docker image for MinIO if found on the internet
func PossibleParityValues ¶
PossibleParityValues returns possible parities for input args, parties are calculated in uniform manner for one pool or multiple pools, ensuring that parities returned are common and applicable across all pools.
Types ¶
type HTTPClient ¶
HTTPClient Interface implementation
Define the structure of a http client and define the functions that are actually used
type HTTPClientI ¶
type HTTPClientI interface { Get(url string) (resp *http.Response, err error) Post(url, contentType string, body io.Reader) (resp *http.Response, err error) Do(req *http.Request) (*http.Response, error) }
HTTPClientI interface with all functions to be implemented by mock when testing, it should include all HttpClient respective api calls that are used within this project.
Click to show internal directories.
Click to hide internal directories.