equal
deleted
inserted
replaced
16 // YAMLPrinter represents a YAML printer |
16 // YAMLPrinter represents a YAML printer |
17 type YAMLPrinter struct { |
17 type YAMLPrinter struct { |
18 } |
18 } |
19 |
19 |
20 // NewPrinterYAML returns a YAML ResourcePrinter |
20 // NewPrinterYAML returns a YAML ResourcePrinter |
21 func NewPrinterYAML(option string) (*YAMLPrinter, error) { |
21 func NewPrinterYAML(options Options) (*YAMLPrinter, error) { |
22 return &YAMLPrinter{}, nil |
22 return &YAMLPrinter{}, nil |
23 } |
23 } |
24 |
24 |
25 // PrintObj sends the object as text to the writer |
25 // PrintObj sends the object as text to the writer |
26 // If the writer w is nil, standard output will be used. |
26 // If the writer w is nil, standard output will be used. |