policy

package
Version: v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, pol *Policy) (*Policy, error)

func Delete

func Delete(ctx context.Context, id string) error

func Get

func Get(ctx context.Context, id string) (*Policy, error)

func List

func List(ctx context.Context) ([]Policy, error)

func Update

func Update(ctx context.Context, policyId string, updateMap map[string]interface{}) (*Policy, error)

When update policy, policy id must be provided

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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