Documentation ¶
Index ¶
- func AddResource(ctx context.Context, setId string, input *messages.RulesetResourceInput) (*messages.RulesetResourceModel, error)
- func AddResourceRule(ctx context.Context, setId string, resourceId string, ...) (*messages.RulesetRuleModel, error)
- func Create(ctx context.Context, clusterId string) (*messages.RulesetModel, error)
- func CreateInternal(ctx context.Context) (*messages.RulesetModel, error)
- func DeleteResource(ctx context.Context, setId string, resourceId string) error
- func DeleteResourceRule(ctx context.Context, setId string, resourceId string, ruleId string) error
- func Find(ctx context.Context, setId string) (*messages.RulesetModel, error)
- func FindAll(ctx context.Context) ([]*messages.RulesetModel, error)
- func FindCluster(ctx context.Context, clusterId string) (*messages.RulesetModel, error)
- func FindInternal(ctx context.Context) (*messages.RulesetModel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddResource ¶
func AddResource(ctx context.Context, setId string, input *messages.RulesetResourceInput) (*messages.RulesetResourceModel, error)
func AddResourceRule ¶
func AddResourceRule(ctx context.Context, setId string, resourceId string, input *messages.RulesetRuleInput) (*messages.RulesetRuleModel, error)
func CreateInternal ¶
func CreateInternal(ctx context.Context) (*messages.RulesetModel, error)
func DeleteResource ¶
func DeleteResourceRule ¶
func FindCluster ¶
func FindInternal ¶
func FindInternal(ctx context.Context) (*messages.RulesetModel, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.