Documentation ¶
Index ¶
- Constants
- func GenerateCreateCustomRoleOptions(in v1alpha1.CustomRoleParameters, o *iampmv1.CreateRoleOptions) error
- func GenerateCustomRoleParameters(in *iampmv1.CustomRole) (*v1alpha1.CustomRoleParameters, error)
- func GenerateMetaV1Time(t *strfmt.DateTime) *metav1.Time
- func GenerateObservation(in *iampmv1.CustomRole) (v1alpha1.CustomRoleObservation, error)
- func GenerateUpdateCustomRoleOptions(id, eTag string, in v1alpha1.CustomRoleParameters, ...) error
- func IsUpToDate(in *v1alpha1.CustomRoleParameters, observed *iampmv1.CustomRole, ...) (bool, error)
- func LateInitializeSpec(spec *v1alpha1.CustomRoleParameters, in *iampmv1.CustomRole) error
Constants ¶
const ( // StateActive represents a policy in a running, available, and ready state StateActive = "active" // StateInactive represents an inactive policy StateInactive = "inactive" )
Variables ¶
This section is empty.
Functions ¶
func GenerateCreateCustomRoleOptions ¶
func GenerateCreateCustomRoleOptions(in v1alpha1.CustomRoleParameters, o *iampmv1.CreateRoleOptions) error
GenerateCreateCustomRoleOptions produces CustomRoleOptions object from CustomRoleParameters object.
func GenerateCustomRoleParameters ¶
func GenerateCustomRoleParameters(in *iampmv1.CustomRole) (*v1alpha1.CustomRoleParameters, error)
GenerateCustomRoleParameters generates service instance parameters from resource instance
func GenerateMetaV1Time ¶
GenerateMetaV1Time converts strfmt.DateTime to metav1.Time TODO - extract this to parent `clients` package
func GenerateObservation ¶
func GenerateObservation(in *iampmv1.CustomRole) (v1alpha1.CustomRoleObservation, error)
GenerateObservation produces CustomRoleObservation object from *iampmv1.CustomRole object.
func GenerateUpdateCustomRoleOptions ¶
func GenerateUpdateCustomRoleOptions(id, eTag string, in v1alpha1.CustomRoleParameters, o *iampmv1.UpdateRoleOptions) error
GenerateUpdateCustomRoleOptions produces UpdateCustomRoleOptions object from CustomRole object.
func IsUpToDate ¶
func IsUpToDate(in *v1alpha1.CustomRoleParameters, observed *iampmv1.CustomRole, 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.CustomRoleParameters, in *iampmv1.CustomRole) error
LateInitializeSpec fills optional and unassigned fields with the values in *iampmv1.CustomRole object.
Types ¶
This section is empty.