Documentation ¶
Index ¶
- type Db
- func (db *Db) Close() error
- func (db *Db) DeleteContainer(containerName string) error
- func (db *Db) DeleteDomainName(name string) error
- func (db *Db) DeleteRuleFromDomainName(domainName string) error
- func (db *Db) GetContainer(containerName string) (models.Container, error)
- func (db *Db) GetContainerLastUpdatedAt() (*time.Time, error)
- func (db *Db) GetDomainName(name string) (models.DomainName, error)
- func (db *Db) GetRuleFromDomainName(domainName string) (models.Rule, error)
- func (db *Db) GetUser(name string) (models.User, error)
- func (db *Db) Init() error
- func (db *Db) InsertContainer(c *models.Container) error
- func (db *Db) InsertDomainName(domainName models.DomainName) error
- func (db *Db) InsertInfraLog(infraLog models.InfraLog) error
- func (db *Db) InsertNetworkLog(netLog models.NetworkLog) error
- func (db *Db) InsertRule(domainName string, containerName string) error
- func (db *Db) ListContainers() ([]models.Container, error)
- func (db *Db) ListDomainNames() ([]models.DomainName, error)
- func (db *Db) ListRules() ([]models.Rule, error)
- func (db *Db) UpdateContainerExposedPort(containerName string, exposedPort int) error
- func (db *Db) UpdateContainerIpStatus(containerName string, ipAddress string, status models.ContainerStatus) error
- func (db *Db) UpdateDomainNameLive() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db struct {
// contains filtered or unexported fields
}
func (*Db) DeleteContainer ¶
func (*Db) DeleteDomainName ¶
func (*Db) DeleteRuleFromDomainName ¶
func (*Db) GetContainer ¶
func (*Db) GetContainerLastUpdatedAt ¶
func (*Db) GetDomainName ¶
func (db *Db) GetDomainName(name string) (models.DomainName, error)
func (*Db) GetRuleFromDomainName ¶
func (*Db) InsertDomainName ¶
func (db *Db) InsertDomainName(domainName models.DomainName) error
func (*Db) InsertNetworkLog ¶
func (db *Db) InsertNetworkLog(netLog models.NetworkLog) error
func (*Db) ListDomainNames ¶
func (db *Db) ListDomainNames() ([]models.DomainName, error)
func (*Db) UpdateContainerExposedPort ¶
func (*Db) UpdateContainerIpStatus ¶
func (*Db) UpdateDomainNameLive ¶
Click to show internal directories.
Click to hide internal directories.