project

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	Helm      []builder.HelmDeployment `yaml:"helm,omitempty"`
	Kustomize []struct {
		Path string `yaml:"path"`
	} `yaml:"kustomize,omitempty"`
}

type ProjectConfig

type ProjectConfig struct {
	Project *symbiosis.Project
	Deploy  *Deployment `yaml:"deploy"`
	Test    []Test      `yaml:"test,omitempty"`
	Preview struct {
	} `yaml:"preview"`

	TestRunner *testing.TestRunner
	Path       string

	ProjectFilePath string

	Clientset *kubernetes.Clientset
	// contains filtered or unexported fields
}

func NewProjectConfig

func NewProjectConfig(file string, opts *symcommand.CommandOpts, client *symbiosis.Client, identity *identity.ClusterIdentity) (*ProjectConfig, error)

func (*ProjectConfig) Parse

func (p *ProjectConfig) Parse() error

func (*ProjectConfig) PromptProject

func (p *ProjectConfig) PromptProject(path string) (*symbiosis.Project, error)

func (*ProjectConfig) RunBuilders

func (p *ProjectConfig) RunBuilders() error

func (*ProjectConfig) RunDeploy

func (p *ProjectConfig) RunDeploy() error

func (*ProjectConfig) RunTests added in v0.0.4

func (p *ProjectConfig) RunTests(testOutputDir string) error

func (*ProjectConfig) SetIdentity

func (p *ProjectConfig) SetIdentity(identity *identity.ClusterIdentity)

type Test added in v0.0.4

type Test struct {
	Image   string `yaml:"image,omitempty"`
	Command string `yaml:"command,omitempty"`
}

Jump to

Keyboard shortcuts

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