1 // Package v1alpha1 defines the scheme registration info 2 // for Edge Kpt functions. Even though they are not used to generate 3 // objects that implement client.Object like standard K8s types, 4 // the GroupVersionKind is useful for working with Edge Kpt function 5 // manifests. 6 // 7 // In the future, this package will be used to register functions 8 // with Chariot without requiring direct code changes to the Chariot server 9 // itself, similar to how K8s clients can register arbitrary 10 // types and operator against them. 11 package v1alpha1 12 13 import ( 14 "k8s.io/apimachinery/pkg/runtime/schema" 15 16 "edge-infra.dev/pkg/edge/constants" 17 ) 18 19 var ( 20 // GroupVersion is group version used to register these objects 21 GroupVersion = schema.GroupVersion{Group: "fns." + constants.Domain, Version: "v1alpha1"} 22 ) 23