iacinventory

package
v0.4.43 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Github added in v0.4.30

type Github struct {
	tools.ToolOpts
	User                 string
	OauthToken           string
	AllRepos             bool
	PublicRepos          bool
	ExplicitRepositories []string
	Orgs                 []string
}

func (*Github) CommandTemplate added in v0.4.31

func (g *Github) CommandTemplate() *cobra.Command

func (*Github) Name added in v0.4.30

func (g *Github) Name() string

func (*Github) Register added in v0.4.30

func (g *Github) Register(c *cobra.Command)

func (*Github) Run added in v0.4.30

func (g *Github) Run() (*tools.Result, error)

type GithubRepo

type GithubRepo struct {
	// FullName includes the organization/user, as in "soluble-ai/example".
	FullName string `json:"full_name"`
	// Name is only the repository name, as in "example".
	Name string `json:"name"`

	// "github.com/"+FullName
	GitRepo string `json:"git_repo"`

	*inventory.Manifest `json:",inline"`
}

type Local added in v0.4.30

type Local struct {
	tools.DirectoryBasedToolOpts
}

func (*Local) CommandTemplate added in v0.4.31

func (t *Local) CommandTemplate() *cobra.Command

func (*Local) Name added in v0.4.30

func (t *Local) Name() string

func (*Local) Register added in v0.4.31

func (t *Local) Register(cmd *cobra.Command)

func (*Local) Run added in v0.4.30

func (t *Local) Run() (*tools.Result, error)

Jump to

Keyboard shortcuts

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