mirror of
https://github.com/hanzo-ml/spark-operator.git
synced 2026-10-30 20:39:07 +00:00
48 lines
1.6 KiB
Go
48 lines
1.6 KiB
Go
/*
|
|
Copyright 2025 The Kubeflow 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
|
|
|
|
https://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.
|
|
*/
|
|
// Code generated by lister-gen. DO NOT EDIT.
|
|
|
|
package scheme
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
|
|
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
|
|
schedulingv1alpha1 "sigs.k8s.io/scheduler-plugins/apis/scheduling/v1alpha1"
|
|
|
|
"github.com/kubeflow/spark-operator/v2/api/v1alpha1"
|
|
"github.com/kubeflow/spark-operator/v2/api/v1beta2"
|
|
)
|
|
|
|
// Scheme holds the aggregated Kubernetes's schemes and extended schemes.
|
|
var ControllerScheme = runtime.NewScheme()
|
|
var WebhookScheme = runtime.NewScheme()
|
|
|
|
func init() {
|
|
utilruntime.Must(clientgoscheme.AddToScheme(ControllerScheme))
|
|
utilruntime.Must(schedulingv1alpha1.AddToScheme(ControllerScheme))
|
|
|
|
utilruntime.Must(v1alpha1.AddToScheme(ControllerScheme))
|
|
utilruntime.Must(v1beta2.AddToScheme(ControllerScheme))
|
|
// +kubebuilder:scaffold:scheme
|
|
|
|
utilruntime.Must(clientgoscheme.AddToScheme(WebhookScheme))
|
|
|
|
utilruntime.Must(v1alpha1.AddToScheme(WebhookScheme))
|
|
utilruntime.Must(v1beta2.AddToScheme(WebhookScheme))
|
|
// +kubebuilder:scaffold:scheme
|
|
}
|