config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	// Gets the v1alpha1 casting configuration from the given path.
	// It validates the configuration and returns an error if the configuration is invalid.
	GetV1Alpha1(ctx context.Context, path string) (v1alpha1.Casting, error)

	// Creates the v1alpha1 casting lock file from the given configuration. This will have some support for checksumming in the future.
	CreateV1Alpha1Lock(ctx context.Context, config v1alpha1.Casting, path string) error

	// Gets the v1alpha1 lock file from the given path. This will validate the checksum of the configuration in the future.
	GetV1Alpha1Lock(ctx context.Context, path string) (v1alpha1.Casting, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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