secret

package
v0.40.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffTags

func DiffTags(spec []*svcapitypes.Tag, current []*svcsdk.Tag) (addTags []*svcsdk.Tag, remove []*string)

DiffTags returns tags that should be added or removed.

func GenerateCreateSecretInput

func GenerateCreateSecretInput(cr *svcapitypes.Secret) *svcsdk.CreateSecretInput

GenerateCreateSecretInput returns a create input.

func GenerateDeleteSecretInput

func GenerateDeleteSecretInput(cr *svcapitypes.Secret) *svcsdk.DeleteSecretInput

GenerateDeleteSecretInput returns a deletion input.

func GenerateDescribeSecretInput

func GenerateDescribeSecretInput(cr *svcapitypes.Secret) *svcsdk.DescribeSecretInput

GenerateDescribeSecretInput returns input for read operation.

func GenerateSecret

func GenerateSecret(resp *svcsdk.DescribeSecretOutput) *svcapitypes.Secret

GenerateSecret returns the current state in the form of *svcapitypes.Secret.

func GenerateUpdateSecretInput

func GenerateUpdateSecretInput(cr *svcapitypes.Secret) *svcsdk.UpdateSecretInput

GenerateUpdateSecretInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns whether the given error is of type NotFound or not.

func SetupSecret

func SetupSecret(mgr ctrl.Manager, o controller.Options) error

SetupSecret adds a controller that reconciles a Secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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