Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // GCP Project ID to operate on ProjectID string `mapstructure:"project-id"` // A set of RetentionPolicy to apply to the snapshots RetentionPolicies rp.RetentionPolicies `mapstructure:"retention-policies"` // Include automatically generated snapshot in the calculations and pruning Automatic bool `mapstructure:"automatic"` // Include manually generated snapshots in the calculations and pruning Manual bool `mapstructure:"manual"` // Do not perform any real operations DryRun bool `mapstructure:"dry-run"` }
Config is used to provide the configuration to GCSC application
Click to show internal directories.
Click to hide internal directories.