Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoMatchingMachineClass = errors.New("no matching machine class") ErrAmbiguousMatchingMachineClass = errors.New("ambiguous matching machine classes") )
Functions ¶
This section is empty.
Types ¶
type Generic ¶
type Generic struct {
// contains filtered or unexported fields
}
func (*Generic) GetMachineClassFor ¶
func (g *Generic) GetMachineClassFor(ctx context.Context, name string, caps *ori.MachineClassCapabilities) (*ori.MachineClass, error)
type GenericOptions ¶
type MachineClassMapper ¶
type MachineClassMapper interface { manager.Runnable GetMachineClassFor(ctx context.Context, name string, capabilities *ori.MachineClassCapabilities) (*ori.MachineClass, error) WaitForSync(ctx context.Context) error }
func NewGeneric ¶
func NewGeneric(runtime machine.RuntimeService, opts GenericOptions) MachineClassMapper
Click to show internal directories.
Click to hide internal directories.