Documentation ¶
Index ¶
- func RequireServers(env cfg.Context, servers ...schema.PackageName) compute.Computable[*ServerSnapshot]
- type ServerSnapshot
- func (snap *ServerSnapshot) Env() pkggraph.Context
- func (snap *ServerSnapshot) Equals(rhs *ServerSnapshot) bool
- func (snap *ServerSnapshot) Get(pkgs ...schema.PackageName) ([]planning.PlannedServer, error)
- func (snap *ServerSnapshot) Modules() pkggraph.Modules
- func (snap *ServerSnapshot) Observe(ctx context.Context, ...) (func(), error)
- func (snap *ServerSnapshot) Stack() *planning.Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireServers ¶
func RequireServers(env cfg.Context, servers ...schema.PackageName) compute.Computable[*ServerSnapshot]
Types ¶
type ServerSnapshot ¶
type ServerSnapshot struct {
// contains filtered or unexported fields
}
func (*ServerSnapshot) Env ¶
func (snap *ServerSnapshot) Env() pkggraph.Context
func (*ServerSnapshot) Equals ¶
func (snap *ServerSnapshot) Equals(rhs *ServerSnapshot) bool
func (*ServerSnapshot) Get ¶
func (snap *ServerSnapshot) Get(pkgs ...schema.PackageName) ([]planning.PlannedServer, error)
func (*ServerSnapshot) Modules ¶ added in v0.0.108
func (snap *ServerSnapshot) Modules() pkggraph.Modules
func (*ServerSnapshot) Observe ¶
func (snap *ServerSnapshot) Observe(ctx context.Context, onChange func(compute.ResultWithTimestamp[any], compute.ObserveNote)) (func(), error)
func (*ServerSnapshot) Stack ¶ added in v0.0.157
func (snap *ServerSnapshot) Stack() *planning.Stack
Click to show internal directories.
Click to hide internal directories.