Documentation
¶
Index ¶
- func AddNodeToNB(ctx context.Context, logger logr.Logger, machineScope *scope.MachineScope) error
- func CreateNodeBalancer(ctx context.Context, clusterScope *scope.ClusterScope, logger logr.Logger) (*linodego.NodeBalancer, error)
- func CreateNodeBalancerConfig(ctx context.Context, clusterScope *scope.ClusterScope, logger logr.Logger) (*linodego.NodeBalancerConfig, error)
- func DeleteNodeFromNB(ctx context.Context, logger logr.Logger, machineScope *scope.MachineScope) error
- func EnsureObjectStorageBucket(ctx context.Context, bScope *scope.ObjectStorageBucketScope) (*linodego.ObjectStorageBucket, error)
- func EnsureStackscript(ctx context.Context, machineScope *scope.MachineScope) (int, error)
- func GetObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) ([2]*linodego.ObjectStorageKey, error)
- func RevokeObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) error
- func RotateObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) ([scope.NumAccessKeys]*linodego.ObjectStorageKey, error)
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 EnsureObjectStorageBucket ¶
func EnsureObjectStorageBucket(ctx context.Context, bScope *scope.ObjectStorageBucketScope) (*linodego.ObjectStorageBucket, error)
func EnsureStackscript ¶
func GetObjectStorageKeys ¶
func GetObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) ([2]*linodego.ObjectStorageKey, error)
func RevokeObjectStorageKeys ¶
func RevokeObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) error
func RotateObjectStorageKeys ¶
func RotateObjectStorageKeys(ctx context.Context, bScope *scope.ObjectStorageBucketScope) ([scope.NumAccessKeys]*linodego.ObjectStorageKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.