Documentation ¶
Index ¶
- Constants
- func Loader(ctx context.Context, config providers.Config) (providers.Provider, error)
- func NamedLoader() (string, providers.Loader)
- type Provider
- func (p *Provider) GenerateTopologyConfig(ctx context.Context, _ int, instances []topology.ComputeInstances) (*topology.Vertex, error)
- func (p *Provider) GetComputeInstancesRegion() (string, error)
- func (p *Provider) GetNodeInstance(node *v1.Node) (string, error)
- func (p *Provider) GetNodeRegion(node *v1.Node) (string, error)
- func (p *Provider) Instances2NodeMap(ctx context.Context, nodes []string) (map[string]string, error)
Constants ¶
View Source
const NAME = "cw"
Variables ¶
This section is empty.
Functions ¶
func NamedLoader ¶
Types ¶
type Provider ¶
type Provider struct{}
func (*Provider) GenerateTopologyConfig ¶
func (*Provider) GetComputeInstancesRegion ¶
GetComputeInstancesRegion implements slurm.instanceMapper
func (*Provider) GetNodeInstance ¶
GetNodeInstance implements k8s.k8sNodeInfo
func (*Provider) GetNodeRegion ¶
GetNodeRegion implements k8s.k8sNodeInfo
Click to show internal directories.
Click to hide internal directories.