Documentation
¶
Index ¶
Constants ¶
View Source
const ( SingularityDefBasename = "singularity.def" ExesBasename = "executables" SoftpackYaml = "softpack.yml" SpackLockFile = "spack.lock" BuilderOut = "builder.out" ModuleForCoreBasename = "module" UsageBasename = "README.md" ImageBasename = "singularity.sif" ErrNoCoreURL = "no coreURL specified in config" ErrSomeResendsFailed = "some queued environments failed to be resent from core to builder" )
View Source
const ( ErrNoPackages = internal.Error("packages required") ErrNoPackageName = internal.Error("package names required") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core is used to interact with a real softpack-core service.
func (*Core) ResendPendingBuilds ¶
ResendPendingBuilds posts to core's resend-pending-builds endpoint and returns an error if the post failed, or core did not respond with a full success.
type EnvironmentResponse ¶
EnvironmentResponse is the kind of return value we get from the core.
type ResendResponse ¶
ResendResponse is the response that the core service sends when a resend request is sent to it.
func (*ResendResponse) FullSuccess ¶
func (rr *ResendResponse) FullSuccess() bool
FullSuccess returns true if there were no failures.
Click to show internal directories.
Click to hide internal directories.