Chore: Remove CRD generation (#67286)

This commit is contained in:
Todd Treece
2023-04-26 09:52:13 -04:00
committed by GitHub
parent 4b3aead2d0
commit a420040c73
27 changed files with 0 additions and 1456 deletions
@@ -1,56 +0,0 @@
# Code generated - EDITING IS FUTILE. DO NOT EDIT.
#
# Generated by:
# kinds/gen.go
# Using jennies:
# YamlCRDJenny
#
# Run 'make gen-cue' from repository root to regenerate.
kind: CustomResourceDefinition
apiVersion: apiextensions.k8s.io/v1
metadata:
name: publicdashboards.publicdashboard.core.grafana.com
spec:
group: publicdashboard.core.grafana.com
versions:
- name: v0-0alpha1
served: true
storage: true
schema:
openAPIV3Schema:
properties:
spec:
properties:
accessToken:
description: Unique public access token
type: string
annotationsEnabled:
description: Flag that indicates if annotations are enabled
type: boolean
dashboardUid:
description: Dashboard unique identifier referenced by this public dashboard
type: string
isEnabled:
description: Flag that indicates if the public dashboard is enabled
type: boolean
timeSelectionEnabled:
description: Flag that indicates if the time range picker is enabled
type: boolean
uid:
description: Unique public dashboard identifier
type: string
required:
- uid
- dashboardUid
- isEnabled
- annotationsEnabled
- timeSelectionEnabled
type: object
required:
- spec
type: object
names:
kind: PublicDashboard
plural: publicdashboards
scope: Namespaced
@@ -1,34 +0,0 @@
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
//
// Generated by:
// kinds/gen.go
// Using jennies:
// CRDTypesJenny
//
// Run 'make gen-cue' from repository root to regenerate.
package crd
import (
_ "embed"
"github.com/grafana/grafana/pkg/kinds/publicdashboard"
"github.com/grafana/kindsys/k8ssys"
)
// The CRD YAML representation of the PublicDashboard kind.
//
//go:embed publicdashboard.crd.yml
var CRDYaml []byte
// PublicDashboard is the Go CRD representation of a single PublicDashboard object.
// It implements [runtime.Object], and is used in k8s scheme construction.
type PublicDashboard struct {
k8ssys.Base[publicdashboard.PublicDashboard]
}
// PublicDashboardList is the Go CRD representation of a list PublicDashboard objects.
// It implements [runtime.Object], and is used in k8s scheme construction.
type PublicDashboardList struct {
k8ssys.ListBase[publicdashboard.PublicDashboard]
}