build

package
v0.0.0-...-eff1da9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelRepoBuildBadRequest

type CancelRepoBuildBadRequest struct {
	Payload *models.APIError
}

CancelRepoBuildBadRequest handles this case with default header values.

Bad Request

func NewCancelRepoBuildBadRequest

func NewCancelRepoBuildBadRequest() *CancelRepoBuildBadRequest

NewCancelRepoBuildBadRequest creates a CancelRepoBuildBadRequest with default headers values

func (*CancelRepoBuildBadRequest) Error

func (o *CancelRepoBuildBadRequest) Error() string

func (*CancelRepoBuildBadRequest) GetPayload

func (o *CancelRepoBuildBadRequest) GetPayload() *models.APIError

type CancelRepoBuildForbidden

type CancelRepoBuildForbidden struct {
	Payload *models.APIError
}

CancelRepoBuildForbidden handles this case with default header values.

Unauthorized access

func NewCancelRepoBuildForbidden

func NewCancelRepoBuildForbidden() *CancelRepoBuildForbidden

NewCancelRepoBuildForbidden creates a CancelRepoBuildForbidden with default headers values

func (*CancelRepoBuildForbidden) Error

func (o *CancelRepoBuildForbidden) Error() string

func (*CancelRepoBuildForbidden) GetPayload

func (o *CancelRepoBuildForbidden) GetPayload() *models.APIError

type CancelRepoBuildNoContent

type CancelRepoBuildNoContent struct {
}

CancelRepoBuildNoContent handles this case with default header values.

Deleted

func NewCancelRepoBuildNoContent

func NewCancelRepoBuildNoContent() *CancelRepoBuildNoContent

NewCancelRepoBuildNoContent creates a CancelRepoBuildNoContent with default headers values

func (*CancelRepoBuildNoContent) Error

func (o *CancelRepoBuildNoContent) Error() string

type CancelRepoBuildNotFound

type CancelRepoBuildNotFound struct {
	Payload *models.APIError
}

CancelRepoBuildNotFound handles this case with default header values.

Not found

func NewCancelRepoBuildNotFound

func NewCancelRepoBuildNotFound() *CancelRepoBuildNotFound

NewCancelRepoBuildNotFound creates a CancelRepoBuildNotFound with default headers values

func (*CancelRepoBuildNotFound) Error

func (o *CancelRepoBuildNotFound) Error() string

func (*CancelRepoBuildNotFound) GetPayload

func (o *CancelRepoBuildNotFound) GetPayload() *models.APIError

type CancelRepoBuildParams

type CancelRepoBuildParams struct {

	/*BuildUUID
	  The UUID of the build

	*/
	BuildUUID string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CancelRepoBuildParams contains all the parameters to send to the API endpoint for the cancel repo build operation typically these are written to a http.Request

func NewCancelRepoBuildParams

func NewCancelRepoBuildParams() *CancelRepoBuildParams

NewCancelRepoBuildParams creates a new CancelRepoBuildParams object with the default values initialized.

func NewCancelRepoBuildParamsWithContext

func NewCancelRepoBuildParamsWithContext(ctx context.Context) *CancelRepoBuildParams

NewCancelRepoBuildParamsWithContext creates a new CancelRepoBuildParams object with the default values initialized, and the ability to set a context for a request

func NewCancelRepoBuildParamsWithHTTPClient

func NewCancelRepoBuildParamsWithHTTPClient(client *http.Client) *CancelRepoBuildParams

NewCancelRepoBuildParamsWithHTTPClient creates a new CancelRepoBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCancelRepoBuildParamsWithTimeout

func NewCancelRepoBuildParamsWithTimeout(timeout time.Duration) *CancelRepoBuildParams

NewCancelRepoBuildParamsWithTimeout creates a new CancelRepoBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*CancelRepoBuildParams) SetBuildUUID

func (o *CancelRepoBuildParams) SetBuildUUID(buildUUID string)

SetBuildUUID adds the buildUuid to the cancel repo build params

func (*CancelRepoBuildParams) SetContext

func (o *CancelRepoBuildParams) SetContext(ctx context.Context)

SetContext adds the context to the cancel repo build params

func (*CancelRepoBuildParams) SetHTTPClient

