migrate

package
v0.0.0-...-fa5fe1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolName = "TCP"
)

Variables

This section is empty.

Functions

func ConvertSecretToConfigMap

func ConvertSecretToConfigMap(ctx context.Context, clientset kubernetes.Interface, namespace, secretName string) error

ConvertSecretToConfigMap retrieves a secret and creates a ConfigMap with the same data.

func GenerateCertsForOperator

func GenerateCertsForOperator(cl client.Client, namespace string, rc *generator.GenerateCert) error

func To

func To[T any](v T) *T

Types

type Manifest

type Manifest struct {
	// contains filtered or unexported fields
}

func NewManifest

func NewManifest(cloudProvider, cloudRegion, kubeconfig, objectName, namespace, outputDir string) (*Manifest, error)

NewManifest constructs a Manifest with required fields and functional options

func (*Manifest) FromHelmChart

func (m *Manifest) FromHelmChart() error

func (*Manifest) FromPublicOperator

func (m *Manifest) FromPublicOperator() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL