Versions in this module Expand all Collapse all v0 v0.44.0 Aug 25, 2023 v0.0.1 Oct 9, 2023 Changes in this version + const BundleRepository + const BundleVersion + type Client struct + func NewClient(cacheDir string, quiet bool, policyBundleRepo string, opts ...Option) (*Client, error) + func (c *Client) Clear() error + func (c *Client) DownloadBuiltinPolicies(ctx context.Context) error + func (c *Client) GetMetadata() (*Metadata, error) + func (c *Client) LoadBuiltinPolicies() ([]string, error) + func (c *Client) NeedsUpdate(ctx context.Context) (bool, error) + type Metadata struct + Digest string + DownloadedAt time.Time + func (m Metadata) String() string + type Option func(*options) + func WithClock(c clock.Clock) Option + func WithOCIArtifact(art *oci.Artifact) Option