v1_0

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToIgn3_4Bytes

func ToIgn3_4Bytes(input []byte, options common.TranslateBytesOptions) ([]byte, report.Report, error)

ToIgn3_4Bytes translates from a v1.1 Butane config to a v3.4.0 Ignition config. It returns a report of any errors or warnings in the source and resultant config. If the report has fatal errors or it encounters other problems translating, an error is returned.

Types

type Config

type Config struct {
	base.Config `yaml:",inline"`
}

func (Config) FieldFilters

func (c Config) FieldFilters() *cutil.FieldFilters

Return FieldFilters for this spec.

func (Config) ToIgn3_4

func (c Config) ToIgn3_4(options common.TranslateOptions) (types.Config, report.Report, error)

ToIgn3_4 translates the config to an Ignition config. It returns a report of any errors or warnings in the source and resultant config. If the report has fatal errors or it encounters other problems translating, an error is returned.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL