Documentation ¶
Index ¶
- func FormatSectionName(driverGroupName, name string) string
- func IsSubsetSection(s string) bool
- func SubsetSectionToName(s string) string
- type DoFunc
- type L
- type ResourceLister
- type T
- func (t T) Do(ctx context.Context, l ResourceLister, barrier, desc string, fn DoFunc) (hasHitBarrier bool, err error)
- func (t T) Fullname() string
- func (t *T) Log() *plog.Logger
- func (t T) ReconfigureResource(r resource.Driver) error
- func (t T) Resources() resource.Drivers
- func (t *T) SetLogger(parent *plog.Logger)
- func (t T) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSectionName ¶
FormatSectionName returns the resourceset section name for a given driver group name and subset name.
func IsSubsetSection ¶
func SubsetSectionToName ¶
Types ¶
type ResourceLister ¶
type T ¶
type T struct { Name string SectionName string DriverGroup driver.Group Parallel bool PG *pg.Config ResourceLister ResourceLister // contains filtered or unexported fields }
func Generic ¶
Generic allocates and initializes a new resourceset for a given driver group, and return an error if this name is not valid.
func Parse ¶
Parse allocates and initializes new resourceset for a given name, and return an error if the name is not valid.
func (T) Resources ¶
Resources returns the list of resources handled by the resourceset. This function make the resourceset a ResourceLister.
Click to show internal directories.
Click to hide internal directories.