rulesetsRepo

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: 7 Imported by: 0

Documentation

Overview

TODO: This library is imported from ror, should determine if its a public library or not

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddResource

func AddResource(ctx context.Context, set *messages.RulesetModel, resource *messages.RulesetResourceModel) error

func Create

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

func FindAll

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

func FindById

func FindById(ctx context.Context, hexId string) (*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)

func PullResource

func PullResource(ctx context.Context, set *messages.RulesetModel, resourceId string) error

func PullResourceRule

func PullResourceRule(ctx context.Context, set *messages.RulesetModel, resource *messages.RulesetResourceModel, ruleId string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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