Skip to content

Commit

Permalink
add scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ywhpy committed Nov 4, 2023
1 parent 543443e commit 27b17aa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions api/v1alpha1/scheme.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package v1alpha1

import (
runtime "k8s.io/apimachinery/pkg/runtime"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
)

var Scheme = runtime.NewScheme()
var Codecs = serializer.NewCodecFactory(Scheme)
var ParameterCodec = runtime.NewParameterCodec(Scheme)
var v1alpha1SchemeBuilder = runtime.SchemeBuilder{
AddToScheme,
}

0 comments on commit 27b17aa

Please sign in to comment.