projectbranches

package
v2.41.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectBranchQuery

type ProjectBranchQuery struct {
	Refresh      string `uri:"refresh,omitempty" url:"refresh,omitempty"`
	SearchByName string `uri:"searchByName,omitempty" url:"searchByName,omitempty"`
	Skip         int    `uri:"skip,omitempty" url:"skip,omitempty"`
	Take         int    `uri:"take,omitempty" url:"take,omitempty"`
}

type ProjectBranchesService

type ProjectBranchesService struct {
	services.Service
}

func NewProjectBranchesService

func NewProjectBranchesService(sling *sling.Sling, uriTemplate string) *ProjectBranchesService

func (*ProjectBranchesService) Add

func (s *ProjectBranchesService) Add(spaceId, projectID, baseBranch, newBranchName string) (*projects.GitReference, error)

func (*ProjectBranchesService) Get

func (s *ProjectBranchesService) Get(spaceId, projectId string, branchesQuery ProjectBranchQuery) (*resources.Resources[*projects.GitReference], error)

Jump to

Keyboard shortcuts

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