Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFileFromTarGz ¶ added in v0.6.0
func ExtractFileFromTarGz(filename string, r io.ReadCloser) ([]byte, error)
ExtractFileFromTarGz reads a single file data from an archive.
func ExtractTarGz ¶
func ExtractTarGz(localPath string, r io.ReadCloser) error
ExtractTarGz extracts .tar.gz archive from r into filesystem under localPath.
func FailIfMultiNodes ¶
FailIfMultiNodes checks if ctx contains multi-node request metadata.
func ForEachResource ¶ added in v0.9.0
func ForEachResource(ctx context.Context, c *client.Client, callback func(ctx context.Context, msg client.ResourceResponse) error, namespace string, args ...string) error
ForEachResource get resources from the controller runtime and run callback using each element.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.