Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApplicationName ¶
func GetApplicationName() string
func GetTuiAppLayout ¶
func GetTuiAppLayout() *tview.Application
Construct & return the application instance.
func SearchDockerHub ¶
func SearchDockerHub( imageDetails *ImageSearchDetails, searchResponseStringChannel chan string, )
Perform search in Docker Hub using provided parameters & return result to caller.
Implementation Reference 1 : https://docs.docker.com/engine/api/sdk/
Implementation Reference 2 : https://docs.docker.com/engine/api/sdk/examples/
Command line reference for 'docker search' : https://docs.docker.com/engine/reference/commandline/search/
Types ¶
type ImageSearchDetails ¶
type ImageSearchDetails struct { ImageName string // Stores the name of image. MinimumStars int // Stores the minimum number of stars to consider while searching. AutomatedOrManualBuildType int // Stores whether Default(0), Automated(1) or Manual(2) build type for search. OfficialOrCommunityBuildStatus int // Stores whether Default(0), Official(1) or Community(2) build status for search. SearchLimit int // Stores the limit of records to return while searching. }
Structure that holds necessary details regarding image to search from Docker Hub.
Click to show internal directories.
Click to hide internal directories.