mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-04 09:08:51 +00:00
Implement get all for sources and images
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
cdb5b7c9a2
commit
73b1576f81
30 changed files with 299 additions and 50 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue