Documentation ¶
Index ¶
- type Deployment
- type ProjectConfig
- func (p *ProjectConfig) Parse() error
- func (p *ProjectConfig) PromptProject(path string) (*symbiosis.Project, error)
- func (p *ProjectConfig) RunBuilders() error
- func (p *ProjectConfig) RunDeploy() error
- func (p *ProjectConfig) RunTests(testOutputDir string) error
- func (p *ProjectConfig) SetIdentity(identity *identity.ClusterIdentity)
- type Test
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)
Click to show internal directories.
Click to hide internal directories.