config

package
v0.0.0-...-90561fa Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfgRegistry

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

func NewRegistry

func NewRegistry(path string) (*CfgRegistry, error)

func (*CfgRegistry) GetConfig

func (*CfgRegistry) GetProfiles

func (cr *CfgRegistry) GetProfiles(_ context.Context) ([]domain.ConfigProfile, error)

func (*CfgRegistry) Init

func (cr *CfgRegistry) Init(ctx context.Context) error

type Registry

type Registry interface {
	GetProfiles(ctx context.Context) ([]domain.ConfigProfile, error)
	GetConfig(ctx context.Context, profile domain.ConfigProfile) (*databricksconfig.Config, error)
}

Jump to

Keyboard shortcuts

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