cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Inject the version with GoReleaser
	Version = "unset"
)

Functions

func Execute

func Execute()

Types

type AADCert

type AADCert struct {
	Path     string `mapstructure:"path"`
	Password string `mapstructure:"password"`
}

type AADClient

type AADClient struct {
	ID     string `mapstructure:"id"`
	Secret string `mapstructure:"secret"`
}

type Client

type Client struct {
	OperationsClient resourcegraph.OperationsClient
}

type Config

type Config struct {
	Tenant       Tenant       `mapstructure:"tenant"`
	Subscription Subscription `mapstructure:"subscription"`
	Environment  string       `mapstructure:"environment"`
	Client       AADClient    `mapstructure:"client"`
	Cert         AADCert      `mapstructure:"certificate"`
	Log          LogConfig    `mapstructure:"log"`
}

type LogConfig

type LogConfig struct {
	Level string `mapstructure:"level"`
}

type Subscription

type Subscription struct {
	ID string `mapstructure:"id"`
}

type Tenant

type Tenant struct {
	ID string `mapstructure:"id"`
}

Jump to

Keyboard shortcuts

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