Documentation
¶
Index ¶
- type CreateEnvironmentParams
- type CreateProjectParams
- type CreateUserParams
- type DBTX
- type Environment
- type GetEnvironmentByNameParams
- type GetProjectByNameParams
- type Project
- type ProjectMember
- type Queries
- func (q *Queries) CountUsers(ctx context.Context) (int64, error)
- func (q *Queries) CreateEnvironment(ctx context.Context, arg CreateEnvironmentParams) (Environment, error)
- func (q *Queries) CreateProject(ctx context.Context, arg CreateProjectParams) (Project, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteProject(ctx context.Context, id int64) error
- func (q *Queries) GetEnvironmentById(ctx context.Context, id int64) (Environment, error)
- func (q *Queries) GetEnvironmentByName(ctx context.Context, arg GetEnvironmentByNameParams) (Environment, error)
- func (q *Queries) GetEnvironmentsForProject(ctx context.Context, projectID int64) ([]Environment, error)
- func (q *Queries) GetProjectByID(ctx context.Context, id int64) (Project, error)
- func (q *Queries) GetProjectByName(ctx context.Context, arg GetProjectByNameParams) ([]Project, error)
- func (q *Queries) GetProjectsByUser(ctx context.Context, createdBy int64) ([]Project, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (User, error)
- func (q *Queries) GetUserByID(ctx context.Context, id int64) (User, error)
- func (q *Queries) UpdateEnvironment(ctx context.Context, arg UpdateEnvironmentParams) (Environment, error)
- func (q *Queries) UpdateProject(ctx context.Context, arg UpdateProjectParams) (Project, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Service
- type UpdateEnvironmentParams
- type UpdateProjectParams
- type User
- type UserInvite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEnvironmentParams ¶
type CreateEnvironmentParams struct { ProjectID int64 Name string Description sql.NullString }
type CreateProjectParams ¶
type CreateProjectParams struct { Name string Description sql.NullString CreatedBy int64 }
type CreateUserParams ¶
type Environment ¶
type Environment struct { ID int64 ProjectID int64 Name string Description sql.NullString }
type GetProjectByNameParams ¶
type ProjectMember ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateEnvironment ¶
func (q *Queries) CreateEnvironment(ctx context.Context, arg CreateEnvironmentParams) (Environment, error)
func (*Queries) CreateProject ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteProject ¶
func (*Queries) GetEnvironmentById ¶
func (*Queries) GetEnvironmentByName ¶
func (q *Queries) GetEnvironmentByName(ctx context.Context, arg GetEnvironmentByNameParams) (Environment, error)
func (*Queries) GetEnvironmentsForProject ¶
func (*Queries) GetProjectByID ¶
func (*Queries) GetProjectByName ¶
func (*Queries) GetProjectsByUser ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserByID ¶
func (*Queries) UpdateEnvironment ¶
func (q *Queries) UpdateEnvironment(ctx context.Context, arg UpdateEnvironmentParams) (Environment, error)
func (*Queries) UpdateProject ¶
type UpdateEnvironmentParams ¶
type UpdateEnvironmentParams struct { Name string Description sql.NullString ID int64 }
type UpdateProjectParams ¶
type UpdateProjectParams struct { Name string Description sql.NullString ID int64 }
Click to show internal directories.
Click to hide internal directories.