2019-03-12 01:28:47 +08:00
|
|
|
package formats
|
|
|
|
|
|
|
|
import (
|
2025-06-24 03:11:06 +08:00
|
|
|
"github.com/containers/common/pkg/formats"
|
2019-03-12 01:28:47 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// JSONString const to save on duplicate variable names
|
2025-06-24 03:11:06 +08:00
|
|
|
JSONString = formats.JSONString
|
2019-03-12 01:28:47 +08:00
|
|
|
// IDString const to save on duplicates for Go templates
|
2025-06-24 03:11:06 +08:00
|
|
|
IDString = formats.IDString
|
2019-03-12 01:28:47 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
// Writer interface for outputs
|
2025-06-24 03:11:06 +08:00
|
|
|
type Writer = formats.Writer
|
2019-03-12 01:28:47 +08:00
|
|
|
|
|
|
|
// JSONStructArray for JSON output
|
2025-06-24 03:11:06 +08:00
|
|
|
type JSONStructArray = formats.JSONStructArray
|
2019-03-12 01:28:47 +08:00
|
|
|
|
|
|
|
// StdoutTemplateArray for Go template output
|
2025-06-24 03:11:06 +08:00
|
|
|
type StdoutTemplateArray = formats.StdoutTemplateArray
|
2019-03-12 01:28:47 +08:00
|
|
|
|
|
|
|
// JSONStruct for JSON output
|
2025-06-24 03:11:06 +08:00
|
|
|
type JSONStruct = formats.JSONStruct
|
2019-03-12 01:28:47 +08:00
|
|
|
|
|
|
|
// StdoutTemplate for Go template output
|
2025-06-24 03:11:06 +08:00
|
|
|
type StdoutTemplate = formats.StdoutTemplate
|
2019-03-12 01:28:47 +08:00
|
|
|
|
|
|
|
// YAMLStruct for YAML output
|
2025-06-24 03:11:06 +08:00
|
|
|
type YAMLStruct = formats.YAMLStruct
|