Documentation ¶
Overview ¶
Package setfeeds set Cloud Asset Inventory feeds at organization level
Instances per targeted GCP organization, per environment ¶
- one feed for all iam policies
- one feed per asset type for resource metadata.
Output ¶
Cloud Asset Inventory feeds set up.
Notes ¶
- The default quota is 100 feeds at organization level.
- It may be too small to accomodate multiple environments.
- Request additional quotas when needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceDeployment ¶
type InstanceDeployment struct { DumpTimestamp time.Time `yaml:"dumpTimestamp"` Artifacts struct { TopicName string `yaml:"topicName"` FeedName string `yaml:"feedName"` } Core *deploy.Core Settings struct { Service struct { GSU gsu.Parameters GCB gcb.Parameters } Instance struct { CAI cai.Parameters } } }
InstanceDeployment settings and artifacts structure
func NewInstanceDeployment ¶
func NewInstanceDeployment() *InstanceDeployment
NewInstanceDeployment create deployment structure with default settings set
func (*InstanceDeployment) Deploy ¶
func (instanceDeployment *InstanceDeployment) Deploy() (err error)
Deploy a service instance
func (*InstanceDeployment) ReadValidate ¶
func (instanceDeployment *InstanceDeployment) ReadValidate() (err error)
ReadValidate reads and validates service and instance settings
func (*InstanceDeployment) Situate ¶
func (instanceDeployment *InstanceDeployment) Situate() (err error)
Situate complement settings taking in account the situation for service and instance settings