Documentation
¶
Index ¶
- type DBTX
- type GetSeverityScoreForWorkloadParams
- type Issue
- type ListIssuesParams
- type ListIssuesRow
- type NullSeverityLevel
- type Querier
- type Queries
- func (q *Queries) GetIssueByID(ctx context.Context, id uuid.UUID) (*Issue, error)
- func (q *Queries) GetSeverityScoreForWorkload(ctx context.Context, arg GetSeverityScoreForWorkloadParams) (int64, error)
- func (q *Queries) ListIssues(ctx context.Context, arg ListIssuesParams) ([]*ListIssuesRow, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SeverityLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListIssuesParams ¶
type ListIssuesRow ¶
type NullSeverityLevel ¶
type NullSeverityLevel struct {
SeverityLevel SeverityLevel
Valid bool // Valid is true if SeverityLevel is not NULL
}
func (*NullSeverityLevel) Scan ¶
func (ns *NullSeverityLevel) Scan(value interface{}) error
Scan implements the Scanner interface.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetIssueByID ¶
func (*Queries) GetSeverityScoreForWorkload ¶
func (*Queries) ListIssues ¶
func (q *Queries) ListIssues(ctx context.Context, arg ListIssuesParams) ([]*ListIssuesRow, error)
type SeverityLevel ¶
type SeverityLevel string
const ( SeverityLevelTODO SeverityLevel = "TODO" SeverityLevelWARNING SeverityLevel = "WARNING" SeverityLevelCRITICAL SeverityLevel = "CRITICAL" )
func AllSeverityLevelValues ¶
func AllSeverityLevelValues() []SeverityLevel
func (*SeverityLevel) Scan ¶
func (e *SeverityLevel) Scan(src interface{}) error
func (SeverityLevel) Valid ¶
func (e SeverityLevel) Valid() bool
Click to show internal directories.
Click to hide internal directories.