Documentation ¶
Index ¶
- Variables
- func CleanUpBtrfsSubvolumes(btrfsPath string)
- func CleanUpImages(storePath string)
- func CleanUpOverlayMounts(mountPath string)
- func CopyFile(source, destination string)
- func NewRandomID() string
- func ReseedRandomNumberGenerator()
- func SuidBinary(binPath string)
- func UnsuidBinary(binPath string)
- type BaseImage
- type FakeMetron
- type FakeRegistry
- func (r *FakeRegistry) Addr() string
- func (r *FakeRegistry) FailNextRequests(n int)
- func (r *FakeRegistry) ForceTokenAuthError()
- func (r *FakeRegistry) RequestedBlobs() []string
- func (r *FakeRegistry) Start()
- func (r *FakeRegistry) Stop()
- func (r *FakeRegistry) WhenGettingBlob(digest string, order int, httpHandler http.HandlerFunc)
- type Layer
Constants ¶
This section is empty.
Variables ¶
View Source
var BusyBoxImage = BaseImage{ ConfigBlobID: "sha256:1efc1d465fd6255396d0efd90a899f57aba2b7b294b02d5f55c6f5505ca9f3e5", Layers: []Layer{ { ChainID: "3d16a9d9679dba04b90edeeca13dfaa986a268a7e0f4764250bacc2bed236b73", }, }, }
View Source
var EmptyBaseImageV011 = BaseImage{ ConfigBlobID: "sha256:217f3b4afdf698d639f854d9c6d640903a011413bc7e7bffeabe63c7ca7e4a7d", Layers: []Layer{ { BlobID: "sha256:47e3dd80d678c83c50cb133f4cf20e94d088f890679716c8b763418f55827a58", DiffID: "sha256:afe200c63655576eaa5cabe036a2c09920d6aee67653ae75a9d35e0ec27205a5", ChainID: "afe200c63655576eaa5cabe036a2c09920d6aee67653ae75a9d35e0ec27205a5", }, { BlobID: "sha256:7f2760e7451ce455121932b178501d60e651f000c3ab3bc12ae5d1f57614cc76", DiffID: "sha256:d7c6a5f0d9a15779521094fa5eaf026b719984fb4bfe8e0012bd1da1b62615b0", ChainID: "9242945d3c9c7cf5f127f9352fea38b1d3efe62ee76e25f70a3e6db63a14c233", }, }, }
View Source
var SchemaV1EmptyBaseImage = BaseImage{ ConfigBlobID: "sha256:673ffd41d87662c55979a69fa65390552c5d9ace57ad81fb8edb732c3e93e483", Layers: []Layer{ { BlobID: "sha256:52654756942eb47cd5e803d9d5905f2f5e8045f3794eed727dee5734ff485771", DiffID: "sha256:5b9746c87396a8cff11e5cbfa37321018bb797fcf0b4404615e713337ea1c62b", ChainID: "5b9746c87396a8cff11e5cbfa37321018bb797fcf0b4404615e713337ea1c62b", }, { BlobID: "sha256:64df864e75bb2dea96b726cff208ce7ee8125901dfc11e53479534519735c8e4", DiffID: "sha256:eb639428f6fd1693228c64a7474bd6302c7ebd06404c7092dd3d5187ba4fdddf", ChainID: "5726c173a767b58badc677d61d0e45df09f0d923f9770210f9a88607e1386e2b", }, { BlobID: "sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4", DiffID: "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef", ChainID: "033ceceec9c0d8d02902f2cbca179bab1a47620874d0bb132d80af0307b0c671", }, }, }
Functions ¶
func CleanUpBtrfsSubvolumes ¶ added in v0.11.0
func CleanUpBtrfsSubvolumes(btrfsPath string)
func CleanUpImages ¶ added in v0.11.0
func CleanUpImages(storePath string)
func CleanUpOverlayMounts ¶ added in v0.11.0
func CleanUpOverlayMounts(mountPath string)
func NewRandomID ¶ added in v0.26.0
func NewRandomID() string
func ReseedRandomNumberGenerator ¶ added in v0.26.0
func ReseedRandomNumberGenerator()
ReseedRandomNumberGenerator reinitialises the global random number generator with a new seed value, which incorporates the system time and GinkgoParallelNode id. This should prevent random number-related races between tests which kick off at the same time on different Ginkgo nodes.
func SuidBinary ¶ added in v0.16.0
func SuidBinary(binPath string)
func UnsuidBinary ¶ added in v0.16.0
func UnsuidBinary(binPath string)
Types ¶
type FakeMetron ¶ added in v0.5.0
type FakeMetron struct {
// contains filtered or unexported fields
}
func NewFakeMetron ¶ added in v0.5.0
func NewFakeMetron(port uint16) *FakeMetron
func (*FakeMetron) CounterEvents ¶ added in v0.17.0
func (m *FakeMetron) CounterEvents(name string) []events.CounterEvent
func (*FakeMetron) Errors ¶ added in v0.17.0
func (m *FakeMetron) Errors() []events.Error
func (*FakeMetron) Listen ¶ added in v0.5.0
func (m *FakeMetron) Listen() error
func (*FakeMetron) Run ¶ added in v0.5.0
func (m *FakeMetron) Run() error
func (*FakeMetron) Stop ¶ added in v0.5.0
func (m *FakeMetron) Stop() error
func (*FakeMetron) ValueMetricsFor ¶ added in v0.5.0
func (m *FakeMetron) ValueMetricsFor(key string) []events.ValueMetric
type FakeRegistry ¶
func NewFakeRegistry ¶
func NewFakeRegistry(actualRegistryURL *url.URL) *FakeRegistry
func (*FakeRegistry) Addr ¶
func (r *FakeRegistry) Addr() string
func (*FakeRegistry) FailNextRequests ¶ added in v0.21.0
func (r *FakeRegistry) FailNextRequests(n int)
func (*FakeRegistry) ForceTokenAuthError ¶ added in v0.26.0
func (r *FakeRegistry) ForceTokenAuthError()
func (*FakeRegistry) RequestedBlobs ¶
func (r *FakeRegistry) RequestedBlobs() []string
func (*FakeRegistry) Start ¶
func (r *FakeRegistry) Start()
func (*FakeRegistry) Stop ¶
func (r *FakeRegistry) Stop()
func (*FakeRegistry) WhenGettingBlob ¶
func (r *FakeRegistry) WhenGettingBlob(digest string, order int, httpHandler http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.