releaseapp

package
v0.0.0-...-94e4715 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INFLUXDB_DB_CONF_KEY = "global.influxdb.database"
	YUNION_REPO_NAME     = "default"
)

Variables

This section is empty.

Functions

func NewYunionRepoChartName

func NewYunionRepoChartName(chartName string) string

Types

type ConfigSets

type ConfigSets map[string]string

func GetYunionGlobalConfigSets

func GetYunionGlobalConfigSets() ConfigSets

func GetYunionInfluxdbGlobalConfigSets

func GetYunionInfluxdbGlobalConfigSets() ConfigSets

func NewConfigSets

func NewConfigSets(conf map[string]string) ConfigSets

func (ConfigSets) Add

func (s ConfigSets) Add(conf ConfigSets) ConfigSets

func (ConfigSets) ToSets

func (s ConfigSets) ToSets() []string

type CreateReleaseAppRequest

type CreateReleaseAppRequest struct {
	*release.CreateUpdateReleaseRequest
}

func NewCreateReleaseAppRequest

func NewCreateReleaseAppRequest(data jsonutils.JSONObject) (*CreateReleaseAppRequest, error)

func (*CreateReleaseAppRequest) IsSetsEmpty

func (r *CreateReleaseAppRequest) IsSetsEmpty() bool

func (*CreateReleaseAppRequest) ToData

type IReleaseAppHooker

type IReleaseAppHooker interface {
	GetReleaseName() string
	GetChartName() string
	GetConfigSets() ConfigSets
}

type SReleaseAppManager

type SReleaseAppManager struct {
	*release.SReleaseManager
	// contains filtered or unexported fields
}

func NewReleaseAppManager

func NewReleaseAppManager(hooker IReleaseAppHooker, keyword, keywordPlural string) *SReleaseAppManager

func (*SReleaseAppManager) Create

func (man *SReleaseAppManager) Create(req *common.Request) (interface{}, error)

func (*SReleaseAppManager) ValidateCreateData

func (app *SReleaseAppManager) ValidateCreateData(req *common.Request) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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