func (o *CancelRepoBuildParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cancel repo build params

func (*CancelRepoBuildParams) SetRepository

func (o *CancelRepoBuildParams) SetRepository(repository string)

SetRepository adds the repository to the cancel repo build params

func (*CancelRepoBuildParams) SetTimeout

func (o *CancelRepoBuildParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cancel repo build params

func (*CancelRepoBuildParams) WithBuildUUID

func (o *CancelRepoBuildParams) WithBuildUUID(buildUUID string) *CancelRepoBuildParams

WithBuildUUID adds the buildUUID to the cancel repo build params

func (*CancelRepoBuildParams) WithContext

WithContext adds the context to the cancel repo build params

func (*CancelRepoBuildParams) WithHTTPClient

func (o *CancelRepoBuildParams) WithHTTPClient(client *http.Client) *CancelRepoBuildParams

WithHTTPClient adds the HTTPClient to the cancel repo build params

func (*CancelRepoBuildParams) WithRepository

func (o *CancelRepoBuildParams) WithRepository(repository string) *CancelRepoBuildParams

WithRepository adds the repository to the cancel repo build params

func (*CancelRepoBuildParams) WithTimeout

func (o *CancelRepoBuildParams) WithTimeout(timeout time.Duration) *CancelRepoBuildParams

WithTimeout adds the timeout to the cancel repo build params

func (*CancelRepoBuildParams) WriteToRequest

func (o *CancelRepoBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CancelRepoBuildReader

type CancelRepoBuildReader struct {
	// contains filtered or unexported fields
}

CancelRepoBuildReader is a Reader for the CancelRepoBuild structure.

func (*CancelRepoBuildReader) ReadResponse

func (o *CancelRepoBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CancelRepoBuildUnauthorized

type CancelRepoBuildUnauthorized struct {
	Payload *models.APIError
}

CancelRepoBuildUnauthorized handles this case with default header values.

Session required

func NewCancelRepoBuildUnauthorized

func NewCancelRepoBuildUnauthorized() *CancelRepoBuildUnauthorized

NewCancelRepoBuildUnauthorized creates a CancelRepoBuildUnauthorized with default headers values

func (*CancelRepoBuildUnauthorized) Error

func (*CancelRepoBuildUnauthorized) GetPayload

func (o *CancelRepoBuildUnauthorized) GetPayload() *models.APIError

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for build API

func (*Client) CancelRepoBuild

func (a *Client) CancelRepoBuild(params *CancelRepoBuildParams, authInfo runtime.ClientAuthInfoWriter) (*CancelRepoBuildNoContent, error)

CancelRepoBuild Cancels a repository build.

func (*Client) GetRepoBuild

func (a *Client) GetRepoBuild(params *GetRepoBuildParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildOK, error)

GetRepoBuild Returns information about a build.

func (*Client) GetRepoBuildLogs

func (a *Client) GetRepoBuildLogs(params *GetRepoBuildLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildLogsOK, error)

GetRepoBuildLogs Return the build logs for the build specified by the build uuid.

func (*Client) GetRepoBuildStatus

func (a *Client) GetRepoBuildStatus(params *GetRepoBuildStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildStatusOK, error)

GetRepoBuildStatus Return the status for the builds specified by the build uuids.

func (*Client) GetRepoBuilds

func (a *Client) GetRepoBuilds(params *GetRepoBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildsOK, error)

GetRepoBuilds Get the list of repository builds.

func (*Client) RequestRepoBuild

func (a *Client) RequestRepoBuild(params *RequestRepoBuildParams, authInfo runtime.ClientAuthInfoWriter) (*RequestRepoBuildCreated, error)

RequestRepoBuild Request that a repository be built and pushed from the specified input.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CancelRepoBuild(params *CancelRepoBuildParams, authInfo runtime.ClientAuthInfoWriter) (*CancelRepoBuildNoContent, error)

	GetRepoBuild(params *GetRepoBuildParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildOK, error)

	GetRepoBuildLogs(params *GetRepoBuildLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildLogsOK, error)

	GetRepoBuildStatus(params *GetRepoBuildStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildStatusOK, error)

	GetRepoBuilds(params *GetRepoBuildsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBuildsOK, error)

	RequestRepoBuild(params *RequestRepoBuildParams, authInfo runtime.ClientAuthInfoWriter) (*RequestRepoBuildCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new build API client.

type GetRepoBuildBadRequest

type GetRepoBuildBadRequest struct {
	Payload *models.APIError
}

GetRepoBuildBadRequest handles this case with default header values.

Bad Request

func NewGetRepoBuildBadRequest

func NewGetRepoBuildBadRequest() *GetRepoBuildBadRequest

NewGetRepoBuildBadRequest creates a GetRepoBuildBadRequest with default headers values

func (*GetRepoBuildBadRequest) Error

func (o *GetRepoBuildBadRequest) Error() string

func (*GetRepoBuildBadRequest) GetPayload

func (o *GetRepoBuildBadRequest) GetPayload() *models.APIError

type GetRepoBuildForbidden

type GetRepoBuildForbidden struct {
	Payload *models.APIError
}

GetRepoBuildForbidden handles this case with default header values.

Unauthorized access

func NewGetRepoBuildForbidden

func NewGetRepoBuildForbidden() *GetRepoBuildForbidden

NewGetRepoBuildForbidden creates a GetRepoBuildForbidden with default headers values

func (*GetRepoBuildForbidden) Error

func (o *GetRepoBuildForbidden) Error() string

func (*GetRepoBuildForbidden) GetPayload

func (o *GetRepoBuildForbidden) GetPayload() *models.APIError

type GetRepoBuildLogsBadRequest

type GetRepoBuildLogsBadRequest struct {
	Payload *models.APIError
}

GetRepoBuildLogsBadRequest handles this case with default header values.

Bad Request

func NewGetRepoBuildLogsBadRequest

func NewGetRepoBuildLogsBadRequest() *GetRepoBuildLogsBadRequest

NewGetRepoBuildLogsBadRequest creates a GetRepoBuildLogsBadRequest with default headers values

func (*GetRepoBuildLogsBadRequest) Error

func (*GetRepoBuildLogsBadRequest) GetPayload

func (o *GetRepoBuildLogsBadRequest) GetPayload() *models.APIError

type GetRepoBuildLogsForbidden

type GetRepoBuildLogsForbidden struct {
	Payload *models.APIError
}

GetRepoBuildLogsForbidden handles this case with default header values.

Unauthorized access

func NewGetRepoBuildLogsForbidden

func NewGetRepoBuildLogsForbidden() *GetRepoBuildLogsForbidden

NewGetRepoBuildLogsForbidden creates a GetRepoBuildLogsForbidden with default headers values

func (*GetRepoBuildLogsForbidden) Error

func (o *GetRepoBuildLogsForbidden) Error() string

func (*GetRepoBuildLogsForbidden) GetPayload

func (o *GetRepoBuildLogsForbidden) GetPayload() *models.APIError

type GetRepoBuildLogsNotFound

type GetRepoBuildLogsNotFound struct {
	Payload *models.APIError
}

GetRepoBuildLogsNotFound handles this case with default header values.

Not found

func NewGetRepoBuildLogsNotFound

func NewGetRepoBuildLogsNotFound() *GetRepoBuildLogsNotFound

NewGetRepoBuildLogsNotFound creates a GetRepoBuildLogsNotFound with default headers values

func (*GetRepoBuildLogsNotFound) Error

func (o *GetRepoBuildLogsNotFound) Error() string

func (*GetRepoBuildLogsNotFound) GetPayload

func (o *GetRepoBuildLogsNotFound) GetPayload() *models.APIError

type GetRepoBuildLogsOK

type GetRepoBuildLogsOK struct {
}

GetRepoBuildLogsOK handles this case with default header values.

Successful invocation

func NewGetRepoBuildLogsOK

func NewGetRepoBuildLogsOK() *GetRepoBuildLogsOK

NewGetRepoBuildLogsOK creates a GetRepoBuildLogsOK with default headers values

func (*GetRepoBuildLogsOK) Error

func (o *GetRepoBuildLogsOK) Error() string

type GetRepoBuildLogsParams

type GetRepoBuildLogsParams struct {

	/*BuildUUID
	  The UUID of the build

	*/
	BuildUUID string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRepoBuildLogsParams contains all the parameters to send to the API endpoint for the get repo build logs operation typically these are written to a http.Request

func NewGetRepoBuildLogsParams

func NewGetRepoBuildLogsParams() *GetRepoBuildLogsParams

NewGetRepoBuildLogsParams creates a new GetRepoBuildLogsParams object with the default values initialized.

func NewGetRepoBuildLogsParamsWithContext

func NewGetRepoBuildLogsParamsWithContext(ctx context.Context) *GetRepoBuildLogsParams

NewGetRepoBuildLogsParamsWithContext creates a new GetRepoBuildLogsParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepoBuildLogsParamsWithHTTPClient

func NewGetRepoBuildLogsParamsWithHTTPClient(client *http.Client) *GetRepoBuildLogsParams

NewGetRepoBuildLogsParamsWithHTTPClient creates a new GetRepoBuildLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepoBuildLogsParamsWithTimeout

func NewGetRepoBuildLogsParamsWithTimeout(timeout time.Duration) *GetRepoBuildLogsParams

NewGetRepoBuildLogsParamsWithTimeout creates a new GetRepoBuildLogsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepoBuildLogsParams) SetBuildUUID

func (o *GetRepoBuildLogsParams) SetBuildUUID(buildUUID string)

SetBuildUUID adds the buildUuid to the get repo build logs params

func (*GetRepoBuildLogsParams) SetContext

func (o *GetRepoBuildLogsParams) SetContext(ctx context.Context)

SetContext adds the context to the get repo build logs params

func (*GetRepoBuildLogsParams) SetHTTPClient

func (o *GetRepoBuildLogsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get repo build logs params

func (*GetRepoBuildLogsParams) SetRepository

func (o *GetRepoBuildLogsParams) SetRepository(repository string)

SetRepository adds the repository to the get repo build logs params

func (*GetRepoBuildLogsParams) SetTimeout

func (o *GetRepoBuildLogsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repo build logs params

func (*GetRepoBuildLogsParams) WithBuildUUID

func (o *GetRepoBuildLogsParams) WithBuildUUID(buildUUID string) *GetRepoBuildLogsParams

WithBuildUUID adds the buildUUID to the get repo build logs params

func (*GetRepoBuildLogsParams) WithContext

WithContext adds the context to the get repo build logs params

func (*GetRepoBuildLogsParams) WithHTTPClient

func (o *GetRepoBuildLogsParams) WithHTTPClient(client *http.Client) *GetRepoBuildLogsParams

WithHTTPClient adds the HTTPClient to the get repo build logs params

func (*GetRepoBuildLogsParams) WithRepository

func (o *GetRepoBuildLogsParams) WithRepository(repository string) *GetRepoBuildLogsParams

WithRepository adds the repository to the get repo build logs params

func (*GetRepoBuildLogsParams) WithTimeout

WithTimeout adds the timeout to the get repo build logs params

func (*GetRepoBuildLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepoBuildLogsReader

type GetRepoBuildLogsReader struct {
	// contains filtered or unexported fields
}

GetRepoBuildLogsReader is a Reader for the GetRepoBuildLogs structure.

func (*GetRepoBuildLogsReader) ReadResponse

func (o *GetRepoBuildLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepoBuildLogsUnauthorized

type GetRepoBuildLogsUnauthorized struct {
	Payload *models.APIError
}

GetRepoBuildLogsUnauthorized handles this case with default header values.

Session required

func NewGetRepoBuildLogsUnauthorized

func NewGetRepoBuildLogsUnauthorized() *GetRepoBuildLogsUnauthorized

NewGetRepoBuildLogsUnauthorized creates a GetRepoBuildLogsUnauthorized with default headers values

func (*GetRepoBuildLogsUnauthorized) Error

func (*GetRepoBuildLogsUnauthorized) GetPayload

func (o *GetRepoBuildLogsUnauthorized) GetPayload() *models.APIError

type GetRepoBuildNotFound

type GetRepoBuildNotFound struct {
	Payload *models.APIError
}

GetRepoBuildNotFound handles this case with default header values.

Not found

func NewGetRepoBuildNotFound

func NewGetRepoBuildNotFound() *GetRepoBuildNotFound

NewGetRepoBuildNotFound creates a GetRepoBuildNotFound with default headers values

func (*GetRepoBuildNotFound) Error

func (o *GetRepoBuildNotFound) Error() string

func (*GetRepoBuildNotFound) GetPayload

func (o *GetRepoBuildNotFound) GetPayload() *models.APIError

type GetRepoBuildOK

type GetRepoBuildOK struct {
}

GetRepoBuildOK handles this case with default header values.

Successful invocation

func NewGetRepoBuildOK

func NewGetRepoBuildOK() *GetRepoBuildOK

NewGetRepoBuildOK creates a GetRepoBuildOK with default headers values

func (*GetRepoBuildOK) Error

func (o *GetRepoBuildOK) Error() string

type GetRepoBuildParams

type GetRepoBuildParams struct {

	/*BuildUUID
	  The UUID of the build

	*/
	BuildUUID string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRepoBuildParams contains all the parameters to send to the API endpoint for the get repo build operation typically these are written to a http.Request

func NewGetRepoBuildParams

func NewGetRepoBuildParams() *GetRepoBuildParams

NewGetRepoBuildParams creates a new GetRepoBuildParams object with the default values initialized.

func NewGetRepoBuildParamsWithContext

func NewGetRepoBuildParamsWithContext(ctx context.Context) *GetRepoBuildParams

NewGetRepoBuildParamsWithContext creates a new GetRepoBuildParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepoBuildParamsWithHTTPClient

func NewGetRepoBuildParamsWithHTTPClient(client *http.Client) *GetRepoBuildParams

NewGetRepoBuildParamsWithHTTPClient creates a new GetRepoBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepoBuildParamsWithTimeout

func NewGetRepoBuildParamsWithTimeout(timeout time.Duration) *GetRepoBuildParams

NewGetRepoBuildParamsWithTimeout creates a new GetRepoBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepoBuildParams) SetBuildUUID

func (o *GetRepoBuildParams) SetBuildUUID(buildUUID string)

SetBuildUUID adds the buildUuid to the get repo build params

func (*GetRepoBuildParams) SetContext

func (o *GetRepoBuildParams) SetContext(ctx context.Context)

SetContext adds the context to the get repo build params

func (*GetRepoBuildParams) SetHTTPClient

func (o *GetRepoBuildParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get repo build params

func (*GetRepoBuildParams) SetRepository

func (o *GetRepoBuildParams) SetRepository(repository string)

SetRepository adds the repository to the get repo build params

func (*GetRepoBuildParams) SetTimeout

func (o *GetRepoBuildParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repo build params

func (*GetRepoBuildParams) WithBuildUUID

func (o *GetRepoBuildParams) WithBuildUUID(buildUUID string) *GetRepoBuildParams

WithBuildUUID adds the buildUUID to the get repo build params

func (*GetRepoBuildParams) WithContext

WithContext adds the context to the get repo build params

func (*GetRepoBuildParams) WithHTTPClient

func (o *GetRepoBuildParams) WithHTTPClient(client *http.Client) *GetRepoBuildParams

WithHTTPClient adds the HTTPClient to the get repo build params

func (*GetRepoBuildParams) WithRepository

func (o *GetRepoBuildParams) WithRepository(repository string) *GetRepoBuildParams

WithRepository adds the repository to the get repo build params

func (*GetRepoBuildParams) WithTimeout

func (o *GetRepoBuildParams) WithTimeout(timeout time.Duration) *GetRepoBuildParams

WithTimeout adds the timeout to the get repo build params

func (*GetRepoBuildParams) WriteToRequest

func (o *GetRepoBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRepoBuildReader

type GetRepoBuildReader struct {
	// contains filtered or unexported fields
}

GetRepoBuildReader is a Reader for the GetRepoBuild structure.

func (*GetRepoBuildReader) ReadResponse

func (o *GetRepoBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepoBuildStatusBadRequest

type GetRepoBuildStatusBadRequest struct {
	Payload *models.APIError
}

GetRepoBuildStatusBadRequest handles this case with default header values.

Bad Request

func NewGetRepoBuildStatusBadRequest

func NewGetRepoBuildStatusBadRequest() *GetRepoBuildStatusBadRequest

NewGetRepoBuildStatusBadRequest creates a GetRepoBuildStatusBadRequest with default headers values

func (*GetRepoBuildStatusBadRequest) Error

func (*GetRepoBuildStatusBadRequest) GetPayload

func (o *GetRepoBuildStatusBadRequest) GetPayload() *models.APIError

type GetRepoBuildStatusForbidden

type GetRepoBuildStatusForbidden struct {
	Payload *models.APIError
}

GetRepoBuildStatusForbidden handles this case with default header values.

Unauthorized access

func NewGetRepoBuildStatusForbidden

func NewGetRepoBuildStatusForbidden() *GetRepoBuildStatusForbidden

NewGetRepoBuildStatusForbidden creates a GetRepoBuildStatusForbidden with default headers values

func (*GetRepoBuildStatusForbidden) Error

func (*GetRepoBuildStatusForbidden) GetPayload

func (o *GetRepoBuildStatusForbidden) GetPayload() *models.APIError

type GetRepoBuildStatusNotFound

type GetRepoBuildStatusNotFound struct {
	Payload *models.APIError
}

GetRepoBuildStatusNotFound handles this case with default header values.

Not found

func NewGetRepoBuildStatusNotFound

func NewGetRepoBuildStatusNotFound() *GetRepoBuildStatusNotFound

NewGetRepoBuildStatusNotFound creates a GetRepoBuildStatusNotFound with default headers values

func (*GetRepoBuildStatusNotFound) Error

func (*GetRepoBuildStatusNotFound) GetPayload

func (o *GetRepoBuildStatusNotFound) GetPayload() *models.APIError

type GetRepoBuildStatusOK

type GetRepoBuildStatusOK struct {
}

GetRepoBuildStatusOK handles this case with default header values.

Successful invocation

func NewGetRepoBuildStatusOK

func NewGetRepoBuildStatusOK() *GetRepoBuildStatusOK

NewGetRepoBuildStatusOK creates a GetRepoBuildStatusOK with default headers values

func (*GetRepoBuildStatusOK) Error

func (o *GetRepoBuildStatusOK) Error() string

type GetRepoBuildStatusParams

type GetRepoBuildStatusParams struct {

	/*BuildUUID
	  The UUID of the build

	*/
	BuildUUID string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRepoBuildStatusParams contains all the parameters to send to the API endpoint for the get repo build status operation typically these are written to a http.Request

func NewGetRepoBuildStatusParams

func NewGetRepoBuildStatusParams() *GetRepoBuildStatusParams

NewGetRepoBuildStatusParams creates a new GetRepoBuildStatusParams object with the default values initialized.

func NewGetRepoBuildStatusParamsWithContext

func NewGetRepoBuildStatusParamsWithContext(ctx context.Context) *GetRepoBuildStatusParams

NewGetRepoBuildStatusParamsWithContext creates a new GetRepoBuildStatusParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepoBuildStatusParamsWithHTTPClient

func NewGetRepoBuildStatusParamsWithHTTPClient(client *http.Client) *GetRepoBuildStatusParams

NewGetRepoBuildStatusParamsWithHTTPClient creates a new GetRepoBuildStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepoBuildStatusParamsWithTimeout

func NewGetRepoBuildStatusParamsWithTimeout(timeout time.Duration) *GetRepoBuildStatusParams

NewGetRepoBuildStatusParamsWithTimeout creates a new GetRepoBuildStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepoBuildStatusParams) SetBuildUUID

func (o *GetRepoBuildStatusParams) SetBuildUUID(buildUUID string)

SetBuildUUID adds the buildUuid to the get repo build status params

func (*GetRepoBuildStatusParams) SetContext

func (o *GetRepoBuildStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get repo build status params

func (*GetRepoBuildStatusParams) SetHTTPClient

func (o *GetRepoBuildStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get repo build status params

func (*GetRepoBuildStatusParams) SetRepository

func (o *GetRepoBuildStatusParams) SetRepository(repository string)

SetRepository adds the repository to the get repo build status params

func (*GetRepoBuildStatusParams) SetTimeout

func (o *GetRepoBuildStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repo build status params

func (*GetRepoBuildStatusParams) WithBuildUUID

func (o *GetRepoBuildStatusParams) WithBuildUUID(buildUUID string) *GetRepoBuildStatusParams

WithBuildUUID adds the buildUUID to the get repo build status params

func (*GetRepoBuildStatusParams) WithContext

WithContext adds the context to the get repo build status params

func (*GetRepoBuildStatusParams) WithHTTPClient

func (o *GetRepoBuildStatusParams) WithHTTPClient(client *http.Client) *GetRepoBuildStatusParams

WithHTTPClient adds the HTTPClient to the get repo build status params

func (*GetRepoBuildStatusParams) WithRepository

func (o *GetRepoBuildStatusParams) WithRepository(repository string) *GetRepoBuildStatusParams

WithRepository adds the repository to the get repo build status params

func (*GetRepoBuildStatusParams) WithTimeout

WithTimeout adds the timeout to the get repo build status params

func (*GetRepoBuildStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepoBuildStatusReader

type GetRepoBuildStatusReader struct {
	// contains filtered or unexported fields
}

GetRepoBuildStatusReader is a Reader for the GetRepoBuildStatus structure.

func (*GetRepoBuildStatusReader) ReadResponse

func (o *GetRepoBuildStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepoBuildStatusUnauthorized

type GetRepoBuildStatusUnauthorized struct {
	Payload *models.APIError
}

GetRepoBuildStatusUnauthorized handles this case with default header values.

Session required

func NewGetRepoBuildStatusUnauthorized

func NewGetRepoBuildStatusUnauthorized() *GetRepoBuildStatusUnauthorized

NewGetRepoBuildStatusUnauthorized creates a GetRepoBuildStatusUnauthorized with default headers values

func (*GetRepoBuildStatusUnauthorized) Error

func (*GetRepoBuildStatusUnauthorized) GetPayload

type GetRepoBuildUnauthorized

type GetRepoBuildUnauthorized struct {
	Payload *models.APIError
}

GetRepoBuildUnauthorized handles this case with default header values.

Session required

func NewGetRepoBuildUnauthorized

func NewGetRepoBuildUnauthorized() *GetRepoBuildUnauthorized

NewGetRepoBuildUnauthorized creates a GetRepoBuildUnauthorized with default headers values

func (*GetRepoBuildUnauthorized) Error

func (o *GetRepoBuildUnauthorized) Error() string

func (*GetRepoBuildUnauthorized) GetPayload

func (o *GetRepoBuildUnauthorized) GetPayload() *models.APIError

type GetRepoBuildsBadRequest

type GetRepoBuildsBadRequest struct {
	Payload *models.APIError
}

GetRepoBuildsBadRequest handles this case with default header values.

Bad Request

func NewGetRepoBuildsBadRequest

func NewGetRepoBuildsBadRequest() *GetRepoBuildsBadRequest

NewGetRepoBuildsBadRequest creates a GetRepoBuildsBadRequest with default headers values

func (*GetRepoBuildsBadRequest) Error

func (o *GetRepoBuildsBadRequest) Error() string

func (*GetRepoBuildsBadRequest) GetPayload

func (o *GetRepoBuildsBadRequest) GetPayload() *models.APIError

type GetRepoBuildsForbidden

type GetRepoBuildsForbidden struct {
	Payload *models.APIError
}

GetRepoBuildsForbidden handles this case with default header values.

Unauthorized access

func NewGetRepoBuildsForbidden

func NewGetRepoBuildsForbidden() *GetRepoBuildsForbidden

NewGetRepoBuildsForbidden creates a GetRepoBuildsForbidden with default headers values

func (*GetRepoBuildsForbidden) Error

func (o *GetRepoBuildsForbidden) Error() string

func (*GetRepoBuildsForbidden) GetPayload

func (o *GetRepoBuildsForbidden) GetPayload() *models.APIError

type GetRepoBuildsNotFound

type GetRepoBuildsNotFound struct {
	Payload *models.APIError
}

GetRepoBuildsNotFound handles this case with default header values.

Not found

func NewGetRepoBuildsNotFound

func NewGetRepoBuildsNotFound() *GetRepoBuildsNotFound

NewGetRepoBuildsNotFound creates a GetRepoBuildsNotFound with default headers values

func (*GetRepoBuildsNotFound) Error

func (o *GetRepoBuildsNotFound) Error() string

func (*GetRepoBuildsNotFound) GetPayload

func (o *GetRepoBuildsNotFound) GetPayload() *models.APIError

type GetRepoBuildsOK

type GetRepoBuildsOK struct {
}

GetRepoBuildsOK handles this case with default header values.

Successful invocation

func NewGetRepoBuildsOK

func NewGetRepoBuildsOK() *GetRepoBuildsOK

NewGetRepoBuildsOK creates a GetRepoBuildsOK with default headers values

func (*GetRepoBuildsOK) Error

func (o *GetRepoBuildsOK) Error() string

type GetRepoBuildsParams

type GetRepoBuildsParams struct {

	/*Limit
	  The maximum number of builds to return

	*/
	Limit *int64
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*Since
	  Returns all builds since the given unix timecode

	*/
	Since *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRepoBuildsParams contains all the parameters to send to the API endpoint for the get repo builds operation typically these are written to a http.Request

func NewGetRepoBuildsParams

func NewGetRepoBuildsParams() *GetRepoBuildsParams

NewGetRepoBuildsParams creates a new GetRepoBuildsParams object with the default values initialized.

func NewGetRepoBuildsParamsWithContext

func NewGetRepoBuildsParamsWithContext(ctx context.Context) *GetRepoBuildsParams

NewGetRepoBuildsParamsWithContext creates a new GetRepoBuildsParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepoBuildsParamsWithHTTPClient

func NewGetRepoBuildsParamsWithHTTPClient(client *http.Client) *GetRepoBuildsParams

NewGetRepoBuildsParamsWithHTTPClient creates a new GetRepoBuildsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepoBuildsParamsWithTimeout

func NewGetRepoBuildsParamsWithTimeout(timeout time.Duration) *GetRepoBuildsParams

NewGetRepoBuildsParamsWithTimeout creates a new GetRepoBuildsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepoBuildsParams) SetContext

func (o *GetRepoBuildsParams) SetContext(ctx context.Context)

SetContext adds the context to the get repo builds params

func (*GetRepoBuildsParams) SetHTTPClient

func (o *GetRepoBuildsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get repo builds params

func (*GetRepoBuildsParams) SetLimit

func (o *GetRepoBuildsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get repo builds params

func (*GetRepoBuildsParams) SetRepository

func (o *GetRepoBuildsParams) SetRepository(repository string)

SetRepository adds the repository to the get repo builds params

func (*GetRepoBuildsParams) SetSince

func (o *GetRepoBuildsParams) SetSince(since *int64)

SetSince adds the since to the get repo builds params

func (*GetRepoBuildsParams) SetTimeout

func (o *GetRepoBuildsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repo builds params

func (*GetRepoBuildsParams) WithContext

WithContext adds the context to the get repo builds params

func (*GetRepoBuildsParams) WithHTTPClient

func (o *GetRepoBuildsParams) WithHTTPClient(client *http.Client) *GetRepoBuildsParams

WithHTTPClient adds the HTTPClient to the get repo builds params

func (*GetRepoBuildsParams) WithLimit

func (o *GetRepoBuildsParams) WithLimit(limit *int64) *GetRepoBuildsParams

WithLimit adds the limit to the get repo builds params

func (*GetRepoBuildsParams) WithRepository

func (o *GetRepoBuildsParams) WithRepository(repository string) *GetRepoBuildsParams

WithRepository adds the repository to the get repo builds params

func (*GetRepoBuildsParams) WithSince

func (o *GetRepoBuildsParams) WithSince(since *int64) *GetRepoBuildsParams

WithSince adds the since to the get repo builds params

func (*GetRepoBuildsParams) WithTimeout

func (o *GetRepoBuildsParams) WithTimeout(timeout time.Duration) *GetRepoBuildsParams

WithTimeout adds the timeout to the get repo builds params

func (*GetRepoBuildsParams) WriteToRequest

func (o *GetRepoBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRepoBuildsReader

type GetRepoBuildsReader struct {
	// contains filtered or unexported fields
}

GetRepoBuildsReader is a Reader for the GetRepoBuilds structure.

func (*GetRepoBuildsReader) ReadResponse

func (o *GetRepoBuildsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepoBuildsUnauthorized

type GetRepoBuildsUnauthorized struct {
	Payload *models.APIError
}

GetRepoBuildsUnauthorized handles this case with default header values.

Session required

func NewGetRepoBuildsUnauthorized

func NewGetRepoBuildsUnauthorized() *GetRepoBuildsUnauthorized

NewGetRepoBuildsUnauthorized creates a GetRepoBuildsUnauthorized with default headers values

func (*GetRepoBuildsUnauthorized) Error

func (o *GetRepoBuildsUnauthorized) Error() string

func (*GetRepoBuildsUnauthorized) GetPayload

func (o *GetRepoBuildsUnauthorized) GetPayload() *models.APIError

type RequestRepoBuildBadRequest

type RequestRepoBuildBadRequest struct {
	Payload *models.APIError
}

RequestRepoBuildBadRequest handles this case with default header values.

Bad Request

func NewRequestRepoBuildBadRequest

func NewRequestRepoBuildBadRequest() *RequestRepoBuildBadRequest

NewRequestRepoBuildBadRequest creates a RequestRepoBuildBadRequest with default headers values

func (*RequestRepoBuildBadRequest) Error

func (*RequestRepoBuildBadRequest) GetPayload

func (o *RequestRepoBuildBadRequest) GetPayload() *models.APIError

type RequestRepoBuildCreated

type RequestRepoBuildCreated struct {
}

RequestRepoBuildCreated handles this case with default header values.

Successful creation

func NewRequestRepoBuildCreated

func NewRequestRepoBuildCreated() *RequestRepoBuildCreated

NewRequestRepoBuildCreated creates a RequestRepoBuildCreated with default headers values

func (*RequestRepoBuildCreated) Error

func (o *RequestRepoBuildCreated) Error() string

type RequestRepoBuildForbidden

type RequestRepoBuildForbidden struct {
	Payload *models.APIError
}

RequestRepoBuildForbidden handles this case with default header values.

Unauthorized access

func NewRequestRepoBuildForbidden

func NewRequestRepoBuildForbidden() *RequestRepoBuildForbidden

NewRequestRepoBuildForbidden creates a RequestRepoBuildForbidden with default headers values

func (*RequestRepoBuildForbidden) Error

func (o *RequestRepoBuildForbidden) Error() string

func (*RequestRepoBuildForbidden) GetPayload

func (o *RequestRepoBuildForbidden) GetPayload() *models.APIError

type RequestRepoBuildNotFound

type RequestRepoBuildNotFound struct {
	Payload *models.APIError
}

RequestRepoBuildNotFound handles this case with default header values.

Not found

func NewRequestRepoBuildNotFound

func NewRequestRepoBuildNotFound() *RequestRepoBuildNotFound

NewRequestRepoBuildNotFound creates a RequestRepoBuildNotFound with default headers values

func (*RequestRepoBuildNotFound) Error

func (o *RequestRepoBuildNotFound) Error() string

func (*RequestRepoBuildNotFound) GetPayload

func (o *RequestRepoBuildNotFound) GetPayload() *models.APIError

type RequestRepoBuildParams

type RequestRepoBuildParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.RepositoryBuildRequest
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RequestRepoBuildParams contains all the parameters to send to the API endpoint for the request repo build operation typically these are written to a http.Request

func NewRequestRepoBuildParams

func NewRequestRepoBuildParams() *RequestRepoBuildParams

NewRequestRepoBuildParams creates a new RequestRepoBuildParams object with the default values initialized.

func NewRequestRepoBuildParamsWithContext

func NewRequestRepoBuildParamsWithContext(ctx context.Context) *RequestRepoBuildParams

NewRequestRepoBuildParamsWithContext creates a new RequestRepoBuildParams object with the default values initialized, and the ability to set a context for a request

func NewRequestRepoBuildParamsWithHTTPClient

func NewRequestRepoBuildParamsWithHTTPClient(client *http.Client) *RequestRepoBuildParams

NewRequestRepoBuildParamsWithHTTPClient creates a new RequestRepoBuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRequestRepoBuildParamsWithTimeout

func NewRequestRepoBuildParamsWithTimeout(timeout time.Duration) *RequestRepoBuildParams

NewRequestRepoBuildParamsWithTimeout creates a new RequestRepoBuildParams object with the default values initialized, and the ability to set a timeout on a request

func (*RequestRepoBuildParams) SetBody

SetBody adds the body to the request repo build params

func (*RequestRepoBuildParams) SetContext

func (o *RequestRepoBuildParams) SetContext(ctx context.Context)

SetContext adds the context to the request repo build params

func (*RequestRepoBuildParams) SetHTTPClient

func (o *RequestRepoBuildParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the request repo build params

func (*RequestRepoBuildParams) SetRepository

func (o *RequestRepoBuildParams) SetRepository(repository string)

SetRepository adds the repository to the request repo build params

func (*RequestRepoBuildParams) SetTimeout

func (o *RequestRepoBuildParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the request repo build params

func (*RequestRepoBuildParams) WithBody

WithBody adds the body to the request repo build params

func (*RequestRepoBuildParams) WithContext

WithContext adds the context to the request repo build params

func (*RequestRepoBuildParams) WithHTTPClient

func (o *RequestRepoBuildParams) WithHTTPClient(client *http.Client) *RequestRepoBuildParams

WithHTTPClient adds the HTTPClient to the request repo build params

func (*RequestRepoBuildParams) WithRepository

func (o *RequestRepoBuildParams) WithRepository(repository string) *RequestRepoBuildParams

WithRepository adds the repository to the request repo build params

func (*RequestRepoBuildParams) WithTimeout

WithTimeout adds the timeout to the request repo build params

func (*RequestRepoBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestRepoBuildReader

type RequestRepoBuildReader struct {
	// contains filtered or unexported fields
}

RequestRepoBuildReader is a Reader for the RequestRepoBuild structure.

func (*RequestRepoBuildReader) ReadResponse

func (o *RequestRepoBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RequestRepoBuildUnauthorized

type RequestRepoBuildUnauthorized struct {
	Payload *models.APIError
}

RequestRepoBuildUnauthorized handles this case with default header values.

Session required

func NewRequestRepoBuildUnauthorized

func NewRequestRepoBuildUnauthorized() *RequestRepoBuildUnauthorized

NewRequestRepoBuildUnauthorized creates a RequestRepoBuildUnauthorized with default headers values

func (*RequestRepoBuildUnauthorized) Error

func (*RequestRepoBuildUnauthorized) GetPayload

func (o *RequestRepoBuildUnauthorized) GetPayload() *models.APIError

Jump to

Keyboard shortcuts

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