Documentation
¶
Index ¶
- type Client
- type Projects
- func (p *Projects) AddEnvironmentVariableToProject(projectName string, envVar api.EnvVariable) ([]byte, error)
- func (p *Projects) AddProject(projectName string, jsonPatch string) ([]byte, error)
- func (p *Projects) DeleteEnvironmentVariableFromProject(projectName string, envVar api.EnvVariable) ([]byte, error)
- func (p *Projects) DeleteProject(projectName string) ([]byte, error)
- func (p *Projects) GetProjectInfo(projectName string) ([]byte, error)
- func (p *Projects) GetProjectKey(projectName string, revealValue bool) ([]byte, error)
- func (p *Projects) ListAllProjects() ([]byte, error)
- func (p *Projects) ListEnvironmentsForProject(projectName string) ([]byte, error)
- func (p *Projects) ListProjectVariables(projectName string, revealValue bool) ([]byte, error)
- func (p *Projects) UpdateProject(projectName string, jsonPatch string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
ListAllProjects() ([]byte, error)
ListEnvironmentsForProject(string) ([]byte, error)
ListProjectVariables(string, bool) ([]byte, error)
GetProjectKey(string, bool) ([]byte, error)
GetProjectInfo(string) ([]byte, error)
DeleteProject(string) ([]byte, error)
AddProject(string, string) ([]byte, error)
UpdateProject(string, string) ([]byte, error)
AddEnvironmentVariableToProject(string, api.EnvVariable) ([]byte, error)
DeleteEnvironmentVariableFromProject(string, api.EnvVariable) ([]byte, error)
}
Client .
type Projects ¶
type Projects struct {
// contains filtered or unexported fields
}
Projects .
func (*Projects) AddEnvironmentVariableToProject ¶
func (p *Projects) AddEnvironmentVariableToProject(projectName string, envVar api.EnvVariable) ([]byte, error)
AddEnvironmentVariableToProject will list all environments for a project
func (*Projects) AddProject ¶
AddProject .
func (*Projects) DeleteEnvironmentVariableFromProject ¶
func (p *Projects) DeleteEnvironmentVariableFromProject(projectName string, envVar api.EnvVariable) ([]byte, error)
DeleteEnvironmentVariableFromProject will list all environments for a project
func (*Projects) DeleteProject ¶
DeleteProject .
func (*Projects) GetProjectInfo ¶
GetProjectInfo will get basic info about a project
func (*Projects) GetProjectKey ¶
GetProjectKey will get basic info about a project
func (*Projects) ListAllProjects ¶
ListAllProjects will list all projects
func (*Projects) ListEnvironmentsForProject ¶
ListEnvironmentsForProject will list all environments for a project
func (*Projects) ListProjectVariables ¶
ListProjectVariables will list the environment variables for a project and all environments attached
Click to show internal directories.
Click to hide internal directories.