Versions in this module Expand all Collapse all v5 v5.6.3 Jul 25, 2024 v5.6.2 Jul 19, 2024 Changes in this version + type Client interface + CreateImmuRule func(ctx context.Context, projectNameOrID string, ...) error + DeleteImmuRule func(ctx context.Context, projectNameOrID string, immutableRuleID int64) error + ListImmuRules func(ctx context.Context, projectNameOrID string) ([]*model.ImmutableRule, error) + UpdateImmuRule func(ctx context.Context, projectNameOrID string, ...) error + type RESTClient struct + AuthInfo runtime.ClientAuthInfoWriter + Options *config.Options + V2Client *v2client.Harbor + func NewClient(v2Client *v2client.Harbor, opts *config.Options, ...) *RESTClient + func (c *RESTClient) CreateImmuRule(ctx context.Context, projectNameOrID string, ...) error + func (c *RESTClient) DeleteImmuRule(ctx context.Context, projectNameOrID string, immutableRuleID int64) error + func (c *RESTClient) ListImmuRules(ctx context.Context, projectNameOrID string) ([]*model.ImmutableRule, error) + func (c *RESTClient) UpdateImmuRule(ctx context.Context, projectNameOrID string, ...) error