Documentation ¶
Overview ¶
Package repo provides ...
Index ¶
- type Repo
- func (repo *Repo) Connect()
- func (repo *Repo) CreateEnvironment(project Project, name string) Environment
- func (repo *Repo) CreateLoginRequest() LoginRequest
- func (repo *Repo) CreateSecret(secret *Secret)
- func (repo *Repo) DeleteLoginRequest(code string) bool
- func (repo *Repo) EnvironmentSetUserRole(environment Environment, user User, role UserRole) *Repo
- func (repo *Repo) EnvironmentSetVariableForUser(environement Environment, secret Secret, user User, value []byte)
- func (repo *Repo) Err() error
- func (repo *Repo) GetEnvironmentByProjectIDAndName(project Project, name string) (Environment, bool)
- func (repo *Repo) GetLoginRequest(code string) (LoginRequest, bool)
- func (repo *Repo) GetOrCreateEnvironment(project Project, name string) Environment
- func (r *Repo) GetOrCreateProject(project *Project, user User) *Repo
- func (r *Repo) GetOrCreateUser(user *User)
- func (r *Repo) GetProjectByUUID(uuid string, project *Project) *Repo
- func (repo *Repo) GetSecretByName(name string, secret *Secret)
- func (r *Repo) GetUser(userID string) (User, bool)
- func (r *Repo) ProjectLoadUsers(project *Project) *Repo
- func (r *Repo) ProjectSetRoleForUser(project Project, user User, role UserRole) *Repo
- func (repo *Repo) SetLoginRequestCode(code string, authCode string) LoginRequest
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) CreateEnvironment ¶
func (*Repo) CreateLoginRequest ¶
func (repo *Repo) CreateLoginRequest() LoginRequest
func (*Repo) CreateSecret ¶
func (repo *Repo) CreateSecret(secret *Secret)
func (*Repo) DeleteLoginRequest ¶
func (*Repo) EnvironmentSetUserRole ¶
func (*Repo) EnvironmentSetVariableForUser ¶
func (*Repo) GetEnvironmentByProjectIDAndName ¶
func (*Repo) GetLoginRequest ¶
func (*Repo) GetOrCreateEnvironment ¶
func (*Repo) GetOrCreateProject ¶
func (*Repo) GetOrCreateUser ¶
func (r *Repo) GetOrCreateUser(user *User)
func (*Repo) GetProjectByUUID ¶
func (*Repo) GetSecretByName ¶
func (*Repo) ProjectLoadUsers ¶
func (*Repo) ProjectSetRoleForUser ¶
func (*Repo) SetLoginRequestCode ¶
Click to show internal directories.
Click to hide internal directories.