services

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuleService

type RuleService struct {
	KubeClient *client.KubeClient
}

func (*RuleService) BatchCreateOrUpdateRule added in v1.1.3

func (rs *RuleService) BatchCreateOrUpdateRule(rules []*domain.Rule) error

func (*RuleService) BatchDeleteRule

func (rs *RuleService) BatchDeleteRule(policy string, uniqueIds []string) error

func (*RuleService) BatchDeleteRuleByPolicy added in v1.1.3

func (rs *RuleService) BatchDeleteRuleByPolicy(policy string) error

func (*RuleService) CreateOrUpdateRule

func (rs *RuleService) CreateOrUpdateRule(rule *domain.Rule) error

func (*RuleService) DeleteRule

func (rs *RuleService) DeleteRule(policy, uniqueId string) error

func (*RuleService) ListRules

func (rs *RuleService) ListRules(policy string, uniqueIds []string) ([]domain.Rule, error)

Jump to

Keyboard shortcuts

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