refs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden struct {
	Payload *models.Error
}

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 (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) GetPayload

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

type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound

type DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound struct {
	Payload *models.Error
}

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 (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) GetPayload

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

SetContext adds the context to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName

SetName adds the name to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace

SetWorkspace adds the workspace to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName

WithName adds the name to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug refs branches name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden

type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden struct {
	Payload *models.Error
}

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 (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) GetPayload

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

type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound

type DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound struct {
	Payload *models.Error
}

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 (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) GetPayload

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

SetContext adds the context to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName

SetName adds the name to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace

SetWorkspace adds the workspace to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName

WithName adds the name to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug refs tags name params

func (*DeleteRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest

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

type GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK struct {
	Payload *models.Branch
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetName

SetName adds the name to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithContext

WithContext adds the context to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithName

WithName adds the name to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug refs branches name params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNameParams) WriteToRequest

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

type GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) GetPayload

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 (*GetRepositoriesWorkspaceRepoSlugRefsBranchesOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetQ

SetQ adds the q to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetSort

SetSort adds the sort to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetUsername

SetUsername adds the username to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext

WithContext adds the context to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithQ

WithQ adds the q to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithSort

WithSort adds the sort to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithUsername

WithUsername adds the username to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug refs branches params

func (*GetRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest

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

type GetRepositoriesWorkspaceRepoSlugRefsForbidden struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsNotFound

type GetRepositoriesWorkspaceRepoSlugRefsNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsNotFound) GetPayload

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 (*GetRepositoriesWorkspaceRepoSlugRefsOK) GetPayload

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

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

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

SetSort adds the sort to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) SetTimeout

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

WithContext adds the context to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithQ

WithQ adds the q to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithSort

WithSort adds the sort to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithUsername

WithUsername adds the username to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug refs params

func (*GetRepositoriesWorkspaceRepoSlugRefsParams) WriteToRequest

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

type GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsTagsForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden

type GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound

type GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK

type GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK struct {
	Payload *models.Tag
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetName

SetName adds the name to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithContext

WithContext adds the context to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithName

WithName adds the name to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug refs tags name params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsNameParams) WriteToRequest

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

type GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugRefsTagsNotFound) GetPayload

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 (*GetRepositoriesWorkspaceRepoSlugRefsTagsOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetQ

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

SetSort adds the sort to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout

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

WithContext adds the context to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithQ

WithQ adds the q to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithSort

WithSort adds the sort to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithUsername

WithUsername adds the username to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug refs tags params

func (*GetRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest

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

type PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated struct {
	Payload *models.Branch
}

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 (*PostRepositoriesWorkspaceRepoSlugRefsBranchesCreated) GetPayload

type PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden

type PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden struct {
	Payload *models.Error
}

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 (*PostRepositoriesWorkspaceRepoSlugRefsBranchesForbidden) GetPayload

type PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound

type PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound struct {
	Payload *models.Error
}

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 (*PostRepositoriesWorkspaceRepoSlugRefsBranchesNotFound) GetPayload

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

SetContext adds the context to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithContext

WithContext adds the context to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug refs branches params

func (*PostRepositoriesWorkspaceRepoSlugRefsBranchesParams) WriteToRequest

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

type PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest struct {
	Payload *models.Error
}

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 (*PostRepositoriesWorkspaceRepoSlugRefsTagsBadRequest) GetPayload

type PostRepositoriesWorkspaceRepoSlugRefsTagsCreated

type PostRepositoriesWorkspaceRepoSlugRefsTagsCreated struct {
	Payload *models.Tag
}

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 (*PostRepositoriesWorkspaceRepoSlugRefsTagsCreated) GetPayload

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

SetBody adds the body to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetContext

SetContext adds the context to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) SetTimeout

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

WithBody adds the body to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithContext

WithContext adds the context to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug refs tags params

func (*PostRepositoriesWorkspaceRepoSlugRefsTagsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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