services

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNodeToNB

func AddNodeToNB(
	ctx context.Context,
	logger logr.Logger,
	machineScope *scope.MachineScope,
) error

AddNodeToNB adds a backend Node on the Node Balancer configuration

func CreateNodeBalancer

func CreateNodeBalancer(ctx context.Context, clusterScope *scope.ClusterScope, logger logr.Logger) (*linodego.NodeBalancer, error)

CreateNodeBalancer creates a new NodeBalancer if one doesn't exist

func CreateNodeBalancerConfig

func CreateNodeBalancerConfig(
	ctx context.Context,
	clusterScope *scope.ClusterScope,
	logger logr.Logger,
) (*linodego.NodeBalancerConfig, error)

CreateNodeBalancerConfig creates NodeBalancer config if it does not exist

func DeleteNodeFromNB

func DeleteNodeFromNB(
	ctx context.Context,
	logger logr.Logger,
	machineScope *scope.MachineScope,
) error

DeleteNodeFromNB removes a backend Node from the Node Balancer configuration

func EnsureStackscript

func EnsureStackscript(ctx context.Context, machineScope *scope.MachineScope) (int, error)

func RevokeObjectStorageKeys

func RevokeObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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