fake

package
v1.0.0-beta.19 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package fake implements fakes for important interfaces like the HCloud API.

Index

Constants

View Source
const DefaultArchitecture = hcloud.ArchitectureX86

DefaultArchitecture defines the default CPU architecture for HCloud server types.

View Source
const DefaultCPUCores = 1

DefaultCPUCores defines the default CPU cores for HCloud machines' capacities.

View Source
const DefaultMemoryInGB = float32(4)

DefaultMemoryInGB defines the default memory in GB for HCloud machines' capacities.

Variables

This section is empty.

Functions

func NewHCloudClientFactory

func NewHCloudClientFactory() hcloudclient.Factory

NewHCloudClientFactory creates new fake HCloud client factories using cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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