Documentation ¶
Index ¶
- type DBTX
- type IsTeamRepositoryParams
- type ListEnvironmentsParams
- type ListMembersParams
- type ListParams
- type Querier
- type Queries
- func (q *Queries) Count(ctx context.Context) (int64, error)
- func (q *Queries) CountEnvironments(ctx context.Context, teamSlug slug.Slug) (int64, error)
- func (q *Queries) CountMembers(ctx context.Context, teamSlug slug.Slug) (int64, error)
- func (q *Queries) Delete(ctx context.Context, argSlug slug.Slug) error
- func (q *Queries) Get(ctx context.Context, argSlug slug.Slug) (*Team, error)
- func (q *Queries) GetTeamRepositories(ctx context.Context, teamSlug slug.Slug) ([]string, error)
- func (q *Queries) IsTeamRepository(ctx context.Context, arg IsTeamRepositoryParams) (bool, error)
- func (q *Queries) List(ctx context.Context, arg ListParams) ([]*Team, error)
- func (q *Queries) ListEnvironments(ctx context.Context, arg ListEnvironmentsParams) ([]*TeamAllEnvironment, error)
- func (q *Queries) ListMembers(ctx context.Context, arg ListMembersParams) ([]*User, error)
- func (q *Queries) SetLastSuccessfulSync(ctx context.Context, argSlug slug.Slug) error
- func (q *Queries) UpdateExternalReferences(ctx context.Context, arg UpdateExternalReferencesParams) error
- func (q *Queries) UpsertEnvironment(ctx context.Context, arg UpsertEnvironmentParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Team
- type TeamAllEnvironment
- type UpdateExternalReferencesParams
- type UpsertEnvironmentParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IsTeamRepositoryParams ¶
type ListEnvironmentsParams ¶
type ListMembersParams ¶
type ListParams ¶
type Querier ¶
type Querier interface { Count(ctx context.Context) (int64, error) CountEnvironments(ctx context.Context, teamSlug slug.Slug) (int64, error) CountMembers(ctx context.Context, teamSlug slug.Slug) (int64, error) Delete(ctx context.Context, argSlug slug.Slug) error Get(ctx context.Context, argSlug slug.Slug) (*Team, error) GetTeamRepositories(ctx context.Context, teamSlug slug.Slug) ([]string, error) IsTeamRepository(ctx context.Context, arg IsTeamRepositoryParams) (bool, error) List(ctx context.Context, arg ListParams) ([]*Team, error) ListEnvironments(ctx context.Context, arg ListEnvironmentsParams) ([]*TeamAllEnvironment, error) ListMembers(ctx context.Context, arg ListMembersParams) ([]*User, error) SetLastSuccessfulSync(ctx context.Context, argSlug slug.Slug) error UpdateExternalReferences(ctx context.Context, arg UpdateExternalReferencesParams) error UpsertEnvironment(ctx context.Context, arg UpsertEnvironmentParams) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountEnvironments ¶
func (*Queries) CountMembers ¶
func (*Queries) GetTeamRepositories ¶
func (*Queries) IsTeamRepository ¶
func (*Queries) ListEnvironments ¶
func (q *Queries) ListEnvironments(ctx context.Context, arg ListEnvironmentsParams) ([]*TeamAllEnvironment, error)
func (*Queries) ListMembers ¶
func (*Queries) SetLastSuccessfulSync ¶
func (*Queries) UpdateExternalReferences ¶
func (q *Queries) UpdateExternalReferences(ctx context.Context, arg UpdateExternalReferencesParams) error
func (*Queries) UpsertEnvironment ¶
func (q *Queries) UpsertEnvironment(ctx context.Context, arg UpsertEnvironmentParams) error
type TeamAllEnvironment ¶
type UpsertEnvironmentParams ¶
Click to show internal directories.
Click to hide internal directories.