archived

package
v0.0.0-...-1fa52ee Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, BSD-2-Clause, ISC, + 1 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignment

type Assignment struct {
	archived.NoPKModel
	ConnectionId uint64
	ResponderId  string `gorm:"primaryKey"`
	IncidentId   string `gorm:"primaryKey"`
}

func (Assignment) TableName

func (Assignment) TableName() string

type Incident

type Incident struct {
	archived.NoPKModel
	ConnectionId uint64 `gorm:"primaryKey"`
	Id           string `gorm:"primaryKey"`
	Url          string
	ServiceId    string
	ServiceName  string
	Description  string
	Message      string
	OwnerTeam    string
	Priority     string
	Status       string
	CreatedDate  time.Time
	UpdatedDate  time.Time
}

func (Incident) TableName

func (Incident) TableName() string

type OpsgenieConnection

type OpsgenieConnection struct {
	archived.Model
	Name  string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	Token string `mapstructure:"token" env:"OPSGENIE_AUTH" validate:"required" encrypt:"yes"`
}

func (OpsgenieConnection) TableName

func (OpsgenieConnection) TableName() string

type Responder

type Responder struct {
	archived.NoPKModel
	ConnectionId uint64 `gorm:"primaryKey"`
	Id           string `gorm:"primaryKey;autoIncremental:false"`
	Type         string
	FullName     string
	Name         string
}

func (Responder) TableName

func (Responder) TableName() string

type Service

type Service struct {
	archived.NoPKModel
	ConnectionId uint64 `gorm:"primaryKey"`
	Id           string `gorm:"primaryKey;autoIncremental:false"`
	Url          string
	Name         string
	TeamId       string
}

func (Service) TableName

func (Service) TableName() string

type Team

type Team struct {
	archived.NoPKModel
	ConnectionId uint64 `gorm:"primaryKey"`
	Id           string `gorm:"primaryKey;autoIncrement:false"`
	Name         string
	Description  string
}

func (Team) TableName

func (Team) TableName() string

type TransformationRules

type TransformationRules struct {
	archived.Model
	Name         string `gorm:"type:varchar(255);index:idx_name_github,unique"`
	ConnectionId uint64
}

func (*TransformationRules) TableName

func (*TransformationRules) TableName() string

type User

type User struct {
	archived.NoPKModel
	ConnectionId uint64 `gorm:"primaryKey"`
	Id           string `gorm:"primaryKey;autoIncrement:false"`
	Username     string
	FullName     string
}

func (User) TableName

func (User) TableName() string

Jump to

Keyboard shortcuts

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