deploy

package
v0.0.0-...-89c19b0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployRepository

type DeployRepository struct {
	Log    logger.ILogger         `inject:""`
	Base   baseRep.BaseRepository `inject:"inline"`
	Source datasource.IDb         `inject:""`
}

func (*DeployRepository) AddDeploy

func (deploy *DeployRepository) AddDeploy(modDeploy *models.Deploy) bool

func (*DeployRepository) DeleteDeploy

func (deploy *DeployRepository) DeleteDeploy(id uint) bool

func (*DeployRepository) ExistDeployByName

func (deploy *DeployRepository) ExistDeployByName(where interface{}) bool

func (*DeployRepository) GetBetweenCount

func (deploy *DeployRepository) GetBetweenCount(where string, cycle, count int) interface{}

func (*DeployRepository) GetDeploy

func (deploy *DeployRepository) GetDeploy(where interface{}) *models.Deploy

func (*DeployRepository) GetDeploys

func (deploy *DeployRepository) GetDeploys(PageNum uint, PageSize uint, total *uint64, where interface{}) *[]models.Deploy

func (*DeployRepository) GetOkErrorCount

func (deploy *DeployRepository) GetOkErrorCount(where string) interface{}

func (*DeployRepository) UpdateDeploy

func (deploy *DeployRepository) UpdateDeploy(modDeploy *models.Deploy) bool

func (*DeployRepository) UpdateDeployByCol

func (deploy *DeployRepository) UpdateDeployByCol(modDeploy *models.Deploy, where map[string]interface{}) bool

type IDeployRepository

type IDeployRepository interface {
	GetDeploy(where interface{}) *models.Deploy

	AddDeploy(deploy *models.Deploy) bool

	UpdateDeploy(deploy *models.Deploy) bool

	UpdateDeployByCol(deploy *models.Deploy, where map[string]interface{}) bool

	GetDeploys(PageNum, PageSize uint, total *uint64, where interface{}) *[]models.Deploy

	GetOkErrorCount(where string) interface{}

	GetBetweenCount(where string, cycle, count int) interface{}

	ExistDeployByName(where interface{}) bool

	DeleteDeploy(id uint) bool
}

Jump to

Keyboard shortcuts

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