Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteRepositoriesWorkspaceRepoSlugRefsBranchesName(params *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams, ...) (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent, error)
- func (a *Client) DeleteRepositoriesWorkspaceRepoSlugRefsTagsName(params *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams, ...) (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugRefs(params *GetRepositoriesWorkspaceRepoSlugRefsParams, ...) (*GetRepositoriesWorkspaceRepoSlugRefsOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsBranches(params *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams, ...) (*GetRepositoriesWorkspaceRepoSlugRefsBranchesOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsBranchesName(params *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams, ...) (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsTags(params *GetRepositoriesWorkspaceRepoSlugRefsTagsParams, ...) (*GetRepositoriesWorkspaceRepoSlugRefsTagsOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsTagsName(params *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams, ...) (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK, error)
- func (a *Client) PostRepositoriesWorkspaceRepoSlugRefsBranches(params *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams, ...) (*PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated, error)
- func (a *Client) PostRepositoriesWorkspaceRepoSlugRefsTags(params *PostRepositoriesWorkspaceRepoSlugRefsTagsParams, ...) (*PostRepositoriesWorkspaceRepoSlugRefsTagsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden
- type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent
- type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound
- type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams() *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetContext(ctx context.Context)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName(name string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug(repoSlug string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace(workspace string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName(name string) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameReader
- type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden
- type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent
- type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound
- type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams() *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetContext(ctx context.Context)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName(name string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug(repoSlug string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace(workspace string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName(name string) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameReader
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams() *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName(name string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName(name string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameReader
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesOK
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParams() *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetQ(q *string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetSort(sort *string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetUsername(username string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithQ(q *string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithSort(sort *string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithUsername(username string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugRefsBranchesReader
- type GetRepositoriesWorkspaceRepoSlugRefsForbidden
- type GetRepositoriesWorkspaceRepoSlugRefsNotFound
- type GetRepositoriesWorkspaceRepoSlugRefsOK
- type GetRepositoriesWorkspaceRepoSlugRefsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsParams() *GetRepositoriesWorkspaceRepoSlugRefsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetQ(q *string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetSort(sort *string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetUsername(username string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithQ(q *string) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithSort(sort *string) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithUsername(username string) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugRefsReader
- type GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden
- type GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden
- type GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound
- type GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK
- type GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParams() *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName(name string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName(name string) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugRefsTagsNameReader
- type GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound
- type GetRepositoriesWorkspaceRepoSlugRefsTagsOK
- type GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParams() *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetQ(q *string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetSort(sort *string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetUsername(username string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithQ(q *string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithSort(sort *string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithUsername(username string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugRefsTagsReader
- type PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated
- type PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden
- type PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound
- type PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParams() *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugRefsBranchesReader
- type PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest
- type PostRepositoriesWorkspaceRepoSlugRefsTagsCreated
- type PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParams() *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetBody(body *models.Tag)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithBody(body *models.Tag) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
- func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugRefsTagsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for refs API
func (*Client) DeleteRepositoriesWorkspaceRepoSlugRefsBranchesName ¶
func (a *Client) DeleteRepositoriesWorkspaceRepoSlugRefsBranchesName(params *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent, error)
DeleteRepositoriesWorkspaceRepoSlugRefsBranchesName Delete a branch in the specified repository.
The main branch is not allowed to be deleted and will return a 400 response.
For Git, the branch name should not include any prefixes (e.g. refs/heads). For Mercurial, this closes all open heads on the branch, sets the author of the commit to the authenticated caller, and changes the date to the datetime of the call.
func (*Client) DeleteRepositoriesWorkspaceRepoSlugRefsTagsName ¶
func (a *Client) DeleteRepositoriesWorkspaceRepoSlugRefsTagsName(params *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent, error)
DeleteRepositoriesWorkspaceRepoSlugRefsTagsName Delete a tag in the specified repository.
For Git, the tag name should not include any prefixes (e.g. refs/tags). For Mercurial, this adds a commit to the main branch that removes the specified tag.
func (*Client) GetRepositoriesWorkspaceRepoSlugRefs ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugRefs(params *GetRepositoriesWorkspaceRepoSlugRefsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsOK, error)
GetRepositoriesWorkspaceRepoSlugRefs Returns the branches and tags in the repository.
By default, results will be in the order the underlying source control system returns them and identical to the ordering one sees when running "$ git show-ref". Note that this follows simple lexical ordering of the ref names.
This can be undesirable as it does apply any natural sorting semantics, meaning for instance that refs are sorted ["branch1", "branch10", "branch2", "v10", "v11", "v9"] instead of ["branch1", "branch2", "branch10", "v9", "v10", "v11"].
Sorting can be changed using the ?sort= query parameter. When using ?sort=name to explicitly sort on ref name, Bitbucket will apply natural sorting and interpret numerical values as numbers instead of strings.
func (*Client) GetRepositoriesWorkspaceRepoSlugRefsBranches ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsBranches(params *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsBranchesOK, error)
GetRepositoriesWorkspaceRepoSlugRefsBranches Returns a list of all open branches within the specified repository.
Results will be in the order the source control manager returns them.
``` $ curl -s https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/refs/branches | jq .
{ "pagelen": 10, "values": [ { "heads": [ { "hash": "f1a0933ce59e809f190602655e22ae6ec107c397", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/f1a0933ce59e809f190602655e22ae6ec107c397" } } } ], "type": "named_branch", "name": "default", "links": { "commits": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commits/default" }, "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/refs/branches/default" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/branch/default" } }, "target": { "hash": "f1a0933ce59e809f190602655e22ae6ec107c397", "repository": { "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial" }, "avatar": { "href": "https://bitbucket.org/seanfarley/mercurial/avatar/32/" } }, "type": "repository", "name": "mercurial", "full_name": "seanfarley/mercurial", "uuid": "{73dcbd61-e506-4fc1-9ecd-31be2b6d6031}" }, "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397" }, "comments": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397/comments" }, "patch": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/patch/f1a0933ce59e809f190602655e22ae6ec107c397" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/f1a0933ce59e809f190602655e22ae6ec107c397" }, "diff": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/diff/f1a0933ce59e809f190602655e22ae6ec107c397" }, "approve": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397/approve" }, "statuses": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397/statuses" } }, "author": { "raw": "Martin von Zweigbergk <martinvonz@google.com>", "type": "author", "user": { "username": "martinvonz", "nickname": "martinvonz", "display_name": "Martin von Zweigbergk", "type": "user", "uuid": "{fdb0e657-3ade-4fad-a136-95f1ffe4a5ac}", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/martinvonz" }, "html": { "href": "https://bitbucket.org/martinvonz/" }, "avatar": { "href": "https://bitbucket.org/account/martinvonz/avatar/32/" } } } }, "parents": [ { "hash": "5523aabb85c30ebc2b8e29aadcaf5e13fa92b375", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/5523aabb85c30ebc2b8e29aadcaf5e13fa92b375" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/5523aabb85c30ebc2b8e29aadcaf5e13fa92b375" } } } ], "date": "2018-02-01T18:44:49+00:00", "message": "config: replace a for-else by any()", "type": "commit" } }, { "heads": [ { "hash": "1d60ad093792706e1dc7a52b20942593f2c19655", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/1d60ad093792706e1dc7a52b20942593f2c19655" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/1d60ad093792706e1dc7a52b20942593f2c19655" } } } ], "type": "named_branch", "name": "stable", "links": { "commits": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commits/stable" }, "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/refs/branches/stable" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/branch/stable" } }, "target": { "hash": "1d60ad093792706e1dc7a52b20942593f2c19655", "repository": { "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial" }, "avatar": { "href": "https://bitbucket.org/seanfarley/mercurial/avatar/32/" } }, "type": "repository", "name": "mercurial", "full_name": "seanfarley/mercurial", "uuid": "{73dcbd61-e506-4fc1-9ecd-31be2b6d6031}" }, "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/1d60ad093792706e1dc7a52b20942593f2c19655" }, "comments": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/1d60ad093792706e1dc7a52b20942593f2c19655/comments" }, "patch": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/patch/1d60ad093792706e1dc7a52b20942593f2c19655" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/1d60ad093792706e1dc7a52b20942593f2c19655" }, "diff": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/diff/1d60ad093792706e1dc7a52b20942593f2c19655" }, "approve": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/1d60ad093792706e1dc7a52b20942593f2c19655/approve" }, "statuses": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/1d60ad093792706e1dc7a52b20942593f2c19655/statuses" } }, "author": { "raw": "Augie Fackler <raf@durin42.com>", "type": "author", "user": { "username": "durin42", "nickname": "durin42", "display_name": "Augie Fackler", "type": "user", "uuid": "{e07dc61f-bb05-4218-b43a-d991f26be65a}", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/durin42" }, "html": { "href": "https://bitbucket.org/durin42/" }, "avatar": { "href": "https://bitbucket.org/account/durin42/avatar/32/" } } } }, "parents": [ { "hash": "56a0da11bde519d79168e890df4bcf0da62f0a7b", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/56a0da11bde519d79168e890df4bcf0da62f0a7b" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/56a0da11bde519d79168e890df4bcf0da62f0a7b" } } } ], "date": "2018-02-01T19:13:41+00:00", "message": "Added signature for changeset d334afc585e2", "type": "commit" } } ], "page": 1, "size": 2 }
```
Branches support [filtering and sorting](../../../../../meta/filtering) that can be used to search for specific branches. For instance, to find all branches that have "stab" in their name:
``` curl -s https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/refs/branches -G --data-urlencode 'q=name ~ "stab"' ```
By default, results will be in the order the underlying source control system returns them and identical to the ordering one sees when running "$ hg branches" or "$ git branch --list". Note that this follows simple lexical ordering of the ref names.
This can be undesirable as it does apply any natural sorting semantics, meaning for instance that tags are sorted ["v10", "v11", "v9"] instead of ["v9", "v10", "v11"].
Sorting can be changed using the ?q= query parameter. When using ?q=name to explicitly sort on ref name, Bitbucket will apply natural sorting and interpret numerical values as numbers instead of strings.
func (*Client) GetRepositoriesWorkspaceRepoSlugRefsBranchesName ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsBranchesName(params *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK, error)
GetRepositoriesWorkspaceRepoSlugRefsBranchesName Returns a branch object within the specified repository.
``` $ curl -s https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/refs/branches/default | jq .
{ "heads": [ { "hash": "f1a0933ce59e809f190602655e22ae6ec107c397", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/f1a0933ce59e809f190602655e22ae6ec107c397" } } } ], "type": "named_branch", "name": "default", "links": { "commits": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commits/default" }, "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/refs/branches/default" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/branch/default" } }, "target": { "hash": "f1a0933ce59e809f190602655e22ae6ec107c397", "repository": { "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial" }, "avatar": { "href": "https://bitbucket.org/seanfarley/mercurial/avatar/32/" } }, "type": "repository", "name": "mercurial", "full_name": "seanfarley/mercurial", "uuid": "{73dcbd61-e506-4fc1-9ecd-31be2b6d6031}" }, "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397" }, "comments": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397/comments" }, "patch": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/patch/f1a0933ce59e809f190602655e22ae6ec107c397" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/f1a0933ce59e809f190602655e22ae6ec107c397" }, "diff": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/diff/f1a0933ce59e809f190602655e22ae6ec107c397" }, "approve": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397/approve" }, "statuses": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/f1a0933ce59e809f190602655e22ae6ec107c397/statuses" } }, "author": { "raw": "Martin von Zweigbergk <martinvonz@google.com>", "type": "author", "user": { "username": "martinvonz", "nickname": "martinvonz", "display_name": "Martin von Zweigbergk", "type": "user", "uuid": "{fdb0e657-3ade-4fad-a136-95f1ffe4a5ac}", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/martinvonz" }, "html": { "href": "https://bitbucket.org/martinvonz/" }, "avatar": { "href": "https://bitbucket.org/account/martinvonz/avatar/32/" } } } }, "parents": [ { "hash": "5523aabb85c30ebc2b8e29aadcaf5e13fa92b375", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/mercurial/commit/5523aabb85c30ebc2b8e29aadcaf5e13fa92b375" }, "html": { "href": "https://bitbucket.org/seanfarley/mercurial/commits/5523aabb85c30ebc2b8e29aadcaf5e13fa92b375" } } } ], "date": "2018-02-01T18:44:49+00:00", "message": "config: replace a for-else by any()", "type": "commit" } }
```
This call requires authentication. Private repositories require the caller to authenticate with an account that has appropriate authorization.
For Git, the branch name should not include any prefixes (e.g. refs/heads).
For Mercurial, the response will include an additional field that lists the open heads.
func (*Client) GetRepositoriesWorkspaceRepoSlugRefsTags ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsTags(params *GetRepositoriesWorkspaceRepoSlugRefsTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsTagsOK, error)
GetRepositoriesWorkspaceRepoSlugRefsTags Returns the tags in the repository.
By default, results will be in the order the underlying source control system returns them and identical to the ordering one sees when running "$ hg tags" or "$ git tag --list". Note that this follows simple lexical ordering of the ref names.
This can be undesirable as it does apply any natural sorting semantics, meaning for instance that tags are sorted ["v10", "v11", "v9"] instead of ["v9", "v10", "v11"].
Sorting can be changed using the ?sort= query parameter. When using ?sort=name to explicitly sort on ref name, Bitbucket will apply natural sorting and interpret numerical values as numbers instead of strings.
func (*Client) GetRepositoriesWorkspaceRepoSlugRefsTagsName ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugRefsTagsName(params *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK, error)
GetRepositoriesWorkspaceRepoSlugRefsTagsName Returns the specified tag.
``` $ curl -s https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/tags/3.8 -G | jq .
{ "name": "3.8", "links": { "commits": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commits/3.8" }, "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/tags/3.8" }, "html": { "href": "https://bitbucket.org/seanfarley/hg/commits/tag/3.8" } }, "tagger": { "raw": "Matt Mackall <mpm@selenic.com>", "type": "author", "user": { "username": "mpmselenic", "nickname": "mpmselenic", "display_name": "Matt Mackall", "type": "user", "uuid": "{a4934530-db4c-419c-a478-9ab4964c2ee7}", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/mpmselenic" }, "html": { "href": "https://bitbucket.org/mpmselenic/" }, "avatar": { "href": "https://bitbucket.org/account/mpmselenic/avatar/32/" } } } }, "date": "2016-05-01T18:52:25+00:00", "message": "Added tag 3.8 for changeset f85de28eae32", "type": "tag", "target": { "hash": "f85de28eae32e7d3064b1a1321309071bbaaa069", "repository": { "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg" }, "html": { "href": "https://bitbucket.org/seanfarley/hg" }, "avatar": { "href": "https://bitbucket.org/seanfarley/hg/avatar/32/" } }, "type": "repository", "name": "hg", "full_name": "seanfarley/hg", "uuid": "{c75687fb-e99d-4579-9087-190dbd406d30}" }, "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069" }, "comments": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069/comments" }, "patch": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/patch/f85de28eae32e7d3064b1a1321309071bbaaa069" }, "html": { "href": "https://bitbucket.org/seanfarley/hg/commits/f85de28eae32e7d3064b1a1321309071bbaaa069" }, "diff": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/diff/f85de28eae32e7d3064b1a1321309071bbaaa069" }, "approve": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069/approve" }, "statuses": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069/statuses" } }, "author": { "raw": "Sean Farley <sean@farley.io>", "type": "author", "user": { "username": "seanfarley", "nickname": "seanfarley", "display_name": "Sean Farley", "type": "user", "uuid": "{a295f8a8-5876-4d43-89b5-3ad8c6c3c51d}", "links": { "self": { "href": "https://api.bitbucket.org/2.0/users/seanfarley" }, "html": { "href": "https://bitbucket.org/seanfarley/" }, "avatar": { "href": "https://bitbucket.org/account/seanfarley/avatar/32/" } } } }, "parents": [ { "hash": "9a98d0e5b07fc60887f9d3d34d9ac7d536f470d2", "type": "commit", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/9a98d0e5b07fc60887f9d3d34d9ac7d536f470d2" }, "html": { "href": "https://bitbucket.org/seanfarley/hg/commits/9a98d0e5b07fc60887f9d3d34d9ac7d536f470d2" } } } ], "date": "2016-05-01T04:21:17+00:00", "message": "debian: alphabetize build deps", "type": "commit" } }
```
func (*Client) PostRepositoriesWorkspaceRepoSlugRefsBranches ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugRefsBranches(params *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated, error)
PostRepositoriesWorkspaceRepoSlugRefsBranches Creates a new branch in the specified repository.
The payload of the POST should consist of a JSON document that contains the name of the tag and the target hash.
``` curl https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/branches \ -s -u seanfarley -X POST -H "Content-Type: application/json" \
-d '{ "name" : "smf/create-feature", "target" : { "hash" : "default", } }'
```
This call requires authentication. Private repositories require the caller to authenticate with an account that has appropriate authorization.
For Git, the branch name should not include any prefixes (e.g. refs/heads). This endpoint does support using short hash prefixes for the commit hash, but it may return a 400 response if the provided prefix is ambiguous. Using a full commit hash is the preferred approach.
For Mercurial, the authenticated user making this call is the author of the new branch commit and the date is current datetime of the call.
func (*Client) PostRepositoriesWorkspaceRepoSlugRefsTags ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugRefsTags(params *PostRepositoriesWorkspaceRepoSlugRefsTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugRefsTagsCreated, error)
PostRepositoriesWorkspaceRepoSlugRefsTags Creates a new tag in the specified repository.
The payload of the POST should consist of a JSON document that contains the name of the tag and the target hash.
``` curl https://api.bitbucket.org/2.0/repositories/jdoe/myrepo/refs/tags \ -s -u jdoe -X POST -H "Content-Type: application/json" \
-d '{ "name" : "new-tag-name", "target" : { "hash" : "a1b2c3d4e5f6", } }'
```
This endpoint does support using short hash prefixes for the commit hash, but it may return a 400 response if the provided prefix is ambiguous. Using a full commit hash is the preferred approach.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteRepositoriesWorkspaceRepoSlugRefsBranchesName(params *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent, error) DeleteRepositoriesWorkspaceRepoSlugRefsTagsName(params *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent, error) GetRepositoriesWorkspaceRepoSlugRefs(params *GetRepositoriesWorkspaceRepoSlugRefsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsOK, error) GetRepositoriesWorkspaceRepoSlugRefsBranches(params *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsBranchesOK, error) GetRepositoriesWorkspaceRepoSlugRefsBranchesName(params *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK, error) GetRepositoriesWorkspaceRepoSlugRefsTags(params *GetRepositoriesWorkspaceRepoSlugRefsTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsTagsOK, error) GetRepositoriesWorkspaceRepoSlugRefsTagsName(params *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK, error) PostRepositoriesWorkspaceRepoSlugRefsBranches(params *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated, error) PostRepositoriesWorkspaceRepoSlugRefsTags(params *PostRepositoriesWorkspaceRepoSlugRefsTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugRefsTagsCreated, 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 refs API client.
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden ¶
DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden() *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden creates a DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) Error ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) Error() string
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent ¶
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent struct { }
DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent handles this case with default header values.
Indicates that the specified branch was successfully deleted.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent() *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent creates a DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent) Error ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNoContent) Error() string
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound ¶
DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound handles this case with default header values.
The specified repository or branch does not exist.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound() *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound creates a DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) Error ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) Error() string
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams ¶
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams struct { /*Name The name of the branch. */ Name string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug refs branches name operation typically these are written to a http.Request
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams() *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams creates a new DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext creates a new DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient creates a new DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout creates a new DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName(name string)
SetName adds the name to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithContext adds the context to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName(name string) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithName adds the name to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithTimeout adds the timeout to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithWorkspace adds the workspace to the delete repositories workspace repo slug refs branches name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameReader ¶
type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameReader struct {
// contains filtered or unexported fields
}
DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugRefsBranchesName structure.
func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameReader) ReadResponse ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden ¶
DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden() *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden creates a DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) Error ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) Error() string
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent ¶
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent struct { }
DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent handles this case with default header values.
Indicates the specified tag was successfully deleted.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent() *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent creates a DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent) Error ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNoContent) Error() string
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound ¶
DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound handles this case with default header values.
The specified repository or tag does not exist.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound() *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound creates a DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) Error ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) Error() string
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams ¶
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams struct { /*Name The name of the tag. */ Name string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug refs tags name operation typically these are written to a http.Request
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams() *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams creates a new DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized.
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext creates a new DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient creates a new DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout ¶
func NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewDeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout creates a new DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName(name string)
SetName adds the name to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithContext adds the context to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName(name string) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithName adds the name to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithTimeout adds the timeout to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithWorkspace adds the workspace to the delete repositories workspace repo slug refs tags name params
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameReader ¶
type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameReader struct {
// contains filtered or unexported fields
}
DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugRefsTagsName structure.
func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameReader) ReadResponse ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden ¶
GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden() *GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden creates a GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden ¶
GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden() *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden creates a GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound ¶
GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound handles this case with default header values.
The specified repository or branch does not exist.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound() *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound creates a GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK ¶
GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK handles this case with default header values.
The branch object.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK() *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK creates a GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK) GetPayload() *models.Branch
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams ¶
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams struct { /*Name The name of the branch. */ Name string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug refs branches name operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams() *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNameParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName(name string)
SetName adds the name to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithContext adds the context to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName(name string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithName adds the name to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithTimeout adds the timeout to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams
WithWorkspace adds the workspace to the get repositories workspace repo slug refs branches name params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameReader ¶
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugRefsBranchesNameReader is a Reader for the GetRepositoriesWorkspaceRepoSlugRefsBranchesName structure.
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound ¶
GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound handles this case with default header values.
The specified repository does not exist.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound() *GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound creates a GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsBranchesOK ¶
type GetRepositoriesWorkspaceRepoSlugRefsBranchesOK struct {
Payload *models.PaginatedBranches
}
GetRepositoriesWorkspaceRepoSlugRefsBranchesOK handles this case with default header values.
A paginated list of branches matching any filter criteria that were provided.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesOK ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesOK() *GetRepositoriesWorkspaceRepoSlugRefsBranchesOK
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesOK creates a GetRepositoriesWorkspaceRepoSlugRefsBranchesOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesOK) GetPayload() *models.PaginatedBranches
type GetRepositoriesWorkspaceRepoSlugRefsBranchesParams ¶
type GetRepositoriesWorkspaceRepoSlugRefsBranchesParams struct { /*Q Query string to narrow down the response as per [filtering and sorting](../../../../../meta/filtering). */ Q *string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Sort Field by which the results should be sorted as per [filtering and sorting](../../../../../meta/filtering). The `name` field is handled specially for branches in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return ['branch1', 'branch2', 'branch10'] instead of ['branch1', 'branch10', 'branch2']. */ Sort *string /*Username This can either be the username or the UUID of the user, surrounded by curly-braces, for example: `{user UUID}`. */ Username string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugRefsBranchesParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug refs branches operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParams ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParams() *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParams creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewGetRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetQ ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetQ(q *string)
SetQ adds the q to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetSort ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetSort(sort *string)
SetSort adds the sort to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetUsername(username string)
SetUsername adds the username to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithContext adds the context to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithQ ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithQ(q *string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithQ adds the q to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithSort ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithSort(sort *string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithSort adds the sort to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithTimeout adds the timeout to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithUsername(username string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithUsername adds the username to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithWorkspace adds the workspace to the get repositories workspace repo slug refs branches params
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugRefsBranchesReader ¶
type GetRepositoriesWorkspaceRepoSlugRefsBranchesReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugRefsBranchesReader is a Reader for the GetRepositoriesWorkspaceRepoSlugRefsBranches structure.
func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsBranchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugRefsForbidden ¶
GetRepositoriesWorkspaceRepoSlugRefsForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewGetRepositoriesWorkspaceRepoSlugRefsForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsForbidden() *GetRepositoriesWorkspaceRepoSlugRefsForbidden
NewGetRepositoriesWorkspaceRepoSlugRefsForbidden creates a GetRepositoriesWorkspaceRepoSlugRefsForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsForbidden) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsForbidden) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsNotFound ¶
GetRepositoriesWorkspaceRepoSlugRefsNotFound handles this case with default header values.
The specified repository does not exist.
func NewGetRepositoriesWorkspaceRepoSlugRefsNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsNotFound() *GetRepositoriesWorkspaceRepoSlugRefsNotFound
NewGetRepositoriesWorkspaceRepoSlugRefsNotFound creates a GetRepositoriesWorkspaceRepoSlugRefsNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsOK ¶
type GetRepositoriesWorkspaceRepoSlugRefsOK struct {
Payload *models.PaginatedRefs
}
GetRepositoriesWorkspaceRepoSlugRefsOK handles this case with default header values.
A paginated list of refs matching any filter criteria that were provided.
func NewGetRepositoriesWorkspaceRepoSlugRefsOK ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsOK() *GetRepositoriesWorkspaceRepoSlugRefsOK
NewGetRepositoriesWorkspaceRepoSlugRefsOK creates a GetRepositoriesWorkspaceRepoSlugRefsOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsOK) GetPayload() *models.PaginatedRefs
type GetRepositoriesWorkspaceRepoSlugRefsParams ¶
type GetRepositoriesWorkspaceRepoSlugRefsParams struct { /*Q Query string to narrow down the response as per [filtering and sorting](../../../../meta/filtering). */ Q *string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Sort Field by which the results should be sorted as per [filtering and sorting](../../../../meta/filtering). The `name` field is handled specially for refs in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return ['1.1', '1.2', '1.10'] instead of ['1.1', '1.10', '1.2']. */ Sort *string /*Username This can either be the username or the UUID of the user, surrounded by curly-braces, for example: `{user UUID}`. */ Username string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugRefsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug refs operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugRefsParams ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsParams() *GetRepositoriesWorkspaceRepoSlugRefsParams
NewGetRepositoriesWorkspaceRepoSlugRefsParams creates a new GetRepositoriesWorkspaceRepoSlugRefsParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsParams
NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugRefsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsParams
NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugRefsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsParams
NewGetRepositoriesWorkspaceRepoSlugRefsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugRefsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetQ ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetQ(q *string)
SetQ adds the q to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetSort ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetSort(sort *string)
SetSort adds the sort to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetUsername(username string)
SetUsername adds the username to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithContext adds the context to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithQ ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithQ(q *string) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithQ adds the q to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithSort ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithSort(sort *string) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithSort adds the sort to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithTimeout adds the timeout to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithUsername(username string) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithUsername adds the username to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsParams
WithWorkspace adds the workspace to the get repositories workspace repo slug refs params
func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugRefsReader ¶
type GetRepositoriesWorkspaceRepoSlugRefsReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugRefsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugRefs structure.
func (*GetRepositoriesWorkspaceRepoSlugRefsReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden ¶
GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsForbidden() *GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden
NewGetRepositoriesWorkspaceRepoSlugRefsTagsForbidden creates a GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden ¶
GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden() *GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden creates a GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound ¶
GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound handles this case with default header values.
The specified repository or tag does not exist.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound() *GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound creates a GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK ¶
GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK handles this case with default header values.
The tag object.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameOK ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameOK() *GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameOK creates a GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK) GetPayload() *models.Tag
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams ¶
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams struct { /*Name The name of the tag. */ Name string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug refs tags name operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParams ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParams() *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParams creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNameParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName(name string)
SetName adds the name to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithContext adds the context to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName(name string) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithName adds the name to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithTimeout adds the timeout to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams
WithWorkspace adds the workspace to the get repositories workspace repo slug refs tags name params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameReader ¶
type GetRepositoriesWorkspaceRepoSlugRefsTagsNameReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugRefsTagsNameReader is a Reader for the GetRepositoriesWorkspaceRepoSlugRefsTagsName structure.
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound ¶
GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound handles this case with default header values.
The specified repository does not exist.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsNotFound() *GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound
NewGetRepositoriesWorkspaceRepoSlugRefsTagsNotFound creates a GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugRefsTagsOK ¶
type GetRepositoriesWorkspaceRepoSlugRefsTagsOK struct {
Payload *models.PaginatedTags
}
GetRepositoriesWorkspaceRepoSlugRefsTagsOK handles this case with default header values.
A paginated list of tags matching any filter criteria that were provided.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsOK ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsOK() *GetRepositoriesWorkspaceRepoSlugRefsTagsOK
NewGetRepositoriesWorkspaceRepoSlugRefsTagsOK creates a GetRepositoriesWorkspaceRepoSlugRefsTagsOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsOK) GetPayload() *models.PaginatedTags
type GetRepositoriesWorkspaceRepoSlugRefsTagsParams ¶
type GetRepositoriesWorkspaceRepoSlugRefsTagsParams struct { /*Q Query string to narrow down the response as per [filtering and sorting](../../../../../meta/filtering). */ Q *string /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Sort Field by which the results should be sorted as per [filtering and sorting](../../../../../meta/filtering). The `name` field is handled specially for tags in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return ['1.1', '1.2', '1.10'] instead of ['1.1', '1.10', '1.2']. */ Sort *string /*Username This can either be the username or the UUID of the user, surrounded by curly-braces, for example: `{user UUID}`. */ Username string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugRefsTagsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug refs tags operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParams ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParams() *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsParams creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
NewGetRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetQ ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetQ(q *string)
SetQ adds the q to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetSort ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetSort(sort *string)
SetSort adds the sort to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetUsername(username string)
SetUsername adds the username to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithContext adds the context to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithQ ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithQ(q *string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithQ adds the q to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithSort ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithSort(sort *string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithSort adds the sort to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithTimeout adds the timeout to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithUsername(username string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithUsername adds the username to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugRefsTagsParams
WithWorkspace adds the workspace to the get repositories workspace repo slug refs tags params
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugRefsTagsReader ¶
type GetRepositoriesWorkspaceRepoSlugRefsTagsReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugRefsTagsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugRefsTags structure.
func (*GetRepositoriesWorkspaceRepoSlugRefsTagsReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugRefsTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated ¶
PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated handles this case with default header values.
The newly created branch object.
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesCreated ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesCreated() *PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesCreated creates a PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated with default headers values
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated) Error() string
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated) GetPayload() *models.Branch
type PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden ¶
PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden handles this case with default header values.
If the repository is private and the authenticated user does not have access to it.
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden() *PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden creates a PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden with default headers values
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) Error() string
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound ¶
PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound handles this case with default header values.
The specified repository or branch does not exist.
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound() *PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound creates a PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound with default headers values
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) Error() string
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugRefsBranchesParams ¶
type PostRepositoriesWorkspaceRepoSlugRefsBranchesParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugRefsBranchesParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug refs branches operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParams ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParams() *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParams creates a new PostRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
NewPostRepositoriesWorkspaceRepoSlugRefsBranchesParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugRefsBranchesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithContext adds the context to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithTimeout adds the timeout to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams
WithWorkspace adds the workspace to the post repositories workspace repo slug refs branches params
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugRefsBranchesReader ¶
type PostRepositoriesWorkspaceRepoSlugRefsBranchesReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugRefsBranchesReader is a Reader for the PostRepositoriesWorkspaceRepoSlugRefsBranches structure.
func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsBranchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest ¶
PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest handles this case with default header values.
If the target hash is missing, ambiguous, or invalid, or if the name is not provided.
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest() *PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest
NewPostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest creates a PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest with default headers values
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest) Error() string
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugRefsTagsCreated ¶
PostRepositoriesWorkspaceRepoSlugRefsTagsCreated handles this case with default header values.
The newly created tag.
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsCreated ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsCreated() *PostRepositoriesWorkspaceRepoSlugRefsTagsCreated
NewPostRepositoriesWorkspaceRepoSlugRefsTagsCreated creates a PostRepositoriesWorkspaceRepoSlugRefsTagsCreated with default headers values
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsCreated) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsCreated) Error() string
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsCreated) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsCreated) GetPayload() *models.Tag
type PostRepositoriesWorkspaceRepoSlugRefsTagsParams ¶
type PostRepositoriesWorkspaceRepoSlugRefsTagsParams struct { /*Body*/ Body *models.Tag /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugRefsTagsParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug refs tags operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParams ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParams() *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
NewPostRepositoriesWorkspaceRepoSlugRefsTagsParams creates a new PostRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
NewPostRepositoriesWorkspaceRepoSlugRefsTagsParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugRefsTagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetBody(body *models.Tag)
SetBody adds the body to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithBody(body *models.Tag) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
WithBody adds the body to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
WithContext adds the context to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
WithTimeout adds the timeout to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugRefsTagsParams
WithWorkspace adds the workspace to the post repositories workspace repo slug refs tags params
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugRefsTagsReader ¶
type PostRepositoriesWorkspaceRepoSlugRefsTagsReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugRefsTagsReader is a Reader for the PostRepositoriesWorkspaceRepoSlugRefsTags structure.
func (*PostRepositoriesWorkspaceRepoSlugRefsTagsReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugRefsTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_repositories_workspace_repo_slug_refs_branches_name_parameters.go
- delete_repositories_workspace_repo_slug_refs_branches_name_responses.go
- delete_repositories_workspace_repo_slug_refs_tags_name_parameters.go
- delete_repositories_workspace_repo_slug_refs_tags_name_responses.go
- get_repositories_workspace_repo_slug_refs_branches_name_parameters.go
- get_repositories_workspace_repo_slug_refs_branches_name_responses.go
- get_repositories_workspace_repo_slug_refs_branches_parameters.go
- get_repositories_workspace_repo_slug_refs_branches_responses.go
- get_repositories_workspace_repo_slug_refs_parameters.go
- get_repositories_workspace_repo_slug_refs_responses.go
- get_repositories_workspace_repo_slug_refs_tags_name_parameters.go
- get_repositories_workspace_repo_slug_refs_tags_name_responses.go
- get_repositories_workspace_repo_slug_refs_tags_parameters.go
- get_repositories_workspace_repo_slug_refs_tags_responses.go
- post_repositories_workspace_repo_slug_refs_branches_parameters.go
- post_repositories_workspace_repo_slug_refs_branches_responses.go
- post_repositories_workspace_repo_slug_refs_tags_parameters.go
- post_repositories_workspace_repo_slug_refs_tags_responses.go
- refs_client.go