rulesetsService

package
v0.0.0-...-14e2bc2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddResourceRule

func AddResourceRule(ctx context.Context, setId string, resourceId string, input *messages.RulesetRuleInput) (*messages.RulesetRuleModel, error)

func Create

func Create(ctx context.Context, clusterId string) (*messages.RulesetModel, error)

func CreateInternal

func CreateInternal(ctx context.Context) (*messages.RulesetModel, error)

func DeleteResource

func DeleteResource(ctx context.Context, setId string, resourceId string) error

func DeleteResourceRule

func DeleteResourceRule(ctx context.Context, setId string, resourceId string, ruleId string) error

func Find

func Find(ctx context.Context, setId string) (*messages.RulesetModel, error)

func FindAll

func FindAll(ctx context.Context) ([]*messages.RulesetModel, error)

func FindCluster

func FindCluster(ctx context.Context, clusterId string) (*messages.RulesetModel, error)

func FindInternal

func FindInternal(ctx context.Context) (*messages.RulesetModel, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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