Documentation
¶
Index ¶
- func PrintBlobErrors(envLocal env_local.Env, blobErrors collections_slice.Slice[BlobError])
- type BlobError
- type BlobStore
- func (cmd *BlobStore) MakeBlobStoreFromConfigPath(envBlobStore env_repo.BlobStoreEnv, basePath string, configPath string) (blobStore blob_stores.BlobStoreInitialized)
- func (cmd *BlobStore) MakeBlobStoreFromIdOrConfigPath(envBlobStore env_repo.BlobStoreEnv, basePath string, ...) (blobStore blob_stores.BlobStoreInitialized)
- func (cmd *BlobStore) MakeBlobStoreFromIdString(envBlobStore env_repo.BlobStoreEnv, blobStoreIdString string) (blobStore blob_stores.BlobStoreInitialized)
- func (cmd BlobStore) MakeBlobStoresFromIdsOrAll(req command.Request, envBlobStore env_repo.BlobStoreEnv) blob_stores.BlobStoreMap
- func (cmd BlobStore) MakeSourceAndDestinationBlobStoresFromIdsOrAll(req command.Request, envBlobStore env_repo.BlobStoreEnv) (source blob_stores.BlobStoreInitialized, destinations blob_stores.BlobStoreMap)
- type BlobStoreConfig
- type BlobStoreLocal
- type BlobStoreWithEnv
- type Complete
- type EnvBlobStore
- type Init
- type ResolvedArg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (cmd Init) InitBlobStore( ctx interfaces.ActiveContext, envBlobStore env_repo.BlobStoreEnv, id blob_store_id.Id, config *blob_store_configs.TypedConfig, ) (path directory_layout.BlobStorePath)
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
Click to show internal directories.
Click to hide internal directories.