package
Version:
v0.0.0-...-bff9524
Opens a new window with list of versions in this module.
Published: May 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Configuration struct {
Kind string `yaml:"kind" validate:"required"`
Version string `yaml:"version"`
Name string `yaml:"name"`
Description string `yaml:"description"`
}
type Resource struct {
Ref string `yaml:"$ref"`
}
type Secret struct {
Name string `yaml:"name"`
Path string `yaml:"path"`
Key string `yaml:"key"`
}
type Selector struct {
Namespaces []string `yaml:"namespaces"`
Sets []string `yaml:"sets"`
Devices []string `yaml:"devices"`
}
type Workload struct {
Kind string `yaml:"kind" validate:"required"`
Version string `yaml:"version"`
Name string `yaml:"name"`
Description string `yaml:"description"`
Selector Selector `yaml:"selectors"`
Secrets []Secret `yaml:"secrets"`
Resources []Resource `yaml:"resources"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.