Skip to content

Instantly share code, notes, and snippets.

View sarthaksarthak9's full-sized avatar
๐Ÿ
Yashin-tekina

Sarthak Negi sarthaksarthak9

๐Ÿ
Yashin-tekina
View GitHub Profile
package scaffolds

// Scaffolder scaffolds the Kubebuilder updater files
type Scaffolder struct {
	// Config is the project configuration
	Config config.Config

	// ScheduleInterval is the update check interval (in cron format)
	ScheduleInterval string
package v1alpha

const pluginName = "grafana." + plugins.DefaultNameQualifier

var (
	pluginVersion            = plugin.Version{Number: 1, Stage: stage.Alpha}
	supportedProjectVersions = []config.Version{cfgv3.Version}
	pluginKey                = plugin.KeyFor(Plugin{})
)
package v1alpha

var _ plugin.InitSubcommand = &initSubcommand{}

type initSubcommand struct {
	config config.Config
}

func (p *initSubcommand) UpdateMetadata(cliMeta plugin.CLIMetadata, subcmdMeta *plugin.SubcommandMetadata) {
#!/bin/bash
set -e

# This script performs a 3-way merge between:
# 1. Original Kubebuilder template (base)
# 2. Current project state (ours)
# 3. Latest Kubebuilder template (theirs)

# Set up variables
@sarthaksarthak9
sarthaksarthak9 / proposal.md
Last active August 10, 2023 15:20
LFX'23 PROJECT PROPOSAL (KubeEdge)
@sarthaksarthak9
sarthaksarthak9 / proposal.md
Last active May 20, 2023 12:21
LFX'23 PROJECT PROPOSAL (ARMADA)