Documentation ¶
Index ¶
- type KubebuilderTest
- func (kt *KubebuilderTest) Build() error
- func (kt *KubebuilderTest) BuildImage(imageOptions []string) error
- func (kt *KubebuilderTest) CleanUp() error
- func (kt *KubebuilderTest) CleanupImage(imageOptions []string) error
- func (kt *KubebuilderTest) CreateAPI(resourceOptions []string) error
- func (kt *KubebuilderTest) CreateConfig(configOptions []string) error
- func (kt *KubebuilderTest) CreateController(controllerOptions []string) error
- func (kt *KubebuilderTest) CreateResource(resourceOptions []string) error
- func (kt *KubebuilderTest) DepEnsure() error
- func (kt *KubebuilderTest) Diff(pathA, pathB string) error
- func (kt *KubebuilderTest) DiffAll(generatedDir, expectedDir string) error
- func (kt *KubebuilderTest) Docs(docsOptions []string) error
- func (kt *KubebuilderTest) Generate(generateOptions []string) error
- func (kt *KubebuilderTest) Init(initOptions []string) error
- func (kt *KubebuilderTest) Make(makeOptions []string) error
- func (kt *KubebuilderTest) RunKubectlCommand(cmdOptions []string) (string, error)
- func (kt *KubebuilderTest) RunKubectlCommandWithInput(cmdOptions []string, stdinInput string) (string, error)
- func (kt *KubebuilderTest) RunKustomizeCommand(cmdOptions []string) (string, error)
- func (kt *KubebuilderTest) Test() error
- func (kt *KubebuilderTest) VendorUpdate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubebuilderTest ¶
type KubebuilderTest struct {
Dir string
}
func NewKubebuilderTest ¶
func NewKubebuilderTest(dir, binDir string) *KubebuilderTest
func (*KubebuilderTest) Build ¶
func (kt *KubebuilderTest) Build() error
func (*KubebuilderTest) BuildImage ¶
func (kt *KubebuilderTest) BuildImage(imageOptions []string) error
func (*KubebuilderTest) CleanUp ¶
func (kt *KubebuilderTest) CleanUp() error
func (*KubebuilderTest) CleanupImage ¶
func (kt *KubebuilderTest) CleanupImage(imageOptions []string) error
func (*KubebuilderTest) CreateAPI ¶ added in v1.0.0
func (kt *KubebuilderTest) CreateAPI(resourceOptions []string) error
CreateAPI is for kubebuilder v1 only.
func (*KubebuilderTest) CreateConfig ¶
func (kt *KubebuilderTest) CreateConfig(configOptions []string) error
func (*KubebuilderTest) CreateController ¶
func (kt *KubebuilderTest) CreateController(controllerOptions []string) error
func (*KubebuilderTest) CreateResource ¶
func (kt *KubebuilderTest) CreateResource(resourceOptions []string) error
CreateResource is for kubebuilder v0 only.
func (*KubebuilderTest) DepEnsure ¶
func (kt *KubebuilderTest) DepEnsure() error
func (*KubebuilderTest) Diff ¶
func (kt *KubebuilderTest) Diff(pathA, pathB string) error
func (*KubebuilderTest) DiffAll ¶
func (kt *KubebuilderTest) DiffAll(generatedDir, expectedDir string) error
func (*KubebuilderTest) Docs ¶
func (kt *KubebuilderTest) Docs(docsOptions []string) error
func (*KubebuilderTest) Generate ¶
func (kt *KubebuilderTest) Generate(generateOptions []string) error
func (*KubebuilderTest) Init ¶
func (kt *KubebuilderTest) Init(initOptions []string) error
func (*KubebuilderTest) Make ¶ added in v1.0.0
func (kt *KubebuilderTest) Make(makeOptions []string) error
func (*KubebuilderTest) RunKubectlCommand ¶
func (kt *KubebuilderTest) RunKubectlCommand(cmdOptions []string) (string, error)
RunKubectlCommand is a general func to run kubectl commands
func (*KubebuilderTest) RunKubectlCommandWithInput ¶ added in v1.0.0
func (kt *KubebuilderTest) RunKubectlCommandWithInput(cmdOptions []string, stdinInput string) (string, error)
RunKubectlCommand is a general func to run kubectl commands
func (*KubebuilderTest) RunKustomizeCommand ¶ added in v1.0.0
func (kt *KubebuilderTest) RunKustomizeCommand(cmdOptions []string) (string, error)
RunKustomizeCommand is a general func to run kubectl commands
func (*KubebuilderTest) Test ¶
func (kt *KubebuilderTest) Test() error
func (*KubebuilderTest) VendorUpdate ¶
func (kt *KubebuilderTest) VendorUpdate() error
Click to show internal directories.
Click to hide internal directories.