(out io.Writer, info client.SwarmInspectResult)
| 140 | } |
| 141 | |
| 142 | func displayTrustRoot(out io.Writer, info client.SwarmInspectResult) error { |
| 143 | if info.Swarm.ClusterInfo.TLSInfo.TrustRoot == "" { |
| 144 | return errors.New("no CA information available") |
| 145 | } |
| 146 | _, _ = fmt.Fprintln(out, strings.TrimSpace(info.Swarm.ClusterInfo.TLSInfo.TrustRoot)) |
| 147 | return nil |
| 148 | } |
no outgoing calls
searching dependent graphs…