Go to Katenary V3
This is the next-gen of Katenary
This commit is contained in:
13
generator/types.go
Normal file
13
generator/types.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package generator
|
||||
|
||||
// DataMap is a kubernetes ConfigMap or Secret. It can be used to add data to the ConfigMap or Secret.
|
||||
type DataMap interface {
|
||||
SetData(map[string]string)
|
||||
AddData(string, string)
|
||||
}
|
||||
|
||||
// Yaml is a kubernetes object that can be converted to yaml.
|
||||
type Yaml interface {
|
||||
Yaml() ([]byte, error)
|
||||
Filename() string
|
||||
}
|
Reference in New Issue
Block a user