MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / newActionOpts

Function newActionOpts

app/cli/cmd/root.go:382–384  ·  view source on GitHub ↗
(logger zerolog.Logger, conn *grpc.ClientConn, token string)

Source from the content-addressed store, hash-verified

380}
381
382func newActionOpts(logger zerolog.Logger, conn *grpc.ClientConn, token string) *action.ActionsOpts {
383 return &action.ActionsOpts{CPConnection: conn, Logger: logger, AuthTokenRaw: token, OutputFormat: flagOutputFormat, CLIVersion: fullVersion()}
384}
385
386func cleanup(conn *grpc.ClientConn) error {
387 cleanupPlugins()

Callers 1

NewRootCmdFunction · 0.85

Calls 1

fullVersionFunction · 0.85

Tested by

no test coverage detected