()
| 49 | } |
| 50 | |
| 51 | func newClientContextContext() *clientContextContext { |
| 52 | ctx := clientContextContext{} |
| 53 | ctx.Header = SubHeaderContext{ |
| 54 | "Name": NameHeader, |
| 55 | "Description": DescriptionHeader, |
| 56 | "DockerEndpoint": dockerEndpointHeader, |
| 57 | "Error": ErrorHeader, |
| 58 | } |
| 59 | return &ctx |
| 60 | } |
| 61 | |
| 62 | func (c *clientContextContext) MarshalJSON() ([]byte, error) { |
| 63 | return MarshalJSON(c) |
no outgoing calls
no test coverage detected
searching dependent graphs…