Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { TypeMeta `yaml:",inline"` ObjectMeta `yaml:"metadata"` Spec ApplicationSpec `yaml:"spec"` }
Application is a lightweight struct matching argoproj.io/v1alpha1/Application
func NewApplication ¶
func (*Application) Render ¶ added in v0.3.0
func (app *Application) Render(outfile string) error
type ApplicationSpec ¶
type ApplicationSpec struct { Source Source `yaml:"source"` // Destination overrides the kubernetes server and namespace defined in the environment ksonnet app.yaml Destination Destination `yaml:"destination"` Project string `yaml:"project"` SyncPolicy SyncPolicy `yaml:"syncPolicy,omitempty"` }
type Destination ¶
type ObjectMeta ¶
type ObjectMeta struct { Name string `yaml:"name,omitempty"` Namespace string `yaml:"namespace,omitempty"` Labels map[string]string `yaml:"labels,omitempty"` Annotations map[string]string `yaml:"annotations,omitempty"` }
ObjectMeta partially copies apimachinery/pkg/apis/meta/v1.ObjectMeta No need for a direct dependence; the fields are stable.
type SyncPolicy ¶
Click to show internal directories.
Click to hide internal directories.