v0044

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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.V0044ControllerPing, error)
	ListControllerPing(ctx context.Context) (*types.V0044ControllerPingList, error)
}

type JobInfoInterface

type JobInfoInterface interface {
	CreateJobInfo(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.V0044JobInfo, error)
	ListJobInfo(ctx context.Context) (*types.V0044JobInfoList, error)
}

type NodeInterface

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

type NodeResourceLayoutInterface

type NodeResourceLayoutInterface interface {
	GetNodeResourceLayout(ctx context.Context, jobId string) (*types.V0044NodeResourceLayout, error)
}

type PartitionInterface

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

type ReconfigureInterface

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

type ReservationInterface

type ReservationInterface interface {
	CreateReservationInfo(ctx context.Context, req any) (string, error)
	UpdateReservationInfo(ctx context.Context, name string, req any) error
	DeleteReservationInfo(ctx context.Context, name string) error
	GetReservationInfo(ctx context.Context, name string) (*types.V0044ReservationInfo, error)
	ListReservationInfo(ctx context.Context) (*types.V0044ReservationInfoList, 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) CreateNewNode

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

CreateNewNode implements ClientInterface

func (*SlurmClient) CreateReservationInfo

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

CreateReservationInfo 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) DeleteReservationInfo

func (c *SlurmClient) DeleteReservationInfo(ctx context.Context, name string) error

DeleteReservationInfo implements ClientInterface

func (*SlurmClient) GetControllerPing

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

GetControllerPing implements ClientInterface

func (*SlurmClient) GetJobInfo

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

GetJobInfo implements ClientInterface

func (*SlurmClient) GetNode

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

GetNode implements ClientInterface

func (*SlurmClient) GetNodeResourceLayout

func (c *SlurmClient) GetNodeResourceLayout(ctx context.Context, jobId string) (*types.V0044NodeResourceLayout, error)

GetNodeResourceLayout implements ClientInterface

func (*SlurmClient) GetPartitionInfo

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

GetPartitionInfo implements ClientInterface

func (*SlurmClient) GetReconfigure

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

GetReconfigure implements ClientInterface

func (*SlurmClient) GetReservationInfo

func (c *SlurmClient) GetReservationInfo(ctx context.Context, name string) (*types.V0044ReservationInfo, error)

GetReservationInfo implements ClientInterface

func (*SlurmClient) GetStats

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

GetStats implements ClientInterface

func (*SlurmClient) ListControllerPing

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

ListControllerPing implements ClientInterface

func (*SlurmClient) ListJobInfo

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

ListJobInfo implements ClientInterface

func (*SlurmClient) ListNodes

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

ListNodes implements ClientInterface

func (*SlurmClient) ListPartitionInfo

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

ListPartitionInfo implements ClientInterface

func (*SlurmClient) ListReconfigure

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

ListReconfigure implements ClientInterface

func (*SlurmClient) ListReservationInfo

func (c *SlurmClient) ListReservationInfo(ctx context.Context) (*types.V0044ReservationInfoList, error)

ListReservationInfo implements ClientInterface

func (*SlurmClient) ListStats

func (c *SlurmClient) ListStats(ctx context.Context) (*types.V0044StatsList, 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

func (*SlurmClient) UpdateReservationInfo

func (c *SlurmClient) UpdateReservationInfo(ctx context.Context, name string, req any) error

UpdateReservationInfo implements ClientInterface

type StatsInterface

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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