tf

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Name     string `json:"name"`
	Location struct {
		FileName string `json:"fileName"`
		Line     int    `json:"line"`
	} `json:"location"`
	UsedVersion      string `json:"usedVersion"`
	AvailableVersion string `json:"availableVersion"`
	GitReference     string `json:"gitRef"`
}

func NewModule

func NewModule(name string, usedVersion, availableVersion, ref, fileName string, line int) (*Module, error)

func (Module) HasNewerVersion

func (m Module) HasNewerVersion() bool

func (Module) HasSameVersion

func (m Module) HasSameVersion() bool

func (Module) MarshalJSON

func (m Module) MarshalJSON() ([]byte, error)

func (Module) NewerVersion

func (m Module) NewerVersion() string

Jump to

Keyboard shortcuts

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