repo

package
v0.0.0-...-f907250 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package repo provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func (*Repo) Connect

func (repo *Repo) Connect()

func (*Repo) CreateEnvironment

func (repo *Repo) CreateEnvironment(project Project, name string) Environment

func (*Repo) CreateLoginRequest

func (repo *Repo) CreateLoginRequest() LoginRequest

func (*Repo) CreateSecret

func (repo *Repo) CreateSecret(secret *Secret)

func (*Repo) DeleteLoginRequest

func (repo *Repo) DeleteLoginRequest(code string) bool

func (*Repo) EnvironmentSetUserRole

func (repo *Repo) EnvironmentSetUserRole(environment Environment, user User, role UserRole) *Repo

func (*Repo) EnvironmentSetVariableForUser

func (repo *Repo) EnvironmentSetVariableForUser(environement Environment, secret Secret, user User, value []byte)

func (*Repo) Err

func (repo *Repo) Err() error

func (*Repo) GetEnvironmentByProjectIDAndName

func (repo *Repo) GetEnvironmentByProjectIDAndName(project Project, name string) (Environment, bool)

func (*Repo) GetLoginRequest

func (repo *Repo) GetLoginRequest(code string) (LoginRequest, bool)

func (*Repo) GetOrCreateEnvironment

func (repo *Repo) GetOrCreateEnvironment(project Project, name string) Environment

func (*Repo) GetOrCreateProject

func (r *Repo) GetOrCreateProject(project *Project, user User) *Repo

func (*Repo) GetOrCreateUser

func (r *Repo) GetOrCreateUser(user *User)

func (*Repo) GetProjectByUUID

func (r *Repo) GetProjectByUUID(uuid string, project *Project) *Repo

func (*Repo) GetSecretByName

func (repo *Repo) GetSecretByName(name string, secret *Secret)

func (*Repo) GetUser

func (r *Repo) GetUser(userID string) (User, bool)

func (*Repo) ProjectLoadUsers

func (r *Repo) ProjectLoadUsers(project *Project) *Repo

func (*Repo) ProjectSetRoleForUser

func (r *Repo) ProjectSetRoleForUser(project Project, user User, role UserRole) *Repo

func (*Repo) SetLoginRequestCode

func (repo *Repo) SetLoginRequestCode(code string, authCode string) LoginRequest

Jump to

Keyboard shortcuts

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