accessgrouprule

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: 12 Imported by: 0

Documentation

Index

Constants

View Source
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

func GenerateMetaV1Time(t *strfmt.DateTime) *metav1.Time

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.

Jump to

Keyboard shortcuts

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