overlays

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

func IsUrl

func IsUrl(str string) bool

Types

type Action

type Action struct {
	Target string      `json:"target,omitempty" yaml:"target,omitempty"`
	Remove bool        `json:"remove,omitempty" yaml:"remove,omitempty"`
	Update interface{} `json:"update,omitempty" yaml:"update,omitempty"`
	Where  interface{} `json:"where,omitempty" yaml:"where,omitempty"`
}

type Overlay

type Overlay struct {
	Overlays string   `json:"overlays,omitempty" yaml:"overlays,omitempty"`
	Extends  string   `json:"extends,omitempty" yaml:"extends,omitempty"`
	Actions  []Action `json:"actions,omitempty" yaml:"actions,omitempty"`
	// contains filtered or unexported fields
}

func NewOverlay

func NewOverlay(path string) (o *Overlay, err error)

func (*Overlay) Apply

func (o *Overlay) Apply() (string, error)

Jump to

Keyboard shortcuts

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