agent/taskresource/asmsecret/asmsecret.go
func (secret *ASMSecretResource) DesiredTerminal() bool {
	secret.lock.RLock()
	defer secret.lock.RUnlock()

	return secret.desiredStatusUnsafe == resourcestatus.ResourceStatus(ASMSecretRemoved)
}
func (secret *ASMSecretResource) DesiredTerminal() bool {
	secret.lock.RLock()
	defer secret.lock.RUnlock()

	return secret.desiredStatusUnsafe == resourcestatus.ResourceStatus(ASMSecretRemoved)
}
func ( secret * ASMSecretResource ) DesiredTerminal ( ) bool { secret . lock . RLock ( ) defer secret . lock . RUnlock ( ) return secret . desiredStatusUnsafe == resourcestatus . ResourceStatus ( ASMSecretRemoved ) }
// DesiredTerminal returns true if the secret's desired status is REMOVED
DesiredTerminal returns true if the secret s desired status is REMOVED