Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeRESTMapper ¶ added in v0.14.0
func NewFakeRESTMapper(gvks ...schema.GroupVersionKind) meta.RESTMapper
Types ¶
type TestFilesystem ¶
type TestFilesystem struct {
// contains filtered or unexported fields
}
TestFilesystem creates directories and files for testing
func Setup ¶
func Setup(t *testing.T, dirs ...string) TestFilesystem
Setupd creates directories in the test filesystem, returning the TestFilesystem.
func (TestFilesystem) GetRootDir ¶
func (tf TestFilesystem) GetRootDir() string
GetRootDir returns the path to the root of the test filesystem.
Click to show internal directories.
Click to hide internal directories.