Documentation
¶
Index ¶
- func Diff(ctx context.Context, scope *checkpoints.Scope, reference string) (*checkpoints.Diff, string, error)
- func Register(registry *server.Registry, cfg *config.Config, stores *sessions.Registry, ...)
- func Report(restored *checkpointsv1.RestoreResponse) []string
- func Restored(restored *checkpoints.Restored) *checkpointsv1.RestoreResponse
- func Scope(ctx context.Context, cfg *config.Config, stores *sessions.Registry, ...) (*checkpoints.Scope, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(ctx context.Context, scope *checkpoints.Scope, reference string) (*checkpoints.Diff, string, error)
Diff returns the changes in the session's project since the referenced checkpoint, or since the oldest saved checkpoint (the session's baseline) when the reference is empty, and the compared snapshot. Its reads stop when the context ends, and it then returns the context's error.
func Report ¶
func Report(restored *checkpointsv1.RestoreResponse) []string
What a restore did as the user reads it, line by line
func Restored ¶
func Restored(restored *checkpoints.Restored) *checkpointsv1.RestoreResponse
A restore as the service answers it
Types ¶
This section is empty.