rawparams

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigBlameParamsRaw

type ConfigBlameParamsRaw struct {
	IncludeDefaults bool   `json:"include-defaults" yaml:"include-defaults"`
	Path            string `json:"path" yaml:"path"`
}

func NewConfigBlameParamsRaw

func NewConfigBlameParamsRaw() *ConfigBlameParamsRaw

func (*ConfigBlameParamsRaw) GetMethod

func (c *ConfigBlameParamsRaw) GetMethod() types.CommandType

func (*ConfigBlameParamsRaw) SetIncludeDefaults

func (c *ConfigBlameParamsRaw) SetIncludeDefaults(includeDefaults bool) *ConfigBlameParamsRaw

func (*ConfigBlameParamsRaw) SetPath

func (*ConfigBlameParamsRaw) UnRaw

type ConfigLoadRaw

type ConfigLoadRaw struct {
	Name     string                `json:"name" yaml:"name"`
	Prio     int32                 `json:"prio" yaml:"prio"`
	Flags    *UpdateInsertFlagsRaw `json:"flags" yaml:"flags"`
	Format   string                `json:"format" yaml:"format"`
	BasePath string                `json:"base-path" yaml:"base-path"`
	// either File or Data
	File string `json:"file,omitempty" yaml:"file,omitempty"`
	Data []byte `json:"data,omitempty" yaml:"data,omitempty"`
}

func NewConfigLoadRaw

func NewConfigLoadRaw() *ConfigLoadRaw

func (*ConfigLoadRaw) GetBasePath

func (i *ConfigLoadRaw) GetBasePath() string

func (*ConfigLoadRaw) GetData

func (i *ConfigLoadRaw) GetData() []byte

func (*ConfigLoadRaw) GetFile

func (i *ConfigLoadRaw) GetFile() string

func (*ConfigLoadRaw) GetFlags

func (i *ConfigLoadRaw) GetFlags() *UpdateInsertFlagsRaw

func (*ConfigLoadRaw) GetFormat

func (i *ConfigLoadRaw) GetFormat() string

func (*ConfigLoadRaw) GetMethod

func (i *ConfigLoadRaw) GetMethod() types.CommandType

func (*ConfigLoadRaw) GetName

func (i *ConfigLoadRaw) GetName() string

func (*ConfigLoadRaw) GetPrio

func (i *ConfigLoadRaw) GetPrio() int32

func (*ConfigLoadRaw) SetBasePath

func (i *ConfigLoadRaw) SetBasePath(bp string) *ConfigLoadRaw

func (*ConfigLoadRaw) SetData

func (i *ConfigLoadRaw) SetData(data []byte) *ConfigLoadRaw

func (*ConfigLoadRaw) SetFile

func (i *ConfigLoadRaw) SetFile(file string) *ConfigLoadRaw

func (*ConfigLoadRaw) SetFlags

func (i *ConfigLoadRaw) SetFlags(flags *UpdateInsertFlagsRaw) *ConfigLoadRaw

func (*ConfigLoadRaw) SetFormat

func (i *ConfigLoadRaw) SetFormat(format string) *ConfigLoadRaw

func (*ConfigLoadRaw) SetName

func (i *ConfigLoadRaw) SetName(name string) *ConfigLoadRaw

func (*ConfigLoadRaw) SetPrio

func (i *ConfigLoadRaw) SetPrio(prio int32) *ConfigLoadRaw

func (*ConfigLoadRaw) UnRaw

func (i *ConfigLoadRaw) UnRaw() (executor.RunCommand, error)

type ConfigShowConfigRaw

type ConfigShowConfigRaw struct {
	All          bool   `json:"all" yaml:"all"`
	Path         string `json:"path" yaml:"path"`
	OutputFormat string `json:"format" yaml:"format"`
}

func NewConfigShowConfigRaw

func NewConfigShowConfigRaw() *ConfigShowConfigRaw

func (*ConfigShowConfigRaw) GetMethod

func (c *ConfigShowConfigRaw) GetMethod() types.CommandType

func (*ConfigShowConfigRaw) SetAll

func (*ConfigShowConfigRaw) SetOutputFormat

func (c *ConfigShowConfigRaw) SetOutputFormat(f string) *ConfigShowConfigRaw

func (*ConfigShowConfigRaw) SetPath

func (*ConfigShowConfigRaw) UnRaw

type ConfigValidateRaw

type ConfigValidateRaw struct{}

func NewConfigValidateRaw

func NewConfigValidateRaw() *ConfigValidateRaw

func (*ConfigValidateRaw) GetMethod

func (c *ConfigValidateRaw) GetMethod() types.CommandType

func (*ConfigValidateRaw) UnRaw

type DiffConfigRaw

type DiffConfigRaw struct {
	DiffType     string `json:"diff_type" yaml:"diff_type"`
	Format       string `json:"format" yaml:"format"`
	ContextLines int    `json:"context_lines" yaml:"context_lines"`
	Width        int    `json:"width" yaml:"width"`
	NoColor      bool   `json:"no_color" yaml:"no_color"`
	NoShowHeader bool   `json:"no_show_header" yaml:"no_show_header"`
	Path         string `json:"path" yaml:"path"`
}

func NewDiffConfigRaw

func NewDiffConfigRaw() *DiffConfigRaw

func (*DiffConfigRaw) GetMethod

func (c *DiffConfigRaw) GetMethod() types.CommandType

func (*DiffConfigRaw) SetConfig

func (d *DiffConfigRaw) SetConfig(c string) *DiffConfigRaw

func (*DiffConfigRaw) SetContextLines

func (d *DiffConfigRaw) SetContextLines(l int) *DiffConfigRaw

func (*DiffConfigRaw) SetDiffType

func (d *DiffConfigRaw) SetDiffType(dt string) *DiffConfigRaw

func (*DiffConfigRaw) SetNoColor

func (d *DiffConfigRaw) SetNoColor(b bool) *DiffConfigRaw

func (*DiffConfigRaw) SetPath

func (d *DiffConfigRaw) SetPath(p string) *DiffConfigRaw

func (*DiffConfigRaw) SetShowHeader

func (d *DiffConfigRaw) SetShowHeader(b bool) *DiffConfigRaw

func (*DiffConfigRaw) SetWidth

func (d *DiffConfigRaw) SetWidth(w int) *DiffConfigRaw

func (*DiffConfigRaw) UnRaw

func (d *DiffConfigRaw) UnRaw() (executor.RunCommand, error)

type SchemaLoadConfigRaw

type SchemaLoadConfigRaw struct {
	File string `json:"file,omitempty" yaml:"file,omitempty"`
	Data []byte `json:"data,omitempty" yaml:"data,omitempty"`
}

func NewSchemaLoadConfigRaw

func NewSchemaLoadConfigRaw() *SchemaLoadConfigRaw

func (*SchemaLoadConfigRaw) GetMethod

func (s *SchemaLoadConfigRaw) GetMethod() types.CommandType

func (*SchemaLoadConfigRaw) SetData

func (s *SchemaLoadConfigRaw) SetData(data []byte) *SchemaLoadConfigRaw

func (*SchemaLoadConfigRaw) SetFile

func (s *SchemaLoadConfigRaw) SetFile(file string) error

func (*SchemaLoadConfigRaw) UnRaw

type UpdateInsertFlagsRaw

type UpdateInsertFlagsRaw struct {
	New          bool `json:"new" yaml:"new"`
	Delete       bool `json:"delete" yaml:"delete"`
	OnlyIntended bool `json:"only_intended" yaml:"only_intended"`
}

func (*UpdateInsertFlagsRaw) UnRaw

Jump to

Keyboard shortcuts

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