/dports/net/bosh-cli/bosh-cli-5.5.0/cmd/ |
H A D | remove_blob_test.go | 17 blobsDir *fakereldir.FakeBlobsDir 24 blobsDir = &fakereldir.FakeBlobsDir{} 27 command = NewRemoveBlobCmd(blobsDir, ui) 45 blobsDir.UntrackBlobReturns(nil) 50 Expect(blobsDir.UntrackBlobCallCount()).To(Equal(1)) 51 Expect(blobsDir.UntrackBlobArgsForCall(0)).To(Equal("/path/to/blob.tgz")) 57 blobsDir.UntrackBlobReturns(errors.New("fake-err"))
|
H A D | add_blob_test.go | 18 blobsDir *fakereldir.FakeBlobsDir 25 blobsDir = &fakereldir.FakeBlobsDir{} 28 command = NewAddBlobCmd(blobsDir, fs, ui) 49 blobsDir.TrackBlobReturns(boshreldir.Blob{Path: "my-blob.tgz"}, nil) 54 Expect(blobsDir.TrackBlobCallCount()).To(Equal(1)) 56 blobsPath, src := blobsDir.TrackBlobArgsForCall(0) 67 blobsDir.TrackBlobReturns(boshreldir.Blob{}, errors.New("fake-err")) 83 Expect(blobsDir.TrackBlobCallCount()).To(Equal(0))
|
H A D | sync_blobs_test.go | 15 blobsDir *fakereldir.FakeBlobsDir 22 blobsDir = &fakereldir.FakeBlobsDir{} 23 command = NewSyncBlobsCmd(blobsDir, numOfWorkers) 35 Expect(blobsDir.SyncBlobsCallCount()).To(Equal(1)) 36 Expect(blobsDir.SyncBlobsArgsForCall(0)).To(Equal(5)) 40 blobsDir.SyncBlobsReturns(errors.New("fake-err"))
|
H A D | upload_blobs.go | 10 blobsDir boshreldir.BlobsDir member 13 func NewUploadBlobsCmd(blobsDir boshreldir.BlobsDir) UploadBlobsCmd { 14 return UploadBlobsCmd{blobsDir: blobsDir} 18 err := c.blobsDir.UploadBlobs()
|
H A D | sync_blobs.go | 9 blobsDir boshreldir.BlobsDir member 13 func NewSyncBlobsCmd(blobsDir boshreldir.BlobsDir, numOfParallelWorkers int) SyncBlobsCmd { 14 return SyncBlobsCmd{blobsDir: blobsDir, numOfParallelWorkers: numOfParallelWorkers} 18 err := c.blobsDir.SyncBlobs(c.numOfParallelWorkers)
|
H A D | remove_blob.go | 10 blobsDir boshreldir.BlobsDir member 14 func NewRemoveBlobCmd(blobsDir boshreldir.BlobsDir, ui biui.UI) RemoveBlobCmd { 15 return RemoveBlobCmd{blobsDir: blobsDir, ui: ui} 19 err := c.blobsDir.UntrackBlob(opts.Args.BlobsPath)
|
H A D | upload_blobs_test.go | 15 blobsDir *fakereldir.FakeBlobsDir 20 blobsDir = &fakereldir.FakeBlobsDir{} 21 command = NewUploadBlobsCmd(blobsDir) 31 Expect(blobsDir.UploadBlobsCallCount()).To(Equal(1)) 35 blobsDir.UploadBlobsReturns(errors.New("fake-err"))
|
H A D | add_blob.go | 13 blobsDir boshreldir.BlobsDir member 18 func NewAddBlobCmd(blobsDir boshreldir.BlobsDir, fs boshsys.FileSystem, ui boshui.UI) AddBlobCmd { 19 return AddBlobCmd{blobsDir: blobsDir, fs: fs, ui: ui} 30 blob, err := c.blobsDir.TrackBlob(opts.Args.BlobsPath, file)
|
H A D | blobs.go | 10 blobsDir boshreldir.BlobsDir member 14 func NewBlobsCmd(blobsDir boshreldir.BlobsDir, ui boshui.UI) BlobsCmd { 15 return BlobsCmd{blobsDir: blobsDir, ui: ui} 19 blobs, err := c.blobsDir.Blobs()
|
H A D | blobs_test.go | 18 blobsDir *fakereldir.FakeBlobsDir 24 blobsDir = &fakereldir.FakeBlobsDir{} 26 command = NewBlobsCmd(blobsDir, ui) 50 blobsDir.BlobsReturns(blobs, nil) 85 blobsDir.BlobsReturns(nil, errors.New("fake-err"))
|
H A D | cmd.go | 426 return NewBlobsCmd(c.blobsDir(opts.Directory), deps.UI).Run() 429 return NewAddBlobCmd(c.blobsDir(opts.Directory), deps.FS, deps.UI).Run(*opts) 432 return NewRemoveBlobCmd(c.blobsDir(opts.Directory), deps.UI).Run(*opts) 435 return NewUploadBlobsCmd(c.blobsDir(opts.Directory)).Run() 438 return NewSyncBlobsCmd(c.blobsDir(opts.Directory), c.BoshOpts.Parallel).Run() 574 func (c Cmd) blobsDir(dir DirOrCWDArg) boshreldir.BlobsDir { func
|
/dports/net/bosh-cli/bosh-cli-5.5.0/releasedir/ |
H A D | fs_blobs_dir_test.go | 30 blobsDir FSBlobsDir 45 return blobsDir.Blobs() 512 Expect(blobsDir.Blobs()).To(Equal([]Blob{ 533 Expect(blobsDir.Blobs()).To(Equal([]Blob{ 557 Expect(blobsDir.Blobs()).To(BeEmpty()) 569 Expect(blobsDir.Blobs()).To(BeEmpty()) 581 Expect(blobsDir.Blobs()).To(BeEmpty()) 593 Expect(blobsDir.Blobs()).To(BeEmpty()) 614 Expect(blobsDir.Blobs()).To(Equal([]Blob{ 635 Expect(blobsDir.Blobs()).To(Equal([]Blob{ [all …]
|
H A D | fs_release_dir.go | 30 blobsDir BlobsDir member 50 blobsDir BlobsDir, 65 blobsDir: blobsDir, 96 err = d.blobsDir.Init() 216 err = d.blobsDir.SyncBlobs(1)
|
H A D | fs_release_dir_test.go | 27 blobsDir *fakereldir.FakeBlobsDir 41 blobsDir = &fakereldir.FakeBlobsDir{} 56 blobsDir, 99 blobsDir, 129 Expect(blobsDir.InitCallCount()).To(Equal(1)) 133 blobsDir.InitReturns(errors.New("fake-err")) 566 blobsDir.SyncBlobsStub = func(numOfParallelWorkers int) error {
|
H A D | provider.go | 64 blobsDir := p.NewFSBlobsDir(dirPath) 82 blobsDir,
|
/dports/misc/perkeep/perkeep-0.11/dev/devcam/ |
H A D | server.go | 401 blobsDir := filepath.Join(c.root, "sha1") 402 if err := cpDir(templateDir, blobsDir, nil); err != nil {
|
/dports/misc/perkeep/perkeep-0.11/pkg/deploy/gce/ |
H A D | handler.go | 896 blobsDir := filepath.Join(dataDir, "instance-conf") 897 if err := os.MkdirAll(blobsDir, 0700); err != nil { 900 instConf, err := localdisk.New(blobsDir)
|