services

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 20 Imported by: 0

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

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

func InstallBox(box *structs.Box, environment structs.Environment) ([]*runtime.Object, error)

InstallBox will deploy your box applications into your k8s cluster

func NewApplicationService

func NewApplicationService() structs.ApplicationService

NewApplicationService creates a new ApplicationService

func NewBoxService

func NewBoxService() structs.BoxService

NewBoxService creates a new BoxService

func NewEnvironmentService

func NewEnvironmentService() structs.EnvironmentService

NewEnvironmentService creates a new EnvironmentService

func UninstallBox

func UninstallBox(box *structs.Box, environment structs.Environment) ([]*runtime.Object, error)

UninstallBox will uninstall your box applications from your k8s cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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