Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigExpectation ¶
type ConfigExpectation struct { // name is not the Name in the loaded config, but only the "some-config" of "some-config:1.2" Name string // version is the parsed version string, or "latest" if omitted Version string // Path is the path to the YAML to load the sidecar yaml from Path string EnvCount int ContainerCount int VolumeCount int VolumeMountCount int HostAliasCount int HostNetwork bool HostPID bool InitContainerCount int ServiceAccount string // LoadError is an error, if any, that is expected during load LoadError error }
ConfigExpectation struct for testing: where to find the file and what we expect to find in it
func (*ConfigExpectation) FullName ¶
func (x *ConfigExpectation) FullName() string
FullName returns name + version string
Click to show internal directories.
Click to hide internal directories.