Documentation ¶
Index ¶
- func NewIniReadCloser(r io.ReadCloser, bumpText func(string) string) *iniReadCloser
- type RepoBumper
- func (b *RepoBumper) BumpContent(file *ini.File) (*ini.File, error)
- func (b *RepoBumper) BumpFilename(filename string, _ *ini.File) (string, error)
- func (b *RepoBumper) GetFiles() ([]string, error)
- func (b *RepoBumper) Marshall(file *ini.File, bumpedFilename, dir string) error
- func (b *RepoBumper) Unmarshall(file string) (*ini.File, error)
- type RepoBumperOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIniReadCloser ¶
func NewIniReadCloser(r io.ReadCloser, bumpText func(string) string) *iniReadCloser
Types ¶
type RepoBumper ¶
type RepoBumper struct { GlobPattern string FilesDir string OCPRelease ocplifecycle.MajorMinor }
func NewRepoBumper ¶
func NewRepoBumper(o *RepoBumperOptions) (*RepoBumper, error)
func (*RepoBumper) BumpContent ¶
func (b *RepoBumper) BumpContent(file *ini.File) (*ini.File, error)
func (*RepoBumper) BumpFilename ¶
func (b *RepoBumper) BumpFilename(filename string, _ *ini.File) (string, error)
func (*RepoBumper) GetFiles ¶
func (b *RepoBumper) GetFiles() ([]string, error)
func (*RepoBumper) Marshall ¶
func (b *RepoBumper) Marshall(file *ini.File, bumpedFilename, dir string) error
func (*RepoBumper) Unmarshall ¶
func (b *RepoBumper) Unmarshall(file string) (*ini.File, error)
type RepoBumperOptions ¶
Click to show internal directories.
Click to hide internal directories.