Documentation ¶
Index ¶
- Variables
- func FindTeamName(uname string) (string, error)
- type Client
- func (c *Client) Authenticate() error
- func (c *Client) Connect() error
- func (c *Client) Disconnect() error
- func (c *Client) JobQueueName() string
- func (c *Client) Publish() error
- func (c *Client) RecordJob() error
- func (c *Client) Subscribe() error
- func (c *Client) Upload() error
- func (c *Client) Validate() error
- func (c *Client) Wait() error
- type Fa2017Ece408Team
- type Fa2017Ece408TeamCollection
- type Fa2017Ece408Teams
- type Option
- func BuildFileBaseName(d string) Option
- func BuildFilePath(s string) Option
- func Directory(d string) Option
- func DisableRatelimit() Option
- func JobQueueName(s string) Option
- func OutputDirectory(dir string, force bool) Option
- func ProfilePath(s string) Option
- func Ratelimit(d time.Duration) Option
- func ServerArch(s string) Option
- func Stderr(s io.WriteCloser) Option
- func Stdout(s io.WriteCloser) Option
- type Options
- type Team
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config = &clientConfig{ done: make(chan struct{}), } )
Config ...
View Source
var ( DefaultUploadExpiration = func() time.Time { return time.Now().AddDate(0, 6, 0) } )
DefaultUploadExpiration ...
Functions ¶
func FindTeamName ¶
Types ¶
type Client ¶
func (*Client) Authenticate ¶
create an authentication token for AWS and fix the docker credientials in the job request
func (*Client) JobQueueName ¶
JobQueueName returns the job queue name from option, build file, or config in that order
type Fa2017Ece408Team ¶
type Fa2017Ece408Team struct {
Team `bson:",inline"`
}
func (Fa2017Ece408Team) TableName ¶
func (Fa2017Ece408Team) TableName() string
type Fa2017Ece408TeamCollection ¶
type Fa2017Ece408TeamCollection struct {
*mongodb.MongoTable
}
func NewFa2017Ece408TeamCollection ¶
func NewFa2017Ece408TeamCollection(db database.Database) (*Fa2017Ece408TeamCollection, error)
type Fa2017Ece408Teams ¶
type Fa2017Ece408Teams []Fa2017Ece408Team
type ValidationError ¶
type ValidationError struct {
Message string
}
func (*ValidationError) Error ¶
func (v *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.