version_control

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCommitBadRequest

type AddCommitBadRequest struct {
	Payload *mono_models.Message
}
AddCommitBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAddCommitBadRequest

func NewAddCommitBadRequest() *AddCommitBadRequest

NewAddCommitBadRequest creates a AddCommitBadRequest with default headers values

func (*AddCommitBadRequest) Error

func (o *AddCommitBadRequest) Error() string

func (*AddCommitBadRequest) GetPayload

func (o *AddCommitBadRequest) GetPayload() *mono_models.Message

type AddCommitConflict

type AddCommitConflict struct {
	Payload *mono_models.Message
}
AddCommitConflict describes a response with status code 409, with default header values.

Commit changes conflict with checkpoint

func NewAddCommitConflict

func NewAddCommitConflict() *AddCommitConflict

NewAddCommitConflict creates a AddCommitConflict with default headers values

func (*AddCommitConflict) Error

func (o *AddCommitConflict) Error() string

func (*AddCommitConflict) GetPayload

func (o *AddCommitConflict) GetPayload() *mono_models.Message

type AddCommitForbidden

type AddCommitForbidden struct {
	Payload *mono_models.Message
}
AddCommitForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddCommitForbidden

func NewAddCommitForbidden() *AddCommitForbidden

NewAddCommitForbidden creates a AddCommitForbidden with default headers values

func (*AddCommitForbidden) Error

func (o *AddCommitForbidden) Error() string

func (*AddCommitForbidden) GetPayload

func (o *AddCommitForbidden) GetPayload() *mono_models.Message

type AddCommitInternalServerError

type AddCommitInternalServerError struct {
	Payload *mono_models.Message
}
AddCommitInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewAddCommitInternalServerError

func NewAddCommitInternalServerError() *AddCommitInternalServerError

NewAddCommitInternalServerError creates a AddCommitInternalServerError with default headers values

func (*AddCommitInternalServerError) Error

func (*AddCommitInternalServerError) GetPayload

type AddCommitNotFound

type AddCommitNotFound struct {
	Payload *mono_models.Message
}
AddCommitNotFound describes a response with status code 404, with default header values.

branch was not found

func NewAddCommitNotFound

func NewAddCommitNotFound() *AddCommitNotFound

NewAddCommitNotFound creates a AddCommitNotFound with default headers values

func (*AddCommitNotFound) Error

func (o *AddCommitNotFound) Error() string

func (*AddCommitNotFound) GetPayload

func (o *AddCommitNotFound) GetPayload() *mono_models.Message

type AddCommitOK

type AddCommitOK struct {
	Payload *mono_models.Commit
}
AddCommitOK describes a response with status code 200, with default header values.

Create a new commit

func NewAddCommitOK

func NewAddCommitOK() *AddCommitOK

NewAddCommitOK creates a AddCommitOK with default headers values

func (*AddCommitOK) Error

func (o *AddCommitOK) Error() string

func (*AddCommitOK) GetPayload

func (o *AddCommitOK) GetPayload() *mono_models.Commit

type AddCommitParams

