Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
ApiVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Image DockerImage `yaml:"image"`
}
func ReadYaml ¶
func ReadYaml(filePath string) (*Configuration, error)
func (*Configuration) Validate ¶
func (c *Configuration) Validate() error
type DenyPolicy ¶
type DockerImage ¶
type DockerImage struct {
Name string `yaml:"name"`
Policy GuardPolicy `yaml:"policy"`
}
type GuardPolicy ¶
type GuardPolicy struct {
Deny []DenyPolicy `yaml:"deny"`
}
Click to show internal directories.
Click to hide internal directories.