MCPcopy
hub / github.com/helm/helm / Now

Method Now

pkg/action/action.go:587–589  ·  view source on GitHub ↗

Now generates a timestamp If the configuration has a Timestamper on it, that will be used. Otherwise, this will use time.Now().

()

Source from the content-addressed store, hash-verified

585// If the configuration has a Timestamper on it, that will be used.
586// Otherwise, this will use time.Now().
587func (cfg *Configuration) Now() time.Time {
588 return Timestamper()
589}
590
591func (cfg *Configuration) releaseContent(name string, version int) (ri.Releaser, error) {
592 if err := chartutil.ValidateReleaseName(name); err != nil {

Callers 15

TestCRDsFunction · 0.80
TestSaveChartNoRawDataFunction · 0.80
TestCRDObjectsFunction · 0.80
TestDeprecatedAPIFailsFunction · 0.80
TestLoadFiles_BadCasesFunction · 0.80
TestLoadFilesFunction · 0.80
TestLoadFilesOrderFunction · 0.80
TestLoadInvalidArchiveFunction · 0.80
writeToTarFunction · 0.80
TestSaveFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestCRDsFunction · 0.64
TestSaveChartNoRawDataFunction · 0.64
TestCRDObjectsFunction · 0.64
TestDeprecatedAPIFailsFunction · 0.64
TestLoadFiles_BadCasesFunction · 0.64
TestLoadFilesFunction · 0.64
TestLoadFilesOrderFunction · 0.64
TestLoadInvalidArchiveFunction · 0.64
TestSaveFunction · 0.64