policy

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreatePolicyInput

func GenerateCreatePolicyInput(cr *svcapitypes.Policy) *svcsdk.CreatePolicyInput

GenerateCreatePolicyInput returns a create input.

func GenerateDeletePolicyInput

func GenerateDeletePolicyInput(cr *svcapitypes.Policy) *svcsdk.DeletePolicyInput

GenerateDeletePolicyInput returns a deletion input.

func GenerateGetPolicyInput

func GenerateGetPolicyInput(cr *svcapitypes.Policy) *svcsdk.GetPolicyInput

GenerateGetPolicyInput returns input for read operation.

func GeneratePolicy

func GeneratePolicy(resp *svcsdk.GetPolicyOutput) *svcapitypes.Policy

GeneratePolicy returns the current state in the form of *svcapitypes.Policy.

func IsNotFound

func IsNotFound(err error) bool

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

func SetupPolicy

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

SetupPolicy adds a controller that reconciles Policy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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