Documentation
¶
Index ¶
- type Bar
- type Client
- func (c Client) BuildProviderTables(ctx context.Context, providerName string) error
- func (c Client) CallModule(ctx context.Context, req ModuleCallRequest) error
- func (c Client) Client() *client.Client
- func (c Client) DowngradeProviders(ctx context.Context, args []string) error
- func (c Client) DownloadPolicy(ctx context.Context, args []string) error
- func (c Client) DownloadProviders(ctx context.Context) error
- func (c Client) DropProvider(ctx context.Context, providerName string) error
- func (c Client) Fetch(ctx context.Context, failOnError bool) error
- func (c Client) RunPolicies(ctx context.Context, args []string, policyName, outputDir, subPath string, ...) error
- func (c Client) UpgradeProviders(ctx context.Context, args []string) error
- type ExitCodeError
- type ModuleCallRequest
- type Progress
- func (u *Progress) AbortAll()
- func (u *Progress) Add(name, displayName, message string, total int64)
- func (u *Progress) AttachReader(name string, data io.Reader) io.Reader
- func (u *Progress) GetBar(name string) *Bar
- func (u *Progress) Increment(name string, n int)
- func (u *Progress) MarkAllDone()
- func (u *Progress) Update(name, status, msg string, n int)
- func (u *Progress) Wait()
- type ProgressOption
- type ProgressOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client console client is a wrapper around client.Client for console execution of CloudQuery
func CreateClient ¶
func CreateClientFromConfig ¶
func (Client) BuildProviderTables ¶ added in v0.15.3
func (Client) CallModule ¶ added in v0.15.10
func (c Client) CallModule(ctx context.Context, req ModuleCallRequest) error
func (Client) DowngradeProviders ¶ added in v0.14.5
func (Client) DownloadPolicy ¶ added in v0.13.8
func (Client) DropProvider ¶ added in v0.14.5
func (Client) RunPolicies ¶ added in v0.16.0
type ExitCodeError ¶ added in v0.15.11
type ExitCodeError struct {
ExitCode int
}
func (*ExitCodeError) Error ¶ added in v0.15.11
func (e *ExitCodeError) Error() string
type ModuleCallRequest ¶ added in v0.15.10
type ModuleCallRequest struct {
// Name of the module
Name string
// Params are the invocation parameters specific to the module
Params interface{}
// Profile is the selected/overridden name of the profile
Profile string
// OutputPath is the filename to save output to
OutputPath string
}
ModuleCallRequest is the request used to call a module.
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
func NewProgress ¶
func NewProgress(ctx context.Context, opts ...ProgressOption) *Progress
func (*Progress) AttachReader ¶
func (*Progress) MarkAllDone ¶ added in v0.15.0
func (u *Progress) MarkAllDone()
type ProgressOption ¶
type ProgressOption func(o *ProgressOptions)
type ProgressOptions ¶
Click to show internal directories.
Click to hide internal directories.