Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildJobConfig ¶
type BuildJobImage ¶
type BuildJobMeta ¶
type BuildLogsOptions ¶
type BuildLogsOptions struct {
Follow bool `json:"follow"`
}
func (*BuildLogsOptions) DecodeAndValidate ¶
func (b *BuildLogsOptions) DecodeAndValidate(reader io.Reader) *errors.Err
func (*BuildLogsOptions) Validate ¶
func (b *BuildLogsOptions) Validate() *errors.Err
type BuildRequest ¶
type BuildRequest struct{}
func (BuildRequest) ExecuteOptions ¶
func (BuildRequest) ExecuteOptions() *BuildTaskExecuteOptions
type BuildTaskExecuteOptions ¶
type BuildTaskExecuteOptions struct { ID string `json:"id,omitempty"` Meta BuildJobMeta `json:"meta"` Image BuildJobImage `json:"image"` Config BuildJobConfig `json:"config"` Repo string `json:"repo"` Branch string `json:"branch"` LogUri string `json:"log_uri"` }
func (*BuildTaskExecuteOptions) DecodeAndValidate ¶
func (b *BuildTaskExecuteOptions) DecodeAndValidate(reader io.Reader) *errors.Err
func (*BuildTaskExecuteOptions) Validate ¶
func (b *BuildTaskExecuteOptions) Validate() *errors.Err
type BuilderLimitConfig ¶
type BuilderRequest ¶
type BuilderRequest struct{}
func (BuilderRequest) BuilderUpdateManifestOptions ¶
func (BuilderRequest) BuilderUpdateManifestOptions() *BuilderUpdateManifestOptions
type BuilderUpdateManifestOptions ¶
type BuilderUpdateManifestOptions struct {
Limits *BuilderLimitConfig `json:"limits,omitempty"`
}
func (*BuilderUpdateManifestOptions) DecodeAndValidate ¶
func (b *BuilderUpdateManifestOptions) DecodeAndValidate(reader io.Reader) *errors.Err
func (BuilderUpdateManifestOptions) ToJson ¶
func (b BuilderUpdateManifestOptions) ToJson() ([]byte, error)
func (*BuilderUpdateManifestOptions) Validate ¶
func (b *BuilderUpdateManifestOptions) Validate() *errors.Err
type Request ¶
type Request struct{}
func (Request) Build ¶
func (Request) Build() *BuildRequest
func (Request) Builder ¶
func (Request) Builder() *BuilderRequest
type TaskRequest ¶
type TaskRequest struct{}
func (TaskRequest) ExecuteOptions ¶
func (TaskRequest) ExecuteOptions() *BuildLogsOptions
Click to show internal directories.
Click to hide internal directories.