file

package
v0.10.13 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// input
	BindingContextPath string
	ValuesPath         string
	ConfigValuesPath   string

	// output
	MetricsPath          string
	KubernetesPath       string
	ValuesJSONPath       string
	ConfigValuesJSONPath string

	HookConfigPath string

	CreateFilesByYourself bool
}

type Request

type Request struct {
	BindingContextPath string
	ValuesPath         string
	ConfigValuesPath   string
	// contains filtered or unexported fields
}

func (*Request) GetBindingContexts

func (r *Request) GetBindingContexts() ([]bindingcontext.BindingContext, error)

func (*Request) GetConfigValues

func (r *Request) GetConfigValues() (map[string]any, error)

func (*Request) GetDependencyContainer

func (r *Request) GetDependencyContainer() pkg.DependencyContainer

func (*Request) GetValues

func (r *Request) GetValues() (map[string]any, error)

type Response

type Response struct {
	MetricsPath          string
	KubernetesPath       string
	ValuesJSONPath       string
	ConfigValuesJSONPath string

	CreateFilesByYourself bool
	// contains filtered or unexported fields
}

func (*Response) Send

func (r *Response) Send(res executor.Result) error

type Transport

type Transport struct {

	// input
	BindingContextPath string
	ValuesPath         string
	ConfigValuesPath   string

	// output
	MetricsPath          string
	KubernetesPath       string
	ValuesJSONPath       string
	ConfigValuesJSONPath string

	CreateFilesByYourself bool
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(cfg *Config, hookName string, dc pkg.DependencyContainer, logger *log.Logger) *Transport

func (*Transport) NewRequest

func (t *Transport) NewRequest() *Request

func (*Transport) NewResponse

func (t *Transport) NewResponse() *Response

Jump to

Keyboard shortcuts

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