Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Boot(ctx context.Context) (bool, error)
- func (b *Builder) ContextName() string
- func (b *Builder) Err() error
- func (b *Builder) Factory(ctx context.Context, dialMeta map[string][]string) (_ driver.Factory, err error)
- func (b *Builder) ImageOpt() (imagetools.Opt, error)
- func (b *Builder) Inactive() bool
- func (b *Builder) LoadNodes(ctx context.Context, opts ...LoadNodesOption) (_ []Node, err error)
- func (b *Builder) Nodes() []Node
- func (b *Builder) Validate() error
- type LoadNodesOption
- type Node
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
Builder represents an active builder object
func GetBuilders ¶
GetBuilders returns all builders
func (*Builder) ContextName ¶
ContextName returns builder context name if available.
func (*Builder) Factory ¶
func (b *Builder) Factory(ctx context.Context, dialMeta map[string][]string) (_ driver.Factory, err error)
Factory returns the driver factory.
func (*Builder) ImageOpt ¶
func (b *Builder) ImageOpt() (imagetools.Opt, error)
ImageOpt returns registry auth configuration
type LoadNodesOption ¶ added in v0.12.0
type LoadNodesOption func(*loadNodesOptions)
func WithData ¶ added in v0.12.0
func WithData() LoadNodesOption
func WithDialMeta ¶ added in v0.12.0
func WithDialMeta(dialMeta map[string][]string) LoadNodesOption
type Option ¶
type Option func(b *Builder)
Option provides a variadic option for configuring the builder.
func WithContextPathHash ¶
WithContextPathHash is used for determining pods in k8s driver instance.
func WithSkippedValidation ¶
func WithSkippedValidation() Option
WithSkippedValidation skips builder context validation.
Click to show internal directories.
Click to hide internal directories.