var Module = fx.Provide( NewContainerRecordDecoder, )
func IsFailToGet(e error) bool
func NewFailToFindContainer(namespace string, name string, containerName string, err error) error
type ContainerRecordDecoder struct { client.Client *chaosdaemon.ChaosDaemonClientBuilder }
func NewContainerRecordDecoder(c client.Client, builder *chaosdaemon.ChaosDaemonClientBuilder) *ContainerRecordDecoder
func (d *ContainerRecordDecoder) DecodeContainerRecord(ctx context.Context, record *v1alpha1.Record, obj v1alpha1.InnerObject) (decoded DecodedContainerRecord, err error)
type DecodedContainerRecord struct { PbClient chaosdaemonclient.ChaosDaemonClientInterface ContainerId string Pod *v1.Pod }