v0042

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerPingInfoInterface

type ControllerPingInfoInterface interface {
	GetControllerPing(ctx context.Context, host string) (*types.V0042ControllerPing, error)
	ListControllerPing(ctx context.Context) (*types.V0042ControllerPingList, error)
}

type JobInfoInterface

type JobInfoInterface interface {
	CreateJobInfo(ctx context.Context, req any) (*int32, error)
	CreateJobInfoAlloc(ctx context.Context, req any) (*int32, error)
	DeleteJobInfo(ctx context.Context, jobId string) error
	UpdateJobInfo(ctx context.Context, jobId string, req any) error
	GetJobInfo(ctx context.Context, jobId string) (*types.V0042JobInfo, error)
	ListJobInfo(ctx context.Context) (*types.V0042JobInfoList, error)
}

type NodeInterface

type NodeInterface interface {
	DeleteNode(ctx context.Context, nodeName string) error
	UpdateNode(ctx context.Context, nodeName string, req any) error
	GetNode(ctx context.Context, nodeName string) (*types.V0042Node, error)
	ListNodes(ctx context.Context) (*types.V0042NodeList, error)
}

type PartitionInterface

type PartitionInterface interface {
	GetPartitionInfo(ctx context.Context, name string) (*types.V0042PartitionInfo, error)
	ListPartitionInfo(ctx context.Context) (*types.V0042PartitionInfoList, error)
}

type ReconfigureInterface

type ReconfigureInterface interface {
	GetReconfigure(ctx context.Context) (*types.V0042Reconfigure, error)
	ListReconfigure(ctx context.Context) (*types.V0042ReconfigureList, error)
}

type SlurmClient

type SlurmClient struct {
	api.ClientWithResponsesInterface
}

func (*SlurmClient) CreateJobInfo

func (c *SlurmClient) CreateJobInfo(ctx context.Context, req any) (*int32, error)

CreateJobInfo implements ClientInterface

func (*SlurmClient) CreateJobInfoAlloc

func (c *SlurmClient) CreateJobInfoAlloc(ctx context.Context, req any) (*int32, error)

CreateJobInfoAlloc implements ClientInterface

func (*SlurmClient) DeleteJobInfo

func (c *SlurmClient) DeleteJobInfo(ctx context.Context, jobId string) error

DeleteJobInfo implements ClientInterface

func (*SlurmClient) DeleteNode

func (c *SlurmClient) DeleteNode(ctx context.Context, nodeName string) error

DeleteNode implements ClientInterface

func (*SlurmClient) GetControllerPing

func (c *SlurmClient) GetControllerPing(ctx context.Context, host string) (*types.V0042ControllerPing, error)

GetControllerPing implements ClientInterface

func (*SlurmClient) GetJobInfo

func (c *SlurmClient) GetJobInfo(ctx context.Context, jobId string) (*types.V0042JobInfo, error)

GetJobInfo implements ClientInterface

func (*SlurmClient) GetNode

func (c *SlurmClient) GetNode(ctx context.Context, nodeName string) (*types.V0042Node, error)

GetNode implements ClientInterface

func (*SlurmClient) GetPartitionInfo

func (c *SlurmClient) GetPartitionInfo(ctx context.Context, name string) (*types.V0042PartitionInfo, error)

GetPartitionInfo implements ClientInterface

func (*SlurmClient) GetReconfigure

func (c *SlurmClient) GetReconfigure(ctx context.Context) (*types.V0042Reconfigure, error)

GetReconfigure implements ClientInterface

func (*SlurmClient) GetStats

func (c *SlurmClient) GetStats(ctx context.Context) (*types.V0042Stats, error)

GetStats implements ClientInterface

func (*SlurmClient) ListControllerPing

func (c *SlurmClient) ListControllerPing(ctx context.Context) (*types.V0042ControllerPingList, error)

ListControllerPing implements ClientInterface

func (*SlurmClient) ListJobInfo

func (c *SlurmClient) ListJobInfo(ctx context.Context) (*types.V0042JobInfoList, error)

ListJobInfo implements ClientInterface

func (*SlurmClient) ListNodes

func (c *SlurmClient) ListNodes(ctx context.Context) (*types.V0042NodeList, error)

ListNodes implements ClientInterface

func (*SlurmClient) ListPartitionInfo

func (c *SlurmClient) ListPartitionInfo(ctx context.Context) (*types.V0042PartitionInfoList, error)

ListPartitionInfo implements ClientInterface

func (*SlurmClient) ListReconfigure

func (c *SlurmClient) ListReconfigure(ctx context.Context) (*types.V0042ReconfigureList, error)

ListReconfigure implements ClientInterface

func (*SlurmClient) ListStats

func (c *SlurmClient) ListStats(ctx context.Context) (*types.V0042StatsList, error)

ListStats implements ClientInterface

func (*SlurmClient) UpdateJobInfo

func (c *SlurmClient) UpdateJobInfo(ctx context.Context, jobId string, req any) error

UpdateJobInfo implements ClientInterface

func (*SlurmClient) UpdateNode

func (c *SlurmClient) UpdateNode(ctx context.Context, nodeName string, req any) error

UpdateNode implements ClientInterface

type StatsInterface

type StatsInterface interface {
	GetStats(ctx context.Context) (*types.V0042Stats, error)
	ListStats(ctx context.Context) (*types.V0042StatsList, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL