update

package
v0.0.0-...-0baccef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCredentialsRequestChanged

func IsCredentialsRequestChanged(current, desired *cco.CredentialsRequest) (bool, error)

IsCredentialsRequestChanged compares the current and desired states of a CredentialsRequest. Returns true of current start is different from the desired, false otherwise.

func UpdateCredentialsRequest

func UpdateCredentialsRequest(ctx context.Context, client client.Client, current *cco.CredentialsRequest, desired *cco.CredentialsRequest) (bool, error)

UpdateCredentialsRequest updates the given CredentialsRequest to the desired state if needed. Returns true if the CredentialsRequest was updated, false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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