project

package
v0.1.24783 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProjectRestClient

func NewProjectRestClient(config settings.Config) (*projectRestClient, error)

NewProjectRestClient returns a new projectRestClient satisfying the api.ProjectInterface interface via the REST API.

Types

type ProjectClient

type ProjectClient interface {
	ProjectInfo(vcs, org, project string) (*ProjectInfo, error)
	ListAllEnvironmentVariables(vcs, org, project string) ([]*ProjectEnvironmentVariable, error)
	GetEnvironmentVariable(vcs, org, project, envName string) (*ProjectEnvironmentVariable, error)
	CreateEnvironmentVariable(vcs, org, project string, v ProjectEnvironmentVariable) (*ProjectEnvironmentVariable, error)
}

ProjectClient is the interface to interact with project and it's components.

type ProjectEnvironmentVariable

type ProjectEnvironmentVariable struct {
	Name  string
	Value string
}

ProjectEnvironmentVariable is a Environment Variable of a Project

type ProjectInfo added in v0.1.24705

type ProjectInfo struct {
	Id string
}

ProjectInfo is the info of a Project

Jump to

Keyboard shortcuts

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