From 051a390025330495874c38189f4bb96bfc972dc0 Mon Sep 17 00:00:00 2001 From: justinsb Date: Wed, 3 Jul 2024 06:49:56 -0400 Subject: [PATCH] chore: stage ktest module This should enable us to add a module much more easily, because `go mod tidy` will work. --- ktest/doc.go | 19 +++++++++++++++++++ ktest/go.mod | 5 +++++ ktest/go.sum | 0 3 files changed, 24 insertions(+) create mode 100644 ktest/doc.go create mode 100644 ktest/go.mod create mode 100644 ktest/go.sum diff --git a/ktest/doc.go b/ktest/doc.go new file mode 100644 index 00000000..b34edfc0 --- /dev/null +++ b/ktest/doc.go @@ -0,0 +1,19 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package ktest + +// Package ktest implements shared helper functions for testing kubernetes controllers diff --git a/ktest/go.mod b/ktest/go.mod new file mode 100644 index 00000000..03f988d4 --- /dev/null +++ b/ktest/go.mod @@ -0,0 +1,5 @@ +module sigs.k8s.io/kubebuilder-declarative-pattern/ktest + +go 1.21 + +toolchain go1.22.0 diff --git a/ktest/go.sum b/ktest/go.sum new file mode 100644 index 00000000..e69de29b