(cmd *cobra.Command, args []string)
| 948 | fmt.Printf(" Backend: %s\n", t.GpuSpecification.Backend) |
| 949 | } |
| 950 | if len(t.GpuSpecification.Clusters) > 0 { |
| 951 | fmt.Printf(" Clusters: %v\n", t.GpuSpecification.Clusters) |
| 952 | } |
| 953 | } |
| 954 | if t.ContainerImage != "" { |
| 955 | fmt.Println("\nContainer:") |
| 956 | fmt.Printf(" Image: %s\n", t.ContainerImage) |
| 957 | if t.ContainerArgs != "" { |
| 958 | fmt.Printf(" Args: %s\n", t.ContainerArgs) |
| 959 | } |
| 960 | for _, env := range t.ContainerEnvironment { |
| 961 | fmt.Printf(" Env: %s=%s\n", env.Key, env.Value) |
| 962 | } |
| 963 | } |
| 964 | if len(t.Tags) > 0 { |
| 965 | fmt.Printf("\nTags: %s\n", strings.Join(t.Tags, ", ")) |
| 966 | } |
| 967 | if len(t.Secrets) > 0 { |
| 968 | fmt.Printf("\nSecret keys: %s\n", strings.Join(t.Secrets, ", ")) |
| 969 | } |
| 970 | if t.ResultHandlingStrategy != "" { |
| 971 | fmt.Printf("\nResult Strategy: %s\n", t.ResultHandlingStrategy) |
| 972 | if t.ResultsLocation != "" { |
| 973 | fmt.Printf("Results Location: %s\n", t.ResultsLocation) |
| 974 | } |
| 975 | } |
| 976 | if len(t.Instances) > 0 { |
| 977 | fmt.Printf("\nInstances (%d):\n", len(t.Instances)) |
| 978 | for _, inst := range t.Instances { |
| 979 | fmt.Printf(" - %s [%s] %s @ %s/%s\n", inst.InstanceID, inst.InstanceState, inst.InstanceType, inst.Backend, inst.Location) |
| 980 | } |
| 981 | } |
| 982 | return nil |
| 983 | } |
| 984 |
nothing calls this directly
no test coverage detected