cloud

package
v0.33.21 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func WriteSnapshotTo added in v0.14.0

func WriteSnapshotTo(ctx context.Context, snapshot *proto_webview.Snapshot, w io.Writer) error

Types

type CloudStatusManager added in v0.14.0

type CloudStatusManager struct {
	// contains filtered or unexported fields
}

func NewStatusManager added in v0.14.0

func NewStatusManager(client HttpClient, clock clockwork.Clock) *CloudStatusManager

func (*CloudStatusManager) CheckStatus added in v0.14.0

func (c *CloudStatusManager) CheckStatus(ctx context.Context, st store.RStore, cloudAddress string, requestKey statusRequestKey)

func (*CloudStatusManager) OnChange added in v0.14.0

type HttpClient

type HttpClient interface {
	Do(req *http.Request) (*http.Response, error)
}

func ProvideHttpClient

func ProvideHttpClient() HttpClient

type Snapshotter added in v0.20.5

type Snapshotter struct {
	// contains filtered or unexported fields
}

func NewSnapshotter added in v0.20.5

func NewSnapshotter(st store.RStore, client ctrlclient.Client) *Snapshotter

func (*Snapshotter) WriteSnapshot added in v0.20.5

func (s *Snapshotter) WriteSnapshot(ctx context.Context, path string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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