 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sResourceHistory ¶
type K8sResourceHistory struct {
	Id                int    `sql:"id,pk"`
	AppId             int    `sql:"app_id"`
	AppName           string `sql:"app_name"`
	EnvId             int    `sql:"env_id"`
	Namespace         string `sql:"namespace,omitempty"`
	ResourceName      string `sql:"resource_name,notnull"`
	Kind              string `sql:"kind,notnull"`
	Group             string `sql:"group"`
	ForceDelete       bool   `sql:"force_delete, omitempty"`
	ActionType        string `sql:"action_type"`
	DeploymentAppType string `sql:"deployment_app_type"`
	sql.AuditLog
	// contains filtered or unexported fields
}
    type K8sResourceHistoryRepository ¶
type K8sResourceHistoryRepository interface {
	SaveK8sResourceHistory(history *K8sResourceHistory) error
}
    type K8sResourceHistoryRepositoryImpl ¶
type K8sResourceHistoryRepositoryImpl struct {
	// contains filtered or unexported fields
}
    func NewK8sResourceHistoryRepositoryImpl ¶
func NewK8sResourceHistoryRepositoryImpl(dbConnection *pg.DB, logger *zap.SugaredLogger) *K8sResourceHistoryRepositoryImpl
func (K8sResourceHistoryRepositoryImpl) SaveK8sResourceHistory ¶
func (repo K8sResourceHistoryRepositoryImpl) SaveK8sResourceHistory(k8sResourceHistory *K8sResourceHistory) error
 Click to show internal directories. 
   Click to hide internal directories.