solution

package
Version: v3.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	Value string
	Name  string
}

func (Env) String

func (env Env) String() string

func (Env) ToKube

func (env Env) ToKube() kubeModels.Env

type Envs

type Envs []Env

func EnvsFromMap

func EnvsFromMap(m map[string]string) Envs

func (Envs) Copy

func (envs Envs) Copy() Envs

func (Envs) Get

func (envs Envs) Get(name string) string

func (Envs) Map

func (envs Envs) Map() map[string]string

func (Envs) New

func (envs Envs) New() Envs

func (Envs) Sorted

func (envs Envs) Sorted() Envs

func (Envs) ToKube

func (envs Envs) ToKube() kubeModels.SolutionEnv

type Solution

type Solution kubeModels.UserSolution

func SolutionFromKube

func SolutionFromKube(kubeSolution kubeModels.UserSolution) Solution

func (Solution) Describe

func (solution Solution) Describe() string

func (Solution) EnvironmentVars

func (solution Solution) EnvironmentVars() Envs

func (Solution) MarshalJSON

func (solution Solution) MarshalJSON() ([]byte, error)

func (Solution) MarshalYAML

func (solution Solution) MarshalYAML() (interface{}, error)

func (Solution) RenderJSON

func (solution Solution) RenderJSON() (string, error)

func (Solution) RenderTable

func (solution Solution) RenderTable() string

func (Solution) RenderYAML

func (solution Solution) RenderYAML() (string, error)

func (Solution) String

func (solution Solution) String() string

TODO

func (Solution) TableHeaders

func (Solution) TableHeaders() []string

func (Solution) TableRows

func (solution Solution) TableRows() [][]string

func (Solution) ToKube

func (solution Solution) ToKube() kubeModels.UserSolution

func (*Solution) UnmarshalJSON

func (solution *Solution) UnmarshalJSON(data []byte) error

func (*Solution) UnmarshalYAML

func (solution *Solution) UnmarshalYAML(unmarshal func(interface{}) error) error

type SolutionEnv

type SolutionEnv kubeModels.SolutionEnv

func SolutionEnvFromKube

func SolutionEnvFromKube(kubeSolutionEnv kubeModels.SolutionEnv) SolutionEnv

func (SolutionEnv) RenderJSON

func (envs SolutionEnv) RenderJSON() (string, error)

func (SolutionEnv) RenderTable

func (solution SolutionEnv) RenderTable() string

func (SolutionEnv) RenderYAML

func (envs SolutionEnv) RenderYAML() (string, error)

func (SolutionEnv) String

func (solutionEnv SolutionEnv) String() string

func (SolutionEnv) TableHeaders

func (SolutionEnv) TableHeaders() []string

func (SolutionEnv) TableRows

func (solutionEnv SolutionEnv) TableRows() [][]string

type SolutionTemplate

type SolutionTemplate kubeModels.AvailableSolution

func SolutionTemplateFromKube

func SolutionTemplateFromKube(kubeSolution kubeModels.AvailableSolution) SolutionTemplate

func (SolutionTemplate) Copy

func (solution SolutionTemplate) Copy() SolutionTemplate

func (SolutionTemplate) Describe

func (solution SolutionTemplate) Describe() string

func (SolutionTemplate) ImagePreview

func (solution SolutionTemplate) ImagePreview() string

func (SolutionTemplate) MarshalJSON

func (solution SolutionTemplate) MarshalJSON() ([]byte, error)

func (SolutionTemplate) MarshalYAML

func (solution SolutionTemplate) MarshalYAML() (interface{}, error)

func (SolutionTemplate) RenderJSON

func (solution SolutionTemplate) RenderJSON() (string, error)

func (SolutionTemplate) RenderTable

func (solution SolutionTemplate) RenderTable() string

func (SolutionTemplate) RenderYAML

func (solution SolutionTemplate) RenderYAML() (string, error)

func (SolutionTemplate) Resources

func (solution SolutionTemplate) Resources() string

func (SolutionTemplate) String

func (solution SolutionTemplate) String() string

func (SolutionTemplate) TableHeaders

func (SolutionTemplate) TableHeaders() []string

func (SolutionTemplate) TableRows

func (solution SolutionTemplate) TableRows() [][]string

func (SolutionTemplate) ToKube

func (solution SolutionTemplate) ToKube() kubeModels.AvailableSolution

type SolutionsList

type SolutionsList kubeModels.UserSolutionsList

func SolutionsListFromKube

func SolutionsListFromKube(kubeList kubeModels.UserSolutionsList) SolutionsList

func (SolutionsList) Filter

func (list SolutionsList) Filter(pred func(Solution) bool) SolutionsList

func (SolutionsList) Len

func (list SolutionsList) Len() int

func (SolutionsList) Names

func (list SolutionsList) Names() []string

func (SolutionsList) RenderJSON

func (list SolutionsList) RenderJSON() (string, error)

func (SolutionsList) RenderTable

func (list SolutionsList) RenderTable() string

func (SolutionsList) RenderYAML

func (list SolutionsList) RenderYAML() (string, error)

func (SolutionsList) SearchByName

func (list SolutionsList) SearchByName(name string) SolutionsList

func (SolutionsList) String

func (list SolutionsList) String() string

func (SolutionsList) TableHeaders

func (SolutionsList) TableHeaders() []string

func (SolutionsList) TableRows

func (list SolutionsList) TableRows() [][]string

type TemplatesList

type TemplatesList kubeModels.AvailableSolutionsList

func TemplatesListFromKube

func TemplatesListFromKube(kubeList kubeModels.AvailableSolutionsList) TemplatesList

func (TemplatesList) Filter

func (list TemplatesList) Filter(pred func(template SolutionTemplate) bool) TemplatesList

func (TemplatesList) Len

func (list TemplatesList) Len() int

func (TemplatesList) Names

func (list TemplatesList) Names() []string

func (TemplatesList) RenderJSON

func (list TemplatesList) RenderJSON() (string, error)

func (TemplatesList) RenderTable

func (solution TemplatesList) RenderTable() string

func (TemplatesList) RenderYAML

func (list TemplatesList) RenderYAML() (string, error)

func (TemplatesList) SearchByName

func (list TemplatesList) SearchByName(name string) TemplatesList

func (TemplatesList) String

func (list TemplatesList) String() string

func (TemplatesList) TableHeaders

func (TemplatesList) TableHeaders() []string

func (TemplatesList) TableRows

func (list TemplatesList) TableRows() [][]string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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