command_components_madder

package
v0.0.0-...-f4532c8 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintBlobErrors

func PrintBlobErrors(
	envLocal env_local.Env,
	blobErrors collections_slice.Slice[BlobError],
)

Types

type BlobError

type BlobError struct {
	BlobId domain_interfaces.MarklId
	Err    error
}

type BlobStore

type BlobStore struct{}

func (*BlobStore) MakeBlobStoreFromConfigPath

func (cmd *BlobStore) MakeBlobStoreFromConfigPath(
	envBlobStore env_repo.BlobStoreEnv,
	basePath string,
	configPath string,
) (blobStore blob_stores.BlobStoreInitialized)

func (*BlobStore) MakeBlobStoreFromIdOrConfigPath

func (cmd *BlobStore) MakeBlobStoreFromIdOrConfigPath(
	envBlobStore env_repo.BlobStoreEnv,
	basePath string,
	blobStoreIndexOrConfigPath string,
) (blobStore blob_stores.BlobStoreInitialized)

func (*BlobStore) MakeBlobStoreFromIdString

func (cmd *BlobStore) MakeBlobStoreFromIdString(
	envBlobStore env_repo.BlobStoreEnv,
	blobStoreIdString string,
) (blobStore blob_stores.BlobStoreInitialized)

func (BlobStore) MakeBlobStoresFromIdsOrAll

func (cmd BlobStore) MakeBlobStoresFromIdsOrAll(
	req command.Request,
	envBlobStore env_repo.BlobStoreEnv,
) blob_stores.BlobStoreMap

func (BlobStore) MakeSourceAndDestinationBlobStoresFromIdsOrAll

func (cmd BlobStore) MakeSourceAndDestinationBlobStoresFromIdsOrAll(
	req command.Request,
	envBlobStore env_repo.BlobStoreEnv,
) (source blob_stores.BlobStoreInitialized, destinations blob_stores.BlobStoreMap)

type BlobStoreConfig

type BlobStoreConfig struct{}

func (BlobStoreConfig) PrintBlobStoreConfig

func (BlobStoreConfig) PrintBlobStoreConfig(
	ctx interfaces.ActiveContext,
	config *blob_store_configs.TypedConfig,
	out io.Writer,
) (err error)

This method temporarily modifies the config with a resolved base path

type BlobStoreLocal

type BlobStoreLocal struct{}

TODO remove and replace with BlobStore

func (BlobStoreLocal) MakeBlobStoreLocal

func (cmd BlobStoreLocal) MakeBlobStoreLocal(
	req command.Request,
	config repo_config_cli.Config,
	envOptions env_ui.Options,
) BlobStoreWithEnv

func (*BlobStoreLocal) SetFlagDefinitions

func (cmd *BlobStoreLocal) SetFlagDefinitions(
	flagSet interfaces.CLIFlagDefinitions,
)

type BlobStoreWithEnv

type BlobStoreWithEnv struct {
	env_ui.Env
	domain_interfaces.BlobStore
}

type Complete

type Complete struct {
	EnvBlobStore
}

func (Complete) GetFlagValueBlobIds

func (cmd Complete) GetFlagValueBlobIds(
	blobStoreId *blob_store_id.Id,
) interfaces.FlagValue

type EnvBlobStore

type EnvBlobStore struct{}

func (EnvBlobStore) MakeEnvBlobStore

func (cmd EnvBlobStore) MakeEnvBlobStore(
	req command.Request,
) env_repo.BlobStoreEnv

type Init

type Init struct{}

func (Init) InitBlobStore

type ResolvedArg

type ResolvedArg struct {
	Arg           string
	BlobReader    domain_interfaces.BlobReader
	BlobStoreId   blob_store_id.Id
	IsStoreSwitch bool
	Err           error
}

func ResolveFileOrBlobStoreId

func ResolveFileOrBlobStoreId(arg string) (resolved ResolvedArg)

Source Files

  • blob_error.go
  • blob_store.go
  • blob_store_config.go
  • blob_store_local.go
  • complete.go
  • env_blob_store.go
  • init.go
  • resolve_arg.go

Jump to

Keyboard shortcuts

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