Documentation ¶
Index ¶
- Constants
- func GenerateObservation(in *icdv5.Groups) (v1alpha1.ScalingGroupObservation, error)
- func GenerateScalingGroupParameters(id string, in *icdv5.Groups) (*v1alpha1.ScalingGroupParameters, error)
- func GenerateSetDeploymentScalingGroupOptions(id string, in v1alpha1.ScalingGroup, o *icdv5.SetDeploymentScalingGroupOptions) error
- func IsUpToDate(id string, in *v1alpha1.ScalingGroupParameters, observed *icdv5.Groups, ...) (bool, error)
- func LateInitializeSpec(spec *v1alpha1.ScalingGroupParameters, in *icdv5.Groups) error
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.
Click to show internal directories.
Click to hide internal directories.