Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRemotePackageCompiler ¶
func NewRemotePackageCompiler(blobstore biblobstore.Blobstore, agentClient biagentclient.AgentClient, packageRepo bistatepkg.CompiledPackageRepo) bistatepkg.Compiler
Types ¶
type Builder ¶
type Builder interface { Build(jobName string, instanceID int, deploymentManifest bideplmanifest.Manifest, stage biui.Stage, agentState agentclient.AgentState) (State, error) BuildInitialState(jobName string, instanceID int, deploymentManifest bideplmanifest.Manifest) (State, error) }
func NewBuilder ¶
func NewBuilder( releaseJobResolver bideplrel.JobResolver, jobDependencyCompiler bistatejob.DependencyCompiler, jobListRenderer bitemplate.JobListRenderer, renderedJobListCompressor bitemplate.RenderedJobListCompressor, blobstore biblobstore.Blobstore, logger boshlog.Logger, ) Builder
type BuilderFactory ¶
type BuilderFactory interface {
NewBuilder(biblobstore.Blobstore, biagentclient.AgentClient) Builder
}
func NewBuilderFactory ¶
func NewBuilderFactory( packageRepo bistatepkg.CompiledPackageRepo, releaseJobResolver bideplrel.JobResolver, jobRenderer bitemplate.JobListRenderer, renderedJobListCompressor bitemplate.RenderedJobListCompressor, logger boshlog.Logger, ) BuilderFactory
type JobRef ¶
JobRef is a reference to a rendered job. Individual JobRefs do not have Archives because they are aggregated in RenderedJobListArchive.
type NetworkRef ¶
type NetworkRef struct { Name string // Interface would ideally be a struct with IP, Type & CloudProperties, but the agent supports arbitrary key/value pairs. :( Interface biproperty.Map }
NetworkRef is a reference to a deployment network, with the interface the instance should use to connect to it.
type PackageRef ¶
PackageRef is a reference to a compiled package,
type State ¶
type State interface { NetworkInterfaces() []NetworkRef RenderedJobs() []JobRef CompiledPackages() []PackageRef RenderedJobListArchive() BlobRef ToApplySpec() bias.ApplySpec }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.