config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Forwards []PortForwardConfiguration `json:"forwards"`

	Logs LogsConfiguration `json:"logs"`
}

func ReadConfiguration

func ReadConfiguration(filename string) (Configuration, error)

type LogsConfiguration

type LogsConfiguration struct {
	Level  string `json:"level"`
	Pretty bool   `json:"pretty"`
}

type PortForwardConfiguration

type PortForwardConfiguration struct {
	Name  string   `json:"name"`
	Ports []string `json:"ports"`

	Namespace string `json:"namespace"`
	Resource  string `json:"resource"`
}

Jump to

Keyboard shortcuts

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