Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListOptions ¶
type ListOptions struct {
// contains filtered or unexported fields
}
ListOptions represents struct for filters for searching in values kubernetes resources
func NewOptions ¶
func NewOptions(filterMap map[string]string) *ListOptions
NewOptions for init struct by map
func (*ListOptions) Filter ¶
func (options *ListOptions) Filter(list []*ValuesRef) []*ValuesRef
Filter and every other func adapted from: https://play.golang.org/p/o5JmVAL9RXL
type ValueTemplate ¶
type ValueTemplate struct { ValuesRef []*ValuesRef Values map[string]interface{} ValuesMap map[string]string ValueFiles []string // contains filtered or unexported fields }
ValueTemplate represents struct for possible value inputs
func New ¶
func New(instance *helmv1alpha1.Release, logger logr.Logger, k8sClient client.Client) *ValueTemplate
New represents initialization of internal struct for managing helm values
func (*ValueTemplate) ManageValues ¶
func (hv *ValueTemplate) ManageValues() (map[string]interface{}, error)
ManageValues represents parsing of a map with interfaces into HelmValueTemplate struct
Click to show internal directories.
Click to hide internal directories.