MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / GetProject

Function GetProject

pkg/cmd/tenant/shared/shared.go:148–155  ·  view source on GitHub ↗
(client *client.Client, identifier string)

Source from the content-addressed store, hash-verified

146}
147
148func GetProject(client *client.Client, identifier string) (*projects.Project, error) {
149 res, err := client.Projects.GetByIdentifier(identifier)
150 if err != nil {
151 return nil, err
152 }
153
154 return res, nil
155}
156
157func GetAllLibraryVariableSets(client *client.Client) ([]*variables.LibraryVariableSet, error) {
158 res, err := client.LibraryVariableSets.GetAll()

Callers 12

NewDeleteOptionsFunction · 0.92
NewUpdateOptionsFunction · 0.92
NewListOptionsFunction · 0.92
NewExcludeOptionsFunction · 0.92
NewCreateOptionsFunction · 0.92
NewIncludeOptionsFunction · 0.92
NewConvertOptionsFunction · 0.92
NewListOptionsFunction · 0.92
NewCreateOptionsFunction · 0.92
NewUpdateOptionsFunction · 0.92
NewConnectOptionsFunction · 0.92
NewDisconnectOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected