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 TrelloBoard

type TrelloBoard struct {
	archived.NoPKModel   `json:"-" mapstructure:"-"`
	ConnectionId         uint64 `json:"connectionId" mapstructure:"connectionId" gorm:"primaryKey"`
	BoardId              string `json:"boardId" mapstructure:"boardId" gorm:"type:varchar(255)"`
	TransformationRuleId uint64 `json:"transformationRuleId,omitempty" mapstructure:"transformationRuleId"`
	Name                 string `json:"name" mapstructure:"name" gorm:"type:varchar(255)"`
}

func (TrelloBoard) TableName

func (TrelloBoard) TableName() string

type TrelloCard

type TrelloCard struct {
	ID               string `gorm:"primaryKey;type:varchar(255)"`
	Name             string `gorm:"type:varchar(255)"`
	Closed           bool
	DueComplete      bool
	DateLastActivity time.Time
	IDBoard          string `gorm:"type:varchar(255)"`
	IDList           string `gorm:"type:varchar(255)"`
	IDShort          int
	Pos              float64
	ShortLink        string `gorm:"type:varchar(255)"`
	ShortUrl         string `gorm:"type:varchar(255)"`
	Subscribed       bool
	Url              string `gorm:"type:varchar(255)"`
	archived.NoPKModel
}

func (TrelloCard) TableName

func (TrelloCard) TableName() string

type TrelloCheckItem

type TrelloCheckItem struct {
	ID            string `gorm:"primaryKey;type:varchar(255)"`
	Name          string `gorm:"type:varchar(255)"`
	State         string `gorm:"type:varchar(255)"`
	IDChecklist   string `gorm:"type:varchar(255)"`
	ChecklistName string `gorm:"type:varchar(255)"`
	IDBoard       string `gorm:"type:varchar(255)"`
	IDCard        string `gorm:"type:varchar(255)"`
	Pos           float64
	archived.NoPKModel
}

func (TrelloCheckItem) TableName

func (TrelloCheckItem) TableName() string

type TrelloConnection

type TrelloConnection struct {
	Name string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	archived.Model
	Endpoint         string `mapstructure:"endpoint" validate:"required" json:"endpoint"`
	Proxy            string `mapstructure:"proxy" json:"proxy"`
	RateLimitPerHour int    `comment:"api request rate limit per hour" json:"rateLimitPerHour"`
	AppId            string `mapstructure:"appId" validate:"required" json:"appId"`
	SecretKey        string `mapstructure:"secretKey" validate:"required" json:"secretKey" gorm:"serializer:encdec"`
}

TrelloConnection holds TrelloConn plus ID/Name for database storage

func (TrelloConnection) TableName

func (TrelloConnection) TableName() string

type TrelloLabel

type TrelloLabel struct {
	ID      string `gorm:"primaryKey;type:varchar(255)"`
	IDBoard string `gorm:"type:varchar(255)"`
	Name    string `gorm:"type:varchar(255)"`
	Color   string `gorm:"type:varchar(255)"`
	archived.NoPKModel
}

func (TrelloLabel) TableName

func (TrelloLabel) TableName() string

type TrelloList

type TrelloList struct {
	ID         string `gorm:"primaryKey;type:varchar(255)"`
	Name       string `gorm:"type:varchar(255)"`
	IDBoard    string `gorm:"type:varchar(255)"`
	Subscribed bool
	Pos        float64
	archived.NoPKModel
}

func (TrelloList) TableName

func (TrelloList) TableName() string

type TrelloMember

type TrelloMember struct {
	ID       string `gorm:"primaryKey;type:varchar(255)"`
	FullName string `gorm:"type:varchar(255)"`
	Username string `gorm:"type:varchar(255)"`
	archived.NoPKModel
}

func (TrelloMember) TableName

func (TrelloMember) TableName() string

type TrelloTransformationRule

type TrelloTransformationRule struct {
	archived.Model `mapstructure:"-"`
	Name           string `mapstructure:"name" json:"name" gorm:"type:varchar(255);index:idx_name_trello,unique" validate:"required"`
}

func (TrelloTransformationRule) TableName

func (TrelloTransformationRule) TableName() string

Jump to

Keyboard shortcuts

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