[Agent] [Octopus] - caqa add aqga
This commit is contained in:
@@ -62,6 +62,21 @@ func getContainerList(all bool) []types.Container {
|
||||
return containers
|
||||
}
|
||||
|
||||
// ListService Deprecated
|
||||
func ListService() {
|
||||
|
||||
serviceList, err := apiClient.ServiceList(context.TODO(), types.ServiceListOptions{
|
||||
Filters: filters.Args{},
|
||||
Status: true,
|
||||
})
|
||||
if err != nil {
|
||||
log.ErrorF("error is %s", err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
utils.BeautifulPrint(serviceList)
|
||||
}
|
||||
|
||||
func GetAll() []types.ImageSummary {
|
||||
|
||||
list, err := apiClient.ImageList(context.TODO(), types.ImageListOptions{
|
||||
|
||||
Reference in New Issue
Block a user