Documentation ¶
Index ¶
- Constants
- func GenerateAccessGroupRuleParameters(in *iamagv2.Rule) (*v1alpha1.AccessGroupRuleParameters, error)
- func GenerateAddAccessGroupRuleOptions(in v1alpha1.AccessGroupRuleParameters, o *iamagv2.AddAccessGroupRuleOptions) error
- func GenerateCRAddGroupMembersRequestMembersItem(in *iamagv2.GroupMembersList) []v1alpha1.AddGroupMembersRequestMembersItem
- func GenerateCRRuleConditions(in []iamagv2.RuleConditions) []v1alpha1.RuleCondition
- func GenerateMetaV1Time(t *strfmt.DateTime) *metav1.Time
- func GenerateObservation(in *iamagv2.Rule) (v1alpha1.AccessGroupRuleObservation, error)
- func GenerateReplaceAccessGroupRuleOptions(id, eTag string, in v1alpha1.AccessGroupRuleParameters, ...) error
- func GenerateSDKRuleConditions(in []v1alpha1.RuleCondition) []iamagv2.RuleConditions
- func IsUpToDate(in *v1alpha1.AccessGroupRuleParameters, observed *iamagv2.Rule, ...) (bool, error)
- func LateInitializeSpec(spec *v1alpha1.AccessGroupRuleParameters, in *iamagv2.Rule) error
Constants ¶
const ( // StateActive represents an access group rule in a running, available, and ready state StateActive = "active" // StateInactive represents an inactive access group rule StateInactive = "inactive" )
Variables ¶
This section is empty.
Functions ¶
func GenerateAccessGroupRuleParameters ¶
func GenerateAccessGroupRuleParameters(in *iamagv2.Rule) (*v1alpha1.AccessGroupRuleParameters, error)
GenerateAccessGroupRuleParameters generates service instance parameters from resource instance
func GenerateAddAccessGroupRuleOptions ¶
func GenerateAddAccessGroupRuleOptions(in v1alpha1.AccessGroupRuleParameters, o *iamagv2.AddAccessGroupRuleOptions) error
GenerateAddAccessGroupRuleOptions produces AddAccessGroupRuleOptions object from AccessGroupRuleParameters object.
func GenerateCRAddGroupMembersRequestMembersItem ¶
func GenerateCRAddGroupMembersRequestMembersItem(in *iamagv2.GroupMembersList) []v1alpha1.AddGroupMembersRequestMembersItem
GenerateCRAddGroupMembersRequestMembersItem -
func GenerateCRRuleConditions ¶
func GenerateCRRuleConditions(in []iamagv2.RuleConditions) []v1alpha1.RuleCondition
GenerateCRRuleConditions -
func GenerateMetaV1Time ¶
GenerateMetaV1Time converts strfmt.DateTime to metav1.Time TODO - extract this to parent `clients` package
func GenerateObservation ¶
func GenerateObservation(in *iamagv2.Rule) (v1alpha1.AccessGroupRuleObservation, error)
GenerateObservation produces AccessGroupRuleObservation object from *iamagv2.Group object.
func GenerateReplaceAccessGroupRuleOptions ¶
func GenerateReplaceAccessGroupRuleOptions(id, eTag string, in v1alpha1.AccessGroupRuleParameters, o *iamagv2.ReplaceAccessGroupRuleOptions) error
GenerateReplaceAccessGroupRuleOptions produces ReplaceAccessGroupRuleOptions object from AccessGroupRuleParameters object.
func GenerateSDKRuleConditions ¶
func GenerateSDKRuleConditions(in []v1alpha1.RuleCondition) []iamagv2.RuleConditions
GenerateSDKRuleConditions -
func IsUpToDate ¶
func IsUpToDate(in *v1alpha1.AccessGroupRuleParameters, observed *iamagv2.Rule, 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.AccessGroupRuleParameters, in *iamagv2.Rule) error
LateInitializeSpec fills optional and unassigned fields with the values in *iamagv2.Rule object.
Types ¶
This section is empty.