MCPcopy
hub / github.com/argoproj/argo-cd / MockMatchRepositoryStream

Struct MockMatchRepositoryStream

cmpserver/plugin/plugin_test.go:678–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678type MockMatchRepositoryStream struct {
679 metadataSent bool
680 fileSent bool
681 metadataRequest *apiclient.AppStreamRequest
682 fileRequest *apiclient.AppStreamRequest
683 response *apiclient.RepositoryResponse
684}
685
686func NewMockMatchRepositoryStream(repoPath, appPath string, env []string) (*MockMatchRepositoryStream, error) {
687 tgz, mr, err := cmp.GetCompressedRepoAndMetadata(repoPath, appPath, env, nil, nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected