Help us shape the future of Go! Take the 2026 Go Developer Survey

repository

package
v0.6.24 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

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

Jump to

Keyboard shortcuts

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