Documentation ¶
Overview ¶
Package services contains buisness-logic methods of the models
Package services contains buisness-logic methods of the models ¶
Package services contains buisness-logic methods of the models
Index ¶
- func DescribeBoxApplications(box *structs.Box, environment structs.Environment) error
- func ExpandApplications(applications []structs.Application) []structs.Application
- func GetConfigFromKubeconfig(namespace string) (*action.Configuration, *rest.Config)
- func InstallBox(box *structs.Box, environment structs.Environment) ([]*runtime.Object, error)
- func NewApplicationService() structs.ApplicationService
- func NewBoxService() structs.BoxService
- func NewEnvironmentService() structs.EnvironmentService
- func UninstallBox(box *structs.Box, environment structs.Environment) ([]*runtime.Object, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeBoxApplications ¶
func DescribeBoxApplications(box *structs.Box, environment structs.Environment) error
DescrieBoxApplications will print a describe string of box applications
func ExpandApplications ¶
func ExpandApplications(applications []structs.Application) []structs.Application
ExpandApplications expand environment variables in applications array
func GetConfigFromKubeconfig ¶
func GetConfigFromKubeconfig(namespace string) (*action.Configuration, *rest.Config)
GetConfigFromKubeconfig is loading your Kubeconfig into configuration struct
func InstallBox ¶
InstallBox will deploy your box applications into your k8s cluster
func NewApplicationService ¶
func NewApplicationService() structs.ApplicationService
NewApplicationService creates a new ApplicationService
func NewEnvironmentService ¶
func NewEnvironmentService() structs.EnvironmentService
NewEnvironmentService creates a new EnvironmentService
func UninstallBox ¶
UninstallBox will uninstall your box applications from your k8s cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.