Documentation ¶
Index ¶
- func BeAddedAsArgToContainer(c corev1.Container) types.GomegaMatcher
- func BeAddedAsVolumeToPodSpec(ps corev1.PodSpec) types.GomegaMatcher
- func BeEnvFromForContainer(c corev1.Container) types.GomegaMatcher
- func BeEnvVarForContainer(c corev1.Container) types.GomegaMatcher
- func BeMountedToContainer(c corev1.Container) types.GomegaMatcher
- func ReadYaml(manifest []byte, object interface{}) error
- func ReadYamlFile(path string, object interface{}) error
- type BeAddedAsArgToContainerMatcher
- type BeAddedAsVolumeToPodSpecMatcher
- type BeEnvFromForContainerMatcher
- type BeEnvVarForContainerMatcher
- type BeMountedToContainerMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeAddedAsArgToContainer ¶
func BeAddedAsArgToContainer(c corev1.Container) types.GomegaMatcher
Matcher for container Args
func BeAddedAsVolumeToPodSpec ¶
func BeAddedAsVolumeToPodSpec(ps corev1.PodSpec) types.GomegaMatcher
Matcher for PodSpec Volumes
func BeEnvFromForContainer ¶
func BeEnvFromForContainer(c corev1.Container) types.GomegaMatcher
Matcher for Container EnvFrom
func BeEnvVarForContainer ¶
func BeEnvVarForContainer(c corev1.Container) types.GomegaMatcher
Matcher for Container Env Var
func BeMountedToContainer ¶
func BeMountedToContainer(c corev1.Container) types.GomegaMatcher
Matcher for Container VolumeMounts
func ReadYamlFile ¶
Types ¶
type BeAddedAsArgToContainerMatcher ¶
type BeAddedAsArgToContainerMatcher struct {
// contains filtered or unexported fields
}
func (*BeAddedAsArgToContainerMatcher) FailureMessage ¶
func (matcher *BeAddedAsArgToContainerMatcher) FailureMessage(actual interface{}) string
func (*BeAddedAsArgToContainerMatcher) Match ¶
func (matcher *BeAddedAsArgToContainerMatcher) Match(actual interface{}) (bool, error)
func (*BeAddedAsArgToContainerMatcher) NegatedFailureMessage ¶
func (matcher *BeAddedAsArgToContainerMatcher) NegatedFailureMessage(actual interface{}) string
type BeAddedAsVolumeToPodSpecMatcher ¶
type BeAddedAsVolumeToPodSpecMatcher struct {
// contains filtered or unexported fields
}
func (*BeAddedAsVolumeToPodSpecMatcher) FailureMessage ¶
func (matcher *BeAddedAsVolumeToPodSpecMatcher) FailureMessage(actual interface{}) string
func (*BeAddedAsVolumeToPodSpecMatcher) Match ¶
func (matcher *BeAddedAsVolumeToPodSpecMatcher) Match(actual interface{}) (bool, error)
func (*BeAddedAsVolumeToPodSpecMatcher) NegatedFailureMessage ¶
func (matcher *BeAddedAsVolumeToPodSpecMatcher) NegatedFailureMessage(actual interface{}) string
type BeEnvFromForContainerMatcher ¶
type BeEnvFromForContainerMatcher struct {
// contains filtered or unexported fields
}
func (*BeEnvFromForContainerMatcher) FailureMessage ¶
func (matcher *BeEnvFromForContainerMatcher) FailureMessage(actual interface{}) string
func (*BeEnvFromForContainerMatcher) Match ¶
func (matcher *BeEnvFromForContainerMatcher) Match(actual interface{}) (bool, error)
func (*BeEnvFromForContainerMatcher) NegatedFailureMessage ¶
func (matcher *BeEnvFromForContainerMatcher) NegatedFailureMessage(actual interface{}) string
type BeEnvVarForContainerMatcher ¶
type BeEnvVarForContainerMatcher struct {
// contains filtered or unexported fields
}
func (*BeEnvVarForContainerMatcher) FailureMessage ¶
func (matcher *BeEnvVarForContainerMatcher) FailureMessage(actual interface{}) string
func (*BeEnvVarForContainerMatcher) Match ¶
func (matcher *BeEnvVarForContainerMatcher) Match(actual interface{}) (bool, error)
func (*BeEnvVarForContainerMatcher) NegatedFailureMessage ¶
func (matcher *BeEnvVarForContainerMatcher) NegatedFailureMessage(actual interface{}) string
type BeMountedToContainerMatcher ¶
type BeMountedToContainerMatcher struct {
// contains filtered or unexported fields
}
func (*BeMountedToContainerMatcher) FailureMessage ¶
func (matcher *BeMountedToContainerMatcher) FailureMessage(actual interface{}) string
func (*BeMountedToContainerMatcher) Match ¶
func (matcher *BeMountedToContainerMatcher) Match(actual interface{}) (bool, error)
func (*BeMountedToContainerMatcher) NegatedFailureMessage ¶
func (matcher *BeMountedToContainerMatcher) NegatedFailureMessage(actual interface{}) string
Click to show internal directories.
Click to hide internal directories.