func (c *Container) ShouldCreateWithSSMSecret() bool {
	c.lock.RLock()
	defer c.lock.RUnlock()

	// Secrets field will be nil if there is no secrets for container
	if c.Secrets == nil {
		return false
	}

	for _, secret := range c.Secrets {
		if secret.Provider == SecretProviderSSM {
			return true
		}
	}
	return false
}
func (c *Container) ShouldCreateWithSSMSecret() bool {
	c.lock.RLock()
	defer c.lock.RUnlock()

	// Secrets field will be nil if there is no secrets for container
	if c.Secrets == nil {
		return false
	}

	for _, secret := range c.Secrets {
		if secret.Provider == SecretProviderSSM {
			return true
		}
	}
	return false
}
func ( c * Container ) ShouldCreateWithSSMSecret ( ) bool { c . lock . RLock ( ) defer c . lock . RUnlock ( ) // Secrets field will be nil if there is no secrets for container if c . Secrets == nil { return false } for _ , secret := range c . Secrets { if secret . Provider == SecretProviderSSM { return true } } return false }
// ShouldCreateWithSSMSecret returns true if this container needs to get secret
// value from SSM Parameter Store
ShouldCreateWithSSMSecret returns true if this container needs to get secret value from SSM Parameter Store