Documentation ¶
Index ¶
- type PolicyApp
- func (c *PolicyApp) Build(ref string, path []string, annotations map[string]string, runConfigFile string, ...) error
- func (c *PolicyApp) Images() error
- func (c *PolicyApp) ImagesRemote(server, org string, showEmpty bool) error
- func (c *PolicyApp) Init(path, user, server, repo, scc, token string, overwrite, noSrc bool) error
- func (c *PolicyApp) Inspect(userRef string) error
- func (c *PolicyApp) Ping(server, username, password string) error
- func (c *PolicyApp) Pull(userRef string) error
- func (c *PolicyApp) Push(userRef string) error
- func (c *PolicyApp) RemoveServerCreds(server string) error
- func (c *PolicyApp) Repl(ref string, maxErrors int) error
- func (c *PolicyApp) Rm(existingRef string, force bool) error
- func (c *PolicyApp) RmRemote(existingRef string, removeAll, force bool) error
- func (c *PolicyApp) Save(userRef, outputFilePath string) error
- func (c *PolicyApp) SaveServerCreds(server string, creds config.ServerCredentials) error
- func (c *PolicyApp) SetVisibility(server, policy string, public bool) error
- func (c *PolicyApp) Tag(existingRef, newRef string) error
- func (c *PolicyApp) TemplateApply(name, outPath string, overwrite bool) error
- func (c *PolicyApp) TemplatesList() error
- func (c *PolicyApp) TransportWithTrustedCAs() *http.Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyApp ¶
type PolicyApp struct { Context context.Context Cancel context.CancelFunc Logger *zerolog.Logger Configuration *config.Config UI *clui.UI }
PolicyApp represents the policy CLI
func BuildPolicyApp ¶
func BuildTestPolicyApp ¶
func (*PolicyApp) Build ¶
func (c *PolicyApp) Build(ref string, path []string, annotations map[string]string, runConfigFile string, target string, optimizationLevel int, entrypoints []string, revision string, ignore []string, capabilities string, verificationKey string, verificationKeyID string, algorithm string, scope string, excludeVerifyFiles []string, signingKey string, claimsFile string) error
func (*PolicyApp) ImagesRemote ¶
func (*PolicyApp) RemoveServerCreds ¶
func (*PolicyApp) SaveServerCreds ¶
func (c *PolicyApp) SaveServerCreds(server string, creds config.ServerCredentials) error
func (*PolicyApp) SetVisibility ¶
func (*PolicyApp) TemplateApply ¶
func (*PolicyApp) TemplatesList ¶
func (*PolicyApp) TransportWithTrustedCAs ¶
Click to show internal directories.
Click to hide internal directories.