MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / FileStream

Method FileStream

pkg/utils/discovery.go:89–91  ·  view source on GitHub ↗

FileStream opens a stream reading from the manager's binary

()

Source from the content-addressed store, hash-verified

87
88// FileStream opens a stream reading from the manager's binary
89func (arch *AvailableArchitecture) FileStream() (io.ReadCloser, error) {
90 return executablehash.StreamByName(arch.binaryPath)
91}
92
93// availableArchitectures stores the result of DetectAvailableArchitectures function
94var availableArchitectures []*AvailableArchitecture

Callers 1

Calls 1

StreamByNameFunction · 0.92

Tested by

no test coverage detected