package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Oct 3, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
End-to-end test
To run
$ ./hack/test-e2e.sh
$ ./hack/test-e2e.sh -run TestVersion
See ./test/e2e/env.go
for required environment variables for some tests.
Documentation
¶
func NewMissingClusterResource(t *testing.T, kind, name, ns string, kubectl Kubectl)
type ClusterResource struct {
}
func NewPresentClusterResource(kind, name, ns string, kubectl Kubectl) ClusterResource
func (r ClusterResource) Raw() map[string]interface{}
func (r ClusterResource) RawPath(path ctlres.Path) interface{}
func (r ClusterResource) UID() string
type Env struct {
Namespace string
}
func BuildEnv(t *testing.T) Env
func (e Env) Validate(t *testing.T)
func (k Kapp) Run(args []string) string
func (k Kapp) RunWithOpts(args []string, opts RunOpts) (string, error)
func (k Kubectl) Run(args []string) string
func (k Kubectl) RunWithOpts(args []string, opts RunOpts) (string, error)
func (l Logger) Debugf(msg string, args ...interface{})
func (l Logger) Section(msg string, f func())
type RunOpts struct {
NoNamespace bool
IntoNs bool
AllowError bool
StderrWriter io.Writer
StdoutWriter io.Writer
StdinReader io.Reader
CancelCh chan struct{}
Redact bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.