snapshot

package
v0.0.365 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireServers

func RequireServers(env cfg.Context, planner runtime.Planner, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL