projectvariables

package
v2.124.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectVariableService

type ProjectVariableService struct {
	services.Service
}

func NewProjectVariableService

func NewProjectVariableService(sling *sling.Sling, uriTemplate string) *ProjectVariableService

func (*ProjectVariableService) AddSingleByGitRef

func (s *ProjectVariableService) AddSingleByGitRef(spaceID string, projectID string, gitRef string, variable *variables.Variable) (*variables.VariableSet, error)

AddSingle adds a single variable to an owner ID. This automates the act of fetching the variable set, adding a new item to it, and posting back to Octopus

func (*ProjectVariableService) GetAllByGitRef

func (s *ProjectVariableService) GetAllByGitRef(spaceId string, projectID string, gitRef string) (*variables.VariableSet, error)

func (*ProjectVariableService) UpdateByGitRef

func (s *ProjectVariableService) UpdateByGitRef(spaceID string, projectID string, gitRef string, variableSet *variables.VariableSet) (*variables.VariableSet, error)

Update takes an entire variable set and posts the entire set back to Octopus Deploy. There are individual functions like AddSingle and UpdateSingle that can make this process more of a "typical" CRUD Octopus command.

Jump to

Keyboard shortcuts

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