Documentation ¶
Index ¶
- Constants
- func GenerateObservation(in *icdv5.Whitelist) (v1alpha1.WhitelistObservation, error)
- func GenerateReplaceWhitelistOptions(id string, in v1alpha1.WhitelistParameters, o *icdv5.ReplaceWhitelistOptions) error
- func GenerateWhitelistParameters(id string, in *icdv5.Whitelist) (*v1alpha1.WhitelistParameters, error)
- func IsUpToDate(id string, in *v1alpha1.WhitelistParameters, observed *icdv5.Whitelist, ...) (bool, error)
- func LateInitializeSpec(spec *v1alpha1.WhitelistParameters, in *icdv5.Whitelist) 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.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.
Click to show internal directories.
Click to hide internal directories.