...

Package nodevolumepath

import "github.com/chaos-mesh/chaos-mesh/pkg/selector/nodevolumepath"
Overview
Index

Overview ▾

type NodeVolumePath

type NodeVolumePath struct {
    *container.Container
    // contains filtered or unexported fields
}

func (*NodeVolumePath) Id

func (n *NodeVolumePath) Id() string

type Params

type Params struct {
    fx.In

    ContainerSelector *container.SelectImpl
    Client            client.Client
    Reader            client.Reader `name:"no-cache"`
}

type SelectImpl

type SelectImpl struct {
    generic.Option
    // contains filtered or unexported fields
}

func New

func New(params Params) *SelectImpl

func (*SelectImpl) Select

func (impl *SelectImpl) Select(ctx context.Context, selector *v1alpha1.ContainerNodeVolumePathSelector) ([]*NodeVolumePath, error)