file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
ui/src/components/app-shell.ts
TypeScript
/** * App Shell - Main application layout component * Uses RHDS rh-navigation-primary with built-in hamburger toggle */ import { LitElement, html, css } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { k8sClient } from '../lib/k8s-client.js'; import { navigate } from '../lib/router.js'...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/builder/global-settings.ts
TypeScript
/** * Global Settings - Pipeline-wide configuration * Following RHDS tab and form patterns */ import { LitElement, html, css } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import type { Pipeline, EnvVar } from '../../types/pipeline.js'; import { k8sClient } from '../../lib/k8s-cli...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/builder/pipeline-canvas.ts
TypeScript
/** * Pipeline Canvas - Visual pipeline builder with drag-and-drop * Following RHDS patterns for cards and interactions */ import { LitElement, html, css } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { stringify as yamlStringify, parse as yamlParse } from 'yaml'; import type { Pipel...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/builder/step-editor.ts
TypeScript
/** * Step Editor - Edit step configuration * Following RHDS form patterns */ import { LitElement, html, css } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import type { PipelineStep, EnvVar, EnvFromSource } from '../../types/pipeline.js'; import { validateStepName } from '../../l...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/monitor/pipeline-detail.ts
TypeScript
/** * Pipeline Detail - Shows detailed view of a single pipeline * Following RHDS patterns for tabs and data display */ import { LitElement, html, css, svg } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { stringify as yamlStringify } from 'yaml'; import type { Pipeline, ...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/monitor/pipeline-list.ts
TypeScript
/** * Pipeline List - Displays all pipelines with status * Following RHDS card and list patterns */ import { LitElement, html, css } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import type { Pipeline, StepStatus } from '../../types/pipeline.js'; import { k8sClient } from '../../lib/k8s-cli...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/monitor/step-detail.ts
TypeScript
/** * Step Detail - Shows detailed information about a pipeline step * Following RHDS patterns for panels and data display */ import { LitElement, html, css, nothing } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { guard } from 'lit/directives/guard.js'; import type { Pipel...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/shared/code-editor.ts
TypeScript
/** * Code Editor - A CodeMirror-based editor with syntax highlighting * Supports multiple languages: bash, python, yaml, javascript */ import { LitElement, html, css } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { EditorState } from '@codemirror/state'; import { EditorV...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/shared/side-drawer.ts
TypeScript
/** * Side Drawer - A drawer that slides in from the right * Used for editing step details and global settings */ import { LitElement, html, css } from 'lit'; import { customElement, property } from 'lit/decorators.js'; @customElement('side-drawer') export class SideDrawer extends LitElement { @property({ type: ...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/shared/status-badge.ts
TypeScript
/** * Status Badge - Displays pipeline/step status with consistent styling * Uses RHDS rh-tag component */ import { LitElement, html, css } from 'lit'; import { customElement, property } from 'lit/decorators.js'; import type { PipelinePhase, StepPhase } from '../../types/pipeline.js'; type StatusType = PipelinePha...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/storage/pvc-list.ts
TypeScript
/** * PVC List - Displays all PersistentVolumeClaims with management * Following RHDS card and list patterns */ import { LitElement, html, css } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { k8sClient } from '../../lib/k8s-client.js'; interface PVC { metadata: { name: string; nam...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/components/storage/secret-list.ts
TypeScript
/** * Secret List - Displays all Secrets with management * Following RHDS card and list patterns */ import { LitElement, html, css } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { k8sClient } from '../../lib/k8s-client.js'; interface Secret { metadata: { name: string; namespace: s...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/lib/graph-layout.ts
TypeScript
/** * Graph layout utilities for pipeline visualization * Uses ELK.js for automatic DAG layout */ import ELK, { type ElkNode, type ElkExtendedEdge } from 'elkjs/lib/elk.bundled.js'; import type { Pipeline, PipelineNode, PipelineEdge, PipelineGraph } from '../types/pipeline.js'; const elk = new ELK(); // Layout op...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/lib/k8s-client.ts
TypeScript
/** * Kubernetes API Client for Pipeline CRD * Communicates with the Kubernetes API server via proxy */ import type { Pipeline, PipelineList, WatchEvent, ApiError } from '../types/pipeline.js'; export class K8sClient { private baseUrl: string; constructor(baseUrl = '') { this.baseUrl = baseUrl; } /**...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/lib/router.ts
TypeScript
/** * Simple router using native URLPattern API * No external dependencies required */ export interface Route { pattern: URLPattern; component: string; name: string; } export interface RouteMatch { route: Route; params: Record<string, string>; } class AppRouter { private routes: Route[] = []; privat...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/main.ts
TypeScript
/** * JobRunner UI - Main Entry Point * * A pipeline builder and monitor for Kubernetes using * Red Hat Design System components. */ // ============================================ // RHDS Elements - Import all components via main entry // ============================================ import '@rhds/elements'; impo...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/server.ts
TypeScript
/** * JobRunner UI Development Server * Built with Bun for fast development and production serving */ import { existsSync } from 'fs'; import { join, extname } from 'path'; const isProduction = Bun.argv.includes('--production'); const PORT = Number(process.env.PORT) || 3000; const K8S_API_URL = process.env.K8S_API...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/styles/global.css
CSS
/** * Global styles for JobRunner UI * Uses Red Hat Design System tokens */ /* Import RHDS tokens if not loaded via CDN */ /* @import '@rhds/tokens/css/global.css'; */ /* Reset and base styles */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 16px; -webkit-fo...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
ui/src/types/pipeline.ts
TypeScript
/** * Pipeline CRD TypeScript definitions * Matches the Go types in api/v1/pipeline_types.go */ export interface Pipeline { apiVersion: 'pipeline.yaacov.io/v1'; kind: 'Pipeline'; metadata: ObjectMeta; spec: PipelineSpec; status?: PipelineStatus; } export interface PipelineList { apiVersion: string; k...
yaacov/jobrunner
1
A job runner runs Kubernetes jobs sequentially.
TypeScript
yaacov
Yaacov Zamir
Red Hat
cmd/karl/main.go
Go
package main import ( "encoding/json" "flag" "fmt" "os" "github.com/yaacov/karl-interpreter/pkg/karl" "gopkg.in/yaml.v2" ) func main() { var ( outputFormat = flag.String("format", "yaml", "Output format: yaml or json") prettyOutput = flag.Bool("pretty", false, "Pretty print output") showHelp = flag....
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/converter.go
Go
package karl import ( "fmt" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // Converter handles conversion of KARL rules to Kubernetes affinity type Converter struct{} // NewConverter creates a new converter instance func NewConverter() *Converter { return &Converter{} } // ToAffin...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/converter_test.go
Go
package karl import ( "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) func TestToAffinity(t *testing.T) { converter := &Converter{} tests := []struct { name string rule KARLRule expectPod...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/interpreter.go
Go
package karl import ( corev1 "k8s.io/api/core/v1" ) // NewKARLInterpreter creates a new KARL interpreter instance func NewKARLInterpreter() *KARLInterpreter { return &KARLInterpreter{ parser: NewParser(), validator: NewValidator(), converter: NewConverter(), } } // Parse parses a single KARL rule from a ...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/interpreter_test.go
Go
package karl import ( "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestExpressiveLabelSelectors(t *testing.T) { interpreter := NewKARLInterpreter() tests := []struct { name string rule string expectError bool }{ { name: "Simple equ...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/parser.go
Go
package karl import ( "fmt" "strings" ) // Parser handles parsing of KARL rules and label selectors type Parser struct{} // NewParser creates a new parser instance func NewParser() *Parser { return &Parser{} } // ParseRule parses a complete KARL rule string func (p *Parser) ParseRule(karlRule string) (KARLRule, ...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/parser_test.go
Go
package karl import ( "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestParseRule(t *testing.T) { parser := &Parser{} tests := []struct { name string rule string expectError bool expectedType RuleType }{ { name: "REQUIRE rule"...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/types.go
Go
package karl import ( corev1 "k8s.io/api/core/v1" ) // RuleType represents the type of affinity rule type RuleType string const ( RuleTypeRequire RuleType = "REQUIRE" // Hard affinity RuleTypePrefer RuleType = "PREFER" // Soft affinity RuleTypeAvoid RuleType = "AVOID" // Hard anti-affinity RuleTypeRepel ...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/validator.go
Go
package karl import "fmt" // Validator handles validation of KARL rules type Validator struct{} // NewValidator creates a new validator instance func NewValidator() *Validator { return &Validator{} } // ValidateRule validates a single KARL rule func (v *Validator) ValidateRule(rule KARLRule) error { // Validate r...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
pkg/karl/validator_test.go
Go
package karl import ( "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestValidateRule(t *testing.T) { validator := &Validator{} tests := []struct { name string rule KARLRule expectError bool errorMsg string }{ { name: "Valid REQUIRE ru...
yaacov/karl-interpreter
0
KARL (Kubernetes Affinity Rule Language) is a human-readable domain-specific language for expressing Kubernetes pod affinity and anti-affinity rules.
Go
yaacov
Yaacov Zamir
Red Hat
demo/setup-aws-ec2.sh
Shell
#!/bin/bash # Minimal AWS EC2 Infrastructure Setup Script with idempotency # Check if EC2_REGION is set if [ -z "$EC2_REGION" ]; then echo "ERROR: EC2_REGION environment variable is not set" echo "Please set it first: export EC2_REGION=us-east-1" exit 1 fi # Set default VM name if not provided if [ -z "$E...
yaacov/kube-setup
0
A cross-platform shell script to mount NFS-shared OpenShift cluster credentials and export them as environment variables.
Shell
yaacov
Yaacov Zamir
Red Hat
forklift-cleanup.sh
Shell
#!/bin/bash # forklift-cleanup.sh - Remove Forklift operator from a Kubernetes/OpenShift cluster # # This script removes the Forklift installation in the correct order: # 1. Delete ForkliftController instance (and wait for cleanup) # 2. Delete the Forklift operator subscription and CSV # 3. Delete the namespace # # Usa...
yaacov/kube-setup
0
A cross-platform shell script to mount NFS-shared OpenShift cluster credentials and export them as environment variables.
Shell
yaacov
Yaacov Zamir
Red Hat
forklift-images.sh
Shell
#!/bin/bash # forklift-images.sh - Manage ForkliftController FQIN images # # This script lists, clears, or sets FQIN (Fully Qualified Image Name) images # in the ForkliftController spec. # # Usage: # ./forklift-images.sh # List current FQIN images # ./forklift-images.sh --list # List ...
yaacov/kube-setup
0
A cross-platform shell script to mount NFS-shared OpenShift cluster credentials and export them as environment variables.
Shell
yaacov
Yaacov Zamir
Red Hat
forklift-install.sh
Shell
#!/bin/bash # forklift-install.sh - Install Forklift operator on a Kubernetes/OpenShift cluster # # This script installs the Forklift operator from the official kubev2v/forklift repository. # On vanilla Kubernetes, it also installs OLM (Operator Lifecycle Manager). # On OpenShift, OLM is already present, so it's skippe...
yaacov/kube-setup
0
A cross-platform shell script to mount NFS-shared OpenShift cluster credentials and export them as environment variables.
Shell
yaacov
Yaacov Zamir
Red Hat
kube-setup.sh
Shell
#!/bin/sh # setup-cluster.sh - Setup NFS mount or CI zip file and export OpenShift cluster credentials # This script must be SOURCED, not executed: source ./setup-cluster.sh [--login] [--cleanup] # # Cross-platform: Linux/macOS, bash/zsh # Supports two modes: # 1. NFS mount mode: Set NFS_SERVER to mount credentials f...
yaacov/kube-setup
0
A cross-platform shell script to mount NFS-shared OpenShift cluster credentials and export them as environment variables.
Shell
yaacov
Yaacov Zamir
Red Hat
kubevirt-install.sh
Shell
#!/bin/bash # kubevirt-install.sh - Install KubeVirt and CDI on a Kubernetes cluster # # This script installs KubeVirt and CDI (Containerized Data Importer) from # the official kubevirt repositories. # # Usage: ./kubevirt-install.sh [--no-cdi] [--version VERSION] [--cdi-version VERSION] set -e # Parse flags NO_CDI=0 ...
yaacov/kube-setup
0
A cross-platform shell script to mount NFS-shared OpenShift cluster credentials and export them as environment variables.
Shell
yaacov
Yaacov Zamir
Red Hat
_includes/custom-head.html
HTML
<!-- Anchor links for section headers --> <style> /* Hide the header navigation links (chapter list) */ .site-nav, .site-header .site-nav, header .site-nav, .trigger, nav.site-nav { display: none !important; } /* Header anchor link styles */ .header-anchor { opacity: 0; margin-left: 0.5em...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/archive/archive.go
Go
package archive import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) // NewArchiveCmd creates the archive command with all its subcommands func NewArchiveCmd(kubeConfigFlags *genericclioptions.ConfigFlags) *cobra.Command { cmd := &cobra.Command{ Use: "archive", Short: ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/archive/plan.go
Go
package archive import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/archive/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewPlanCmd creates the plan archiving comma...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/cancel/cancel.go
Go
package cancel import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) // NewCancelCmd creates the cancel command with all its subcommands func NewCancelCmd(kubeConfigFlags *genericclioptions.ConfigFlags) *cobra.Command { cmd := &cobra.Command{ Use: "cancel", Short: "Canc...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/cancel/plan.go
Go
package cancel import ( "encoding/json" "fmt" "os" "strings" "github.com/spf13/cobra" "gopkg.in/yaml.v3" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/cancel/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // N...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/cmd_test.go
Go
package cmd import ( "testing" "github.com/spf13/cobra" ) // TestAllCommandsHelp verifies that all commands can render help without panicking. // This catches flag shorthand conflicts that cause panics when cobra merges flag sets. // For example, if a local flag uses "-i" shorthand but a global flag already uses "...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/create.go
Go
package create import ( "github.com/spf13/cobra" "github.com/yaacov/kubectl-mtv/pkg/util/config" "k8s.io/cli-runtime/pkg/genericclioptions" ) // GlobalConfigGetter is a type alias for the shared config interface. // This maintains backward compatibility while using the centralized interface definition. type Global...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/hook.go
Go
package create import ( "fmt" "os" "strings" forkliftv1beta1 "github.com/kubev2v/forklift/pkg/apis/forklift/v1beta1" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/create/hook" "github.com/yaacov/kubectl-mtv/pkg/util/client" ) // NewHookCmd creates...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/host.go
Go
package create import ( "fmt" "os" "strings" forkliftv1beta1 "github.com/kubev2v/forklift/pkg/apis/forklift/v1beta1" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/create/host" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kube...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/mapping.go
Go
package create import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/create/mapping" "github.com/yaacov/kubectl-mtv/pkg/util/client" ) // NewMappingCmd creates the mapping creation command with subcommands func NewMappingCmd(kubeConfigFlags *genericcl...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/plan.go
Go
package create import ( "encoding/json" "fmt" "os" "strings" forkliftv1beta1 "github.com/kubev2v/forklift/pkg/apis/forklift/v1beta1" planv1beta1 "github.com/kubev2v/forklift/pkg/apis/forklift/v1beta1/plan" "github.com/spf13/cobra" "github.com/yaacov/karl-interpreter/pkg/karl" "gopkg.in/yaml.v3" corev1 "k8s....
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/provider.go
Go
package create import ( "os" "strings" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/create/provider" "github.com/yaacov/kubectl-mtv/pkg/cmd/create/provider/providerutil" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mt...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/create/vddk.go
Go
package create import ( "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/create/vddk" ) // NewVddkCmd creates the VDDK image creation command func NewVddkCmd(globalConfig GlobalConfigGetter, kubeConfigFlags *genericclioptions.ConfigFlags) *cobra.Co...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/cutover/cutover.go
Go
package cutover import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) // NewCutoverCmd creates the cutover command with all its subcommands func NewCutoverCmd(kubeConfigFlags *genericclioptions.ConfigFlags) *cobra.Command { cmd := &cobra.Command{ Use: "cutover", Short: ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/cutover/plan.go
Go
package cutover import ( "errors" "fmt" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/cutover/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewPlanCmd creates the plan cutover...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/delete/delete.go
Go
package delete import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) // NewDeleteCmd creates the delete command with all its subcommands func NewDeleteCmd(kubeConfigFlags *genericclioptions.ConfigFlags) *cobra.Command { cmd := &cobra.Command{ Use: "delete", Short: "Dele...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/delete/hook.go
Go
package delete import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/delete/hook" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewHookCmd creates the delete hook command fu...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/delete/host.go
Go
package delete import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/delete/host" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewHostCmd creates the delete host command fu...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/delete/mapping.go
Go
package delete import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/delete/mapping" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewMappingCmd creates the mapping deletion...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/delete/plan.go
Go
package delete import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/delete/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewPlanCmd creates the plan deletion command ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/delete/provider.go
Go
package delete import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/delete/provider" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewProviderCmd creates the provider delet...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/describe/describe.go
Go
package describe import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" ) // NewDescribeCmd creates the describe command with all its subcommands func NewDescribeCmd(kubeConfigFlags *genericclioptions.ConfigFlags, globalConfig get.GlobalConfigGetter) *...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/describe/hook.go
Go
package describe import ( "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" "github.com/yaacov/kubectl-mtv/pkg/cmd/describe/hook" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewHookCmd...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/describe/host.go
Go
package describe import ( "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" "github.com/yaacov/kubectl-mtv/pkg/cmd/describe/host" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewHostCmd...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/describe/mapping.go
Go
package describe import ( "fmt" "github.com/spf13/cobra" "github.com/yaacov/kubectl-mtv/cmd/get" "github.com/yaacov/kubectl-mtv/pkg/cmd/describe/mapping" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewMappingCmd creates the mapping description comma...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/describe/plan.go
Go
package describe import ( "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" plan "github.com/yaacov/kubectl-mtv/pkg/cmd/describe/plan" vm "github.com/yaacov/kubectl-mtv/pkg/cmd/describe/vm" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/get.go
Go
package get import ( "github.com/spf13/cobra" "github.com/yaacov/kubectl-mtv/pkg/util/config" "k8s.io/cli-runtime/pkg/genericclioptions" "k8s.io/klog/v2" ) // GlobalConfigGetter defines the interface for getting global configuration // This is a type alias for the shared config.GlobalConfigGetter interface // to ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/hook.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/hook" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) // N...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/host.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/host" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) // N...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory.go
Go
package get import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) // NewInventoryCmd creates the inventory command with all its subcommands func NewInventoryCmd(kubeConfigFlags *genericclioptions.ConfigFlags, globalConfig GlobalConfigGetter) *cobra.Command { cmd := &cobra.Command{ Use: ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_all.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_ec2.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "k8s.io/klog/v2" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_openshift.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_openstack.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_ovirt.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_ovirt_vsphere.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_provider.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/inventory_vsphere.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/inventory" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/mapping.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/mapping" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) // NewMappingCmd creates the get mapping comm...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/plan.go
Go
package get import ( "context" "fmt" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/get/provider.go
Go
package get import ( "context" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/get/provider" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) ...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/health/health.go
Go
package health import ( "context" "fmt" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" pkghealth "github.com/yaacov/kubectl-mtv/pkg/cmd/health" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) // GlobalConfigGetter is an interface for accessing global configuration type GlobalConf...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/help/help.go
Go
package help import ( "encoding/json" "fmt" "strings" "github.com/spf13/cobra" "gopkg.in/yaml.v3" "github.com/yaacov/kubectl-mtv/pkg/cmd/help" ) // NewHelpCmd creates the help command with machine-readable output support. func NewHelpCmd(rootCmd *cobra.Command, clientVersion string) *cobra.Command { var mach...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/kubectl-mtv.go
Go
package cmd import ( "context" "flag" "fmt" "os" "github.com/spf13/cobra" "github.com/spf13/pflag" "k8s.io/cli-runtime/pkg/genericclioptions" "k8s.io/klog/v2" "github.com/yaacov/kubectl-mtv/cmd/archive" "github.com/yaacov/kubectl-mtv/cmd/cancel" "github.com/yaacov/kubectl-mtv/cmd/create" "github.com/yaac...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/mcpserver/mcpserver.go
Go
package mcpserver import ( "context" "fmt" "log" "net" "net/http" "os" "os/signal" "strings" "syscall" "time" "github.com/modelcontextprotocol/go-sdk/mcp" "github.com/spf13/cobra" "github.com/yaacov/kubectl-mtv/pkg/mcp/discovery" "github.com/yaacov/kubectl-mtv/pkg/mcp/tools" "github.com/yaacov/kubectl-...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/patch/mapping.go
Go
package patch import ( "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/patch/mapping" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewMappingCmd creates the mapping patch command with s...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/patch/patch.go
Go
package patch import ( "github.com/spf13/cobra" "github.com/yaacov/kubectl-mtv/pkg/util/config" "k8s.io/cli-runtime/pkg/genericclioptions" ) // GlobalConfigGetter is a type alias for the shared config interface. // This maintains backward compatibility while using the centralized interface definition. type GlobalC...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/patch/plan.go
Go
package patch import ( "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/patch/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) // NewPlanCm...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/patch/provider.go
Go
package patch import ( "fmt" "os" "strings" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/patch/provider" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewProviderCmd creates the patch pro...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/settings/set.go
Go
package settings import ( "context" "fmt" "sort" "strings" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/settings" ) // NewSetCmd creates the 'settings set' subcommand. func NewSetCmd(kubeConfigFlags *genericclioptions.ConfigFlags, globalCo...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/settings/settings.go
Go
package settings import ( "context" "encoding/json" "fmt" "sort" "strings" "text/tabwriter" "time" "github.com/spf13/cobra" "gopkg.in/yaml.v3" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/settings" "github.com/yaacov/kubectl-mtv/pkg/util/config" "github.com/yaacov/ku...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/settings/unset.go
Go
package settings import ( "context" "fmt" "sort" "strings" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/settings" ) // NewUnsetCmd creates the 'settings unset' subcommand. func NewUnsetCmd(kubeConfigFlags *genericclioptions.ConfigFlags, gl...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/start/plan.go
Go
package start import ( "errors" "fmt" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" "github.com/yaacov/kubectl-mtv/pkg/cmd/start/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) /...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/start/start.go
Go
package start import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" ) // NewStartCmd creates the start command with all its subcommands func NewStartCmd(kubeConfigFlags *genericclioptions.ConfigFlags, globalConfig get.GlobalConfigGetter) *cobra.Comman...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/unarchive/plan.go
Go
package unarchive import ( "errors" "fmt" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/pkg/cmd/archive/plan" "github.com/yaacov/kubectl-mtv/pkg/util/client" "github.com/yaacov/kubectl-mtv/pkg/util/completion" ) // NewPlanCmd creates the plan unarchive com...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/unarchive/unarchive.go
Go
package unarchive import ( "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) // NewUnArchiveCmd creates the unarchive command with all its subcommands func NewUnArchiveCmd(kubeConfigFlags *genericclioptions.ConfigFlags) *cobra.Command { cmd := &cobra.Command{ Use: "unarchive", Shor...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
cmd/version/version.go
Go
package version import ( "context" "fmt" "time" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" "github.com/yaacov/kubectl-mtv/cmd/get" "github.com/yaacov/kubectl-mtv/pkg/cmd/version" "github.com/yaacov/kubectl-mtv/pkg/util/flags" ) // NewVersionCmd creates the version command func NewVe...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/auth/test_auth.py
Python
"""Auth -- verify that bearer-token authentication is enforced.""" import pytest from conftest import ( TEST_NAMESPACE, MCPToolError, _make_mcp_session, call_tool, ) # A clearly fake token that no Kubernetes cluster would accept. BAD_TOKEN = "bad-token-this-should-never-authenticate" # A simple read...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/conftest.py
Python
""" Root conftest -- shared fixtures, helpers, and constants for MCP E2E tests. Tests assume a running MCP server is available at MCP_SSE_URL. Server lifecycle management (start/stop) is handled separately via make targets, allowing flexible deployment: - Binary mode: Local kubectl-mtv process - Container mode: D...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/health/test_check.py
Python
"""Health · read -- verify the MTV health report.""" import pytest from conftest import ( OCP_PROVIDER_NAME, TEST_NAMESPACE, VSPHERE_PROVIDER_NAME, call_tool, ) @pytest.mark.order(70) async def test_health_report(mcp_session): """Run the health command scoped to the test namespace.""" result...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/hosts/test_create.py
Python
"""Hosts · write -- create an ESXi host resource.""" import pytest from conftest import ( ESXI_HOST_NAME, ESXI_USERNAME, ESXI_PASSWORD, TEST_NAMESPACE, VSPHERE_PROVIDER_NAME, call_tool, ) @pytest.mark.order(14) async def test_create_host(mcp_session): """Create an ESXi host resource usin...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/hosts/test_read.py
Python
"""Hosts · read -- list and describe ESXi hosts.""" import pytest from conftest import ( ESXI_HOST_NAME, TEST_NAMESPACE, VSPHERE_PROVIDER_NAME, call_tool, ) # Module-level store so test_describe_host can reuse the discovered K8s name. _discovered_resource_name: str | None = None def _find_host_reso...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/inventory/test_read.py
Python
"""Inventory · read -- query vSphere inventory for VMs, datastores, networks, hosts.""" import pytest from conftest import ( COLD_VMS, ESXI_HOST_NAME, TEST_DATASTORE_NAME, TEST_NAMESPACE, TEST_NETWORK_NAME, VSPHERE_PROVIDER_NAME, WARM_VMS, call_tool, ) # All test VMs that must exist i...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/mappings/test_read.py
Python
"""Mappings · read -- verify auto-generated network and storage mappings.""" import pytest from conftest import TEST_NAMESPACE, call_tool @pytest.mark.order(50) async def test_get_network_mappings(mcp_session): """Verify auto-generated network mappings exist.""" result = await call_tool(mcp_session, "mtv_re...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat
e2e/mcp/plans/test_create.py
Python
"""Plans · write -- create cold and warm migration plans.""" import pytest from conftest import ( COLD_PLAN_NAME, COLD_VMS, NETWORK_PAIRS, OCP_PROVIDER_NAME, STORAGE_PAIRS, TEST_NAMESPACE, VSPHERE_PROVIDER_NAME, WARM_PLAN_NAME, WARM_VMS, call_tool, ) @pytest.mark.order(15) as...
yaacov/kubectl-mtv
11
A kubectl plugin that helps users of Forklift migrate virtualization workloads from oVirt, VMware, OpenStack, and OVA files to KubeVirt on Kubernetes.
Go
yaacov
Yaacov Zamir
Red Hat