MCPcopy Create free account
hub / github.com/docker/compose / ParameterMetadata

Struct ParameterMetadata

pkg/compose/plugins.go:296–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296type ParameterMetadata struct {
297 Name string `json:"name"`
298 Description string `json:"description"`
299 Required bool `json:"required"`
300 Type string `json:"type"`
301 Default string `json:"default,omitempty"`
302}
303
304func (c CommandMetadata) GetParameter(paramName string) (ParameterMetadata, bool) {
305 for _, p := range c.Parameters {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected