utils

package
v2.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownType   error = errors.New("unknown type")
	ErrUnknownAction error = errors.New("unknown action")

	ErrContainerNotFound error = errors.New("container not found")
)

Functions

This section is empty.

Types

type ContainerRecordDecoder

type ContainerRecordDecoder struct {
	client.Client
	*chaosdaemon.ChaosDaemonClientBuilder
}

func (*ContainerRecordDecoder) DecodeContainerRecord

func (d *ContainerRecordDecoder) DecodeContainerRecord(ctx context.Context, record *v1alpha1.Record, obj v1alpha1.InnerObject) (decoded DecodedContainerRecord, err error)

type DecodedContainerRecord

type DecodedContainerRecord struct {
	PbClient      chaosdaemonclient.ChaosDaemonClientInterface
	ContainerId   string
	ContainerName string
	Pod           *v1.Pod
}

Jump to

Keyboard shortcuts

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