Documentation ¶
Overview ¶
TODO: This library is imported from ror, should determine if its a public library or not
Index ¶
- func AddResource(ctx context.Context, set *messages.RulesetModel, ...) error
- func AddResourceRule(ctx context.Context, set *messages.RulesetModel, ...) error
- func Create(ctx context.Context, set *messages.RulesetModel) error
- func FindAll(ctx context.Context) ([]*messages.RulesetModel, error)
- func FindById(ctx context.Context, hexId string) (*messages.RulesetModel, error)
- func FindCluster(ctx context.Context, clusterId string) (*messages.RulesetModel, error)
- func FindInternal(ctx context.Context) (*messages.RulesetModel, error)
- func PullResource(ctx context.Context, set *messages.RulesetModel, resourceId string) error
- func PullResourceRule(ctx context.Context, set *messages.RulesetModel, ...) error
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 AddResourceRule ¶
func AddResourceRule(ctx context.Context, set *messages.RulesetModel, resource *messages.RulesetResourceModel, rule *messages.RulesetRuleModel) error
func FindCluster ¶
func FindInternal ¶
func FindInternal(ctx context.Context) (*messages.RulesetModel, error)
func PullResource ¶
func PullResourceRule ¶
func PullResourceRule(ctx context.Context, set *messages.RulesetModel, resource *messages.RulesetResourceModel, ruleId string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.