Categorygithub.com/nya3jp/flex
modulepackage
0.1.1
Repository: https://github.com/nya3jp/flex.git
Documentation: pkg.go.dev

# README

Flex

Flex is a simple workload distribution system.

Synopsis

# Install Flex CLI.
go install github.com/nya3jp/flex/cmd/flex

# Configure Flexhub endpoint and password.
flex configure

# Run a command.
flex run echo 'Hello, world!'

# Upload a binary file and execute it.
flex run -f path/to/some './some --flag1 --flag2'

# Upload a binary file as a package, and tag it.
flex package create -f path/to/some -t somebin

# Enqueue a job without waiting for its completion.
flex job create -p somebin './some --flag1 --flag2'

# Print a list of finished jobs.
flex job list --state=finished

# Print details of the job whose ID is 123.
flex job info 123

Tips

  • Many commands accept --json option that prints outputs in JSON.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
Enum value maps for FlexletState.
Enum value maps for FlexletState.
FlexService_ServiceDesc is the grpc.ServiceDesc for FlexService service.
Enum value maps for GetJobOutputRequest_JobOutputType.
Enum value maps for GetJobOutputRequest_JobOutputType.
Enum value maps for JobState.
Enum value maps for JobState.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedFlexServiceServer must be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
FlexServiceClient is the client API for FlexService service.
FlexServiceServer is the server API for FlexService service.
UnsafeFlexServiceServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author