Chore: Update apps codegen to v0.38.2 (#106111)
This commit is contained in:
@@ -3,16 +3,16 @@ package v1beta1
|
||||
import "k8s.io/apimachinery/pkg/runtime/schema"
|
||||
|
||||
const (
|
||||
// Group is the API group used by all kinds in this package
|
||||
Group = "folder.grafana.app"
|
||||
// Version is the API version used by all kinds in this package
|
||||
Version = "v1beta1"
|
||||
// APIGroup is the API group used by all kinds in this package
|
||||
APIGroup = "folder.grafana.app"
|
||||
// APIVersion is the API version used by all kinds in this package
|
||||
APIVersion = "v1beta1"
|
||||
)
|
||||
|
||||
var (
|
||||
// GroupVersion is a schema.GroupVersion consisting of the Group and Version constants for this package
|
||||
GroupVersion = schema.GroupVersion{
|
||||
Group: Group,
|
||||
Version: Version,
|
||||
Group: APIGroup,
|
||||
Version: APIVersion,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -24,5 +24,8 @@ type FolderMetadata struct {
|
||||
|
||||
// NewFolderMetadata creates a new FolderMetadata object.
|
||||
func NewFolderMetadata() *FolderMetadata {
|
||||
return &FolderMetadata{}
|
||||
return &FolderMetadata{
|
||||
Finalizers: []string{},
|
||||
Labels: map[string]string{},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
GROUP = Group
|
||||
VERSION = Version
|
||||
GROUP = APIGroup
|
||||
VERSION = APIVersion
|
||||
RESOURCE = "folders"
|
||||
APIVERSION = GROUP + "/" + VERSION
|
||||
RESOURCEGROUP = RESOURCE + "." + GROUP
|
||||
|
||||
Reference in New Issue
Block a user