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

Function newArtifactCmd

app/cli/cmd/artifact.go:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27)
28
29func newArtifactCmd() *cobra.Command {
30 cmd := &cobra.Command{
31 Use: "artifact",
32 Short: "Download or upload Artifacts to the CAS",
33 }
34
35 cmd.AddCommand(newArtifactUploadCmd(), newArtifactDownloadCmd())
36 return cmd
37}
38
39func wrappedArtifactConn(cpConn *grpc.ClientConn, role pb.CASCredentialsServiceGetRequest_Role, digest string) (*grpc.ClientConn, error) {
40 // Retrieve temporary credentials for uploading

Callers 1

NewRootCmdFunction · 0.85

Calls 2

newArtifactUploadCmdFunction · 0.85
newArtifactDownloadCmdFunction · 0.85

Tested by

no test coverage detected