shootstate

package
v1.91.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecompressMachineState added in v1.82.0

func DecompressMachineState(stateCompressed []byte) ([]byte, error)

DecompressMachineState decompresses the machine state data.

func Delete

func Delete(ctx context.Context, gardenClient client.Client, shoot *gardencorev1beta1.Shoot) error

Delete deletes the ShootState resource for the given shoot from the garden cluster.

func Deploy

func Deploy(ctx context.Context, clock clock.Clock, gardenClient, seedClient client.Client, shoot *gardencorev1beta1.Shoot, overwriteSpec bool) error

Deploy deploys the ShootState resource with the effective state for the given shoot into the garden cluster.

Types

type MachineDeploymentState added in v1.82.0

type MachineDeploymentState struct {
	Replicas    int32                        `json:"replicas,omitempty"`
	MachineSets []machinev1alpha1.MachineSet `json:"machineSets,omitempty"`
	Machines    []machinev1alpha1.Machine    `json:"machines,omitempty"`
}

MachineDeploymentState stores the last versions of the machine sets and machines to which the machine deployment corresponds.

type MachineState added in v1.82.0

type MachineState struct {
	MachineDeployments map[string]*MachineDeploymentState `json:"machineDeployments,omitempty"`
}

MachineState represent the last known state of the machines.

Jump to

Keyboard shortcuts

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