snapshot

package
v0.0.128 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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.Server, 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)

Jump to

Keyboard shortcuts

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