Documentation ¶
Overview ¶
Package launcher contains functionalities to start a measured workload
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerRunner ¶
type ContainerRunner struct {
// contains filtered or unexported fields
}
ContainerRunner contains information about the container settings
func NewRunner ¶
func NewRunner(ctx context.Context, cdClient *containerd.Client, token oauth2.Token, launchSpec spec.LaunchSpec, mdsClient *metadata.Client, tpm io.ReadWriteCloser, logger *log.Logger) (*ContainerRunner, error)
NewRunner returns a runner.
func (*ContainerRunner) Close ¶
func (r *ContainerRunner) Close(ctx context.Context)
Close the container runner
type RetryableError ¶
type RetryableError struct {
Err error
}
RetryableError means launcher should reboot the VM to retry.
func (*RetryableError) Error ¶
func (e *RetryableError) Error() string
type WorkloadError ¶
type WorkloadError struct {
ReturnCode uint32
}
WorkloadError represents the result of an workload/task that is non-zero.
func (*WorkloadError) Error ¶
func (e *WorkloadError) Error() string
Directories ¶
Path | Synopsis |
---|---|
Package agent coordinates the communication between the TPM and the remote attestation service.
|
Package agent coordinates the communication between the TPM and the remote attestation service. |
image
|
|
testworkloads/basic
package main is a binary that will print out the MDS vars and check the token.
|
package main is a binary that will print out the MDS vars and check the token. |
package main is a program that will start a container with attestation.
|
package main is a program that will start a container with attestation. |
Package spec contains definition of some basic container launch specs needed to launch a container, provided by the operator.
|
Package spec contains definition of some basic container launch specs needed to launch a container, provided by the operator. |
Package verifier contains clients for various attestation verifiers.
|
Package verifier contains clients for various attestation verifiers. |
fake
Package fake is a fake implementation of the Client interface for testing.
|
Package fake is a fake implementation of the Client interface for testing. |
rest
Package rest contains the code to use the REST-based Google API
|
Package rest contains the code to use the REST-based Google API |
Click to show internal directories.
Click to hide internal directories.