Documentation
¶
Index ¶
- Constants
- func CopyFile(src, dst string) error
- func ExtractManifests(to, from string, isolateKinds []string) error
- func FunctionExists(ctx context.Context, t *testing.T, database, function, uri string) bool
- func GetGitRootDir() (string, error)
- func GetKubeConfig(ctx context.Context, k *k3s.K3sContainer) (*rest.Config, ctrlclient.Client, error)
- func IntegrationTest(t *testing.T)
- func TableExists(ctx context.Context, t *testing.T, database, table, uri string) bool
- func TableHasRows(ctx context.Context, t *testing.T, database, table, uri string) bool
- func VerifyTableSchema(ctx context.Context, t *testing.T, database, table, uri string, ...)
- func WriteKubeConfig(ctx context.Context, k *k3s.K3sContainer, dir string) (string, error)
- type Function
- type KqlSchema
- type RowCount
- type Table
- type TableSchema
- type Uploader
Constants ¶
View Source
const K3sManifests = "/var/lib/rancher/k3s/server/manifests/"
Variables ¶
This section is empty.
Functions ¶
func ExtractManifests ¶
ExtractManifests is meant to read in a concatenated manifest file and extract the individual manifest described by the isolateKind and write it to the to path.
to: directory isolateKinds: kinds of manifests to extract from: path to concatenated manifest file, should be from the root, not relative. example - build/k8s/ingestor.yaml
to will contain two files: - manifests.yaml: all manifests except for the isolateKind - {isolateKind}.yaml: the manifest described by the isolateKind
func FunctionExists ¶
func GetGitRootDir ¶
func GetKubeConfig ¶
func GetKubeConfig(ctx context.Context, k *k3s.K3sContainer) (*rest.Config, ctrlclient.Client, error)
func IntegrationTest ¶
func TableExists ¶
func TableHasRows ¶
func VerifyTableSchema ¶
func WriteKubeConfig ¶
Types ¶
type Function ¶
type TableSchema ¶
Click to show internal directories.
Click to hide internal directories.