machine

package
v0.0.0-...-7cc618d Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 36 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	UserDataKey          = "userData"
	DisableTemplatingKey = "disableTemplating"
	PostprocessorKey     = "postprocessor"
)
View Source
const OpenstackServerResourcesAnnotationKey = "openstack-server-resources"

Variables

This section is empty.

Functions

func MachineToInstanceSpec

func MachineToInstanceSpec(ctx context.Context, machine *machinev1beta1.Machine, apiVIPs, ingressVIPs []string, userData string, instanceService instanceService, ignoreAddressPairs bool) (*compute.InstanceSpec, error)

Types

type ActuatorParams

type ActuatorParams struct {
	KubeClient    kubernetes.Interface
	Client        client.Client
	ConfigClient  configclient.ConfigV1Interface
	EventRecorder events.EventRecorder
	Scheme        *runtime.Scheme
}

ActuatorParams holds parameter information for Actuator

type OpenstackClient

type OpenstackClient struct {
	// contains filtered or unexported fields
}

func NewActuator

func NewActuator(params ActuatorParams) (*OpenstackClient, error)

func (*OpenstackClient) Create

func (oc *OpenstackClient) Create(ctx context.Context, machine *machinev1.Machine) error

func (*OpenstackClient) Delete

func (oc *OpenstackClient) Delete(ctx context.Context, machine *machinev1.Machine) error

func (*OpenstackClient) Exists

func (oc *OpenstackClient) Exists(ctx context.Context, machine *machinev1.Machine) (bool, error)

func (*OpenstackClient) Update

func (oc *OpenstackClient) Update(ctx context.Context, machine *machinev1.Machine) error

Jump to

Keyboard shortcuts

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