Documentation
¶
Index ¶
- Constants
- func Add(args ParsedAddArgs, force bool) error
- func Create(name string) error
- func DownloadFile(ctx context.Context, url string) ([]byte, error)
- func Fork(src, dst string) error
- func Import(ctx context.Context, nameOrURL string) error
- func Init(ctx context.Context) error
- func Ls(ctx context.Context, outputJSON bool) error
- func ReadCatalogFile(name string) ([]byte, error)
- func Reset(context.Context) error
- func Rm(name string) error
- func Show(ctx context.Context, name string, format Format) error
- func SupportedFormats() string
- func Update(ctx context.Context, args []string) error
- func ValidateArgs(args ParsedAddArgs) error
- func WriteCatalogFile(name string, content []byte) error
- func WriteConfig(cfg *Config) error
- type Catalog
- type Config
- type Format
- type MetaData
- type ParsedAddArgs
- type Registry
- type Tile
Constants ¶
View Source
const ( DockerCatalogName = "docker-mcp" DockerCatalogURL = "https://desktop.docker.com/mcp/catalog/v2/catalog.yaml" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶ added in v0.11.0
func Add(args ParsedAddArgs, force bool) error
func ReadCatalogFile ¶
func SupportedFormats ¶ added in v0.11.0
func SupportedFormats() string
func ValidateArgs ¶ added in v0.11.0
func ValidateArgs(args ParsedAddArgs) error
func WriteCatalogFile ¶
func WriteConfig ¶
Types ¶
type Config ¶
func ReadConfig ¶
type ParsedAddArgs ¶
func ParseAddArgs ¶ added in v0.11.0
func ParseAddArgs(dst, src, catalogFile string) *ParsedAddArgs
Click to show internal directories.
Click to hide internal directories.