Documentation ¶
Index ¶
- func PrintProviderSummary(summary *core.ProviderFetchSummary)
- type Bar
- type Client
- func (c Client) Close()
- func (c Client) ConvertRequiredToRegistry(providerName string) registry.Provider
- func (c Client) DownloadProviders(ctx context.Context) (diags diag.Diagnostics)
- func (c Client) DropProvider(ctx context.Context, providerName string) (diags diag.Diagnostics)
- func (c Client) Fetch(ctx context.Context) (*core.FetchResponse, diag.Diagnostics)
- func (c Client) RemoveStaleData(ctx context.Context, lastUpdate time.Duration, dryRun bool, providers []string) (diags diag.Diagnostics)
- func (c Client) SyncProviders(ctx context.Context, pp ...string) (results []*core.SyncResult, diags diag.Diagnostics)
- 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 ¶
func PrintProviderSummary ¶ added in v0.28.3
func PrintProviderSummary(summary *core.ProviderFetchSummary)
PrintProviderSummary is a helper to print the fetch summary in an easily readable format.
Types ¶
type Bar ¶
type Client ¶
type Client struct { Providers registry.Providers Registry registry.Registry PluginManager *plugin.Manager Storage database.Storage StateManager *state.Client // contains filtered or unexported fields }
Client console client is a wrapper around core.Client for console execution of CloudQuery
func CreateClient ¶
func CreateClientFromConfig ¶
func (Client) ConvertRequiredToRegistry ¶ added in v0.23.0
func (Client) DownloadProviders ¶
func (c Client) DownloadProviders(ctx context.Context) (diags diag.Diagnostics)
func (Client) DropProvider ¶ added in v0.14.5
func (Client) Fetch ¶
func (c Client) Fetch(ctx context.Context) (*core.FetchResponse, diag.Diagnostics)
func (Client) RemoveStaleData ¶ added in v0.22.3
func (Client) SyncProviders ¶ added in v0.23.0
func (c Client) SyncProviders(ctx context.Context, pp ...string) (results []*core.SyncResult, diags diag.Diagnostics)
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.