cas

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context, service, instance string) error

func CheckConnection

func CheckConnection(ctx context.Context, connection Connection) error

func Materialize

func Materialize(ctx context.Context, service, instance, rootDigest, destination string) error

func MaterializeConnection

func MaterializeConnection(ctx context.Context, connection Connection, rootDigest, destination string) error

Types

type Connection

type Connection struct {
	Service        string
	Instance       string
	CACertFile     string
	ClientCertFile string
	ClientKeyFile  string
	ServerName     string
	Insecure       bool
}

type UploadResult

type UploadResult struct {
	RootDigest       string
	InputFiles       int
	TotalInputBytes  int64
	LogicalUploaded  int64
	TransferredBytes int64
}

func Upload

func Upload(ctx context.Context, service, instance, root string, files []string) (UploadResult, error)

func UploadConnection

func UploadConnection(ctx context.Context, connection Connection, root string, files []string) (UploadResult, error)

Jump to

Keyboard shortcuts

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