Documentation ¶
Index ¶
- func CloudFunctionIsInternal(resource commons.Resource) bool
- func CloudFunctionIsNotUsingDefaultSA(resource commons.Resource) bool
- func CloudFunctionRequireIAMAuthentication(resource commons.Resource) bool
- func CloudFunctionsDoesNotHaveSecretInEnv(resource commons.Resource) bool
- func GetCloudFunctionPolicy(function *functionspb.Function) *iampb.Policy
- func GetCloudFunctions(account internal.GCPAccount) []*functionspb.Function
- func RunChecks(wa *sync.WaitGroup, account internal.GCPAccount, c *commons.Config, ...)
- type CloudFunction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudFunctionIsInternal ¶
func GetCloudFunctionPolicy ¶
func GetCloudFunctionPolicy(function *functionspb.Function) *iampb.Policy
func GetCloudFunctions ¶
func GetCloudFunctions(account internal.GCPAccount) []*functionspb.Function
Types ¶
type CloudFunction ¶
type CloudFunction struct { Function *functionspb.Function Project string Policy *iampb.Policy }
func (*CloudFunction) GetID ¶
func (c *CloudFunction) GetID() string
Click to show internal directories.
Click to hide internal directories.