mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
25 lines
854 B
Go
25 lines
854 B
Go
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License-AGPL.txt in the project root for license information.
|
|
|
|
// Package v1 contains API Schema definitions for the workspace v1 API group
|
|
// +kubebuilder:object:generate=true
|
|
// +groupName=workspace.gitpod.io
|
|
package v1
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/runtime/schema"
|
|
"sigs.k8s.io/controller-runtime/pkg/scheme"
|
|
)
|
|
|
|
var (
|
|
// GroupVersion is group version used to register these objects
|
|
GroupVersion = schema.GroupVersion{Group: "workspace.gitpod.io", Version: "v1"}
|
|
|
|
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
|
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
|
|
|
// AddToScheme adds the types in this group-version to the given scheme.
|
|
AddToScheme = SchemeBuilder.AddToScheme
|
|
)
|