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: 7 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.Whitelist) (v1alpha1.WhitelistObservation, error)

GenerateObservation produces WhitelistObservation object from *icdv5.Whitelist object.

func GenerateReplaceWhitelistOptions

func GenerateReplaceWhitelistOptions(id string, in v1alpha1.WhitelistParameters, o *icdv5.ReplaceWhitelistOptions) error

GenerateReplaceWhitelistOptions produces SetDeploymentWhitelistOptions object from WhitelistParameters object.

func GenerateWhitelistParameters

func GenerateWhitelistParameters(id string, in *icdv5.Whitelist) (*v1alpha1.WhitelistParameters, error)

GenerateWhitelistParameters generates white list parameters from whitelist

func IsUpToDate

func IsUpToDate(id string, in *v1alpha1.WhitelistParameters, observed *icdv5.Whitelist, 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.WhitelistParameters, in *icdv5.Whitelist) 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