Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestFile ¶
type ManifestFile struct { Metadata ManifestFileMetadata `yaml:"metadata"` Spec interface{} `yaml:"spec"` }
ManifestFile represents a file that contains information about a workflow or workspace template
func ManifestFileFromFile ¶
func ManifestFileFromFile(path string) (*ManifestFile, error)
ManifestFileFromFile loads a manifest from a yaml file.
func (*ManifestFile) SpecString ¶
func (m *ManifestFile) SpecString() (string, error)
SpecString returns the spec of a manifest file as a string
type ManifestFileMetadata ¶
type ManifestFileMetadata struct { Name string Kind string // {Workflow, Workspace} Version uint64 Action string // {create,update} Description *string Labels map[string]string Deprecated *bool Source *string }
ManifestFileMetadata represents information about the tempalte we are working with
Click to show internal directories.
Click to hide internal directories.