type AddCommitParams struct {

	// Commit.
	Commit *mono_models.CommitEditable

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

AddCommitParams contains all the parameters to send to the API endpoint

for the add commit operation.

Typically these are written to a http.Request.

func NewAddCommitParams

func NewAddCommitParams() *AddCommitParams

NewAddCommitParams creates a new AddCommitParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddCommitParamsWithContext

func NewAddCommitParamsWithContext(ctx context.Context) *AddCommitParams

NewAddCommitParamsWithContext creates a new AddCommitParams object with the ability to set a context for a request.

func NewAddCommitParamsWithHTTPClient

func NewAddCommitParamsWithHTTPClient(client *http.Client) *AddCommitParams

NewAddCommitParamsWithHTTPClient creates a new AddCommitParams object with the ability to set a custom HTTPClient for a request.

func NewAddCommitParamsWithTimeout

func NewAddCommitParamsWithTimeout(timeout time.Duration) *AddCommitParams

NewAddCommitParamsWithTimeout creates a new AddCommitParams object with the ability to set a timeout on a request.

func (*AddCommitParams) SetCommit

func (o *AddCommitParams) SetCommit(commit *mono_models.CommitEditable)

SetCommit adds the commit to the add commit params

func (*AddCommitParams) SetContext

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

SetContext adds the context to the add commit params

func (*AddCommitParams) SetDefaults

func (o *AddCommitParams) SetDefaults()

SetDefaults hydrates default values in the add commit params (not the query body).

All values with no default are reset to their zero value.

func (*AddCommitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add commit params

func (*AddCommitParams) SetTimeout

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

SetTimeout adds the timeout to the add commit params

func (*AddCommitParams) WithCommit

WithCommit adds the commit to the add commit params

func (*AddCommitParams) WithContext

func (o *AddCommitParams) WithContext(ctx context.Context) *AddCommitParams

WithContext adds the context to the add commit params

func (*AddCommitParams) WithDefaults

func (o *AddCommitParams) WithDefaults() *AddCommitParams

WithDefaults hydrates default values in the add commit params (not the query body).

All values with no default are reset to their zero value.

func (*AddCommitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add commit params

func (*AddCommitParams) WithTimeout

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

WithTimeout adds the timeout to the add commit params

func (*AddCommitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddCommitReader

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

AddCommitReader is a Reader for the AddCommit structure.

func (*AddCommitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddTagBadRequest

type AddTagBadRequest struct {
	Payload *mono_models.Message
}
AddTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAddTagBadRequest

func NewAddTagBadRequest() *AddTagBadRequest

NewAddTagBadRequest creates a AddTagBadRequest with default headers values

func (*AddTagBadRequest) Error

func (o *AddTagBadRequest) Error() string

func (*AddTagBadRequest) GetPayload

func (o *AddTagBadRequest) GetPayload() *mono_models.Message

type AddTagConflict

type AddTagConflict struct {
	Payload *mono_models.Message
}
AddTagConflict describes a response with status code 409, with default header values.

Conflict

func NewAddTagConflict

func NewAddTagConflict() *AddTagConflict

NewAddTagConflict creates a AddTagConflict with default headers values

func (*AddTagConflict) Error

func (o *AddTagConflict) Error() string

func (*AddTagConflict) GetPayload

func (o *AddTagConflict) GetPayload() *mono_models.Message

type AddTagForbidden

type AddTagForbidden struct {
	Payload *mono_models.Message
}
AddTagForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddTagForbidden

func NewAddTagForbidden() *AddTagForbidden

NewAddTagForbidden creates a AddTagForbidden with default headers values

func (*AddTagForbidden) Error

func (o *AddTagForbidden) Error() string

func (*AddTagForbidden) GetPayload

func (o *AddTagForbidden) GetPayload() *mono_models.Message

type AddTagInternalServerError

type AddTagInternalServerError struct {
	Payload *mono_models.Message
}
AddTagInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewAddTagInternalServerError

func NewAddTagInternalServerError() *AddTagInternalServerError

NewAddTagInternalServerError creates a AddTagInternalServerError with default headers values

func (*AddTagInternalServerError) Error

func (o *AddTagInternalServerError) Error() string

func (*AddTagInternalServerError) GetPayload

type AddTagNotFound

type AddTagNotFound struct {
	Payload *mono_models.Message
}
AddTagNotFound describes a response with status code 404, with default header values.

Not Found

func NewAddTagNotFound

func NewAddTagNotFound() *AddTagNotFound

NewAddTagNotFound creates a AddTagNotFound with default headers values

func (*AddTagNotFound) Error

func (o *AddTagNotFound) Error() string

func (*AddTagNotFound) GetPayload

func (o *AddTagNotFound) GetPayload() *mono_models.Message

type AddTagOK

type AddTagOK struct {
	Payload *mono_models.Tag
}
AddTagOK describes a response with status code 200, with default header values.

Success

func NewAddTagOK

func NewAddTagOK() *AddTagOK

NewAddTagOK creates a AddTagOK with default headers values

func (*AddTagOK) Error

func (o *AddTagOK) Error() string

func (*AddTagOK) GetPayload

func (o *AddTagOK) GetPayload() *mono_models.Tag

type AddTagParams

type AddTagParams struct {

	/* OrganizationName.

	   organization associated with tag
	*/
	OrganizationName string

	/* ProjectName.

	   project associated with tag
	*/
	ProjectName string

	// Tag.
	Tag *mono_models.TagEditable

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

AddTagParams contains all the parameters to send to the API endpoint

for the add tag operation.

Typically these are written to a http.Request.

func NewAddTagParams

func NewAddTagParams() *AddTagParams

NewAddTagParams creates a new AddTagParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddTagParamsWithContext

func NewAddTagParamsWithContext(ctx context.Context) *AddTagParams

NewAddTagParamsWithContext creates a new AddTagParams object with the ability to set a context for a request.

func NewAddTagParamsWithHTTPClient

func NewAddTagParamsWithHTTPClient(client *http.Client) *AddTagParams

NewAddTagParamsWithHTTPClient creates a new AddTagParams object with the ability to set a custom HTTPClient for a request.

func NewAddTagParamsWithTimeout

func NewAddTagParamsWithTimeout(timeout time.Duration) *AddTagParams

NewAddTagParamsWithTimeout creates a new AddTagParams object with the ability to set a timeout on a request.

func (*AddTagParams) SetContext

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

SetContext adds the context to the add tag params

func (*AddTagParams) SetDefaults

func (o *AddTagParams) SetDefaults()

SetDefaults hydrates default values in the add tag params (not the query body).

All values with no default are reset to their zero value.

func (*AddTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add tag params

func (*AddTagParams) SetOrganizationName

func (o *AddTagParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the add tag params

func (*AddTagParams) SetProjectName

func (o *AddTagParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the add tag params

func (*AddTagParams) SetTag

func (o *AddTagParams) SetTag(tag *mono_models.TagEditable)

SetTag adds the tag to the add tag params

func (*AddTagParams) SetTimeout

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

SetTimeout adds the timeout to the add tag params

func (*AddTagParams) WithContext

func (o *AddTagParams) WithContext(ctx context.Context) *AddTagParams

WithContext adds the context to the add tag params

func (*AddTagParams) WithDefaults

func (o *AddTagParams) WithDefaults() *AddTagParams

WithDefaults hydrates default values in the add tag params (not the query body).

All values with no default are reset to their zero value.

func (*AddTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add tag params

func (*AddTagParams) WithOrganizationName

func (o *AddTagParams) WithOrganizationName(organizationName string) *AddTagParams

WithOrganizationName adds the organizationName to the add tag params

func (*AddTagParams) WithProjectName

func (o *AddTagParams) WithProjectName(projectName string) *AddTagParams

WithProjectName adds the projectName to the add tag params

func (*AddTagParams) WithTag

WithTag adds the tag to the add tag params

func (*AddTagParams) WithTimeout

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

WithTimeout adds the timeout to the add tag params

func (*AddTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddTagReader

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

AddTagReader is a Reader for the AddTag structure.

func (*AddTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for version control API

func (*Client) AddCommit

func (a *Client) AddCommit(params *AddCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCommitOK, error)

AddCommit add commit API

func (*Client) AddTag

func (a *Client) AddTag(params *AddTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTagOK, error)

AddTag adds tag

Add a tag by org and project names

func (*Client) DeleteBranch

func (a *Client) DeleteBranch(params *DeleteBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBranchOK, error)

DeleteBranch Delete the branch and all descendent forks that are of the same project. Removes 'tracks' and 'tracking_type' data from all descendent forks in different projects.

func (*Client) EditTag

func (a *Client) EditTag(params *EditTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditTagOK, error)

EditTag edits tag

Edit a tag by org and project names, and tag label

func (*Client) GetBranch

func (a *Client) GetBranch(params *GetBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBranchOK, error)

GetBranch get branch API

func (*Client) GetCheckpoint

func (a *Client) GetCheckpoint(params *GetCheckpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCheckpointOK, error)

GetCheckpoint get checkpoint API

func (*Client) GetCommit

func (a *Client) GetCommit(params *GetCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitOK, error)

GetCommit get commit API

func (*Client) GetCommitHistory

func (a *Client) GetCommitHistory(params *GetCommitHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitHistoryOK, error)

GetCommitHistory get commit history API

func (*Client) GetHARepo

func (a *Client) GetHARepo(params *GetHARepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHARepoOK, error)

GetHARepo gets h a repo info

Get HARepo by org and project names and HARepo label

func (*Client) GetOrder

func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrderOK, error)

GetOrder get order API

func (*Client) GetOrderFromCheckpoint

func (a *Client) GetOrderFromCheckpoint(params *GetOrderFromCheckpointParams, opts ...ClientOption) (*GetOrderFromCheckpointOK, error)

GetOrderFromCheckpoint get order from checkpoint API

func (*Client) GetRevertCommit

func (a *Client) GetRevertCommit(params *GetRevertCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRevertCommitOK, error)

GetRevertCommit get revert commit API

func (*Client) MergeBranch

func (a *Client) MergeBranch(params *MergeBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MergeBranchOK, error)

MergeBranch merge branch API

func (*Client) MergeCommits

func (a *Client) MergeCommits(params *MergeCommitsParams, opts ...ClientOption) (*MergeCommitsOK, *MergeCommitsNoContent, error)

MergeCommits merge commits API

func (*Client) RemoveTag

func (a *Client) RemoveTag(params *RemoveTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTagOK, error)

RemoveTag removes tag

Remove a tag by org and project names, and tag label

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateBranch

func (a *Client) UpdateBranch(params *UpdateBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBranchOK, error)

UpdateBranch update branch API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddCommit(params *AddCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCommitOK, error)

	AddTag(params *AddTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTagOK, error)

	DeleteBranch(params *DeleteBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBranchOK, error)

	EditTag(params *EditTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditTagOK, error)

	GetBranch(params *GetBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBranchOK, error)

	GetCheckpoint(params *GetCheckpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCheckpointOK, error)

	GetCommit(params *GetCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitOK, error)

	GetCommitHistory(params *GetCommitHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitHistoryOK, error)

	GetHARepo(params *GetHARepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHARepoOK, error)

	GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrderOK, error)

	GetOrderFromCheckpoint(params *GetOrderFromCheckpointParams, opts ...ClientOption) (*GetOrderFromCheckpointOK, error)

	GetRevertCommit(params *GetRevertCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRevertCommitOK, error)

	MergeBranch(params *MergeBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MergeBranchOK, error)

	MergeCommits(params *MergeCommitsParams, opts ...ClientOption) (*MergeCommitsOK, *MergeCommitsNoContent, error)

	RemoveTag(params *RemoveTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTagOK, error)

	UpdateBranch(params *UpdateBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBranchOK, 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 version control API client.

type DeleteBranchForbidden

type DeleteBranchForbidden struct {
	Payload *mono_models.Message
}
DeleteBranchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteBranchForbidden

func NewDeleteBranchForbidden() *DeleteBranchForbidden

NewDeleteBranchForbidden creates a DeleteBranchForbidden with default headers values

func (*DeleteBranchForbidden) Error

func (o *DeleteBranchForbidden) Error() string

func (*DeleteBranchForbidden) GetPayload

func (o *DeleteBranchForbidden) GetPayload() *mono_models.Message

type DeleteBranchInternalServerError

type DeleteBranchInternalServerError struct {
	Payload *mono_models.Message
}
DeleteBranchInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewDeleteBranchInternalServerError

func NewDeleteBranchInternalServerError() *DeleteBranchInternalServerError

NewDeleteBranchInternalServerError creates a DeleteBranchInternalServerError with default headers values

func (*DeleteBranchInternalServerError) Error

func (*DeleteBranchInternalServerError) GetPayload

type DeleteBranchNotFound

type DeleteBranchNotFound struct {
	Payload *mono_models.Message
}
DeleteBranchNotFound describes a response with status code 404, with default header values.

branch was not found

func NewDeleteBranchNotFound

func NewDeleteBranchNotFound() *DeleteBranchNotFound

NewDeleteBranchNotFound creates a DeleteBranchNotFound with default headers values

func (*DeleteBranchNotFound) Error

func (o *DeleteBranchNotFound) Error() string

func (*DeleteBranchNotFound) GetPayload

func (o *DeleteBranchNotFound) GetPayload() *mono_models.Message

type DeleteBranchOK

type DeleteBranchOK struct {
	Payload *mono_models.Message
}
DeleteBranchOK describes a response with status code 200, with default header values.

Branch deleted successfully

func NewDeleteBranchOK

func NewDeleteBranchOK() *DeleteBranchOK

NewDeleteBranchOK creates a DeleteBranchOK with default headers values

func (*DeleteBranchOK) Error

func (o *DeleteBranchOK) Error() string

func (*DeleteBranchOK) GetPayload

func (o *DeleteBranchOK) GetPayload() *mono_models.Message

type DeleteBranchParams

type DeleteBranchParams struct {

	// BranchID.
	//
	// Format: uuid
	BranchID strfmt.UUID

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

DeleteBranchParams contains all the parameters to send to the API endpoint

for the delete branch operation.

Typically these are written to a http.Request.

func NewDeleteBranchParams

func NewDeleteBranchParams() *DeleteBranchParams

NewDeleteBranchParams creates a new DeleteBranchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteBranchParamsWithContext

func NewDeleteBranchParamsWithContext(ctx context.Context) *DeleteBranchParams

NewDeleteBranchParamsWithContext creates a new DeleteBranchParams object with the ability to set a context for a request.

func NewDeleteBranchParamsWithHTTPClient

func NewDeleteBranchParamsWithHTTPClient(client *http.Client) *DeleteBranchParams

NewDeleteBranchParamsWithHTTPClient creates a new DeleteBranchParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBranchParamsWithTimeout

func NewDeleteBranchParamsWithTimeout(timeout time.Duration) *DeleteBranchParams

NewDeleteBranchParamsWithTimeout creates a new DeleteBranchParams object with the ability to set a timeout on a request.

func (*DeleteBranchParams) SetBranchID

func (o *DeleteBranchParams) SetBranchID(branchID strfmt.UUID)

SetBranchID adds the branchId to the delete branch params

func (*DeleteBranchParams) SetContext

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

SetContext adds the context to the delete branch params

func (*DeleteBranchParams) SetDefaults

func (o *DeleteBranchParams) SetDefaults()

SetDefaults hydrates default values in the delete branch params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBranchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete branch params

func (*DeleteBranchParams) SetTimeout

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

SetTimeout adds the timeout to the delete branch params

func (*DeleteBranchParams) WithBranchID

func (o *DeleteBranchParams) WithBranchID(branchID strfmt.UUID) *DeleteBranchParams

WithBranchID adds the branchID to the delete branch params

func (*DeleteBranchParams) WithContext

WithContext adds the context to the delete branch params

func (*DeleteBranchParams) WithDefaults

func (o *DeleteBranchParams) WithDefaults() *DeleteBranchParams

WithDefaults hydrates default values in the delete branch params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBranchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete branch params

func (*DeleteBranchParams) WithTimeout

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

WithTimeout adds the timeout to the delete branch params

func (*DeleteBranchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBranchReader

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

DeleteBranchReader is a Reader for the DeleteBranch structure.

func (*DeleteBranchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EditTagBadRequest

type EditTagBadRequest struct {
	Payload *mono_models.Message
}
EditTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewEditTagBadRequest

func NewEditTagBadRequest() *EditTagBadRequest

NewEditTagBadRequest creates a EditTagBadRequest with default headers values

func (*EditTagBadRequest) Error

func (o *EditTagBadRequest) Error() string

func (*EditTagBadRequest) GetPayload

func (o *EditTagBadRequest) GetPayload() *mono_models.Message

type EditTagConflict

type EditTagConflict struct {
	Payload *mono_models.Message
}
EditTagConflict describes a response with status code 409, with default header values.

Conflict

func NewEditTagConflict

func NewEditTagConflict() *EditTagConflict

NewEditTagConflict creates a EditTagConflict with default headers values

func (*EditTagConflict) Error

func (o *EditTagConflict) Error() string

func (*EditTagConflict) GetPayload

func (o *EditTagConflict) GetPayload() *mono_models.Message

type EditTagForbidden

type EditTagForbidden struct {
	Payload *mono_models.Message
}
EditTagForbidden describes a response with status code 403, with default header values.

Forbidden

func NewEditTagForbidden

func NewEditTagForbidden() *EditTagForbidden

NewEditTagForbidden creates a EditTagForbidden with default headers values

func (*EditTagForbidden) Error

func (o *EditTagForbidden) Error() string

func (*EditTagForbidden) GetPayload

func (o *EditTagForbidden) GetPayload() *mono_models.Message

type EditTagInternalServerError

type EditTagInternalServerError struct {
	Payload *mono_models.Message
}
EditTagInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewEditTagInternalServerError

func NewEditTagInternalServerError() *EditTagInternalServerError

NewEditTagInternalServerError creates a EditTagInternalServerError with default headers values

func (*EditTagInternalServerError) Error

func (*EditTagInternalServerError) GetPayload

type EditTagNotFound

type EditTagNotFound struct {
	Payload *mono_models.Message
}
EditTagNotFound describes a response with status code 404, with default header values.

Not Found

func NewEditTagNotFound

func NewEditTagNotFound() *EditTagNotFound

NewEditTagNotFound creates a EditTagNotFound with default headers values

func (*EditTagNotFound) Error

func (o *EditTagNotFound) Error() string

func (*EditTagNotFound) GetPayload

func (o *EditTagNotFound) GetPayload() *mono_models.Message

type EditTagOK

type EditTagOK struct {
	Payload *mono_models.Tag
}
EditTagOK describes a response with status code 200, with default header values.

Success

func NewEditTagOK

func NewEditTagOK() *EditTagOK

NewEditTagOK creates a EditTagOK with default headers values

func (*EditTagOK) Error

func (o *EditTagOK) Error() string

func (*EditTagOK) GetPayload

func (o *EditTagOK) GetPayload() *mono_models.Tag

type EditTagParams

type EditTagParams struct {

	/* OrganizationName.

	   organization associated with tag
	*/
	OrganizationName string

	/* ProjectName.

	   project associated with tag
	*/
	ProjectName string

	// Tag.
	Tag *mono_models.TagEditable

	/* TagLabel.

	   tag label
	*/
	TagLabel string

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

EditTagParams contains all the parameters to send to the API endpoint

for the edit tag operation.

Typically these are written to a http.Request.

func NewEditTagParams

func NewEditTagParams() *EditTagParams

NewEditTagParams creates a new EditTagParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEditTagParamsWithContext

func NewEditTagParamsWithContext(ctx context.Context) *EditTagParams

NewEditTagParamsWithContext creates a new EditTagParams object with the ability to set a context for a request.

func NewEditTagParamsWithHTTPClient

func NewEditTagParamsWithHTTPClient(client *http.Client) *EditTagParams

NewEditTagParamsWithHTTPClient creates a new EditTagParams object with the ability to set a custom HTTPClient for a request.

func NewEditTagParamsWithTimeout

func NewEditTagParamsWithTimeout(timeout time.Duration) *EditTagParams

NewEditTagParamsWithTimeout creates a new EditTagParams object with the ability to set a timeout on a request.

func (*EditTagParams) SetContext

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

SetContext adds the context to the edit tag params

func (*EditTagParams) SetDefaults

func (o *EditTagParams) SetDefaults()

SetDefaults hydrates default values in the edit tag params (not the query body).

All values with no default are reset to their zero value.

func (*EditTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edit tag params

func (*EditTagParams) SetOrganizationName

func (o *EditTagParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the edit tag params

func (*EditTagParams) SetProjectName

func (o *EditTagParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the edit tag params

func (*EditTagParams) SetTag

func (o *EditTagParams) SetTag(tag *mono_models.TagEditable)

SetTag adds the tag to the edit tag params

func (*EditTagParams) SetTagLabel

func (o *EditTagParams) SetTagLabel(tagLabel string)

SetTagLabel adds the tagLabel to the edit tag params

func (*EditTagParams) SetTimeout

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

SetTimeout adds the timeout to the edit tag params

func (*EditTagParams) WithContext

func (o *EditTagParams) WithContext(ctx context.Context) *EditTagParams

WithContext adds the context to the edit tag params

func (*EditTagParams) WithDefaults

func (o *EditTagParams) WithDefaults() *EditTagParams

WithDefaults hydrates default values in the edit tag params (not the query body).

All values with no default are reset to their zero value.

func (*EditTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edit tag params

func (*EditTagParams) WithOrganizationName

func (o *EditTagParams) WithOrganizationName(organizationName string) *EditTagParams

WithOrganizationName adds the organizationName to the edit tag params

func (*EditTagParams) WithProjectName

func (o *EditTagParams) WithProjectName(projectName string) *EditTagParams

WithProjectName adds the projectName to the edit tag params

func (*EditTagParams) WithTag

WithTag adds the tag to the edit tag params

func (*EditTagParams) WithTagLabel

func (o *EditTagParams) WithTagLabel(tagLabel string) *EditTagParams

WithTagLabel adds the tagLabel to the edit tag params

func (*EditTagParams) WithTimeout

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

WithTimeout adds the timeout to the edit tag params

func (*EditTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EditTagReader

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

EditTagReader is a Reader for the EditTag structure.

func (*EditTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBranchNotFound

type GetBranchNotFound struct {
	Payload *mono_models.Message
}
GetBranchNotFound describes a response with status code 404, with default header values.

branch was not found

func NewGetBranchNotFound

func NewGetBranchNotFound() *GetBranchNotFound

NewGetBranchNotFound creates a GetBranchNotFound with default headers values

func (*GetBranchNotFound) Error

func (o *GetBranchNotFound) Error() string

func (*GetBranchNotFound) GetPayload

func (o *GetBranchNotFound) GetPayload() *mono_models.Message

type GetBranchOK

type GetBranchOK struct {
	Payload *mono_models.Branch
}
GetBranchOK describes a response with status code 200, with default header values.

Get details about the branch

func NewGetBranchOK

func NewGetBranchOK() *GetBranchOK

NewGetBranchOK creates a GetBranchOK with default headers values

func (*GetBranchOK) Error

func (o *GetBranchOK) Error() string

func (*GetBranchOK) GetPayload

func (o *GetBranchOK) GetPayload() *mono_models.Branch

type GetBranchParams

type GetBranchParams struct {

	// BranchID.
	//
	// Format: uuid
	BranchID strfmt.UUID

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

GetBranchParams contains all the parameters to send to the API endpoint

for the get branch operation.

Typically these are written to a http.Request.

func NewGetBranchParams

func NewGetBranchParams() *GetBranchParams

NewGetBranchParams creates a new GetBranchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBranchParamsWithContext

func NewGetBranchParamsWithContext(ctx context.Context) *GetBranchParams

NewGetBranchParamsWithContext creates a new GetBranchParams object with the ability to set a context for a request.

func NewGetBranchParamsWithHTTPClient

func NewGetBranchParamsWithHTTPClient(client *http.Client) *GetBranchParams

NewGetBranchParamsWithHTTPClient creates a new GetBranchParams object with the ability to set a custom HTTPClient for a request.

func NewGetBranchParamsWithTimeout

func NewGetBranchParamsWithTimeout(timeout time.Duration) *GetBranchParams

NewGetBranchParamsWithTimeout creates a new GetBranchParams object with the ability to set a timeout on a request.

func (*GetBranchParams) SetBranchID

func (o *GetBranchParams) SetBranchID(branchID strfmt.UUID)

SetBranchID adds the branchId to the get branch params

func (*GetBranchParams) SetContext

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

SetContext adds the context to the get branch params

func (*GetBranchParams) SetDefaults

func (o *GetBranchParams) SetDefaults()

SetDefaults hydrates default values in the get branch params (not the query body).

All values with no default are reset to their zero value.

func (*GetBranchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get branch params

func (*GetBranchParams) SetTimeout

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

SetTimeout adds the timeout to the get branch params

func (*GetBranchParams) WithBranchID

func (o *GetBranchParams) WithBranchID(branchID strfmt.UUID) *GetBranchParams

WithBranchID adds the branchID to the get branch params

func (*GetBranchParams) WithContext

func (o *GetBranchParams) WithContext(ctx context.Context) *GetBranchParams

WithContext adds the context to the get branch params

func (*GetBranchParams) WithDefaults

func (o *GetBranchParams) WithDefaults() *GetBranchParams

WithDefaults hydrates default values in the get branch params (not the query body).

All values with no default are reset to their zero value.

func (*GetBranchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get branch params

func (*GetBranchParams) WithTimeout

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

WithTimeout adds the timeout to the get branch params

func (*GetBranchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBranchReader

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

GetBranchReader is a Reader for the GetBranch structure.

func (*GetBranchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCheckpointForbidden

type GetCheckpointForbidden struct {
	Payload *mono_models.Message
}
GetCheckpointForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCheckpointForbidden

func NewGetCheckpointForbidden() *GetCheckpointForbidden

NewGetCheckpointForbidden creates a GetCheckpointForbidden with default headers values

func (*GetCheckpointForbidden) Error

func (o *GetCheckpointForbidden) Error() string

func (*GetCheckpointForbidden) GetPayload

func (o *GetCheckpointForbidden) GetPayload() *mono_models.Message

type GetCheckpointInternalServerError

type GetCheckpointInternalServerError struct {
	Payload *mono_models.Message
}
GetCheckpointInternalServerError describes a response with status code 500, with default header values.

error retrieving checkpoint

func NewGetCheckpointInternalServerError

func NewGetCheckpointInternalServerError() *GetCheckpointInternalServerError

NewGetCheckpointInternalServerError creates a GetCheckpointInternalServerError with default headers values

func (*GetCheckpointInternalServerError) Error

func (*GetCheckpointInternalServerError) GetPayload

type GetCheckpointNotFound

type GetCheckpointNotFound struct {
	Payload *mono_models.Message
}
GetCheckpointNotFound describes a response with status code 404, with default header values.

checkpoint was not found

func NewGetCheckpointNotFound

func NewGetCheckpointNotFound() *GetCheckpointNotFound

NewGetCheckpointNotFound creates a GetCheckpointNotFound with default headers values

func (*GetCheckpointNotFound) Error

func (o *GetCheckpointNotFound) Error() string

func (*GetCheckpointNotFound) GetPayload

func (o *GetCheckpointNotFound) GetPayload() *mono_models.Message

type GetCheckpointOK

type GetCheckpointOK struct {
	Payload []*mono_models.Checkpoint
}
GetCheckpointOK describes a response with status code 200, with default header values.

Get the checkpoint for the given commit

func NewGetCheckpointOK

func NewGetCheckpointOK() *GetCheckpointOK

NewGetCheckpointOK creates a GetCheckpointOK with default headers values

func (*GetCheckpointOK) Error

func (o *GetCheckpointOK) Error() string

func (*GetCheckpointOK) GetPayload

func (o *GetCheckpointOK) GetPayload() []*mono_models.Checkpoint

type GetCheckpointParams

type GetCheckpointParams struct {

	// CommitID.
	//
	// Format: uuid
	CommitID strfmt.UUID

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

GetCheckpointParams contains all the parameters to send to the API endpoint

for the get checkpoint operation.

Typically these are written to a http.Request.

func NewGetCheckpointParams

func NewGetCheckpointParams() *GetCheckpointParams

NewGetCheckpointParams creates a new GetCheckpointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCheckpointParamsWithContext

func NewGetCheckpointParamsWithContext(ctx context.Context) *GetCheckpointParams

NewGetCheckpointParamsWithContext creates a new GetCheckpointParams object with the ability to set a context for a request.

func NewGetCheckpointParamsWithHTTPClient

func NewGetCheckpointParamsWithHTTPClient(client *http.Client) *GetCheckpointParams

NewGetCheckpointParamsWithHTTPClient creates a new GetCheckpointParams object with the ability to set a custom HTTPClient for a request.

func NewGetCheckpointParamsWithTimeout

func NewGetCheckpointParamsWithTimeout(timeout time.Duration) *GetCheckpointParams

NewGetCheckpointParamsWithTimeout creates a new GetCheckpointParams object with the ability to set a timeout on a request.

func (*GetCheckpointParams) SetCommitID

func (o *GetCheckpointParams) SetCommitID(commitID strfmt.UUID)

SetCommitID adds the commitId to the get checkpoint params

func (*GetCheckpointParams) SetContext

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

SetContext adds the context to the get checkpoint params

func (*GetCheckpointParams) SetDefaults

func (o *GetCheckpointParams) SetDefaults()

SetDefaults hydrates default values in the get checkpoint params (not the query body).

All values with no default are reset to their zero value.

func (*GetCheckpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get checkpoint params

func (*GetCheckpointParams) SetTimeout

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

SetTimeout adds the timeout to the get checkpoint params

func (*GetCheckpointParams) WithCommitID

func (o *GetCheckpointParams) WithCommitID(commitID strfmt.UUID) *GetCheckpointParams

WithCommitID adds the commitID to the get checkpoint params

func (*GetCheckpointParams) WithContext

WithContext adds the context to the get checkpoint params

func (*GetCheckpointParams) WithDefaults

func (o *GetCheckpointParams) WithDefaults() *GetCheckpointParams

WithDefaults hydrates default values in the get checkpoint params (not the query body).

All values with no default are reset to their zero value.

func (*GetCheckpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get checkpoint params

func (*GetCheckpointParams) WithTimeout

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

WithTimeout adds the timeout to the get checkpoint params

func (*GetCheckpointParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCheckpointReader

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

GetCheckpointReader is a Reader for the GetCheckpoint structure.

func (*GetCheckpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCommitForbidden

type GetCommitForbidden struct {
	Payload *mono_models.Message
}
GetCommitForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCommitForbidden

func NewGetCommitForbidden() *GetCommitForbidden

NewGetCommitForbidden creates a GetCommitForbidden with default headers values

func (*GetCommitForbidden) Error

func (o *GetCommitForbidden) Error() string

func (*GetCommitForbidden) GetPayload

func (o *GetCommitForbidden) GetPayload() *mono_models.Message

type GetCommitHistoryForbidden

type GetCommitHistoryForbidden struct {
	Payload *mono_models.Message
}
GetCommitHistoryForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCommitHistoryForbidden

func NewGetCommitHistoryForbidden() *GetCommitHistoryForbidden

NewGetCommitHistoryForbidden creates a GetCommitHistoryForbidden with default headers values

func (*GetCommitHistoryForbidden) Error

func (o *GetCommitHistoryForbidden) Error() string

func (*GetCommitHistoryForbidden) GetPayload

type GetCommitHistoryInternalServerError

type GetCommitHistoryInternalServerError struct {
	Payload *mono_models.Message
}
GetCommitHistoryInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetCommitHistoryInternalServerError

func NewGetCommitHistoryInternalServerError() *GetCommitHistoryInternalServerError

NewGetCommitHistoryInternalServerError creates a GetCommitHistoryInternalServerError with default headers values

func (*GetCommitHistoryInternalServerError) Error

func (*GetCommitHistoryInternalServerError) GetPayload

type GetCommitHistoryNotFound

type GetCommitHistoryNotFound struct {
	Payload *mono_models.Message
}
GetCommitHistoryNotFound describes a response with status code 404, with default header values.

commit was not found

func NewGetCommitHistoryNotFound

func NewGetCommitHistoryNotFound() *GetCommitHistoryNotFound

NewGetCommitHistoryNotFound creates a GetCommitHistoryNotFound with default headers values

func (*GetCommitHistoryNotFound) Error

func (o *GetCommitHistoryNotFound) Error() string

func (*GetCommitHistoryNotFound) GetPayload

func (o *GetCommitHistoryNotFound) GetPayload() *mono_models.Message

type GetCommitHistoryOK

type GetCommitHistoryOK struct {
	Payload *mono_models.CommitHistoryInfo
}
GetCommitHistoryOK describes a response with status code 200, with default header values.

Get commit history starting from the given commit

func NewGetCommitHistoryOK

func NewGetCommitHistoryOK() *GetCommitHistoryOK

NewGetCommitHistoryOK creates a GetCommitHistoryOK with default headers values

func (*GetCommitHistoryOK) Error

func (o *GetCommitHistoryOK) Error() string

func (*GetCommitHistoryOK) GetPayload

type GetCommitHistoryParams

type GetCommitHistoryParams struct {

	// CommitID.
	//
	// Format: uuid
	CommitID strfmt.UUID

	/* Limit.

	   The numbers of items to return.

	   Default: 10
	*/
	Limit *int64

	/* Offset.

	   The number of items to skip before starting to collect the result set.
	*/
	Offset *int64

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

GetCommitHistoryParams contains all the parameters to send to the API endpoint

for the get commit history operation.

Typically these are written to a http.Request.

func NewGetCommitHistoryParams

func NewGetCommitHistoryParams() *GetCommitHistoryParams

NewGetCommitHistoryParams creates a new GetCommitHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCommitHistoryParamsWithContext

func NewGetCommitHistoryParamsWithContext(ctx context.Context) *GetCommitHistoryParams

NewGetCommitHistoryParamsWithContext creates a new GetCommitHistoryParams object with the ability to set a context for a request.

func NewGetCommitHistoryParamsWithHTTPClient

func NewGetCommitHistoryParamsWithHTTPClient(client *http.Client) *GetCommitHistoryParams

NewGetCommitHistoryParamsWithHTTPClient creates a new GetCommitHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetCommitHistoryParamsWithTimeout

func NewGetCommitHistoryParamsWithTimeout(timeout time.Duration) *GetCommitHistoryParams

NewGetCommitHistoryParamsWithTimeout creates a new GetCommitHistoryParams object with the ability to set a timeout on a request.

func (*GetCommitHistoryParams) SetCommitID

func (o *GetCommitHistoryParams) SetCommitID(commitID strfmt.UUID)

SetCommitID adds the commitId to the get commit history params

func (*GetCommitHistoryParams) SetContext

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

SetContext adds the context to the get commit history params

func (*GetCommitHistoryParams) SetDefaults

func (o *GetCommitHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get commit history params (not the query body).

All values with no default are reset to their zero value.

func (*GetCommitHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get commit history params

func (*GetCommitHistoryParams) SetLimit

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

SetLimit adds the limit to the get commit history params

func (*GetCommitHistoryParams) SetOffset

func (o *GetCommitHistoryParams) SetOffset(offset *int64)

SetOffset adds the offset to the get commit history params

func (*GetCommitHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get commit history params

func (*GetCommitHistoryParams) WithCommitID

func (o *GetCommitHistoryParams) WithCommitID(commitID strfmt.UUID) *GetCommitHistoryParams

WithCommitID adds the commitID to the get commit history params

func (*GetCommitHistoryParams) WithContext

WithContext adds the context to the get commit history params

func (*GetCommitHistoryParams) WithDefaults

WithDefaults hydrates default values in the get commit history params (not the query body).

All values with no default are reset to their zero value.

func (*GetCommitHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get commit history params

func (*GetCommitHistoryParams) WithLimit

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

WithLimit adds the limit to the get commit history params

func (*GetCommitHistoryParams) WithOffset

func (o *GetCommitHistoryParams) WithOffset(offset *int64) *GetCommitHistoryParams

WithOffset adds the offset to the get commit history params

func (*GetCommitHistoryParams) WithTimeout

WithTimeout adds the timeout to the get commit history params

func (*GetCommitHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCommitHistoryReader

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

GetCommitHistoryReader is a Reader for the GetCommitHistory structure.

func (*GetCommitHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCommitInternalServerError

type GetCommitInternalServerError struct {
	Payload *mono_models.Message
}
GetCommitInternalServerError describes a response with status code 500, with default header values.

error retrieving commit

func NewGetCommitInternalServerError

func NewGetCommitInternalServerError() *GetCommitInternalServerError

NewGetCommitInternalServerError creates a GetCommitInternalServerError with default headers values

func (*GetCommitInternalServerError) Error

func (*GetCommitInternalServerError) GetPayload

type GetCommitNotFound

type GetCommitNotFound struct {
	Payload *mono_models.Message
}
GetCommitNotFound describes a response with status code 404, with default header values.

commit was not found

func NewGetCommitNotFound

func NewGetCommitNotFound() *GetCommitNotFound

NewGetCommitNotFound creates a GetCommitNotFound with default headers values

func (*GetCommitNotFound) Error

func (o *GetCommitNotFound) Error() string

func (*GetCommitNotFound) GetPayload

func (o *GetCommitNotFound) GetPayload() *mono_models.Message

type GetCommitOK

type GetCommitOK struct {
	Payload *mono_models.Commit
}
GetCommitOK describes a response with status code 200, with default header values.

Get commit details

func NewGetCommitOK

func NewGetCommitOK() *GetCommitOK

NewGetCommitOK creates a GetCommitOK with default headers values

func (*GetCommitOK) Error

func (o *GetCommitOK) Error() string

func (*GetCommitOK) GetPayload

func (o *GetCommitOK) GetPayload() *mono_models.Commit

type GetCommitParams

type GetCommitParams struct {

	// CommitID.
	//
	// Format: uuid
	CommitID strfmt.UUID

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

GetCommitParams contains all the parameters to send to the API endpoint

for the get commit operation.

Typically these are written to a http.Request.

func NewGetCommitParams

func NewGetCommitParams() *GetCommitParams

NewGetCommitParams creates a new GetCommitParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCommitParamsWithContext

func NewGetCommitParamsWithContext(ctx context.Context) *GetCommitParams

NewGetCommitParamsWithContext creates a new GetCommitParams object with the ability to set a context for a request.

func NewGetCommitParamsWithHTTPClient

func NewGetCommitParamsWithHTTPClient(client *http.Client) *GetCommitParams

NewGetCommitParamsWithHTTPClient creates a new GetCommitParams object with the ability to set a custom HTTPClient for a request.

func NewGetCommitParamsWithTimeout

func NewGetCommitParamsWithTimeout(timeout time.Duration) *GetCommitParams

NewGetCommitParamsWithTimeout creates a new GetCommitParams object with the ability to set a timeout on a request.

func (*GetCommitParams) SetCommitID

func (o *GetCommitParams) SetCommitID(commitID strfmt.UUID)

SetCommitID adds the commitId to the get commit params

func (*GetCommitParams) SetContext

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

SetContext adds the context to the get commit params

func (*GetCommitParams) SetDefaults

func (o *GetCommitParams) SetDefaults()

SetDefaults hydrates default values in the get commit params (not the query body).

All values with no default are reset to their zero value.

func (*GetCommitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get commit params

func (*GetCommitParams) SetTimeout

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

SetTimeout adds the timeout to the get commit params

func (*GetCommitParams) WithCommitID

func (o *GetCommitParams) WithCommitID(commitID strfmt.UUID) *GetCommitParams

WithCommitID adds the commitID to the get commit params

func (*GetCommitParams) WithContext

func (o *GetCommitParams) WithContext(ctx context.Context) *GetCommitParams

WithContext adds the context to the get commit params

func (*GetCommitParams) WithDefaults

func (o *GetCommitParams) WithDefaults() *GetCommitParams

WithDefaults hydrates default values in the get commit params (not the query body).

All values with no default are reset to their zero value.

func (*GetCommitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get commit params

func (*GetCommitParams) WithTimeout

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

WithTimeout adds the timeout to the get commit params

func (*GetCommitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCommitReader

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

GetCommitReader is a Reader for the GetCommit structure.

func (*GetCommitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHARepoBadRequest

type GetHARepoBadRequest struct {
	Payload *mono_models.Message
}
GetHARepoBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetHARepoBadRequest

func NewGetHARepoBadRequest() *GetHARepoBadRequest

NewGetHARepoBadRequest creates a GetHARepoBadRequest with default headers values

func (*GetHARepoBadRequest) Error

func (o *GetHARepoBadRequest) Error() string

func (*GetHARepoBadRequest) GetPayload

func (o *GetHARepoBadRequest) GetPayload() *mono_models.Message

type GetHARepoForbidden

type GetHARepoForbidden struct {
	Payload *mono_models.Message
}
GetHARepoForbidden describes a response with status code 403, with default header values.

Unauthorized

func NewGetHARepoForbidden

func NewGetHARepoForbidden() *GetHARepoForbidden

NewGetHARepoForbidden creates a GetHARepoForbidden with default headers values

func (*GetHARepoForbidden) Error

func (o *GetHARepoForbidden) Error() string

func (*GetHARepoForbidden) GetPayload

func (o *GetHARepoForbidden) GetPayload() *mono_models.Message

type GetHARepoInternalServerError

type GetHARepoInternalServerError struct {
	Payload *mono_models.Message
}
GetHARepoInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetHARepoInternalServerError

func NewGetHARepoInternalServerError() *GetHARepoInternalServerError

NewGetHARepoInternalServerError creates a GetHARepoInternalServerError with default headers values

func (*GetHARepoInternalServerError) Error

func (*GetHARepoInternalServerError) GetPayload

type GetHARepoNotFound

type GetHARepoNotFound struct {
	Payload *mono_models.Message
}
GetHARepoNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetHARepoNotFound

func NewGetHARepoNotFound() *GetHARepoNotFound

NewGetHARepoNotFound creates a GetHARepoNotFound with default headers values

func (*GetHARepoNotFound) Error

func (o *GetHARepoNotFound) Error() string

func (*GetHARepoNotFound) GetPayload

func (o *GetHARepoNotFound) GetPayload() *mono_models.Message

type GetHARepoOK

type GetHARepoOK struct {
	Payload *mono_models.HARepo
}
GetHARepoOK describes a response with status code 200, with default header values.

Success

func NewGetHARepoOK

func NewGetHARepoOK() *GetHARepoOK

NewGetHARepoOK creates a GetHARepoOK with default headers values

func (*GetHARepoOK) Error

func (o *GetHARepoOK) Error() string

func (*GetHARepoOK) GetPayload

func (o *GetHARepoOK) GetPayload() *mono_models.HARepo

type GetHARepoParams

type GetHARepoParams struct {

	/* Label.

	   HARepo Label
	*/
	Label string

	/* OrganizationName.

	   organization associated with repo
	*/
	OrganizationName string

	/* ProjectName.

	   project associated with repo
	*/
	ProjectName string

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

GetHARepoParams contains all the parameters to send to the API endpoint

for the get h a repo operation.

Typically these are written to a http.Request.

func NewGetHARepoParams

func NewGetHARepoParams() *GetHARepoParams

NewGetHARepoParams creates a new GetHARepoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHARepoParamsWithContext

func NewGetHARepoParamsWithContext(ctx context.Context) *GetHARepoParams

NewGetHARepoParamsWithContext creates a new GetHARepoParams object with the ability to set a context for a request.

func NewGetHARepoParamsWithHTTPClient

func NewGetHARepoParamsWithHTTPClient(client *http.Client) *GetHARepoParams

NewGetHARepoParamsWithHTTPClient creates a new GetHARepoParams object with the ability to set a custom HTTPClient for a request.

func NewGetHARepoParamsWithTimeout

func NewGetHARepoParamsWithTimeout(timeout time.Duration) *GetHARepoParams

NewGetHARepoParamsWithTimeout creates a new GetHARepoParams object with the ability to set a timeout on a request.

func (*GetHARepoParams) SetContext

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

SetContext adds the context to the get h a repo params

func (*GetHARepoParams) SetDefaults

func (o *GetHARepoParams) SetDefaults()

SetDefaults hydrates default values in the get h a repo params (not the query body).

All values with no default are reset to their zero value.

func (*GetHARepoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get h a repo params

func (*GetHARepoParams) SetLabel

func (o *GetHARepoParams) SetLabel(label string)

SetLabel adds the label to the get h a repo params

func (*GetHARepoParams) SetOrganizationName

func (o *GetHARepoParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the get h a repo params

func (*GetHARepoParams) SetProjectName

func (o *GetHARepoParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get h a repo params

func (*GetHARepoParams) SetTimeout

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

SetTimeout adds the timeout to the get h a repo params

func (*GetHARepoParams) WithContext

func (o *GetHARepoParams) WithContext(ctx context.Context) *GetHARepoParams

WithContext adds the context to the get h a repo params

func (*GetHARepoParams) WithDefaults

func (o *GetHARepoParams) WithDefaults() *GetHARepoParams

WithDefaults hydrates default values in the get h a repo params (not the query body).

All values with no default are reset to their zero value.

func (*GetHARepoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get h a repo params

func (*GetHARepoParams) WithLabel

func (o *GetHARepoParams) WithLabel(label string) *GetHARepoParams

WithLabel adds the label to the get h a repo params

func (*GetHARepoParams) WithOrganizationName

func (o *GetHARepoParams) WithOrganizationName(organizationName string) *GetHARepoParams

WithOrganizationName adds the organizationName to the get h a repo params

func (*GetHARepoParams) WithProjectName

func (o *GetHARepoParams) WithProjectName(projectName string) *GetHARepoParams

WithProjectName adds the projectName to the get h a repo params

func (*GetHARepoParams) WithTimeout

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

WithTimeout adds the timeout to the get h a repo params

func (*GetHARepoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHARepoReader

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

GetHARepoReader is a Reader for the GetHARepo structure.

func (*GetHARepoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrderForbidden

type GetOrderForbidden struct {
	Payload *mono_models.Message
}
GetOrderForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetOrderForbidden

func NewGetOrderForbidden() *GetOrderForbidden

NewGetOrderForbidden creates a GetOrderForbidden with default headers values

func (*GetOrderForbidden) Error

func (o *GetOrderForbidden) Error() string

func (*GetOrderForbidden) GetPayload

func (o *GetOrderForbidden) GetPayload() *mono_models.Message

type GetOrderFromCheckpointInternalServerError

type GetOrderFromCheckpointInternalServerError struct {
	Payload *mono_models.Message
}
GetOrderFromCheckpointInternalServerError describes a response with status code 500, with default header values.

Error generating order

func NewGetOrderFromCheckpointInternalServerError

func NewGetOrderFromCheckpointInternalServerError() *GetOrderFromCheckpointInternalServerError

NewGetOrderFromCheckpointInternalServerError creates a GetOrderFromCheckpointInternalServerError with default headers values

func (*GetOrderFromCheckpointInternalServerError) Error

func (*GetOrderFromCheckpointInternalServerError) GetPayload

type GetOrderFromCheckpointOK

type GetOrderFromCheckpointOK struct {
	Payload *mono_models.Order
}
GetOrderFromCheckpointOK describes a response with status code 200, with default header values.

Generate a solver order for the provided checkpoint data

func NewGetOrderFromCheckpointOK

func NewGetOrderFromCheckpointOK() *GetOrderFromCheckpointOK

NewGetOrderFromCheckpointOK creates a GetOrderFromCheckpointOK with default headers values

func (*GetOrderFromCheckpointOK) Error

func (o *GetOrderFromCheckpointOK) Error() string

func (*GetOrderFromCheckpointOK) GetPayload

func (o *GetOrderFromCheckpointOK) GetPayload() *mono_models.Order

type GetOrderFromCheckpointParams

type GetOrderFromCheckpointParams struct {

	// OrderInfo.
	OrderInfo *mono_models.OrderInfo

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

GetOrderFromCheckpointParams contains all the parameters to send to the API endpoint

for the get order from checkpoint operation.

Typically these are written to a http.Request.

func NewGetOrderFromCheckpointParams

func NewGetOrderFromCheckpointParams() *GetOrderFromCheckpointParams

NewGetOrderFromCheckpointParams creates a new GetOrderFromCheckpointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrderFromCheckpointParamsWithContext

func NewGetOrderFromCheckpointParamsWithContext(ctx context.Context) *GetOrderFromCheckpointParams

NewGetOrderFromCheckpointParamsWithContext creates a new GetOrderFromCheckpointParams object with the ability to set a context for a request.

func NewGetOrderFromCheckpointParamsWithHTTPClient

func NewGetOrderFromCheckpointParamsWithHTTPClient(client *http.Client) *GetOrderFromCheckpointParams

NewGetOrderFromCheckpointParamsWithHTTPClient creates a new GetOrderFromCheckpointParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrderFromCheckpointParamsWithTimeout

func NewGetOrderFromCheckpointParamsWithTimeout(timeout time.Duration) *GetOrderFromCheckpointParams

NewGetOrderFromCheckpointParamsWithTimeout creates a new GetOrderFromCheckpointParams object with the ability to set a timeout on a request.

func (*GetOrderFromCheckpointParams) SetContext

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

SetContext adds the context to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) SetDefaults

func (o *GetOrderFromCheckpointParams) SetDefaults()

SetDefaults hydrates default values in the get order from checkpoint params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrderFromCheckpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) SetOrderInfo

func (o *GetOrderFromCheckpointParams) SetOrderInfo(orderInfo *mono_models.OrderInfo)

SetOrderInfo adds the orderInfo to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) SetTimeout

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

SetTimeout adds the timeout to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) WithContext

WithContext adds the context to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) WithDefaults

WithDefaults hydrates default values in the get order from checkpoint params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrderFromCheckpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) WithOrderInfo

WithOrderInfo adds the orderInfo to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) WithTimeout

WithTimeout adds the timeout to the get order from checkpoint params

func (*GetOrderFromCheckpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrderFromCheckpointReader

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

GetOrderFromCheckpointReader is a Reader for the GetOrderFromCheckpoint structure.

func (*GetOrderFromCheckpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrderInternalServerError

type GetOrderInternalServerError struct {
	Payload *mono_models.Message
}
GetOrderInternalServerError describes a response with status code 500, with default header values.

error retrieving order

func NewGetOrderInternalServerError

func NewGetOrderInternalServerError() *GetOrderInternalServerError

NewGetOrderInternalServerError creates a GetOrderInternalServerError with default headers values

func (*GetOrderInternalServerError) Error

func (*GetOrderInternalServerError) GetPayload

type GetOrderNotFound

type GetOrderNotFound struct {
	Payload *mono_models.Message
}
GetOrderNotFound describes a response with status code 404, with default header values.

order was not found

func NewGetOrderNotFound

func NewGetOrderNotFound() *GetOrderNotFound

NewGetOrderNotFound creates a GetOrderNotFound with default headers values

func (*GetOrderNotFound) Error

func (o *GetOrderNotFound) Error() string

func (*GetOrderNotFound) GetPayload

func (o *GetOrderNotFound) GetPayload() *mono_models.Message

type GetOrderOK

type GetOrderOK struct {
	Payload *mono_models.Order
}
GetOrderOK describes a response with status code 200, with default header values.

Get the solver order for the given commit

func NewGetOrderOK

func NewGetOrderOK() *GetOrderOK

NewGetOrderOK creates a GetOrderOK with default headers values

func (*GetOrderOK) Error

func (o *GetOrderOK) Error() string

func (*GetOrderOK) GetPayload

func (o *GetOrderOK) GetPayload() *mono_models.Order

type GetOrderParams

type GetOrderParams struct {

	// CommitID.
	//
	// Format: uuid
	CommitID strfmt.UUID

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

GetOrderParams contains all the parameters to send to the API endpoint

for the get order operation.

Typically these are written to a http.Request.

func NewGetOrderParams

func NewGetOrderParams() *GetOrderParams

NewGetOrderParams creates a new GetOrderParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrderParamsWithContext

func NewGetOrderParamsWithContext(ctx context.Context) *GetOrderParams

NewGetOrderParamsWithContext creates a new GetOrderParams object with the ability to set a context for a request.

func NewGetOrderParamsWithHTTPClient

func NewGetOrderParamsWithHTTPClient(client *http.Client) *GetOrderParams

NewGetOrderParamsWithHTTPClient creates a new GetOrderParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrderParamsWithTimeout

func NewGetOrderParamsWithTimeout(timeout time.Duration) *GetOrderParams

NewGetOrderParamsWithTimeout creates a new GetOrderParams object with the ability to set a timeout on a request.

func (*GetOrderParams) SetCommitID

func (o *GetOrderParams) SetCommitID(commitID strfmt.UUID)

SetCommitID adds the commitId to the get order params

func (*GetOrderParams) SetContext

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

SetContext adds the context to the get order params

func (*GetOrderParams) SetDefaults

func (o *GetOrderParams) SetDefaults()

SetDefaults hydrates default values in the get order params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get order params

func (*GetOrderParams) SetTimeout

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

SetTimeout adds the timeout to the get order params

func (*GetOrderParams) WithCommitID

func (o *GetOrderParams) WithCommitID(commitID strfmt.UUID) *GetOrderParams

WithCommitID adds the commitID to the get order params

func (*GetOrderParams) WithContext

func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams

WithContext adds the context to the get order params

func (*GetOrderParams) WithDefaults

func (o *GetOrderParams) WithDefaults() *GetOrderParams

WithDefaults hydrates default values in the get order params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get order params

func (*GetOrderParams) WithTimeout

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

WithTimeout adds the timeout to the get order params

func (*GetOrderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrderReader

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

GetOrderReader is a Reader for the GetOrder structure.

func (*GetOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRevertCommitForbidden

type GetRevertCommitForbidden struct {
	Payload *mono_models.Message
}
GetRevertCommitForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetRevertCommitForbidden

func NewGetRevertCommitForbidden() *GetRevertCommitForbidden

NewGetRevertCommitForbidden creates a GetRevertCommitForbidden with default headers values

func (*GetRevertCommitForbidden) Error

func (o *GetRevertCommitForbidden) Error() string

func (*GetRevertCommitForbidden) GetPayload

func (o *GetRevertCommitForbidden) GetPayload() *mono_models.Message

type GetRevertCommitInternalServerError

type GetRevertCommitInternalServerError struct {
	Payload *mono_models.Message
}
GetRevertCommitInternalServerError describes a response with status code 500, with default header values.

error calculating commit

func NewGetRevertCommitInternalServerError

func NewGetRevertCommitInternalServerError() *GetRevertCommitInternalServerError

NewGetRevertCommitInternalServerError creates a GetRevertCommitInternalServerError with default headers values

func (*GetRevertCommitInternalServerError) Error

func (*GetRevertCommitInternalServerError) GetPayload

type GetRevertCommitNotFound

type GetRevertCommitNotFound struct {
	Payload *mono_models.Message
}
GetRevertCommitNotFound describes a response with status code 404, with default header values.

commit was not found

func NewGetRevertCommitNotFound

func NewGetRevertCommitNotFound() *GetRevertCommitNotFound

NewGetRevertCommitNotFound creates a GetRevertCommitNotFound with default headers values

func (*GetRevertCommitNotFound) Error

func (o *GetRevertCommitNotFound) Error() string

func (*GetRevertCommitNotFound) GetPayload

func (o *GetRevertCommitNotFound) GetPayload() *mono_models.Message

type GetRevertCommitOK

type GetRevertCommitOK struct {
	Payload *mono_models.Commit
}
GetRevertCommitOK describes a response with status code 200, with default header values.

Calculate a revert commit

func NewGetRevertCommitOK

func NewGetRevertCommitOK() *GetRevertCommitOK

NewGetRevertCommitOK creates a GetRevertCommitOK with default headers values

func (*GetRevertCommitOK) Error

func (o *GetRevertCommitOK) Error() string

func (*GetRevertCommitOK) GetPayload

func (o *GetRevertCommitOK) GetPayload() *mono_models.Commit

type GetRevertCommitParams

type GetRevertCommitParams struct {

	/* CommitFromID.

	   The commit to start from (usually the latest commit)

	   Format: uuid
	*/
	CommitFromID strfmt.UUID

	/* CommitToID.

	   The commit you would like to mirror

	   Format: uuid
	*/
	CommitToID strfmt.UUID

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

GetRevertCommitParams contains all the parameters to send to the API endpoint

for the get revert commit operation.

Typically these are written to a http.Request.

func NewGetRevertCommitParams

func NewGetRevertCommitParams() *GetRevertCommitParams

NewGetRevertCommitParams creates a new GetRevertCommitParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetRevertCommitParamsWithContext

func NewGetRevertCommitParamsWithContext(ctx context.Context) *GetRevertCommitParams

NewGetRevertCommitParamsWithContext creates a new GetRevertCommitParams object with the ability to set a context for a request.

func NewGetRevertCommitParamsWithHTTPClient

func NewGetRevertCommitParamsWithHTTPClient(client *http.Client) *GetRevertCommitParams

NewGetRevertCommitParamsWithHTTPClient creates a new GetRevertCommitParams object with the ability to set a custom HTTPClient for a request.

func NewGetRevertCommitParamsWithTimeout

func NewGetRevertCommitParamsWithTimeout(timeout time.Duration) *GetRevertCommitParams

NewGetRevertCommitParamsWithTimeout creates a new GetRevertCommitParams object with the ability to set a timeout on a request.

func (*GetRevertCommitParams) SetCommitFromID

func (o *GetRevertCommitParams) SetCommitFromID(commitFromID strfmt.UUID)

SetCommitFromID adds the commitFromId to the get revert commit params

func (*GetRevertCommitParams) SetCommitToID

func (o *GetRevertCommitParams) SetCommitToID(commitToID strfmt.UUID)

SetCommitToID adds the commitToId to the get revert commit params

func (*GetRevertCommitParams) SetContext

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

SetContext adds the context to the get revert commit params

func (*GetRevertCommitParams) SetDefaults

func (o *GetRevertCommitParams) SetDefaults()

SetDefaults hydrates default values in the get revert commit params (not the query body).

All values with no default are reset to their zero value.

func (*GetRevertCommitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get revert commit params

func (*GetRevertCommitParams) SetTimeout

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

SetTimeout adds the timeout to the get revert commit params

func (*GetRevertCommitParams) WithCommitFromID

func (o *GetRevertCommitParams) WithCommitFromID(commitFromID strfmt.UUID) *GetRevertCommitParams

WithCommitFromID adds the commitFromID to the get revert commit params

func (*GetRevertCommitParams) WithCommitToID

func (o *GetRevertCommitParams) WithCommitToID(commitToID strfmt.UUID) *GetRevertCommitParams

WithCommitToID adds the commitToID to the get revert commit params

func (*GetRevertCommitParams) WithContext

WithContext adds the context to the get revert commit params

func (*GetRevertCommitParams) WithDefaults

func (o *GetRevertCommitParams) WithDefaults() *GetRevertCommitParams

WithDefaults hydrates default values in the get revert commit params (not the query body).

All values with no default are reset to their zero value.

func (*GetRevertCommitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get revert commit params

func (*GetRevertCommitParams) WithTimeout

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

WithTimeout adds the timeout to the get revert commit params

func (*GetRevertCommitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRevertCommitReader

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

GetRevertCommitReader is a Reader for the GetRevertCommit structure.

func (*GetRevertCommitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MergeBranchBadRequest

type MergeBranchBadRequest struct {
	Payload *mono_models.Message
}
MergeBranchBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewMergeBranchBadRequest

func NewMergeBranchBadRequest() *MergeBranchBadRequest

NewMergeBranchBadRequest creates a MergeBranchBadRequest with default headers values

func (*MergeBranchBadRequest) Error

func (o *MergeBranchBadRequest) Error() string

func (*MergeBranchBadRequest) GetPayload

func (o *MergeBranchBadRequest) GetPayload() *mono_models.Message

type MergeBranchConflict

type MergeBranchConflict struct {
	Payload *mono_models.Message
}
MergeBranchConflict describes a response with status code 409, with default header values.

Conflict

func NewMergeBranchConflict

func NewMergeBranchConflict() *MergeBranchConflict

NewMergeBranchConflict creates a MergeBranchConflict with default headers values

func (*MergeBranchConflict) Error

func (o *MergeBranchConflict) Error() string

func (*MergeBranchConflict) GetPayload

func (o *MergeBranchConflict) GetPayload() *mono_models.Message

type MergeBranchForbidden

type MergeBranchForbidden struct {
	Payload *mono_models.Message
}
MergeBranchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewMergeBranchForbidden

func NewMergeBranchForbidden() *MergeBranchForbidden

NewMergeBranchForbidden creates a MergeBranchForbidden with default headers values

func (*MergeBranchForbidden) Error

func (o *MergeBranchForbidden) Error() string

func (*MergeBranchForbidden) GetPayload

func (o *MergeBranchForbidden) GetPayload() *mono_models.Message

type MergeBranchInternalServerError

type MergeBranchInternalServerError struct {
	Payload *mono_models.Message
}
MergeBranchInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewMergeBranchInternalServerError

func NewMergeBranchInternalServerError() *MergeBranchInternalServerError

NewMergeBranchInternalServerError creates a MergeBranchInternalServerError with default headers values

func (*MergeBranchInternalServerError) Error

func (*MergeBranchInternalServerError) GetPayload

type MergeBranchNotFound

type MergeBranchNotFound struct {
	Payload *mono_models.Message
}
MergeBranchNotFound describes a response with status code 404, with default header values.

branch was not found

func NewMergeBranchNotFound

func NewMergeBranchNotFound() *MergeBranchNotFound

NewMergeBranchNotFound creates a MergeBranchNotFound with default headers values

func (*MergeBranchNotFound) Error

func (o *MergeBranchNotFound) Error() string

func (*MergeBranchNotFound) GetPayload

func (o *MergeBranchNotFound) GetPayload() *mono_models.Message

type MergeBranchOK

type MergeBranchOK struct {
	Payload *mono_models.MergeStrategies
}
MergeBranchOK describes a response with status code 200, with default header values.

Merge the branch with the branch it was forked from using the given strategy or preview options

func NewMergeBranchOK

func NewMergeBranchOK() *MergeBranchOK

NewMergeBranchOK creates a MergeBranchOK with default headers values

func (*MergeBranchOK) Error

func (o *MergeBranchOK) Error() string

func (*MergeBranchOK) GetPayload

func (o *MergeBranchOK) GetPayload() *mono_models.MergeStrategies

type MergeBranchParams

type MergeBranchParams struct {

	// BranchID.
	//
	// Format: uuid
	BranchID strfmt.UUID

	// Strategy.
	//
	// Default: "preview"
	Strategy string

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

MergeBranchParams contains all the parameters to send to the API endpoint

for the merge branch operation.

Typically these are written to a http.Request.

func NewMergeBranchParams

func NewMergeBranchParams() *MergeBranchParams

NewMergeBranchParams creates a new MergeBranchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMergeBranchParamsWithContext

func NewMergeBranchParamsWithContext(ctx context.Context) *MergeBranchParams

NewMergeBranchParamsWithContext creates a new MergeBranchParams object with the ability to set a context for a request.

func NewMergeBranchParamsWithHTTPClient

func NewMergeBranchParamsWithHTTPClient(client *http.Client) *MergeBranchParams

NewMergeBranchParamsWithHTTPClient creates a new MergeBranchParams object with the ability to set a custom HTTPClient for a request.

func NewMergeBranchParamsWithTimeout

func NewMergeBranchParamsWithTimeout(timeout time.Duration) *MergeBranchParams

NewMergeBranchParamsWithTimeout creates a new MergeBranchParams object with the ability to set a timeout on a request.

func (*MergeBranchParams) SetBranchID

func (o *MergeBranchParams) SetBranchID(branchID strfmt.UUID)

SetBranchID adds the branchId to the merge branch params

func (*MergeBranchParams) SetContext

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

SetContext adds the context to the merge branch params

func (*MergeBranchParams) SetDefaults

func (o *MergeBranchParams) SetDefaults()

SetDefaults hydrates default values in the merge branch params (not the query body).

All values with no default are reset to their zero value.

func (*MergeBranchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the merge branch params

func (*MergeBranchParams) SetStrategy

func (o *MergeBranchParams) SetStrategy(strategy string)

SetStrategy adds the strategy to the merge branch params

func (*MergeBranchParams) SetTimeout

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

SetTimeout adds the timeout to the merge branch params

func (*MergeBranchParams) WithBranchID

func (o *MergeBranchParams) WithBranchID(branchID strfmt.UUID) *MergeBranchParams

WithBranchID adds the branchID to the merge branch params

func (*MergeBranchParams) WithContext

func (o *MergeBranchParams) WithContext(ctx context.Context) *MergeBranchParams

WithContext adds the context to the merge branch params

func (*MergeBranchParams) WithDefaults

func (o *MergeBranchParams) WithDefaults() *MergeBranchParams

WithDefaults hydrates default values in the merge branch params (not the query body).

All values with no default are reset to their zero value.

func (*MergeBranchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the merge branch params

func (*MergeBranchParams) WithStrategy

func (o *MergeBranchParams) WithStrategy(strategy string) *MergeBranchParams

WithStrategy adds the strategy to the merge branch params

func (*MergeBranchParams) WithTimeout

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

WithTimeout adds the timeout to the merge branch params

func (*MergeBranchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type MergeBranchReader

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

MergeBranchReader is a Reader for the MergeBranch structure.

func (*MergeBranchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MergeCommitsBadRequest

type MergeCommitsBadRequest struct {
	Payload *mono_models.Message
}
MergeCommitsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewMergeCommitsBadRequest

func NewMergeCommitsBadRequest() *MergeCommitsBadRequest

NewMergeCommitsBadRequest creates a MergeCommitsBadRequest with default headers values

func (*MergeCommitsBadRequest) Error

func (o *MergeCommitsBadRequest) Error() string

func (*MergeCommitsBadRequest) GetPayload

func (o *MergeCommitsBadRequest) GetPayload() *mono_models.Message

type MergeCommitsConflict

type MergeCommitsConflict struct {
	Payload *mono_models.Message
}
MergeCommitsConflict describes a response with status code 409, with default header values.

Conflict. Specifically due to commitWithChanges being in the history of commitReceivingChanges.

func NewMergeCommitsConflict

func NewMergeCommitsConflict() *MergeCommitsConflict

NewMergeCommitsConflict creates a MergeCommitsConflict with default headers values

func (*MergeCommitsConflict) Error

func (o *MergeCommitsConflict) Error() string

func (*MergeCommitsConflict) GetPayload

func (o *MergeCommitsConflict) GetPayload() *mono_models.Message

type MergeCommitsForbidden

type MergeCommitsForbidden struct {
	Payload *mono_models.Message
}
MergeCommitsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewMergeCommitsForbidden

func NewMergeCommitsForbidden() *MergeCommitsForbidden

NewMergeCommitsForbidden creates a MergeCommitsForbidden with default headers values

func (*MergeCommitsForbidden) Error

func (o *MergeCommitsForbidden) Error() string

func (*MergeCommitsForbidden) GetPayload

func (o *MergeCommitsForbidden) GetPayload() *mono_models.Message

type MergeCommitsInternalServerError

type MergeCommitsInternalServerError struct {
	Payload *mono_models.Message
}
MergeCommitsInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewMergeCommitsInternalServerError

func NewMergeCommitsInternalServerError() *MergeCommitsInternalServerError

NewMergeCommitsInternalServerError creates a MergeCommitsInternalServerError with default headers values

func (*MergeCommitsInternalServerError) Error

func (*MergeCommitsInternalServerError) GetPayload

type MergeCommitsNoContent

type MergeCommitsNoContent struct {
	Payload *mono_models.Message
}
MergeCommitsNoContent describes a response with status code 204, with default header values.

No merge required

func NewMergeCommitsNoContent

func NewMergeCommitsNoContent() *MergeCommitsNoContent

NewMergeCommitsNoContent creates a MergeCommitsNoContent with default headers values

func (*MergeCommitsNoContent) Error

func (o *MergeCommitsNoContent) Error() string

func (*MergeCommitsNoContent) GetPayload

func (o *MergeCommitsNoContent) GetPayload() *mono_models.Message

type MergeCommitsNotFound

type MergeCommitsNotFound struct {
	Payload *mono_models.Message
}
MergeCommitsNotFound describes a response with status code 404, with default header values.

One of the commits was not found

func NewMergeCommitsNotFound

func NewMergeCommitsNotFound() *MergeCommitsNotFound

NewMergeCommitsNotFound creates a MergeCommitsNotFound with default headers values

func (*MergeCommitsNotFound) Error

func (o *MergeCommitsNotFound) Error() string

func (*MergeCommitsNotFound) GetPayload

func (o *MergeCommitsNotFound) GetPayload() *mono_models.Message

type MergeCommitsOK

type MergeCommitsOK struct {
	Payload *mono_models.MergeStrategies
}
MergeCommitsOK describes a response with status code 200, with default header values.

Merge the commit with the given commit

func NewMergeCommitsOK

func NewMergeCommitsOK() *MergeCommitsOK

NewMergeCommitsOK creates a MergeCommitsOK with default headers values

func (*MergeCommitsOK) Error

func (o *MergeCommitsOK) Error() string

func (*MergeCommitsOK) GetPayload

func (o *MergeCommitsOK) GetPayload() *mono_models.MergeStrategies

type MergeCommitsParams

type MergeCommitsParams struct {

	/* CommitReceivingChanges.

	   The commit to start from (usually the latest commit)

	   Format: uuid
	*/
	CommitReceivingChanges strfmt.UUID

	/* CommitWithChanges.

	   The commit you would like to mirror

	   Format: uuid
	*/
	CommitWithChanges strfmt.UUID

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

MergeCommitsParams contains all the parameters to send to the API endpoint

for the merge commits operation.

Typically these are written to a http.Request.

func NewMergeCommitsParams

func NewMergeCommitsParams() *MergeCommitsParams

NewMergeCommitsParams creates a new MergeCommitsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMergeCommitsParamsWithContext

func NewMergeCommitsParamsWithContext(ctx context.Context) *MergeCommitsParams

NewMergeCommitsParamsWithContext creates a new MergeCommitsParams object with the ability to set a context for a request.

func NewMergeCommitsParamsWithHTTPClient

func NewMergeCommitsParamsWithHTTPClient(client *http.Client) *MergeCommitsParams

NewMergeCommitsParamsWithHTTPClient creates a new MergeCommitsParams object with the ability to set a custom HTTPClient for a request.

func NewMergeCommitsParamsWithTimeout

func NewMergeCommitsParamsWithTimeout(timeout time.Duration) *MergeCommitsParams

NewMergeCommitsParamsWithTimeout creates a new MergeCommitsParams object with the ability to set a timeout on a request.

func (*MergeCommitsParams) SetCommitReceivingChanges

func (o *MergeCommitsParams) SetCommitReceivingChanges(commitReceivingChanges strfmt.UUID)

SetCommitReceivingChanges adds the commitReceivingChanges to the merge commits params

func (*MergeCommitsParams) SetCommitWithChanges

func (o *MergeCommitsParams) SetCommitWithChanges(commitWithChanges strfmt.UUID)

SetCommitWithChanges adds the commitWithChanges to the merge commits params

func (*MergeCommitsParams) SetContext

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

SetContext adds the context to the merge commits params

func (*MergeCommitsParams) SetDefaults

func (o *MergeCommitsParams) SetDefaults()

SetDefaults hydrates default values in the merge commits params (not the query body).

All values with no default are reset to their zero value.

func (*MergeCommitsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the merge commits params

func (*MergeCommitsParams) SetTimeout

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

SetTimeout adds the timeout to the merge commits params

func (*MergeCommitsParams) WithCommitReceivingChanges

func (o *MergeCommitsParams) WithCommitReceivingChanges(commitReceivingChanges strfmt.UUID) *MergeCommitsParams

WithCommitReceivingChanges adds the commitReceivingChanges to the merge commits params

func (*MergeCommitsParams) WithCommitWithChanges

func (o *MergeCommitsParams) WithCommitWithChanges(commitWithChanges strfmt.UUID) *MergeCommitsParams

WithCommitWithChanges adds the commitWithChanges to the merge commits params

func (*MergeCommitsParams) WithContext

WithContext adds the context to the merge commits params

func (*MergeCommitsParams) WithDefaults

func (o *MergeCommitsParams) WithDefaults() *MergeCommitsParams

WithDefaults hydrates default values in the merge commits params (not the query body).

All values with no default are reset to their zero value.

func (*MergeCommitsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the merge commits params

func (*MergeCommitsParams) WithTimeout

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

WithTimeout adds the timeout to the merge commits params

func (*MergeCommitsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type MergeCommitsReader

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

MergeCommitsReader is a Reader for the MergeCommits structure.

func (*MergeCommitsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveTagBadRequest

type RemoveTagBadRequest struct {
	Payload *mono_models.Message
}
RemoveTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewRemoveTagBadRequest

func NewRemoveTagBadRequest() *RemoveTagBadRequest

NewRemoveTagBadRequest creates a RemoveTagBadRequest with default headers values

func (*RemoveTagBadRequest) Error

func (o *RemoveTagBadRequest) Error() string

func (*RemoveTagBadRequest) GetPayload

func (o *RemoveTagBadRequest) GetPayload() *mono_models.Message

type RemoveTagConflict

type RemoveTagConflict struct {
	Payload *mono_models.Message
}
RemoveTagConflict describes a response with status code 409, with default header values.

Conflict

func NewRemoveTagConflict

func NewRemoveTagConflict() *RemoveTagConflict

NewRemoveTagConflict creates a RemoveTagConflict with default headers values

func (*RemoveTagConflict) Error

func (o *RemoveTagConflict) Error() string

func (*RemoveTagConflict) GetPayload

func (o *RemoveTagConflict) GetPayload() *mono_models.Message

type RemoveTagForbidden

type RemoveTagForbidden struct {
	Payload *mono_models.Message
}
RemoveTagForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRemoveTagForbidden

func NewRemoveTagForbidden() *RemoveTagForbidden

NewRemoveTagForbidden creates a RemoveTagForbidden with default headers values

func (*RemoveTagForbidden) Error

func (o *RemoveTagForbidden) Error() string

func (*RemoveTagForbidden) GetPayload

func (o *RemoveTagForbidden) GetPayload() *mono_models.Message

type RemoveTagInternalServerError

type RemoveTagInternalServerError struct {
	Payload *mono_models.Message
}
RemoveTagInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewRemoveTagInternalServerError

func NewRemoveTagInternalServerError() *RemoveTagInternalServerError

NewRemoveTagInternalServerError creates a RemoveTagInternalServerError with default headers values

func (*RemoveTagInternalServerError) Error

func (*RemoveTagInternalServerError) GetPayload

type RemoveTagNotFound

type RemoveTagNotFound struct {
	Payload *mono_models.Message
}
RemoveTagNotFound describes a response with status code 404, with default header values.

Not Found

func NewRemoveTagNotFound

func NewRemoveTagNotFound() *RemoveTagNotFound

NewRemoveTagNotFound creates a RemoveTagNotFound with default headers values

func (*RemoveTagNotFound) Error

func (o *RemoveTagNotFound) Error() string

func (*RemoveTagNotFound) GetPayload

func (o *RemoveTagNotFound) GetPayload() *mono_models.Message

type RemoveTagOK

type RemoveTagOK struct {
	Payload *mono_models.Message
}
RemoveTagOK describes a response with status code 200, with default header values.

Success

func NewRemoveTagOK

func NewRemoveTagOK() *RemoveTagOK

NewRemoveTagOK creates a RemoveTagOK with default headers values

func (*RemoveTagOK) Error

func (o *RemoveTagOK) Error() string

func (*RemoveTagOK) GetPayload

func (o *RemoveTagOK) GetPayload() *mono_models.Message

type RemoveTagParams

type RemoveTagParams struct {

	/* OrganizationName.

	   organization associated with tag
	*/
	OrganizationName string

	/* ProjectName.

	   project associated with tag
	*/
	ProjectName string

	/* TagLabel.

	   tag label
	*/
	TagLabel string

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

RemoveTagParams contains all the parameters to send to the API endpoint

for the remove tag operation.

Typically these are written to a http.Request.

func NewRemoveTagParams

func NewRemoveTagParams() *RemoveTagParams

NewRemoveTagParams creates a new RemoveTagParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveTagParamsWithContext

func NewRemoveTagParamsWithContext(ctx context.Context) *RemoveTagParams

NewRemoveTagParamsWithContext creates a new RemoveTagParams object with the ability to set a context for a request.

func NewRemoveTagParamsWithHTTPClient

func NewRemoveTagParamsWithHTTPClient(client *http.Client) *RemoveTagParams

NewRemoveTagParamsWithHTTPClient creates a new RemoveTagParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveTagParamsWithTimeout

func NewRemoveTagParamsWithTimeout(timeout time.Duration) *RemoveTagParams

NewRemoveTagParamsWithTimeout creates a new RemoveTagParams object with the ability to set a timeout on a request.

func (*RemoveTagParams) SetContext

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

SetContext adds the context to the remove tag params

func (*RemoveTagParams) SetDefaults

func (o *RemoveTagParams) SetDefaults()

SetDefaults hydrates default values in the remove tag params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove tag params

func (*RemoveTagParams) SetOrganizationName

func (o *RemoveTagParams) SetOrganizationName(organizationName string)

SetOrganizationName adds the organizationName to the remove tag params

func (*RemoveTagParams) SetProjectName

func (o *RemoveTagParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the remove tag params

func (*RemoveTagParams) SetTagLabel

func (o *RemoveTagParams) SetTagLabel(tagLabel string)

SetTagLabel adds the tagLabel to the remove tag params

func (*RemoveTagParams) SetTimeout

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

SetTimeout adds the timeout to the remove tag params

func (*RemoveTagParams) WithContext

func (o *RemoveTagParams) WithContext(ctx context.Context) *RemoveTagParams

WithContext adds the context to the remove tag params

func (*RemoveTagParams) WithDefaults

func (o *RemoveTagParams) WithDefaults() *RemoveTagParams

WithDefaults hydrates default values in the remove tag params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove tag params

func (*RemoveTagParams) WithOrganizationName

func (o *RemoveTagParams) WithOrganizationName(organizationName string) *RemoveTagParams

WithOrganizationName adds the organizationName to the remove tag params

func (*RemoveTagParams) WithProjectName

func (o *RemoveTagParams) WithProjectName(projectName string) *RemoveTagParams

WithProjectName adds the projectName to the remove tag params

func (*RemoveTagParams) WithTagLabel

func (o *RemoveTagParams) WithTagLabel(tagLabel string) *RemoveTagParams

WithTagLabel adds the tagLabel to the remove tag params

func (*RemoveTagParams) WithTimeout

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

WithTimeout adds the timeout to the remove tag params

func (*RemoveTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveTagReader

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

RemoveTagReader is a Reader for the RemoveTag structure.

func (*RemoveTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBranchBadRequest

type UpdateBranchBadRequest struct {
	Payload *mono_models.Message
}
UpdateBranchBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateBranchBadRequest

func NewUpdateBranchBadRequest() *UpdateBranchBadRequest

NewUpdateBranchBadRequest creates a UpdateBranchBadRequest with default headers values

func (*UpdateBranchBadRequest) Error

func (o *UpdateBranchBadRequest) Error() string

func (*UpdateBranchBadRequest) GetPayload

func (o *UpdateBranchBadRequest) GetPayload() *mono_models.Message

type UpdateBranchConflict

type UpdateBranchConflict struct {
	Payload *mono_models.Message
}
UpdateBranchConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateBranchConflict

func NewUpdateBranchConflict() *UpdateBranchConflict

NewUpdateBranchConflict creates a UpdateBranchConflict with default headers values

func (*UpdateBranchConflict) Error

func (o *UpdateBranchConflict) Error() string

func (*UpdateBranchConflict) GetPayload

func (o *UpdateBranchConflict) GetPayload() *mono_models.Message

type UpdateBranchForbidden

type UpdateBranchForbidden struct {
	Payload *mono_models.Message
}
UpdateBranchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateBranchForbidden

func NewUpdateBranchForbidden() *UpdateBranchForbidden

NewUpdateBranchForbidden creates a UpdateBranchForbidden with default headers values

func (*UpdateBranchForbidden) Error

func (o *UpdateBranchForbidden) Error() string

func (*UpdateBranchForbidden) GetPayload

func (o *UpdateBranchForbidden) GetPayload() *mono_models.Message

type UpdateBranchInternalServerError

type UpdateBranchInternalServerError struct {
	Payload *mono_models.Message
}
UpdateBranchInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewUpdateBranchInternalServerError

func NewUpdateBranchInternalServerError() *UpdateBranchInternalServerError

NewUpdateBranchInternalServerError creates a UpdateBranchInternalServerError with default headers values

func (*UpdateBranchInternalServerError) Error

func (*UpdateBranchInternalServerError) GetPayload

type UpdateBranchNotFound

type UpdateBranchNotFound struct {
	Payload *mono_models.Message
}
UpdateBranchNotFound describes a response with status code 404, with default header values.

Branch Not Found

func NewUpdateBranchNotFound

func NewUpdateBranchNotFound() *UpdateBranchNotFound

NewUpdateBranchNotFound creates a UpdateBranchNotFound with default headers values

func (*UpdateBranchNotFound) Error

func (o *UpdateBranchNotFound) Error() string

func (*UpdateBranchNotFound) GetPayload

func (o *UpdateBranchNotFound) GetPayload() *mono_models.Message

type UpdateBranchOK

type UpdateBranchOK struct {
	Payload *mono_models.Branch
}
UpdateBranchOK describes a response with status code 200, with default header values.

Branch was updated, returns resulting branch

func NewUpdateBranchOK

func NewUpdateBranchOK() *UpdateBranchOK

NewUpdateBranchOK creates a UpdateBranchOK with default headers values

func (*UpdateBranchOK) Error

func (o *UpdateBranchOK) Error() string

func (*UpdateBranchOK) GetPayload

func (o *UpdateBranchOK) GetPayload() *mono_models.Branch

type UpdateBranchParams

type UpdateBranchParams struct {

	// Branch.
	Branch *mono_models.BranchEditable

	// BranchID.
	//
	// Format: uuid
	BranchID strfmt.UUID

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

UpdateBranchParams contains all the parameters to send to the API endpoint

for the update branch operation.

Typically these are written to a http.Request.

func NewUpdateBranchParams

func NewUpdateBranchParams() *UpdateBranchParams

NewUpdateBranchParams creates a new UpdateBranchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateBranchParamsWithContext

func NewUpdateBranchParamsWithContext(ctx context.Context) *UpdateBranchParams

NewUpdateBranchParamsWithContext creates a new UpdateBranchParams object with the ability to set a context for a request.

func NewUpdateBranchParamsWithHTTPClient

func NewUpdateBranchParamsWithHTTPClient(client *http.Client) *UpdateBranchParams

NewUpdateBranchParamsWithHTTPClient creates a new UpdateBranchParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBranchParamsWithTimeout

func NewUpdateBranchParamsWithTimeout(timeout time.Duration) *UpdateBranchParams

NewUpdateBranchParamsWithTimeout creates a new UpdateBranchParams object with the ability to set a timeout on a request.

func (*UpdateBranchParams) SetBranch

func (o *UpdateBranchParams) SetBranch(branch *mono_models.BranchEditable)

SetBranch adds the branch to the update branch params

func (*UpdateBranchParams) SetBranchID

func (o *UpdateBranchParams) SetBranchID(branchID strfmt.UUID)

SetBranchID adds the branchId to the update branch params

func (*UpdateBranchParams) SetContext

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

SetContext adds the context to the update branch params

func (*UpdateBranchParams) SetDefaults

func (o *UpdateBranchParams) SetDefaults()

SetDefaults hydrates default values in the update branch params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBranchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update branch params

func (*UpdateBranchParams) SetTimeout

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

SetTimeout adds the timeout to the update branch params

func (*UpdateBranchParams) WithBranch

WithBranch adds the branch to the update branch params

func (*UpdateBranchParams) WithBranchID

func (o *UpdateBranchParams) WithBranchID(branchID strfmt.UUID) *UpdateBranchParams

WithBranchID adds the branchID to the update branch params

func (*UpdateBranchParams) WithContext

WithContext adds the context to the update branch params

func (*UpdateBranchParams) WithDefaults

func (o *UpdateBranchParams) WithDefaults() *UpdateBranchParams

WithDefaults hydrates default values in the update branch params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBranchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update branch params

func (*UpdateBranchParams) WithTimeout

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

WithTimeout adds the timeout to the update branch params

func (*UpdateBranchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateBranchReader

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

UpdateBranchReader is a Reader for the UpdateBranch structure.

func (*UpdateBranchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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