gke

package
v0.0.0-...-2045cfa Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDeployObject

func ApplyDeployObject(kubeconfigPath string, deployment *v1.Deployment) error

func DecodeYAMLToDeployment

func DecodeYAMLToDeployment(yamlData []byte) (*v1.Deployment, error)

func GenerateFromTemplate

func GenerateFromTemplate(cfg *config.Config, compiledConfigPath, arryvedDir string, request *queue.DeployJobRequest) error

func LoadDeployYaml

func LoadDeployYaml(resourceDir string) ([][]byte, error)

Types

type AppTemplateParams

type AppTemplateParams struct {
	AppConfig         productconfig.AppConfig
	ControlScript     string
	CompiledConfig    string
	GCPProjectId      string
	GKEServiceAccount string
	PreSharedCert     string
	Secrets           []string
	Version           string
}

Jump to

Keyboard shortcuts

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