agent/taskresource/asmsecret/asmsecret.go
func (secret *ASMSecretResource) GetKnownStatus() resourcestatus.ResourceStatus {
	secret.lock.RLock()
	defer secret.lock.RUnlock()

	return secret.knownStatusUnsafe
}
func (secret *ASMSecretResource) GetKnownStatus() resourcestatus.ResourceStatus {
	secret.lock.RLock()
	defer secret.lock.RUnlock()

	return secret.knownStatusUnsafe
}
func ( secret * ASMSecretResource ) GetKnownStatus ( ) resourcestatus . ResourceStatus { secret . lock . RLock ( ) defer secret . lock . RUnlock ( ) return secret . knownStatusUnsafe }
// GetKnownStatus safely returns the currently known status of the task
GetKnownStatus safely returns the currently known status of the task