plugin

package
v0.0.0-...-c2b60f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AppName              = "plugin"
	NodesLocalURLsKey    = "plugin_local"
	NodesInternalURLsKey = "plugin_internal"
	DBsLocalURLsKey      = "plugin_db"
)

Variables

This section is empty.

Functions

func New

func New(index int, props map[string]any) environment.ConnectedChart

func NewVersioned

func NewVersioned(index int, helmVersion string, props map[string]any, overrideSource interface{}, overrideFn OverrideFn) environment.ConnectedChart

NewVersioned enables you to select a specific helm chart version

func NewWithOverride

func NewWithOverride(index int, props map[string]any, overrideSource interface{}, overrideFn OverrideFn) environment.ConnectedChart

NewWithOverride enables you to pass in a function that will override the default properties

Types

type Chart

type Chart struct {
	Name    string
	Index   int
	Path    string
	Version string
	Props   *Props
	Values  *map[string]any
}

func (Chart) ExportData

func (m Chart) ExportData(e *environment.Environment) error

func (Chart) GetName

func (m Chart) GetName() string

func (Chart) GetPath

func (m Chart) GetPath() string

func (Chart) GetProps

func (m Chart) GetProps() any

func (Chart) GetValues

func (m Chart) GetValues() *map[string]any

func (Chart) GetVersion

func (m Chart) GetVersion() string

func (Chart) IsDeploymentNeeded

func (m Chart) IsDeploymentNeeded() bool

type OverrideFn

type OverrideFn = func(source interface{}, target interface{})

type Props

type Props struct {
	HasReplicas bool
}

Jump to

Keyboard shortcuts

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