Documentation
¶
Index ¶
- type Cloud
- func (c *Cloud) GetLoadBalancerEndpoint(ctx context.Context) (string, error)
- func (c *Cloud) InitSecretHash(ctx context.Context) ([]byte, error)
- func (c *Cloud) List(ctx context.Context) ([]metadata.InstanceMetadata, error)
- func (c *Cloud) Self(ctx context.Context) (metadata.InstanceMetadata, error)
- func (c *Cloud) UID(ctx context.Context) (string, error)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶ added in v2.3.0
type Cloud struct{}
Cloud provides an interface to fake a CSP API for QEMU instances.
func (*Cloud) GetLoadBalancerEndpoint ¶ added in v2.3.0
GetLoadBalancerEndpoint returns the endpoint of the load balancer. For QEMU, the load balancer is the first control plane node returned by the metadata API.
func (*Cloud) InitSecretHash ¶ added in v2.3.0
InitSecretHash returns the hash of the init secret.
func (*Cloud) List ¶ added in v2.3.0
List retrieves all instances belonging to the current constellation.
Click to show internal directories.
Click to hide internal directories.