Documentation ¶
Overview ¶
Package cai helps with Cloud Asset Inventory
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssetShortTypeName ¶
GetAssetShortTypeName returns a short version of asset type <serviceName>-<assetType>, like bigquery-Dataset. It deals with k8s exceptions
Types ¶
type FeedDeployment ¶
type FeedDeployment struct { Artifacts struct { CreateFeedRequest assetpb.CreateFeedRequest TopicName string `yaml:"topicName"` FeedName string `yaml:"feedName"` } Core *deploy.Core Settings struct { Instance struct { CAI Parameters } } }
FeedDeployment settings and artifacts structure
func NewFeedDeployment ¶
func NewFeedDeployment() *FeedDeployment
NewFeedDeployment create deployment structure
func (*FeedDeployment) Deploy ¶
func (feedDeployment *FeedDeployment) Deploy() (err error)
Deploy get-create resource feeds, get-create-update the iam policies feed
Click to show internal directories.
Click to hide internal directories.