scalinggroup

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MemberGroupID = "member"

MemberGroupID is the default ID for members group

Variables

This section is empty.

Functions

func GenerateObservation

func GenerateObservation(in *icdv5.Groups) (v1alpha1.ScalingGroupObservation, error)

GenerateObservation produces ScalingGroupObservation object from *icdv5.Groups object.

func GenerateScalingGroupParameters

func GenerateScalingGroupParameters(id string, in *icdv5.Groups) (*v1alpha1.ScalingGroupParameters, error)

GenerateScalingGroupParameters generates scaling group parameters from groups

func GenerateSetDeploymentScalingGroupOptions

func GenerateSetDeploymentScalingGroupOptions(id string, in v1alpha1.ScalingGroup, o *icdv5.SetDeploymentScalingGroupOptions) error

GenerateSetDeploymentScalingGroupOptions produces SetDeploymentScalingGroupOptions object from ScalingGroupParameters object.

func IsUpToDate

func IsUpToDate(id string, in *v1alpha1.ScalingGroupParameters, observed *icdv5.Groups, l logging.Logger) (bool, error)

IsUpToDate checks whether current state is up-to-date compared to the given set of parameters.

func LateInitializeSpec

func LateInitializeSpec(spec *v1alpha1.ScalingGroupParameters, in *icdv5.Groups) error

LateInitializeSpec fills optional and unassigned fields with the values in *icdv5.Group object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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