Make image details public by Typ0genius · Pull Request #335 · apple/container

Conversation

@Typ0genius

I want to access the different variants of an image in my app, which information is only available in the ImageDetail. Although the function ClientImage.details() -> ImageDetail and its return type are already public, its properties aren’t, which prevents access to this information.

@katiewasnothere

Hi @Typ0genius thanks for the change! Could you add information to the PR description on the motivation behind this change?

@Typ0genius

katiewasnothere

@LiamKearn

Forgive if I'm wrong but I'm very much dropping into the project looking at recent commits to see if stuff I want has happened.

Isn't this the CLI/tool and public programmatic APIs should be done via the swift framework?

@dcantah

@LiamKearn While this repo IS where you can build the daemon/CLI, the project is still importable/usable as a dependency if you wanted to interact with the daemon programmatically as it contains the client we use in the cli.