Implement get all for sources and images

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2021-03-18 12:41:04 +02:00
parent cdb5b7c9a2
commit 73b1576f81
No known key found for this signature in database
GPG key ID: 3299AEB0E4085BAF
30 changed files with 299 additions and 50 deletions

View file

@ -17,6 +17,7 @@ limitations under the License.
package main
import (
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/client"
)
@ -62,6 +63,7 @@ func (c universalAdapter) asClientObject() client.Object {
type named interface {
GetName() string
GetNamespace() string
GetObjectKind() schema.ObjectKind
SetName(string)
SetNamespace(string)
}